On Fri, 2006-17-02 at 21:49 +0100, Stefan Rompf wrote: > Am Freitag 17 Februar 2006 20:39 schrieb Simon Barber: > > > In 802.11 networks when connecting to a new AP on the same networks > > (same SSID & security settings) you typically don't have to do DHCP > > again - but with some networks setups you do. In order to detect this, > > when connecting to a new AP always issue an ARP request for the default > > gateway - if you don't get a response, then kick off a dhcp request. > > good idea, I'll revisit this after if have ARP probing implemented. Right > now, > my client goes to INIT_REBOOT and tries to verify the address for four > seconds without giving up IP configuration. This puts more load onto the DHCP > server, but should lead to the same result. >
A nice feature is to have scripts invoked at different DHCP states/hooks. This way you let people who want to do ARP probing do it from a user space script before transitioning for example to INIT_REBOOT. cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html