VDR para el Siemens Gigaset M740/M750
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Proyecto movido a GitHub

Miér 7 Abr 2021 - 19:23 por bittor

Comentarios: 0

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Flujo RSS


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 



no network

4 participantes

Página 1 de 2. 1, 2  Siguiente

Ir abajo

no network Empty no network

Mensaje por schasch Miér 13 Ene 2010 - 19:49

Hello,

an nmap shows me open Ports for ssh telnet and ftp

NO WEBSERVER?

If can not login to ssh and telnet?
--------------------------
telnet ERROR:
m740av login: root
Password:
login: cannot run /bin/sh: No such file or directory
Connection closed by foreign host.
bucket@desklaptop:~$
--------------------------

ftp acces with rot and password=l1nux works?

please help....

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 20:10

my box is dead now....

ftp is possible....
but I can not shutdown/flash?chmod my copied old.ofi

regards
schasch

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por Posix Miér 13 Ene 2010 - 20:34

This is before or after install the ofi?
How have you install the ofi file?
/bin/sh exists?
Posix
Posix
Desarrollador

Cantidad de envíos : 691
Fecha de inscripción : 05/11/2008
Edad : 57
Localización : Madrid

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 20:39

after install the new ofi....on previous everything worked fine....

build from SVN...copied ofi....bootet everything looked good....
but nmap shouwed no http-port....

tried to login with telnet and ssh...no success...
ftp is working!

Wich users should work?
user=root passwrd=l1nux
or should I try another?

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 20:41

SSH:
my@desklaptop:~$ ssh root@192.168.178.10
root@192.168.178.10's password:
Connection to 192.168.178.10 closed.
my@desklaptop:~$

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 20:43

How have you install the ofi file?

cp ofi to /var/tmp/new-fw.ofi
mkdir /rw-flash/SI
shut down my previeos VDR-NG

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 20:47

tried now to install my previous.ofi

can copie it to /var/tmp/ (by ftp)
can create /rm-flash/SI (by ftp)

...but box does not shut down by remote control and I am not able to chmod a+x my .ofi

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por bittor Miér 13 Ene 2010 - 21:04

Why chmod don't work?
What error you got?

You also can install wsw firmware running:
Código:
pic_tool set-boot-max
ash /etc/vdr/rebootvdr

You must do a factory reset before install it.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 21:07

chmod does not work because I could NOT get on my device!!

NO access with ssh and telnet...?
only ftp? (user=rioot pwd=l1nux)

shall I try another user/password?
or can I access a shell somhow?

SHALL I PANIC about my box?

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 21:27

by ftp I see only a /bin/ash ...can not create an /bin/sh to test
...no permission by ftp?

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Miér 13 Ene 2010 - 21:47

/var/messages:
http://pastebin.org/75730

can I flash somehow?my previeous?

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por Posix Miér 13 Ene 2010 - 22:58

You can change the file /etc/passwd with a linux compatible text editor.

Change /bin/sh to /bin/ash

Try with telnet and show us the log.
Posix
Posix
Desarrollador

Cantidad de envíos : 691
Fecha de inscripción : 05/11/2008
Edad : 57
Localización : Madrid

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 7:26

Hi,

thanks a lot for the answers

1)
You can change the file /etc/passwd with a linux compatible text editor.:
that I could try...but probaly it more a shell problem?
or what do you think according to my log ?...

2)
Change /bin/sh to /bin/ash:
I tried this yesterday...without success...but I tried in Nautilus after mounting the FTP-server....
Should it be posible if I log in to ftp by console-terminal?than I can 'mv /bin/ash /bin/sh'?

3)
should not be running a webserver by default in the FW build by your SVN?

regards

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por bittor Jue 14 Ene 2010 - 8:56

Web server is disabled by default (set "webif_start=YES" in /etc/rc.local.conf for enable it).

You can to create dir /rw-flash/SI with FTP.
If shutdown with remote control don't work, unplug and plug the wire.

Have you rc.local.net and rc.local.usb files in /etc?
I think that the problem is because you installed the new firmware without a factory reset.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 9:19

ok...i will test...

>Web server is disabled by default (set "webif_start=YES" in /etc/rc.local.conf for enable it).
OK

>Have you rc.local.net and rc.local.usb files in /etc?
I will look at home


>I think that the problem is because you installed the new firmware without a factory reset
doing a fresh reset will help?..or is it too late now?

INFO:
In my rootfs_dir_m740_andreas-unstable-DIRECTORY from dev-PC there is also NO /bin/sh...only ash

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por bittor Jue 14 Ene 2010 - 10:21

I think you have 2 problems:

1) Install new firmware without factory reset (it is fixed doing a factory reset from 4 unplugged and rebooting).

2) If /bin/sh does not exist, firmware is incorrect.
Have you changed parameters in .config (for example add bash)?
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por Posix Jue 14 Ene 2010 - 10:31

Posix escribió:You can change the file /etc/passwd with a linux compatible text editor.

Change /bin/sh to /bin/ash

Try with telnet and show us the log.
I must explain better my sugestion:

Edit /etc/passwd and replace this line
Código:
r::0:0:root:/root:/bin/sh
with
Código:
r::0:0:root:/root:/bin/ash
Try a new telnet session using r as user and empty password.

/bin directory is readonly. Only /var and /etc directories are writable.
Posix
Posix
Desarrollador

Cantidad de envíos : 691
Fecha de inscripción : 05/11/2008
Edad : 57
Localización : Madrid

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 10:44

@posix
...thanks...good idea...I will test to edit /etc/passwd

@bittor:
1) ok...I will do a nwe factory reset
2) ..tried to build with bash...but made a 'make clean' and 'make' after it
can I check in my toolchain if my rootfs will have a /bin/sh ? wich path?
3) can I install a working.wsw after pulling then plug 4X ?

regards
schasc

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por bittor Jue 14 Ene 2010 - 12:56

schasch escribió:2) ..tried to build with bash...but made a 'make clean' and 'make' after it
 can I check in my toolchain if my rootfs will have a /bin/sh ? wich path?
Here is your problem.

This symbolic link must exist:
VDR-NG-FW/rootfs_dir_m740_andreas-unstable/bin/sh
with bash disabled link to busybox and with bash enabled to bash.

No problem, run:
Código:
make distclean-busybox
make
and you will have a firmware correct. 

schasch escribió:3) can I install a working.wsw after pulling then plug 4X ?
Yes.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 14:37

Thanks...

...I will test and report my results
:-)

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 16:02

...so rebuilding for my later test with those plugins:
CONFIG_VDR-PLUGINS = unstable/epgsearch unstable/filebrowser unstable/skinenigmang unstable/blink unstable/channelscan unstable/osdteletext unstable/setup unstable/aide unstable/streamdev unstable/channellists unstable/cridplayer unstable/osdadjust unstable/scheduler unstable/pilotskin unstable/fepg unstable/extrecmenu unstable/mpgplayer unstable/streamplayer unstable/nordlichtsepg unstable/fritzbox unstable/weathering unstable/mlist unstable/message unstable/fussball
CONFIG_VDR-PLUGINS-LIBS = epgsearch epgsearchonly conflictcheckonly filebrowser skinenigmang blink channelscan osdteletext setup aide streamdev-server channellists cridplayer osdadjust scheduler pilotskin fepg extrecmenu mpgplayer streamplayer nordlichtsepg fritzbox weathering mlist message fussball

...hope/think this will cause no problems...
regards

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por bittor Jue 14 Ene 2010 - 16:16

weathering plugin?

it's weatherng
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 17:29

weatherng...yope...was compiling at that moment...will try to flash new now with reset.....

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 18:05

new flash software...http,telnet and ssh are working

@possix
chaging the /etc/passwd worked...GRAET...could flash a new version...
thanks a lot!

@bittor
flashed new software from today...with enabled webinterface!

I will test a bit and report
thanks a lot

VERY nice webinterface!

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por schasch Jue 14 Ene 2010 - 18:40

Hi, everything works great, only 2 things:

1) webinterface does not know EPG
(set language to english)

2) record-dir is not configuratable...telnet says all disks mounted...can choose the dir...but but is not running in my VDR

regards
schasch

schasch

Cantidad de envíos : 28
Fecha de inscripción : 13/01/2010

Volver arriba Ir abajo

no network Empty Re: no network

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Página 1 de 2. 1, 2  Siguiente

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.