[Dextrose] ip route in rc.sysinit
ebordon at plan.ceibal.edu.uy
Wed Aug 11 14:36:02 EDT 2010
I found the problem. I was using "dhclient eth0 -T 20" but the timeout
parameter now is "-timeout <timeout>".
Thanks for your help!
2010/8/11 Esteban Bordon <ebordon at plan.ceibal.edu.uy>
> 2010/8/10 Bernie Innocenti <bernie at codewiz.org>
>> El Tue, 10-08-2010 a las 09:17 -0300, Esteban Bordon escribió:
>> > The script try to connect to the Access Point that have the better
>> > signal using iwlist, iwconfig and dhclient. If dhclient return 0 it
>> > executes ip route to obtain the server IP and it download a few files.
>> If you set all the access points in the school to the same ESSID, then
>> clients will automatically connect to the AP with best signal and even
>> switch to a different one if you move around (however, since background
>> scanning is slow, you might loose association if you move around too
>> Regarding the server ip, it would be cool if you could use the DNS. dhcp
>> could configure one nameserver on the client and an automatic search
>> domain. For example, in the school where I'm sitting now I get this in
>> my /etc/resolv.conf:
>> domain escuela485.caacupe.paraguayeduca.org
>> search escuela485.caacupe.paraguayeduca.org
>> nameserver 172.18.0.1
>> The DNS managed by the schoolserver has a zone called
>> "escuela485.caacupe.paraguayeduca.org", in which there's a host
>> "schoolserver". With all this infrastructure in place, all you need to
>> do to download a file is:
>> wget http://schoolserver/file
> I'm trying something like this. The problem is that dhclient isn't working
> correctly. Have you got any form to debug that command?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel