Orange Pi PC 2 Wifi on Armbian

10/15/18

Last modified on 10/15/18

Categories: Single Board Computers Tags: Orange Pi

After plugging in USB wifi adapter, check to see if the device is recognized. I used a Wavlink AC1300, because I had one on hand. It is not advertised as working with Linux but Armbian had no issue recognizing it. On the much cheaper side, some users have success with the RTL8188 chipset. I forgot about nmtui until after the fact.

dmesg
...
[ 9718.525146] usb 5-1: new high-speed USB device number 5 using ehci-platform
[ 9718.654242] usb 5-1: New USB device found, idVendor=0bda, idProduct=8812
[ 9718.654252] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9718.654256] usb 5-1: Product: 802.11n NIC
[ 9718.654260] usb 5-1: Manufacturer: Realtek
[ 9718.654264] usb 5-1: SerialNumber: 123456
sudo nano /etc/network/interfaces

Updated file is:

auto lo
iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
   wpa-ssid "SSID"
   wpa-psk "PASSWORD"
sudo service networking reload

sudo armbian-config

Configure Network to use wifi as default. To check up on on things try:

ifconfig