On Monday 27 Jul 2015 19:13:03 meino.cra...@gmx.de wrote:
> Hi,
> 
> shocked from over 1000 lines of configurational stuff in
> wpa_supplicant.conf I have manovered to this point
> 
> The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset  AR9271
> 802.11n (thanks for the hint!) which driver is by far easier to compile
> and use as the hassle with this other one...
> 
> I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0
> and got this here
> 
> Successfully initialized wpa_supplicant
> rfkill: Cannot open RFKILL control device                                  
>                           [ ok ] *   Starting wpa_cli on wlan0 ...        
>                                                            [ ok ] *  
> Backgrounding ... ...
>  * WARNING: net.wlan0 has started, but is inactive
> 
> 
> I am confused by this...especially by "rfkill: Cannot open RFKILL control
> device...[OK]". It's feeling like: "Unexpected ERROR: SUCCESS"
> 
> 
> What is the above text is trying to tell me?

It is probably telling you that you have not configured rfkill in your kernel?

$ grep RFKILL /usr/src/linux/.config
CONFIG_RFKILL=m
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_AMILO_RFKILL is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set


This allows you to control the state of the hardware using any buttons for it 
on your laptop, or by running the command 'rfkill list/block/unblock DEVICE'.


> PS:
> Is there any stripped down version of wpa_supplicant.conf
> for AP use? Sawing that reminds me a little at manually configuring
> sendmail....

For hostapd use this:

https://wiki.gentoo.org/wiki/Hostapd#802.11a.2Fn.2Fac_with_WPA2-PSK_and_CCMP


For the client look at this:

https://wiki.gentoo.org/wiki/Wpa_supplicant#WPA2_with_wpa_supplicant

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to