2023/05/21 14:24 15/20 Wireless Access Point
ODROID Wiki - https://wiki.odroid.com/
WIFI IP address must be the same of the set for /etc/network/interfaces.
You have to allocate specific IP address you set into the /etc/network/interfaces file as a static
method to wlan0 interface.
target
# Force allocation of IP address
root@odroid:~# ifconfig wlan0 192.168.1.1
# Check IP address
root@odroid:~# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.1 netmask 255.255.255.0 broadcast
192.168.1.255
ether 40:a5:ef:f3:98:6a txqueuelen 1000 (Ethernet)
RX packets 122 bytes 13344 (13.3 KB)
RX errors
0
dropped 1 overruns
0
frame
0
TX packets 49 bytes 18722 (18.7 KB)
TX errors
0
dropped 473 overruns
0
carrier
0
collisions
0
After you finish all of the setup steps, restart the services and check their statuses.
Enter the following code to enable by default.
target
root@odroid:~# update-rc.d hostapd enable
Restart the services.
target
root@odroid:~# service hostapd restart
root@odroid:~# service dnsmasq restart
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