Laptop Suspend to Ram - Bringing Wifi back up?

Todd Maynard toddmaynard at comcast.net
Sat Nov 6 22:47:52 UTC 2004


On Sat, 2004-11-06 at 21:55 +0000, Chris Turner wrote:
> Hi,
> 
> I've just tried replacing the contents of /etc/acpi/lid.sh
> with:-
> 
> #!/bin/sh
> 
> rmmod ipw2100
> rmmod uhci_hcd
> rmmod ehci_hcd
> 
> echo mem > sys/power/state
> 
> chvt 1
> sleep 0.5
> chvt 7
> 
> modprobe uhci_hcd
> modprobe ehci_hcd
> modprobe ipw2100
> 
> 
> This works great for STR just like in my old XP install but I have no
> wifi enabled.
> The only way I can bring it up again is to manually go into COMPUTER >
> SYSTEM CONFIGURATION > NETWORKING and select "eth1" entry and click the
> "Activate" button.
> Being a newbie to Linux I haven't a clue what this manual process
> actually does :(
> If anyone can offer me any suggestions on what I can add to my above
> script to replicate my manual reactivation of Wifi be grateful for the
> help.
> 
> Thanks,
> 
> Chris
> 
> 

Chris,

I would try "ifconfig eth1 down" before you unload the modules and then
"ifconfig eth1 up" after you reload the modules.

Good luck,

Todd Maynard
-- 
Todd Maynard <toddmaynard at comcast.net>





More information about the ubuntu-users mailing list