EasyManua.ls Logo

ODROID C1 - Run Wpa_supplicant as Service

Default Icon
20 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2023/05/21 14:24 19/20 Wireless Access Point
ODROID Wiki - https://wiki.odroid.com/
root@odroid:~# reboot
Note: You can change the frequency range between 2.4 GHz and 5 GHz.
Confirm them.
target
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 16 overruns
0
carrier
0
collisions
0
This is an example of starting wpa_supplicant as Access Point.
target
root@odroid:~# wpa_supplicant -Dnl80211 -iwlan0 -c ~/wpa.conf
Successfully initialized wpa_supplicant
Using interface wlan0 with hwaddr 7c:dd:90:52:13:1e and ssid "odroid-
WPA"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: CTRL-EVENT-CONNECTED - Connection to 7c:dd:90:52:13:1e completed
[id=
0
id_str=]
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.