Last
update:
2019/03/05
10:03
accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785
https://wiki.odroid.com/ Printed on 2023/05/21 14:24
Wifi Module 0, 4, 5, 5A
target
root@odroid:~# wget https://w1.fi/releases/hostapd-2.6.tar.gz
root@odroid:~# tar xvfz hostapd-2.6.tar.gz
root@odroid:~# cd hostapd-2.6/hostapd
root@odroid:~/hostapd-2.6/hostapd# cp defconfig .config
root@odroid:~/hostapd-2.6/hostapd# echo CONFIG_LIBNL32=y >> .config
root@odroid:~/hostapd-2.6/hostapd# echo CONFIG_IEEE80211N=y >> .config
root@odroid:~/hostapd-2.6/hostapd# echo CONFIG_IEEE80211AC=y >> .config
root@odroid:~/hostapd-2.6/hostapd# make
Wifi Module 3
You should download a patch file if you use Wifi Module 3 to make hostapd works for Wifi Module 3
which do not support the standard nl80211 driver from hostapd on kernel 3.10, 3.14, 3.16.
target
root@odroid:~# git clone https://github.com/pritambaral/hostapd-
rtl871xdrv.git
root@odroid:~# wget https://w1.fi/releases/hostapd-2.6.tar.gz
root@odroid:~# tar xvfz hostapd-2.6.tar.gz
root@odroid:~# cd hostapd-2.6
root@odroid:~/hostapd-2.6# patch -p1 < ../hostapd-
rtl871xdrv/rtlxdrv.patch
root@odroid:~/hostapd-2.6# cd hostapd
root@odroid:~/hostapd-2.6/hostapd# cp defconfig .config
root@odroid:~/hostapd-2.6/hostapd# echo CONFIG_LIBNL32=y >> .config
root@odroid:~/hostapd-2.6/hostapd# echo CONFIG_DRIVER_RTW=y >> .config
root@odroid:~/hostapd-2.6/hostapd# make
Backup the current hostapd. Replace the file with the configured one.
target
root@odroid:~/hostapd-2.6/hostapd# mv /usr/sbin/hostapd
/usr/sbin/hostapd.org
root@odroid:~/hostapd-2.6/hostapd# cp hostapd /usr/sbin/