This article offers a concise guide to configuring Wi-Fi on the NanoPiNeo 1.4 using the gi 7601 USB adapter. It includes steps for package installation, network interface check, Wi-Fi scanning, configuration file editing, service restart, network status verification, system reboot, and Wi-Fi connection confirmation.
Configuring Wi-Fi on the NanoPi Neo 1.4 with the gi 7601 USB adapter allows you to connect the device to wireless networks, enabling convenient internet access. This step-by-step guide will walk you through the process of setting up the Wi-Fi connection on your NanoPi Neo, providing the commands and outputs required for a successful configuration.
Begin by installing the necessary packages for Wi-Fi configuration. Open a terminal and execute the following command:
sudo apt-get install wpasupplicant wireless-tools
Next, verify the available network interfaces on your NanoPi Neo. Run the following commands:
sudo ifconfig
sudo iwconfig
Take note of the wireless interface name, in this case, wlx6c55eb634523
which corresponds to the gi 7601 USB adapter.
Scan for available Wi-Fi networks using the following command:
sudo iwlist wlx6c55eb634523 scan
This command will display a list of detected networks along with their respective information, example:
lo no wireless extensions.
end0 no wireless extensions.
wlx6c55eb634523 IEEE 802.11 ESSID:"TP-Link_A0D9"
Mode:Managed Frequency:2.457 GHz Access Point: A0:4D:25:30:B0:DA
Bit Rate=150 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=59/70 Signal level=-51 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:19 Invalid misc:405 Missed beacon:0
docker0 no wireless extensions.
veth232c4a8 no wireless extensions.
Generate passphrase for your Wi-Fi credentials running next command:
wpa_passphrase MY-WIFI-NAME MY-WIFI-PASSWORD
The output will looks like (we are interested in string after psk=
):
network={
ssid="MY-WIFI-NAME"
#psk="MY-WIFI-PASSWORD"
psk=3d6b79ca8723c4798c652d9c5e455258a813af692d80477d627870b070c9236
}
Open the network interfaces configuration file using a text editor:
sudo nano /etc/network/interfaces
Add the following configuration to the file:
iface wlx6c55eb634523 inet dhcp
wpa-driver wext
wpa-ssid TP-Link_A0D9
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 3d6b79ca8723c4798c652d9c5e455258a813af692d80477d627870b070c9236
Replace 3d6b79ca8723c4798c652d9c5e455258a813af692d80477d627870b070c9236
with your actual passphrase generated above.
Save the changes and exit the text editor. Restart the networking service using the following command:
sudo systemctl restart networking
Check the status of the networking service to ensure successful configuration:
sudo systemctl status networking
Reboot the NanoPi Neo to finalize the Wi-Fi configuration:
sudo reboot
##Step 8: Confirming Wi-Fi Connection After rebooting, verify the network status using the ifconfig command:
Ensure that the wlx6c55eb634523
interface is up and has obtained an IP address.
By following this step-by-step guide, you have successfully configured the Wi-Fi connection on your NanoPi Neo 1.4 using the gi 7601 USB adapter. Enjoy wireless connectivity and convenient internet access on your NanoPiNeo. Remember to replace MY-WIFI-NAME with your actual Wi-Fi network name and MY-WIFI-PASSWORD with your actual Wi-Fi password when making the necessary configuration changes.