2023/05/21 14:24 5/20 Wireless Access Point
ODROID Wiki - https://wiki.odroid.com/
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.1.1
netmask 255.255.255.0
Note: The predictable interface names shown as starts with wlan suppose you have an interface
name.
If your wireless interface name shows like the below's,
target
root@odroid:~# ifconfig
enx7cdd9052131e Link encap:Ethernet HWaddr 7c:dd:90:52:13:1e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:
0
errors:
0
dropped:321 overruns:
0
frame:
0
TX packets:
0
errors:
0
dropped:
0
overruns:
0
carrier:
0
collisions:
0
txqueuelen:1000
RX bytes:
0
(0.0 B) TX bytes:
0
(0.0 B)
Add net.ifnames=0 as kernel parameter to kernel command line by editing the boot.ini. The local
interface name issue gets resolved to have predictable name for wireless interface.
target
root@odroid:~# ifconfig
wlan0 Link encap:Ethernet HWaddr 7c:dd:90:52:13:1e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:
0
errors:
0
dropped:10 overruns:
0
frame:
0
TX packets:
0
errors:
0
dropped:
0
overruns:
0
carrier:
0
collisions:
0
txqueuelen:1000
RX bytes:
0
(0.0 B) TX bytes:
0
(0.0 B)
Note: wlan0 IP address might be different from yours.
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