Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] To Wifi or not to Wifi...
Date: Mon, 27 Jul 2015 18:42:48
Message-Id: 20150727184239.GQ15480@ns1.bonedaddy.net
In Reply to: [gentoo-user] To Wifi or not to Wifi... by Meino.Cramer@gmx.de
1 Hi Meino,
2
3 I don't think you need to worry about the "rfkill: Cannot open RFKILL
4 control device" message.
5
6 I believe that's for getting status of rfkill switches (the switches on
7 laptops to disable the WiFi radio.)
8
9 A USB WiFi-dongle doesn't generally have those (at least the ones I've
10 used) and neither does my custom hardware which also gets that warning
11 but works fine.
12
13 I think the bigger issue is the "WARNING: net.wlan0 has started, but is
14 inactive.
15
16 I think the next step is trying to run wpa_supplicant by hand and see
17 what it has to say:
18
19 wpa_supplicant -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -dd
20
21 (replacing the location of the config file you want to use for the one
22 after the -c above.) The -dd ups the debugging info displayed.
23
24 Regards,
25
26 Todd
27
28 * Meino.Cramer@×××.de <Meino.Cramer@×××.de> [150727 14:13]:
29 > Hi,
30 >
31 > shocked from over 1000 lines of configurational stuff in
32 > wpa_supplicant.conf I have manovered to this point
33 >
34 > The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset AR9271 802.11n
35 > (thanks for the hint!) which driver is by far easier to compile and
36 > use as the hassle with this other one...
37 >
38 > I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0
39 > and got this here
40 >
41 > Successfully initialized wpa_supplicant
42 > rfkill: Cannot open RFKILL control device [ ok ]
43 > * Starting wpa_cli on wlan0 ... [ ok ]
44 > * Backgrounding ... ...
45 > * WARNING: net.wlan0 has started, but is inactive
46 >
47 >
48 > I am confused by this...especially by "rfkill: Cannot open RFKILL control device...[OK]".
49 > It's feeling like: "Unexpected ERROR: SUCCESS"
50 >
51 >
52 > What is the above text is trying to tell me?
53 >
54 >
55 > Thank you very much in advance for any help!
56 > Best regards,
57 > Meino
58 >
59 >
60 >
61 >
62 >
63 > PS:
64 > Is there any stripped down version of wpa_supplicant.conf
65 > for AP use? Sawing that reminds me a little at manually configuring
66 > sendmail....
67 >
68 >