Re: suspend, hibernation
Nikolaus Filus wrote: > Hi, > > Krzysztof Kaczmarski wrote: > >> None of automatic solutions works for me :( >> > > which of the solutions described there did you try? > Wow. It somehow works now. For me the correct solution is: /etc/acpi/suspend.d/07-network-manager.sh #!/bin/sh /etc/dbus-1/event.d/25NetworkManager stop and /etc/acpi/resume.d/99-network-manager.sh #!/bin/sh /etc/dbus-1/event.d/25NetworkManager start It looks like 07 and 99 are significant here. Now I may smoothly wake up my laptop after hibernate or suspend. Thanks to all of you ! KK ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: suspend, hibernation
On Mon, Oct 30, 2006 at 06:40:40PM +0100, Nikolaus Filus wrote: > Note that, I had to add my wlan driver (ipw2200) to the modules > whitelist to get it working. We fixed this in Ubuntu a while ago. It involved changing the wireless detection code in HAL to avoid certain race conditions. The change is available in the current git repository of HAL and also here: http://librarian.launchpad.net/4440890/fix_wifi_detection.diff > > Can somebody, explain me, why a manual restart via sudo killall > > NetworkManager; sudo /etc/init.d/NetworkManager start > sudo works ONLY interactively and NOT from scripts. Well, there's always the NOPASSWD option in sudoers.. -- | Soren Hansen| Linux2Go | http://Linux2Go.dk/ | | Seniorkonsulent | Lindholmsvej 42, 2. TH| +45 46 90 26 42 | | [EMAIL PROTECTED] | 9400 Norresundby, Denmark | GPG key: E8BDA4E3 | signature.asc Description: Digital signature ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: suspend, hibernation
Hi, Krzysztof Kaczmarski wrote: > None of automatic solutions works for me :( which of the solutions described there did you try? Several people reported the one outlined by me worked for them. Note that, I had to add my wlan driver (ipw2200) to the modules whitelist to get it working. > > I have to do a manual restart or "enable networking" in nm-applet. Please try to send the dbus signals manually before suspend and after resume. Afterwards experiment with different priorities in /etc/resume.d and /etc/suspend.d > Can somebody, explain me, why a manual restart via > sudo killall NetworkManager; sudo /etc/init.d/NetworkManager start sudo works ONLY interactively and NOT from scripts. > does not work when put in the /etc/resume.d/100-nm.sh script > (in case when the right script does not work)? Nikolaus ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: suspend, hibernation
None of automatic solutions works for me :( I have to do a manual restart or "enable networking" in nm-applet. Can somebody, explain me, why a manual restart via sudo killall NetworkManager; sudo /etc/init.d/NetworkManager start does not work when put in the /etc/resume.d/100-nm.sh script (in case when the right script does not work)? Thanks for help, KK Dan Williams wrote: > On Mon, 2006-10-30 at 13:25 +0100, Nikolaus Filus wrote: > >> Krzysztof Kaczmarski wrote: >> >>> Could someone please, >>> point me to a documentation describing how to get >>> NM working after hibernation and suspend? >>> I tried fighting with /etc/acpi/resume.d and /etc/acpi/suspend.d >>> but without any success. >>> I use Ubuntu 6.06 and nm-applet. >>> >> https://launchpad.net/distros/ubuntu/+source/network-manager/+bug/40125 >> >> Hope that helps. >> > > Right; on sleep, when given the appropriate signal by your power scripts > (or gnome-power-manager!) NM goes to sleep. When NM wakes up, it asks > HAL for all known network devices and initializes them. So what people > need to find out is whether or not their network devices are known to > HAL when the computer wakes up, and if not, whether or not HAL is > sending out signals that the devices now have the correct capabilities > when they are hotplugged by udev on wake. > > Dan > > >> Nikolaus >> >> ___ >> NetworkManager-list mailing list >> NetworkManager-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/networkmanager-list >> > > > > ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: suspend, hibernation
On Mon, 2006-10-30 at 13:25 +0100, Nikolaus Filus wrote: > Krzysztof Kaczmarski wrote: > > Could someone please, > > point me to a documentation describing how to get > > NM working after hibernation and suspend? > > I tried fighting with /etc/acpi/resume.d and /etc/acpi/suspend.d > > but without any success. > > I use Ubuntu 6.06 and nm-applet. > > https://launchpad.net/distros/ubuntu/+source/network-manager/+bug/40125 > > Hope that helps. Right; on sleep, when given the appropriate signal by your power scripts (or gnome-power-manager!) NM goes to sleep. When NM wakes up, it asks HAL for all known network devices and initializes them. So what people need to find out is whether or not their network devices are known to HAL when the computer wakes up, and if not, whether or not HAL is sending out signals that the devices now have the correct capabilities when they are hotplugged by udev on wake. Dan > > Nikolaus > > ___ > NetworkManager-list mailing list > NetworkManager-list@gnome.org > http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: suspend, hibernation
Krzysztof Kaczmarski wrote: > Could someone please, > point me to a documentation describing how to get > NM working after hibernation and suspend? > I tried fighting with /etc/acpi/resume.d and /etc/acpi/suspend.d > but without any success. > I use Ubuntu 6.06 and nm-applet. https://launchpad.net/distros/ubuntu/+source/network-manager/+bug/40125 Hope that helps. Nikolaus ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
suspend, hibernation
Could someone please, point me to a documentation describing how to get NM working after hibernation and suspend? I tried fighting with /etc/acpi/resume.d and /etc/acpi/suspend.d but without any success. I use Ubuntu 6.06 and nm-applet. Thanks in advance, Krzysztof ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list