Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[closed] hostapd bare minimum requirements??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 568

PostPosted: Sun Feb 28, 2016 10:09 am    Post subject: [closed] hostapd bare minimum requirements?? Reply with quote

Hi,

Iam trying to build a minimalistic access point. (kernel+busybox+hostapd)

What I have working so far:
- kernel boot
- uclibc
- auto module loading (correct wifi module is loaded, with all dependencies)
- busybox
- eth0+bridge+udhcpc
- all hostapd dependencies

I tested the same usb stick on a full box and it works with hostapd as AP
I will use same hostap.conf file from working box.

However, after booting and starting hostapd the first error I get is

Code:

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Line 8: DEPRECATED: 'debug' configuration variable is not used anymore
Line 10: DEPRECATED: 'dump_file' configuration variable is not used anymore
ctrl_interface_group=0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 2 iftype 3 (AP)
nl80211: Failed to set interface 2 to mode 3: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 2 iftype 3 (AP)
nl80211: Mode change succeeded while interface is down
nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0


I wonder - there is no process keeping wlan0 busy - as the system does not have networkmanager etc.

Code:

cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA to update world regulatory domain


do I need crda installed as a requirement, or can I skip this somehow??


edit:

I compiled the regdb into the kernel

Code:
CONFIG_CFG80211_INTERNAL_REGDB=y


it solved all issues. looks like crda needs udev or something.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum