[Armbian]: How to Connect Orange Pi Zero to WiFi
Raspberry Pi Zero has no WiFi function. However, Orange Pi Zero has WiFi function. You cannot use the WiFi function simply by installing Armbian on Orange Pi Zero.
Here, we describe a method for connecting Orange Pi Zero with Armbian installed to WiFi.
1. Setting “wpa_supplicant.conf”
Introduction it’s necessary to set basic information for connecting to WiFi. Please prepare your WiFi SSID and Password. Write the setting information using an arbitrary Editor. Please change the part of “[SSID]” and “[PASSWORD]”.
$ sudo sh -c "wpa_passphrase [SSID] [PASSWORD] >> /etc/wpa_supplicant/wpa_supplicant.conf" $ sudo vi /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="Your_SSID" #psk="Your_Password" psk=c174a8f925b06ba03ad00bfa0d91210c7f28f9071bac05c8530146eb59c1e250 }
2. Setting “interfaces”
After setting WiFi, proceed to the next. Edit “/etc/network/interfaces” using an arbitrary editor.
$ sudo vi /etc/network/interfaces auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp $ sudo reboot
Thank you.
最近のコメント