Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
23
Method 2:
a. Build wifi hotspot configuration file of wpa_supplication.conf for on
/etc/network/ directory and add the following:
network={
ssid="wifi hot spot name"
psk="wifi hot spot password"
priority=1
}
b. Connect wifi, here is the command:
ifconfig wlan0 up
sudo wpa_supplicant -i wlan0 -c /etc/network/wpa_supplication.conf &
dhcpcd wlan0 &
c. Test the condition of wifi connection
Use
iwconfig command, you will find the related information of wlan0, use ping
command to test.
2) Login via vnc and ssh
If there is no condition for connecting HDMI, you could enter the system via
vnc or ssh remote login.
Login via serial port and install ssh
apt-get install ssh
Modify ssh configuration file /etc/ssh/sshd_config