[Voyage-linux] Voyage 0.8.0 - "Route add" command doesn't work

Teco Boot (spam-protected)
Mon Sep 19 12:21:56 HKT 2011


Typo in gw IP address?
You configured:
> root at voyage:~# route add default gw 192.168.0.1 wlan0

Your WLAN subnet is 192.168.1.0/24. Maybe gw is 192.168.1.1

Teco

Op 17 sep 2011, om 20:34 heeft mad qwerty het volgende geschreven:

> Hi list,
> i'm running Voyage MPD into an Asus AMD E-350, using only Wi-Fi WEP connection with static IP
> 
> /etc/network/interfaces defines only loopback interface
> ----------------------------------------------------------------------------------------------
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> auto lo
> iface lo inet loopback
> ----------------------------------------------------------------------------------------------
> 
> and i define wlan interface, IP , gateway and DNS 
> running commands on boot with /etc/init.d/bootmisc.sh 
> ----------------------------------------------------------------------------------------------
> iwconfig wlan0 essid Alice-3xxxxxxx7 key s:1xxxxxxxmho rate auto mode managed
> ifconfig wlan0 192.168.1.101 netmask 255.255.255.0 up
> route add default gw 192.168.0.1 wlan0
> cp /my_resolv.conf /etc/resolv.conf
> ----------------------------------------------------------------------------------------------
> (my_resolv.conf was copied from /etc/resolv.conf when using DHCP services)
> 
> with 0.7.5 release this is perfectly working,
> in 0.8.0 "route add" is not working, 
> both into bootmisc.sh nor by manual typing in console
> ----------------------------------------------------------------------------------------------
> root at voyage:~# route add default gw 192.168.0.1 wlan0
> SIOCADDRT: No such process
> ----------------------------------------------------------------------------------------------
> 
> i'm not able to obtain this "route -n" output
> ----------------------------------------------------------------------------------------------
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
> ----------------------------------------------------------------------------------------------
> 
> but only this
> ----------------------------------------------------------------------------------------------
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
> ----------------------------------------------------------------------------------------------
> 
> so no ping, traceroute or Web Streaming is possibile :-(
> 
> any idea?
> thanks and regards
> Marco
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list