Page 1
(0x0BDA:0xa811) ODROID Wireless Cards Information Almost all the wireless card have capability of configuration as to be Access Point. target root@odroid:~# sudo iw list ODROID Wiki - https://wiki.odroid.com/...
Page 2
Last update: accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 2019/03/05 10:03 If there is “AP” in the list of “Supported interface modes”, your device will support the Access Point mode. target Supported interface modes: IBSS managed AP/VLAN monitor mesh point Refer to the below contents of informations of each wireless interface.
Page 3
Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter Wifi Module 5A Manufacturer: Realtek Type: chip Number of busses: Bus(es): USB Number of bands: Band(s): 2.4GHz, 5GHz Data rate: AC600 MIMO configuration: Mbps 1T1R Mbps 1T1R IEEE 802.11 PHY Modes: a,b,g,n,ac ODROID Wiki - https://wiki.odroid.com/...
Page 4
Last update: accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 2019/03/05 10:03 Bus 003 Device 003: ID 0bda:a811 Realtek Semiconductor Corp. Configure Access Point One user (tam1111574) reported there's an issue with USB 3.0 port on the XU4: http://forum.odroid.com/viewtopic.php?f=97&t=19285 All commands must be executed in super user mode.
Page 5
Note: Wireless interface name can be changed as it depends on the wireless cards you installed. Step 2: Setup DHCP server configuration for Access Point. Configure dnsmasq which is a light weight DHCP and DNS server. target root@odroid:~# apt install dnsmasq Reading package lists... Done ODROID Wiki - https://wiki.odroid.com/...
Page 6
Process: 2072 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) 01:59:06 odroid systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... 01:59:06 odroid dnsmasq[2072]: dnsmasq: syntax check OK. 01:59:06 odroid dnsmasq[2073]: dnsmasq: failed to create listening socket port 53: Address already...
Page 7
2023/05/21 14:24 7/20 Wireless Access Point 01:59:06 odroid systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server. Processing triggers systemd (237-3ubuntu10.9) Stop the service listening port 53. target # Check that systemd-resolve service is listening port 53 now(127.0.0.53:53)
Page 8
Last update: accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 2019/03/05 10:03 tcp6 0 :::22 :::* LISTEN 677/sshd tcp6 0 ::1:631 :::* LISTEN 2734/cupsd Copy dnsmasq configuration file to get a backup and then make a new one. target root@odroid:~# mv /etc/dnsmasq.conf /etc/dnsmasq.conf.org root@odroid:~# vi /etc/dnsmasq.conf dnsmasq.conf...
Page 9
802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and RADIUS authentication server. Please find more information on https://wireless.wiki.kernel.org/en/users/documentation/hostapd Steps to get the hostapd compilation. Download the hostapd source code and build with proper parameters. ODROID Wiki - https://wiki.odroid.com/...
Page 10
.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.
Page 11
Or if it still doesn't work and/or if you use kernel version under 4.4, you can try to follow the previous guide: https://wiki.odroid.com/accessory/connectivity/wifi/wlan_ap Also you can try to use a pre-built script: https://github.com/oblique/create_ap ODROID Wiki - https://wiki.odroid.com/...
Page 15
If you get this message when starting hostapd service, “Failed to start hostapd.service: Unit hostapd.service is masked.”, unmask that service and try it out again. systemctl unmask hostapd.service ODROID Wiki - https://wiki.odroid.com/...
Page 17
Jul 09 19:48:30 odroid dnsmasq[591]: cleared cache Jul 09 19:48:31 odroid systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. lines 1-22/22 (END) Step 4: Access Point Installation - wpa_supplicant Step 4-1: Setup wpa_supplicant configuration wpa_supplicant is a user space application which works as a WPA supplicant and SME (to handle initiating MLME commands).
Page 18
Last update: accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 2019/03/05 10:03 I/usr/include/libnl3/ >> .config root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# echo CONFIG_LIBNL32=y >> .config root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# make Backup the current wpa_supplicant. Replace the file with configured one. target root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# mv /sbin/wpa_supplicant /sbin/wpa_supplicant.org root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# cp ./wpa_supplicant /sbin/ Verify that you have installed the latest version.
Page 19
Start Wpa_suplicant as a server Append the following in /etc/rc.local file target sudo service network-manager stop wpa_supplicant -B -Dnl80211 -iwlan0 -c /root/wap.conf Alternative/Easier Ways For Access Point Configuration This script creates a NATed or Bridged WiFi Access Point. ODROID Wiki - https://wiki.odroid.com/...
Page 20
Last update: accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 2019/03/05 10:03 From: https://wiki.odroid.com/ - ODROID Wiki Permanent link: https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785 Last update: 2019/03/05 10:03 https://wiki.odroid.com/ Printed on 2023/05/21 14:24...