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

mad qwerty (spam-protected)
Sun Sep 18 02:34:12 HKT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110917/ff7f7f9c/attachment.html>


More information about the Voyage-linux mailing list