Laptop Suspend to Ram - Bringing Wifi back up?
chris at ccturner.net
Sun Nov 7 00:12:31 UTC 2004
I tried your suggestion but alas the wireless connection would not come
In the end I stumbled on some info on how Debian works with network
settings and tried popping "ifup eth1" at the end of my script and now
it comes up straight away.
Hope this may be of help to anyone else playing with this.
> > 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
> > 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
> > "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
> > help.
> > Thanks,
> > Chris
> I would try "ifconfig eth1 down" before you unload the modules and
> "ifconfig eth1 up" after you reload the modules.
> Good luck,
> Todd Maynard
More information about the ubuntu-users