2023/05/21 14:24 9/20 Wireless Access Point
ODROID Wiki - https://wiki.odroid.com/
target
root@odroid:~# vi /etc/sysctl.conf
Find the options below and change as them.
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
Add the following contents to /etc/rc.local file in order to redirect internet traffic to wireless lan.
target
root@odroid:~# vi /etc/rc.local
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state
RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
Note: Update the iptables rules depending on your wireless network interface.
Reboot the system to get work.
target
root@odroid:~# reboot
Step 4: Access Point Installation - hostapd
Step 4-1: Setup Hostapd server configuration
hostapd is a user space daemon for access point and authentication servers. It implements IEEE
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.