LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-08-2013, 07:52 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian
Posts: 208

Rep: Reputation: 30
can't turn off wifi in laptop


My problem is maybe too specific for a solution,but I'll ask anyhow.

I use lenovo laptop B490. Wrreless using broadcomm, no dedicated wireless button
but use function combo key which doesn't work in my slackware 14. I thought ok this is fine.
I use wicd for connection, and it has 'switch off wi-fi' button on the UI.
But that button also doesn't work, so by default my wifi always on.
My questions:
1. How to enable wifi function combo key in slackware?
2. How to enable wifi button in Wicd?

I just hope at least 1 question can be answered. Preferably question #2.
Thank you.
 
Old 10-08-2013, 07:52 PM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
Hi

Until you get a better answer let me translate your questions into new questions and one possible solution or two

1) Can you see if your bios has an enable wireless setting?

2) Assuming Slackware still uses BSD init scripts, ensure your daemon for wireless wicd is starting for your system
Are you forced to manually start the daemon?

3) Now why do you need a button? Do you swap between ethernet and wireless?
do you need to swap between wireless networks in moving around?

wicd-gtk is smart enough to attempt to auto connect to your preference and (say) you go to a shopping centre,
you re-scan and connect to that using mouse and buttons and stuff

Anyhow, one solution to the button issue is ignore it and install
wicd-gtk----which controls both ethernet and wireless------cool eh?

In the settings for wicd-gtk, allow it to scan, then edit Preferences to input your password against the SSID etc
AND----click the button to allow "connect automatically to this network"

Lovely images here
http://wicd.sourceforge.net/screenshot.php

Last edited by aus9; 10-08-2013 at 07:56 PM.
 
Old 10-08-2013, 09:33 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,260
Blog Entries: 24

Rep: Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890Reputation: 3890
What make/model laptop? That might enable someone with the same one to help out.

I have a Dell 1545n with Broadcom, and both the wicd button and the function key* to toggle the wireless work.

_____________

*As I learned the hard way, by accident.

Last edited by frankbell; 10-08-2013 at 09:34 PM.
 
Old 10-09-2013, 06:54 AM   #4
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 132

Rep: Reputation: 35
Occasionally I've come across a laptop which in addition to the driver also has a hotkey driver or utility requirement to enable you to turn of/off the wireless card.

USB wireless adapters are pretty cheap now; I'd suggest just using one of those.
 
Old 10-09-2013, 10:44 PM   #5
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware -current 32bit!
Posts: 537

Rep: Reputation: 202Reputation: 202Reputation: 202
hottdogg,

Can you test disconnecting with "wicd-curses"?
I assume you're using wicd-gtk already, by clicking the panel icon?
Run wicd-curses instead in a terminal, and see if you can disconnect
by: Shift+D
Also, what does the command "iwconfig" return?
 
Old 10-10-2013, 03:57 AM   #6
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian
Posts: 208

Original Poster
Rep: Reputation: 30
I guess some of you missed my point. I can connect/disconnect using wicd gui(wicd-gtk?). No problem.
What I want is to be able to turn off the wireless.


Quote:
Originally Posted by aus9 View Post
3) Now why do you need a button? Do you swap between ethernet and wireless?
do you need to swap between wireless networks in moving around?
To use less power,
yes I swap betwen ethernet/wireless. In my home I use ethernet, so idling wireless device is wasteful.

Quote:
Originally Posted by commandlinegamer View Post
USB wireless adapters are pretty cheap now; I'd suggest just using one of those.
One of the reason I want to be able to turn off the builtin wifi adapter, is because I plan to do just that. Using external usb
wireless adapter.

Last edited by hottdogg; 10-10-2013 at 03:59 AM.
 
Old 10-10-2013, 04:01 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,357

Rep: Reputation: Disabled
I use an acpi script to make the Fn-wifi keys work on my thinkpad. See the files in /etc/acpi but that isn't the same as a hardware switch...

Last edited by dive; 10-10-2013 at 11:15 PM.
 
Old 10-10-2013, 10:50 PM   #8
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware -current 32bit!
Posts: 537

Rep: Reputation: 202Reputation: 202Reputation: 202
Off:
Code:
ifconfig wlan0 down
On:
Code:
ifconfig wlan0 up
 
Old 10-10-2013, 11:14 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,357

Rep: Reputation: Disabled
Quote:
Originally Posted by STDOUBT View Post
Off:
Code:
ifconfig wlan0 down
On:
Code:
ifconfig wlan0 up
That does not turn off the device.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP G70 Laptop wifi switch will not turn blue solarpi Linux - Laptop and Netbook 2 06-09-2013 06:54 PM
how can I turn my linux laptop into a wifi hotspot? james_larson Linux - Networking 6 04-03-2012 04:44 PM
anybody know any programs i can use to turn my laptop into a wifi hotspot? james_larson Linux - Newbie 5 01-12-2011 09:08 PM
how to turn permanently turn on laptop fan?;] blorpton Linux - Laptop and Netbook 6 01-11-2010 12:48 PM
Can not turn on WiFi card in Ubuntu 8.10 in my hp dv5 laptop kasunbg Linux - Laptop and Netbook 5 09-04-2009 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration