root@dm920:~$ ipconfig
-bash: ipconfig: command not found
Wie wäre es mit ifconfig.
root@dm920:~$ ipconfig
-bash: ipconfig: command not found
Wie wäre es mit ifconfig.
vorher auch eth0 runterfahren
wenn du dann auch noch den gateway und DNS Server konfigurierst, sollte auch ein onlie recovery über das Web Interface funktionieren
10.x.x.x. durch die IP des Routers ersetzen, 8.8.8.8 kannst du lassen, das ist ein google dns server
ach ja, mit einem original image wird ie IP dann auch unmittelbar nach der manuellen Konfiguration am Display angezeigt, dann sieht man auch gleich ob es funktioniert hat
Ich weiß aber nicht, ob das auch so mit einem Open* Image funktioniert
Das ifconfig funktioniert nicht mit gestoppter Schnittstelle, es sei denn man hängt hinten ein "up" an die Kommandozeile.
im Prinzip hast du recht, aber es funktionert auch ohne up
ich hab's vorher getestet und wirklich das up vergessen ...
dm900 login: root
login[402]: root login on 'ttyS0'
root@dm900:~# ifdown eth0
root@dm900:~# ifconfig eth0 192.168.11.90 netmask 255.255.255.0
root@dm900:~# [ 59.039422] libphy: f0b00000.etherne:01 - Link is Down
[ 60.059983] libphy: f0b00000.etherne:01 - Link is Up - 1000/Full
root@dm900:~# route add default gw 192.168.11.1
root@dm900:~# echo nameserver 8.8.8.8 > /etc/resolv.conf
root@dm900:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:09:34:xx:xx:xx
inet addr:192.168.11.90 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::209:34ff:fe42:168b%24229632/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:250 errors:0 dropped:45 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37531 (36.6 KiB) TX bytes:3214 (3.1 KiB)
root@dm900:~# ping -c 1 www.dreambox.de
PING www.dreambox.de (82.149.226.170): 56 data bytes
64 bytes from 82.149.226.170: seq=0 ttl=51 time=28.290 ms
--- www.dreambox.de ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 28.290/28.290/28.290 ms
root@dm900:~#
Alles anzeigen