N.B. If you need some system service(s) to restart after WiFi device power flip - postup() is a good place to do it. /sinit/ is my symlink to /etc/init.d/. 'Sleep' and non-default timeouts are mandatory for some cards!

N.B. If you need some system service(s) to restart after WiFi device power flip - postup() is a good place to do it. /sinit/ is my symlink to /etc/init.d/. 'Sleep' and non-default timeouts are mandatory for some cards!N.B.2. Here pay attention to "-w" wpa_supplicant option!

P.S.
For other devices I guess playing with timeouts, sleeps and "-w" might also gives some positive.

Update, 16 Sep 2008:
I use static IP and have no confirmation if it works with DHCP or not. I guess it should...

Update, 20 Sep 2008:
If your are trying to configure WiFi and use wpa_supplicant with "-w" option ("daemonize") note this: Gentoo networking scripts won't restart it (but start it at the first time), kill wpa_supplicant manually if you changed anything at net/wpa configs.

Last edited by alexdu on Sat Sep 20, 2008 11:12 am; edited 3 times in total