Enable/disable Wifi from command line

X60/X61 series specific matters only.
Post Reply
Message
Author
sddroog
Posts: 9
Joined: Wed Aug 22, 2007 3:30 pm
Location: Amsterdam, Netherlands

Enable/disable Wifi from command line

#1 Post by sddroog » Thu Jan 08, 2009 1:51 am

Hi,

Is there a way to enable/disable Wifi and/or Bluetooth from the command line, instead of using the connection manager (Fn-F5)?

Thanks!

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

Re: Enable/disable Wifi from command line

#2 Post by Volker » Thu Jan 08, 2009 7:39 am

The answer is yes, but you might have to install linux:

Assuming that wlan is rfkill0 (check /sys/class/rfkill/rfkill0/name):

Code: Select all

echo 0 > /sys/class/rfkill/rfkill0/state
echo 1 > /sys/class/rfkill/rfkill0/state
Bluetooth and wwan:

Code: Select all

echo enable > /proc/acpi/ibm/bluetooth
echo disable > /proc/acpi/ibm/bluetooth
echo enable > /proc/acpi/ibm/wan
echo disable > /proc/acpi/ibm/wan

sddroog
Posts: 9
Joined: Wed Aug 22, 2007 3:30 pm
Location: Amsterdam, Netherlands

Re: Enable/disable Wifi from command line

#3 Post by sddroog » Thu Jan 08, 2009 12:54 pm

Thanks! However, installing linux was not what I had in mind...

Any solution for Windows (Vista)?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Thinkpad X6x Series incl. X6x Tablet”

Who is online

Users browsing this forum: No registered users and 3 guests