[Dextrose] ip route in rc.sysinit

Esteban Bordon ebordon at plan.ceibal.edu.uy
Wed Aug 11 11:22:34 EDT 2010


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
> quickly).
>
> 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...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20100811/7419f988/attachment.html>


More information about the Devel mailing list