How do I get my wifi connection to reconnect automatically after waking from suspended/hibernate mode?_________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

Is this good for any available wifi or just reconnecting to the last one? Can I have a list of previously configured router connections (both open and encrypted) and autoconnect to whichever is available?

Does anyone know how to execute a script on wake?_________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

I connect to one open router at home, one at my brother's home, one open but MAC-filtered at work, and have been trying to get connected to a secure one at church (but can't get the AES protocol that's being used there, only TKIP), as well as others. Can I have a list of connections for a connect script to connect to whichever (encrypted or unencrypted) router is available without specifying which myself?_________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

Will that only reconnect to the last router or also connect to another if I've moved from work to home or wherever while suspended?_________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

since it starts a new instance of wpagui (after the oldone is killed when entering suspend), I suppose that it connects to whatever network is in reach. It usually takes some seconds from flipping the lid open to being connected again.

Flipping the lid? All that does here is blank the screen, not suspend. And the power switch only turns it on, not off (except for the long-press hard stutdown) or hibernate. Unless someone can tell me how to fix that on Asus Eee900._________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

The Lucid528 should have all the acpi support out of the box, which is good. Looong time ago I set up Lucid 510/520 to do the sleep thing on my thinkpad and that was quite complicated, it involved tinkering with the kernel etc.

You need to find the folder /etc/acpi/events in this folder, there should be some files, among them lid. This file tells the acpi subsystem what to do on closed lid. In my case it points to a script that is located in /etc/acpi/actions, with the name of suspend.sh.

One question though, does your eeepc have a lid switch? Or any means of detecting whether the lid is open or closed? Without it, you naturally won't be able to suspend on lidclose. Maybe you nee dspecial drivers/modules for lid-switch detection for the eeepc, I don't know, don't have one.

When you put your eeepc to sleep by clicking on the symlink, how do you wake up again? Pressing any key? Anyhow, you could put the lines I posted previous in your script, if all else fails.

and now it reconnects to both open and encrypted routers on wake (pressing any key). It must be automatically seeing my settings somewhere.

chiron wrote:

One question though, does your eeepc have a lid switch? Or any means of detecting whether the lid is open or closed? Without it, you naturally won't be able to suspend on lidclose. Maybe you nee dspecial drivers/modules for lid-switch detection for the eeepc, I don't know, don't have one.

It has a magnetic lid switch which used to suspend it under Xandros. Currently with Puppy it only blanks the screen/backlight until I open it again. I'll look for those files you mentioned._________________"Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to Baron Munschaussen

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum