EasyManua.ls Logo

ODROID C1 - Wpa_supplicant Access Point Setup; Compile and Configure Wpa_supplicant

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 17/20 Wireless Access Point
ODROID Wiki - https://wiki.odroid.com/
dist,.dpkg-old,
Jul 09 19:48:30 odroid dnsmasq[591]: DNS service limited to local
subnets
Jul 09 19:48:30 odroid dnsmasq[591]: warning: ignoring resolv-file flag
because no-resolv is set
Jul 09 19:48:30 odroid dnsmasq-dhcp[591]: DHCP, IP range 192.168.1.250
-- 192.168.1.254, lease time 1h
Jul 09 19:48:30 odroid dnsmasq-dhcp[591]: DHCP, IP range 192.168.1.20 -
- 192.168.1.50, lease time 3d
Jul 09 19:48:30 odroid dnsmasq[591]: using local addresses only for
domain example.com
Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 4.4.4.4#53
Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 8.8.8.8#53
Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 192.168.1.5#53
for domain example.com
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).
Please refer to the link for further informations:
https://wireless.wiki.kernel.org/en/users/documentation/wpa_supplicant
Steps to get the wpa_supplicant compilation. Download the wpa_supplicant source code and build.
target
root@odroid:~# wget https://w1.fi/releases/wpa_supplicant-2.6.tar.gz
root@odroid:~# tar xvfz wpa_supplicant-2.6.tar.gz
root@odroid:~# cd wpa_supplicant-2.6/wpa_supplicant/
root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# cp defconfig .config
# Enable AP, P2P and WPS needed to configure wpa_supplicant in AP mode.
root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# echo CONFIG_P2P=y >>
.config
root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# echo CONFIG_AP=y >>
.config
root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# echo CONFIG_WPS=y >>
.config
root@odroid:~/wpa_supplicant-2.6/wpa_supplicant# echo CFLAGS +=-