Re: DFS start_dfs_cac() failed, -1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, I figured it out. I had  a couple things wrong. I didn't know
i had to recompile crda  with the keys generated when the regulatory
database is compiled. I'm not sure if everything I did is correct /
necessary, but it works.

I ened up doing the following.

# Compile regulatory database
cd /usr/src/
git clone git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
cd wireless-regdb/
make  && make install

#Compile  CRDA  , must use the keys generated by regulatory database
cd /usr/src/
git clone git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git
cp /usr/lib/crda/pubkeys/*  /usr/src/crda/pubkeys/
make && make install

#Setup up Regulatory Domain  to US
echo "REGDOMAIN=US"  > /etc/default/crda
echo "options cfg80211 ieee80211_regdom=US"  > /etc/modprobe.d/cfg80211.conf
iw reg set US


# hostapd.conf  file
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
bridge=br0
interface=wlp4s0
driver=nl80211
hw_mode=a
channel=0
auth_algs=1
ssid=Test-5ghz
macaddr_acl=0
ignore_broadcast_ssid=0
ieee8021x=0
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][HT40-][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40][SHORT-GI-20]
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
vht_oper_centr_freq_seg1_idx=159
country_code=US
ieee80211d=1
ieee80211h=1
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_passphrase=password1
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_group_rekey=300
wpa_gmk_rekey=640

On Fri, Jun 30, 2017 at 3:14 AM, Zefir Kurtisi
<zefir.kurtisi@xxxxxxxxxxx> wrote:
> Hello Todd,
>
> On 06/26/2017 11:45 PM, Todd Lewis wrote:
>> I'm setting up a access point on a linux router.
>> I am unable to start hostapd. I get the error DFS start_dfs_cac() failed, -1
>>
>> I'm using a
>> Compex WLE600VX  Qualcom QCA9882
>>
>>
>> [...]
>>
>> The configuration file
>> /etc/hostapd/hostapd.conf
>>
>> ctrl_interface=/var/run/hostapd
>> ctrl_interface_group=wheel
>> bridge=br0
>> interface=wlp4s0
>> driver=nl80211
>> ssid=test-5g
>> hw_mode=a
>> max_num_sta=128
>> auth_algs=1
>> disassoc_low_ack=1
>> ieee80211h=1
>> ieee80211d=1
>> country_code=US
>> channel=0
>> ieee80211ac=1
>> vht_oper_chwidth=1
>> vht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
>> vht_oper_centr_freq_seg0_idx=42
>> wpa=3
>> wpa_key_mgmt=WPA-PSK
>> wpa_passphrase=darkcrystal1
>> wpa_pairwise=CCMP
>>
>
> you can't have vht_capab without ht_capab. In fact, in your hostapd.conf
> vht_capab should be renamed to ht_capab, then it might work.
>
> Check [1] for further information.
>
>
> Good luck,
> Zefir
>
>
> [1]
> https://wireless.wiki.kernel.org/en/users/drivers/ath10k/configuration#configuring_hostapd
>



-- 
Todd Lewis

Grizzly Star

(469) 363-2907 Cell

(972) 361-6287 Fax

www.grizzlystar.com

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux