bastibasti Guru

Joined: 27 Nov 2006 Posts: 578
|
Posted: Sun Feb 28, 2016 10:09 am Post subject: [closed] hostapd bare minimum requirements?? |
|
|
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. |
|