LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-22-2008, 10:20 PM   #1
citiz3n
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Rep: Reputation: 0
Question Enabling/Disabling Wireless Radio. How?


Hi there guys,


Can anyone tell me whether there is any way to enable or disable the wireless radio in Linux via command line perhaps?

If tried doing some googling on this.. ended up with some saying that rfkill will do the trick. Can anyone here confirm this to me?

And secondly, can Rfkill be used to ALL wireless adapter or not?


Thanking you in advance.


Citiz3n
 
Old 05-23-2008, 04:29 AM   #2
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 103
Blog Entries: 12

Rep: Reputation: 26
I don't know about rfkill. It seems to me that it's a driver for physical button enabling/disabling wireless card in some laptops.
But you can treat the wireless interface as any other with ifup/ifdown. You can also switch off the radio with
Code:
iwconfig <interface name> txpower off
Though I'm not sure if it is exactly what you need.
Good luck.
 
Old 05-23-2008, 12:55 PM   #3
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
ifdown <interface> will disable the wireless connection. If you want to completely turn off the transmitter, I'm not sure about that.
 
Old 05-26-2008, 07:56 PM   #4
citiz3n
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dr_agon View Post
I don't know about rfkill. It seems to me that it's a driver for physical button enabling/disabling wireless card in some laptops.
But you can treat the wireless interface as any other with ifup/ifdown. You can also switch off the radio with
Code:
iwconfig <interface name> txpower off
Though I'm not sure if it is exactly what you need.
Good luck.
Quote:
Originally Posted by pentode
ifdown <interface> will disable the wireless connection. If you want to completely turn off the transmitter, I'm not sure about that.
Hi Guyz,

Thanks for the info.


Citiz3n
 
  


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
Read-only file system after enabling/disabling root benn333 Ubuntu 2 02-25-2007 12:42 PM
Blocking/disabling & Enabling Modem helpmeforlinux Linux - General 0 01-30-2007 04:48 AM
disabling 1 boot loader, and enabling other itz2000 Linux - Newbie 9 10-21-2006 07:58 AM
Disabling/enabling the wireless card evilmonkey Linux - Hardware 5 05-17-2006 09:26 PM
Disabling Synaptics Touchpad, Enabling PS/2 Mouse alex_denner Linux - Laptop and Netbook 2 11-28-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:40 AM.

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