How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi
Okay, so I've upgraded to Slack 12.1 (actually it's slamd64 12.1, but from my experience, what works on one works on the other.) and after a few hours of set up everything is working great- even hibernate/suspend, which I had given up on with 12.0. The only thing is that when I resume, my wifi does not reconnect. I can reconnect manually by running '/etc/rc.d/rc.inet1 ath0_start' but it's kind of a pain. I'd like to be able to have this run right after resume, but can't figure out what config file to put it in. /etc/acpi/acpi_handler.sh or /etc/acpi/events/default ? Normally I'd just play around with the thing until it worked, but with everything else working so well I've been afraid to muck about with the acpi config. any ideas? btw, if there's a better way to do this that would certainly work as well :)
|
You should have acpi_handler.sh call a script located in the same directory.
You can then run '/etc/rc.d/rc.inet1 ath0_start' from there. I start hibernate by pressing the power button. Here's what I have on my machine: acpi_handler.sh: Code:
#!/bin/sh Code:
#!/bin/sh |
All times are GMT -5. The time now is 12:02 PM. |