bakegoodz
July 24th, 2012, 12:51 AM
I can't set hostap to use 5ghz In the system logs it says
wlan0: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
I've been using the correct 5ghz channel numbers.
I've tried several 5ghz channel number and I get the same message. After lots of searching I think it might be something to do with regulatory domain. But I've set my country in /etc/default/crda and in hostapd.conf, I can't find anywhere else to set it.
In the syslog it does have this interesting message:
cfg80211: Ignoring regulatory request Set by user since the driver requires its own regulatory domain to be set first
hostapd.conf
###############################
# Basic Config
###############################
country_code=US
macaddr_acl=0
auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
bridge=br0
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
channel=36
ssid=MyWireless
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=mypassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
hw_mode=a
syslog
Jul 23 17:37:02 max kernel: [ 8.970477] ieee80211 phy0: Atheros AR9280 Rev:2
Jul 23 17:37:02 max kernel: [ 8.971129] Registered led device: ath9k_htc-phy0
Jul 23 17:37:02 max kernel: [ 8.971140] usb 1-4: ath9k_htc: USB layer initialized
Jul 23 17:37:02 max kernel: [ 8.971219] usbcore: registered new interface driver ath9k_htc
Jul 23 17:37:02 max kernel: [ 9.011283] Console: switching to colour frame buffer device 128x48
Jul 23 17:37:02 max kernel: [ 9.020404] cfg80211: Calling CRDA for country: US
Jul 23 17:37:02 max kernel: [ 9.023307] fb0: inteldrmfb frame buffer device
Jul 23 17:37:02 max kernel: [ 9.023317] drm: registered panic notifier
Jul 23 17:37:02 max kernel: [ 9.023472] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 23 17:37:02 max kernel: [ 9.058218] cfg80211: Ignoring regulatory request Set by user since the driver requires its own regulatory domain to be set first
Jul 23 17:37:02 max kernel: [ 9.058234] cfg80211: Regulatory domain changed to country: US
Jul 23 17:37:02 max kernel: [ 9.058241] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul 23 17:37:02 max kernel: [ 9.058252] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jul 23 17:37:02 max kernel: [ 9.058262] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jul 23 17:37:02 max kernel: [ 9.058272] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058282] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058291] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058301] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jul 23 17:37:03 max kernel: [ 9.986516] r8169 0000:01:00.0: eth0: link up
Jul 23 17:37:03 max kernel: [ 9.986969] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul 23 17:37:03 max kernel: [ 9.987775] br0: port 1(eth0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 9.987788] br0: port 1(eth0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 9.988362] ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
Jul 23 17:37:03 max ntpdate[808]: name server cannot be used: Temporary failure in name resolution (-3)
Jul 23 17:37:03 max kernel: [ 10.225938] init: failsafe main process (571) killed by TERM signal
Jul 23 17:37:03 max acpid: starting up with proc fs
Jul 23 17:37:03 max acpid: 1 rule loaded
Jul 23 17:37:03 max acpid: waiting for events: event logging is off
Jul 23 17:37:03 max cron[861]: (CRON) INFO (pidfile fd = 3)
Jul 23 17:37:03 max cron[891]: (CRON) STARTUP (fork ok)
Jul 23 17:37:03 max cron[891]: (CRON) INFO (Running @reboot jobs)
Jul 23 17:37:03 max kernel: [ 10.512757] device wlan0 entered promiscuous mode
Jul 23 17:37:03 max kernel: [ 10.519839] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 10.519859] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:03 max hostapd: wlan0: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
Jul 23 17:37:03 max hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
Jul 23 17:37:03 max kernel: [ 10.526742] device wlan0 left promiscuous mode
Jul 23 17:37:03 max kernel: [ 10.526784] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:14 max kernel: [ 20.976023] br0: no IPv6 routers present
Jul 23 17:37:18 max kernel: [ 24.992032] br0: port 1(eth0) entering forwarding state
wlan0: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
I've been using the correct 5ghz channel numbers.
I've tried several 5ghz channel number and I get the same message. After lots of searching I think it might be something to do with regulatory domain. But I've set my country in /etc/default/crda and in hostapd.conf, I can't find anywhere else to set it.
In the syslog it does have this interesting message:
cfg80211: Ignoring regulatory request Set by user since the driver requires its own regulatory domain to be set first
hostapd.conf
###############################
# Basic Config
###############################
country_code=US
macaddr_acl=0
auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
bridge=br0
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
channel=36
ssid=MyWireless
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=mypassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
hw_mode=a
syslog
Jul 23 17:37:02 max kernel: [ 8.970477] ieee80211 phy0: Atheros AR9280 Rev:2
Jul 23 17:37:02 max kernel: [ 8.971129] Registered led device: ath9k_htc-phy0
Jul 23 17:37:02 max kernel: [ 8.971140] usb 1-4: ath9k_htc: USB layer initialized
Jul 23 17:37:02 max kernel: [ 8.971219] usbcore: registered new interface driver ath9k_htc
Jul 23 17:37:02 max kernel: [ 9.011283] Console: switching to colour frame buffer device 128x48
Jul 23 17:37:02 max kernel: [ 9.020404] cfg80211: Calling CRDA for country: US
Jul 23 17:37:02 max kernel: [ 9.023307] fb0: inteldrmfb frame buffer device
Jul 23 17:37:02 max kernel: [ 9.023317] drm: registered panic notifier
Jul 23 17:37:02 max kernel: [ 9.023472] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jul 23 17:37:02 max kernel: [ 9.058218] cfg80211: Ignoring regulatory request Set by user since the driver requires its own regulatory domain to be set first
Jul 23 17:37:02 max kernel: [ 9.058234] cfg80211: Regulatory domain changed to country: US
Jul 23 17:37:02 max kernel: [ 9.058241] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul 23 17:37:02 max kernel: [ 9.058252] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jul 23 17:37:02 max kernel: [ 9.058262] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jul 23 17:37:02 max kernel: [ 9.058272] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058282] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058291] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul 23 17:37:02 max kernel: [ 9.058301] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jul 23 17:37:03 max kernel: [ 9.986516] r8169 0000:01:00.0: eth0: link up
Jul 23 17:37:03 max kernel: [ 9.986969] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul 23 17:37:03 max kernel: [ 9.987775] br0: port 1(eth0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 9.987788] br0: port 1(eth0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 9.988362] ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
Jul 23 17:37:03 max ntpdate[808]: name server cannot be used: Temporary failure in name resolution (-3)
Jul 23 17:37:03 max kernel: [ 10.225938] init: failsafe main process (571) killed by TERM signal
Jul 23 17:37:03 max acpid: starting up with proc fs
Jul 23 17:37:03 max acpid: 1 rule loaded
Jul 23 17:37:03 max acpid: waiting for events: event logging is off
Jul 23 17:37:03 max cron[861]: (CRON) INFO (pidfile fd = 3)
Jul 23 17:37:03 max cron[891]: (CRON) STARTUP (fork ok)
Jul 23 17:37:03 max cron[891]: (CRON) INFO (Running @reboot jobs)
Jul 23 17:37:03 max kernel: [ 10.512757] device wlan0 entered promiscuous mode
Jul 23 17:37:03 max kernel: [ 10.519839] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:03 max kernel: [ 10.519859] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:03 max hostapd: wlan0: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
Jul 23 17:37:03 max hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
Jul 23 17:37:03 max kernel: [ 10.526742] device wlan0 left promiscuous mode
Jul 23 17:37:03 max kernel: [ 10.526784] br0: port 2(wlan0) entering forwarding state
Jul 23 17:37:14 max kernel: [ 20.976023] br0: no IPv6 routers present
Jul 23 17:37:18 max kernel: [ 24.992032] br0: port 1(eth0) entering forwarding state