-------- Original-Nachricht --------
Datum: Tue, 23 Oct 2012 09:28:57 +0200 Von: "Thomas Bächler" <thomas@archlinux.org> An: arch-general@archlinux.org Betreff: Re: [arch-general] Exiting wpa_supplicant Am 23.10.2012 02:42, schrieb Rafael Beraldo:
That's interesting. Why is that a bad idea? I used to do it by hand, waiting for wpa_supplicant to stablish a connection and then running dhcp. You wait for 10 seconds. That is way too long. A wireless connection is usually established within 3 seconds. Or not.
You wait for 10 seconds. That is way too short. A wireless connection may take 30 or even 60 seconds to establish.
A wireless connection may go up and down. It may stay down. Or come back up. You need to react to these changes.
Luckily, dhcpcd can partially handle this these days and you can simply start dhcpcd without delay, and it will figure out when to request an IP.
Hi, Thomas,
the delay of 10 seconds is recommended by the computing centre which maintains the university-wide WLAN. Without the delay dhcpcd returns a timeout.
Your reasons against wpa_supplicant are conclusive but neither netcfg nor wicd (which I would prefer) are supported here. Especially the encryption method that I have to configure in wicd is not documented.
Kind regards, Nelson. hi nelson, i used to do it just like you with a hacky script. after looking into netcfg i realized, that it does the exact same like my script before, but way better. you can even keep your config file for wpa_supplicant. you universitys computing centre just dont know the awesomeness of arch… just have a look at the wiki, youll figure it out easily. georg