2010/8/10 Bernie Innocenti <[email protected]>
> 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?
_______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
