Re: [gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Florian Philipp
Neil Bothwick schrieb: > On Thu, 07 May 2009 12:30:52 +0200, Florian Philipp wrote: > >> In order for my wifi to work, I have to restart the net.wlan0 >> init-script after I've pressed the rfkill-switch. > > Does this switch generate an ACPI event? > > Unfortunately not. Nothing on dmesg, /var

Re: [gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Neil Bothwick
On Thu, 07 May 2009 12:30:52 +0200, Florian Philipp wrote: > In order for my wifi to work, I have to restart the net.wlan0 > init-script after I've pressed the rfkill-switch. Does this switch generate an ACPI event? -- Neil Bothwick You sound reasonable...Time to up my medication. signature

[gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Florian Philipp
Hi List! I could need some directions for the following situation: In order for my wifi to work, I have to restart the net.wlan0 init-script after I've pressed the rfkill-switch. What would be the best way to do this automatially? I think udev is the way to go but how do I define the event? Tha