Mailinglist Archive: opensuse (2112 mails)
| < Previous | Next > |
Re: [opensuse] s2ram -f works -- but only for root -- why?
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 08 Aug 2008 18:37:03 -0500
- Message-id: <489CD89F.3060408@xxxxxxxxxxxxxxxxxx>
Manne Merak wrote:
Manne,
All is not well in the world of s2ram. Manually s2ram -f seems to work OK restoring the wireless network. However using shutdown->suspend to ram seems to leave the wireless dead, unable to be restored. Normally, the following devices:
18:29 alchemy~> sudo ifconfig
ath0 Link encap:Ethernet HWaddr 00:1B:9E:7C:F6:E7
inet addr:192.168.6.102 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::21b:9eff:fe7c:f6e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1454 errors:0 dropped:0 overruns:0 frame:0
TX packets:799 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:832274 (812.7 Kb) TX bytes:80129 (78.2 Kb)
eth0 Link encap:Ethernet HWaddr 00:1B:38:AF:36:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:252 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5637 (5.5 Kb) TX bytes:5637 (5.5 Kb)
wifi0 Link encap:UNSPEC HWaddr
00-1B-9E-7C-F6-E7-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6155 errors:0 dropped:0 overruns:0 frame:327
TX packets:1239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:938195 (916.2 Kb) TX bytes:124931 (122.0 Kb)
Interrupt:19
After the s2ram from the menu, the wifi0 is absent and unable to be restored with rcnetwork stop/start or restarting knetwork manager. This makes little sense in light of the same command being executed each time. In light of your message, I created:
18:32 alchemy~> sudo cat /etc/pm/config.d/s2ram
S2RAM_OPTS="-f"
Any ideas of other tweaks that would help?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Well, s2ram permissions are root only. What you want to do is go through the "official" channels and create and edit the </etc/pm/config.d/s2ram> file.
Mine is as follows:
S2RAM_OPTS="-f --acpi_sleep 1"
Just place the appropriate parameters that work for you (in this case only -f) in there.
Now when you choose Suspend-to-RAM from the shutdown menu it will use these param to suspend.
See <http://en.opensuse.org/Pm-utils> for full instructions.
Manne
Manne,
All is not well in the world of s2ram. Manually s2ram -f seems to work OK restoring the wireless network. However using shutdown->suspend to ram seems to leave the wireless dead, unable to be restored. Normally, the following devices:
18:29 alchemy~> sudo ifconfig
ath0 Link encap:Ethernet HWaddr 00:1B:9E:7C:F6:E7
inet addr:192.168.6.102 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::21b:9eff:fe7c:f6e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1454 errors:0 dropped:0 overruns:0 frame:0
TX packets:799 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:832274 (812.7 Kb) TX bytes:80129 (78.2 Kb)
eth0 Link encap:Ethernet HWaddr 00:1B:38:AF:36:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:252 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5637 (5.5 Kb) TX bytes:5637 (5.5 Kb)
wifi0 Link encap:UNSPEC HWaddr
00-1B-9E-7C-F6-E7-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6155 errors:0 dropped:0 overruns:0 frame:327
TX packets:1239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:938195 (916.2 Kb) TX bytes:124931 (122.0 Kb)
Interrupt:19
After the s2ram from the menu, the wifi0 is absent and unable to be restored with rcnetwork stop/start or restarting knetwork manager. This makes little sense in light of the same command being executed each time. In light of your message, I created:
18:32 alchemy~> sudo cat /etc/pm/config.d/s2ram
S2RAM_OPTS="-f"
Any ideas of other tweaks that would help?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |