Laptop Suspend to Ram - Bringing Wifi back up?

Chris Turner chris at ccturner.net
Sat Nov 6 21:55:36 UTC 2004


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





More information about the ubuntu-users mailing list