Re: [arch-general] Exiting wpa_supplicant

2012-10-24 Thread G. Schlisio
Original-Nachricht Datum: Tue, 23 Oct 2012 09:28:57 +0200 Von: Thomas Bächler tho...@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

Re: [arch-general] Exiting wpa_supplicant

2012-10-23 Thread Thomas Bächler
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

Re: [arch-general] Exiting wpa_supplicant

2012-10-23 Thread nelsonmarambio
Original-Nachricht Datum: Tue, 23 Oct 2012 09:28:57 +0200 Von: Thomas Bächler tho...@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

Re: [arch-general] Exiting wpa_supplicant

2012-10-23 Thread Leonid Isaev
On Tue, 23 Oct 2012 17:14:09 +0200 nelsonmaram...@gmx.de wrote: Original-Nachricht Datum: Tue, 23 Oct 2012 09:28:57 +0200 Von: Thomas Bächler tho...@archlinux.org An: arch-general@archlinux.org Betreff: Re: [arch-general] Exiting wpa_supplicant Am 23.10.2012 02:42

Re: [arch-general] Exiting wpa_supplicant

2012-10-23 Thread Thomas Bächler
Am 23.10.2012 17:14, schrieb nelsonmaram...@gmx.de: the delay of 10 seconds is recommended by the computing centre which maintains the university-wide WLAN. Without the delay dhcpcd returns a timeout. The delay is stupid. And dhcpcd should not even try to get a lease until the connection is

Re: [arch-general] Exiting wpa_supplicant

2012-10-22 Thread Ray Kohler
On Mon, Oct 22, 2012 at 11:57 AM, Nelson Marambio nelsonmaram...@gmx.de wrote: Dear list, I try to write a small shellscript that (dis-)connects me with / from the WLAN of my university. I use wpa_supplicant in combination with the -B switch to establish the connection. After a pause of 10

Re: [arch-general] Exiting wpa_supplicant

2012-10-22 Thread Thomas Bächler
Am 22.10.2012 17:57, schrieb Nelson Marambio: I use wpa_supplicant in combination with the -B switch to establish the connection. After a pause of 10 seconds I pull an IP address by calling dhcpcd. I can't count the number of reasons why this is a bad idea. I've looked into this topic years

Re: [arch-general] Exiting wpa_supplicant

2012-10-22 Thread Gaetan Bisson
[2012-10-22 17:57:30 +0200] Nelson Marambio: I use wpa_supplicant in combination with the -B switch to establish the connection. After a pause of 10 seconds I pull an IP address by calling dhcpcd. This 10-second sleep is flaky. Instead, after you've started wpa_supplicant, run `wpa_cli -a

Re: [arch-general] Exiting wpa_supplicant

2012-10-22 Thread Rafael Beraldo
On Mon, Oct 22, 2012 at 7:29 PM, Thomas Bächler tho...@archlinux.orgwrote: Am 22.10.2012 17:57, schrieb Nelson Marambio: I use wpa_supplicant in combination with the -B switch to establish the connection. After a pause of 10 seconds I pull an IP address by calling dhcpcd. I can't count