[Voyage-linux] Voyage 0.8.0 - "Route add" command doesn't work
Gustin Johnson
(spam-protected)
Mon Sep 19 23:33:59 HKT 2011
It does not use the whole range because the gateway (it's own) IP has
to be outside that range. Unless of course the netmask is 255.255.0.0
then perhaps it does use all of 192.168.1.XXX. It is probably a good
idea to confirm the actual DHCP range as well as the netmask.
You can also configure the /etc/network/interfaces by pulling the CF
card and mounting it on another machine (likely the one you used to
install to the CF card in the first place).
Did you say your serial console was crashing?
On Mon, Sep 19, 2011 at 7:55 AM, mad qwerty <madqwrty at gmail.com> wrote:
> i ever wasn't able to correctly configure wlan interface by
> /etc/network/interfaces,
> and i wasn't able to well investigate because my local consolle crashes
> everytime.
>
> unfortunnately my router is a very basic model coming from my TLC company,
> it uses the whole 192.168.1.x space for DHCP assigning , not configurable,
> and i used >100 to be sure to don't interfere (it has to manage only 4-5
> devices)
>
> i'll keep your suggestions for future attempts in better contests (local
> console working),
> thanks
> Marco
>
>
>
> 2011/9/19 Gustin Johnson <gustin at meganerd.ca>
>>
>> A better option would be to use:
>> ip route add default via 1.2.3.4
>>
>> Also, I would define the interface with this:
>> ip addr add 192.168.1.101/24 dev wlan0
>>
>> You might also need to set the interface with:
>> ip link set wlan0 up
>>
>> All of these can be set (including DNS) in /etc/network/interfaces so
>> all you should need to do is "ifup wlan0" and "ifdown wlan0". This
>> will also occur when booting up or shutting down/rebooting.
>>
>> I would also avoid using an IP that is in the range of IPs that your
>> DHCP server issues. From looking at what you posted I am going to
>> guess that your DHCP server is using 192.168.100 through
>> 192.168.1.200. Try setting the IP to something else, like
>> 192.168.1.20 or whatever makes sense to you.
>>
>> 2011/9/17 Meftah Tayeb <tayeb.dotnet at gmail.com>:
>> > please try the following:
>> > route add -net 0.0.0.0 netmask 0.0.0.0 gw 1.2.3.4
>> > while 1.2.3.4 is your Gateway
>> > fidback please ;)
>> > Thank you
>
More information about the Voyage-linux
mailing list