[opensuse] WiFi button on laptop
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, I have a laptop with ethernet and wifi. The ethernet goes active on cable connection (traditional ifup network setup). I would like the wifi button to activate its network setup automatically, same as it happens with the eth cable connection. It works when going off, but not on. Currently I have to issue "rcnetwork restart" when the state changes. What "STARTMODE=???" should I use? Currently I have "hotplug". - -- Cheers / Saludos, Carlos E. R. (from 11.1-ex-factory) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAkwZxucACgkQja8UbcUWM1yPZQD+LNLbGxjbmgOSFn/Q3iFXe8V0 gBjPsYyICEv/RDDzLqYBAIr5lq/XJ73ZPiwwtIjIBwvgR58OOc6doo9bmF98ArYg =bIlT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 17 Jun 2010 08:55:35 +0200
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
I have a laptop with ethernet and wifi. The ethernet goes active on cable connection (traditional ifup network setup). I would like the wifi button to activate its network setup automatically, same as it happens with the eth cable connection. It works when going off, but not on. Currently I have to issue "rcnetwork restart" when the state changes.
What "STARTMODE=???" should I use? Currently I have "hotplug".
- -- Cheers / Saludos,
Carlos E. R. (from 11.1-ex-factory)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iF4EAREIAAYFAkwZxucACgkQja8UbcUWM1yPZQD+LNLbGxjbmgOSFn/Q3iFXe8V0 gBjPsYyICEv/RDDzLqYBAIr5lq/XJ73ZPiwwtIjIBwvgR58OOc6doo9bmF98ArYg =bIlT -----END PGP SIGNATURE-----
Hi Carlos; The "wifi button" seems to be somwwhat hardware dependent. On my Dell Studio 1745 laptop, which has Intel 'PRO/Wireless 5100AGN Network Connection' card, the turn-off apparently toggles the hardware itself. Once off it stays off until I reboot into windows and reset it. I've tried startuo mode in hotplug, auto, manual, and off but none of them will turn the wifi back on. Also, running rcnetwork restart goes through the motions but doesn't turn it back on. On my daughters Toshiba laptop (older, no special function buttons), the rcnetwork routine does turn the wifi on. Wierd behavior. Tom -- Tom Taylor - retired penguin openSuSE 11.3-M7 x86_64 KDE 4.4.3, FF 3.6.4 claws-mail 3.7.6 linxt-At-comcast-DoT-net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thomas Taylor wrote:
The "wifi button" seems to be somwwhat hardware dependent. On my Dell Studio 1745 laptop, which has Intel 'PRO/Wireless 5100AGN Network Connection' card, the turn-off apparently toggles the hardware itself. Once off it stays off until I reboot into windows and reset it.
I've tried startuo mode in hotplug, auto, manual, and off but none of them will turn the wifi back on. Also, running rcnetwork restart goes through the motions but doesn't turn it back on.
I had a similar problem on my Samsung P-560. Just, I don't have windows ;^> But you normally don't need windows to reset it, the radio kill switch is mapped to the /sys virtual file system. Check out /sys/class/rfkill/*/state. There might be several rfkill?? directories for different devices (wlan, bluetooth...). Pick the proper one. An echo 1 > /sys/class/rfkill/<unit>/state should enable it and then you can 'ifup' the device... Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2010-06-18 at 13:47 +0100, Peter Suetterlin wrote:
Thomas Taylor wrote:
The "wifi button" seems to be somwwhat hardware dependent. On my Dell Studio 1745 laptop, which has Intel 'PRO/Wireless 5100AGN Network Connection' card, the turn-off apparently toggles the hardware itself. Once off it stays off until I reboot into windows and reset it. I've tried startuo mode in hotplug, auto, manual, and off but none of them will turn the wifi back on. Also, running rcnetwork restart goes through the motions but doesn't turn it back on. I had a similar problem on my Samsung P-560. Just, I don't have windows ;^>
On my HP DV-3085DX (Product#VM188UA#ABA) the wireless button and GNOME
Network Manager coordinate perfectly. And the wireless resumes from
suspect / hibernate without issue.
openSUSE 11.2
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN
[Shiloh] Network Connection
NetworkManager-0.7.1_git20090811-4.2.x86_64
NetworkManager-gnome-0.7.1-5.4.1.x86_64
--
Adam Tauno Williams
On Fri, Jun 18, 2010 at 15:17, Adam Tauno Williams wrote:
On Fri, 2010-06-18 at 13:47 +0100, Peter Suetterlin wrote:
Thomas Taylor wrote:
The "wifi button" seems to be somwwhat hardware dependent. On my Dell Studio 1745 laptop, which has Intel 'PRO/Wireless 5100AGN Network Connection' card, the turn-off apparently toggles the hardware itself. Once off it stays off until I reboot into windows and reset it. I've tried startuo mode in hotplug, auto, manual, and off but none of them will turn the wifi back on. Also, running rcnetwork restart goes through the motions but doesn't turn it back on. I had a similar problem on my Samsung P-560. Just, I don't have windows ;^>
On my HP DV-3085DX (Product#VM188UA#ABA) the wireless button and GNOME Network Manager coordinate perfectly. And the wireless resumes from suspect / hibernate without issue.
openSUSE 11.2
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
NetworkManager-0.7.1_git20090811-4.2.x86_64 NetworkManager-gnome-0.7.1-5.4.1.x86_64
This is basically what I was going to ask/suggest. I've had very poor results with trying to use the traditional ifup/down method and WiFi cards. Starting with 11.2 I switched over to the Network Manager (KNetworkManager in my case, but the Gnome one works exactly the same). The Network manager combined with a kernel update to 2.6.34 and my Wifi has been rock solid. I can switch the WiFi off and back on again via the Fn keys on one laptop and via the physical mechanical switch on another... sleep, hibernate etc all work 100%. On the kernel update, I had to do that to get around a bug in the ath5k driver where the WiFi card would go into a sleep mode when idle, and wouldn't wake up. So... no ifup... use NetworkManager... and it's slicker and easier to use than the Windows equivalent. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 18 Jun 2010 13:47:12 +0100 Peter Suetterlin
Thomas Taylor wrote:
The "wifi button" seems to be somwwhat hardware dependent. On my Dell Studio 1745 laptop, which has Intel 'PRO/Wireless 5100AGN Network Connection' card, the turn-off apparently toggles the hardware itself. Once off it stays off until I reboot into windows and reset it.
I've tried startuo mode in hotplug, auto, manual, and off but none of them will turn the wifi back on. Also, running rcnetwork restart goes through the motions but doesn't turn it back on.
I had a similar problem on my Samsung P-560. Just, I don't have windows ;^>
But you normally don't need windows to reset it, the radio kill switch is mapped to the /sys virtual file system. Check out /sys/class/rfkill/*/state. There might be several rfkill?? directories for different devices (wlan, bluetooth...). Pick the proper one. An echo 1 > /sys/class/rfkill/<unit>/state should enable it and then you can 'ifup' the device...
Pit
Hitting the wlan button does toggle the /sys/class/rfkill/rfkill0-1/state between 1 and 2 but the wifi card doesn't turn "on" without reboot. Not a real problem here as I rarely turn it off. Thanks, Tom -- Tom Taylor - retired penguin openSuSE 11.3-RC1 x86_64 KDE 4.4.3, FF 3.6.4 claws-mail 3.7.6 linxt-At-comcast-DoT-net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/17/2010 01:55 AM, Carlos E. R. wrote:
What "STARTMODE=???" should I use? Currently I have "hotplug".
I have always had good luck with 'on boot' for the wifi settings. Then I use wpa_passphrase to set up my normal 3-4 wireless networks in wpa_supplicant.conf they are tried in order they appear in the file. You can also set the priority inside each of the network blocks in wpa_supplicant.conf. Then I can roam easily between the configured networks. I haven't traveled in a while with my laptop, but IIRC, it connects fine at hotels, etc.. If not, iwlist solves the problem. This is with an Atheros card, so ymmv :p -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Adam Tauno Williams
-
C
-
Carlos E. R.
-
David C. Rankin
-
Peter Suetterlin
-
Thomas Taylor