Hi There,
I have wifi working in managed mode, so I can connect to existing access points w/o problems. Now I'm looking to turn the board into an access point, but have not had any luck so far. The driver used is the one from AR6kSDK.build_3.1_RC.563 (ar6000.ko). When I start up hostapd 1.1 the following happens
root@freescale /tmp$ hostapd hostapd.cfg -d
random: Trying to read entropy from /dev/random
Configuration file: hostapd.cfg
Add Filter 0 = 01:00:5e:00:00:01
Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -19 (No such device)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -19 (No such device)
nl80211: Interface mode change to 2 from 0 failed
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
My hostapd config file looks like -
root@freescale /tmp$ cat hostapd.cfg
interface=wlan0
ctrl_interface=wlan0
ssid=default
auth_algs=1
ignore_broadcast_ssid=0
max_num_sta=8
beacon_int=100
dtim_period=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_passphrase=123456789
channel=11
preamble=0
wpa_group_rekey=3600
iwconfig reports -
root@freescale /tmp$ iwconfig
lo no wireless extensions.iwioctl: cmd=0x8b03 not allowed in this mode
eth0 no wireless extensions.
iwioctl: cmd=0x8b1d not allowed in this mode
iwioctl: cmd=0x8b23 not allowed in this mode
iwioctl: cmd=0x8b25 not allowed in this mode
wlan0 AR6000 802.11ng Nickname:""
NWID:off/any Mode:Managed Bit Rate:1 Mb/s Tx-Power=0 dBm
Sensitivity=0/3
Retry:on RTS thr=0 B Fragment thr=0 B
Encryption key:off
Power Management:on
Link Quality:255/94 Signal level:-96 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I am using the L3.0.35_4.1.0 Linux BSP. Any ideas on what could be going on ?
Thanks,
/Otto
dear Otto:
I have the same issue of you now ,and did you solve it ? if you did , can you tell me how to solve it?
thank you !