[gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Ryan Viljoen
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

Re: [gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Michael Kjorling
On 2005-12-21 21:50 +0200, [EMAIL PROTECTED] wrote: - ziig conf.d # route add 192.168.4.1 - SIOCADDRT: No such device Do you mean to do route add -net default gw 192.168.4.1? -- Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/ * ASCII Ribbon Campaign: Against HTML

Re: [gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Hans-Werner Hilse
Hi, On Wed, 21 Dec 2005 21:50:05 +0200 Ryan Viljoen [EMAIL PROTECTED] wrote: - * Adding routes - * default ... - * via ... - gw: Unknown host - * 192.168.4.1 ... Your /etc/conf.d/net is broken in this regard. Read the example (net.example) for correct

Re: [gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Ryan Viljoen
On 12/21/05, Michael Kjorling [EMAIL PROTECTED] wrote: On 2005-12-21 21:50 +0200, [EMAIL PROTECTED] wrote: - ziig conf.d # route add 192.168.4.1 - SIOCADDRT: No such device Do you mean to do route add -net default gw 192.168.4.1? oops, ok ignore the route commands there. Its the

Re: [gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Ryan Viljoen
Your /etc/conf.d/net is broken in this regard. Read the example (net.example) for correct syntax. I used the net.example for my /etc/conf.d/net It's probably using /sbin/ip, thus different syntax from /sbin/route. Specifying the following works: config_eth0=( 192.168.4.128/24 )