LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-08-2015, 01:11 PM   #1
MisterBark
Member
 
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104

Rep: Reputation: 6
Question wlan0 is in ifconfig but rfkill fails


Hi,

On a very custom Linux I am plugging a Realtek USB wifi adapter:
Code:
Bus 003 Device 014: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
I loaded its kernel module and it becomes visible in ifconfig:
Code:
# modprobe rtl8187
# ifconfig -a
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:c0:ca:72:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
The problem is, rfkill can't show it as a wireless device:
Code:
# rfkill list
Can't open RFKILL control device: No such file or directory
It is therefore not usable by other WIFI programs.
This same device works on other Linux machines.

Any idea?
THANK YOU
 
Old 01-09-2015, 08:37 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Might I suggest (as root)
Code:
modprobe rfkill # Yes, there's a module too!)
rfkill unblock wifi
If that doesn't sort it, it either
1. Some hardware switch disabling the wifi - many laptops have them.
2. "Fast ethernet switching" or similar enabled in the BIOS. This disables wifi if eth0 is brought up.
3. Your driver could be the wrong driver - many drivers exist, that's all I know.
4 You may have none/wrong/too old of firmware.
 
Old 01-09-2015, 09:51 AM   #3
MisterBark
Member
 
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104

Original Poster
Rep: Reputation: 6
Thank you for your answer
I never heard of an rfkill kernel module!
I recompiled the kernel, loaded the module and it works!
THANK YOU. SOLVED.
 
Old 01-09-2015, 01:04 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
:-). You're welcome. Wish they were all that easy.
 
  


Reply

Tags
realtek, rfkill, wifi


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
resuming after pm-suspend produce an rfkill hard block on WLAN0 wrobertz Linux - Laptop and Netbook 3 01-26-2013 07:47 AM
ifconfig wlan0 up error paruhang Linux - Newbie 1 04-24-2012 10:11 AM
Can't find device? (ifconfig wlan0) dchisam Linux - Wireless Networking 2 08-05-2009 10:18 AM
ifconfig wlan0 up ERROR GantMan Linux - Wireless Networking 6 06-24-2007 08:09 PM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM

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

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration