Ok here is my problem, I am unable to set the default route and gateway: ----- ziig etc # /etc/init.d/net.eth0 restart ----- * Unmounting network filesystems ... ----- * samba -> stop: smbd ... ----- * samba -> stop: nmbd ... ----- * Stopping sshd ... ----- * Stopping eth0 ----- * Bringing down eth0 ----- * Shutting down eth0 ... ----- * Starting eth0 ----- * Bringing up eth0 ----- * dhcp ----- * Running dhcpcd ... ----- * Trying fallback configuration ----- * 192.168.4.128 ----- * Adding routes ----- * default ... ----- * via ... ----- gw: Unknown host ----- * 192.168.4.1 ... ----- SIOCADDRT: Invalid argument ----- * Mounting network filesystems ... ----- * samba -> start: smbd ... ----- * samba -> start: nmbd ... ----- * Starting sshd ...
Here is the result of ifconfig: ----- ziig / # ifconfig ----- eth0 Link encap:Ethernet HWaddr 00:03:0D:19:93:5D ----- inet addr:192.168.4.128 Bcast:192.168.4.255 Mask:255.255.255.0 ----- UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 ----- RX packets:1158 errors:0 dropped:0 overruns:0 frame:0 ----- TX packets:15753 errors:0 dropped:0 overruns:0 carrier:0 ----- collisions:0 txqueuelen:1000 ----- RX bytes:133926 (130.7 Kb) TX bytes:2023411 (1.9 Mb) ----- ----- lo Link encap:Local Loopback ----- inet addr:127.0.0.1 Mask:255.0.0.0 ----- UP LOOPBACK RUNNING MTU:16436 Metric:1 ----- RX packets:12819 errors:0 dropped:0 overruns:0 frame:0 ----- TX packets:12819 errors:0 dropped:0 overruns:0 carrier:0 ----- collisions:0 txqueuelen:0 ----- RX bytes:968646 (945.9 Kb) TX bytes:968646 (945.9 Kb) ----- ----- ziig / # Okay I tried the following: ----- ziig conf.d # route add 192.168.4.1 ----- SIOCADDRT: No such device This however did not give an error: ----- ziig conf.d # route add 192.168.4.1 gw 192.168.4.1 I can quite happily ping 192.168.4.1. Any ideas? -- Ryan Viljoen Bsc(Eng) (Electrical) "When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, for free". - Linus Torvalds, 1995 -- gentoo-user@gentoo.org mailing list