After executed scripts, enter reboot command and reboot it, you could use the device authorization management software normally.<br>
After rebooted, there might be no super administrator icon, you need to delete the desk configuration file and reboot the board.<br>
<br>
'''11)WiringPi installation and usage'''
<br>
a. Install WiringPi<br>
i Install compilation tools for source code compilation<br>
$ sudo apt-get install gcc g++ make <br>
ii Compile GPIO driver of H5<br>
git clone https://github.com/kazukioishi/WiringOP.git -b h5 <br>
cd WiringOP<br>
chmod +x ./build <br>
sudo ./build<br>
iii GPIO print out information <br>
# gpio -v<br>
gpio version: 2.20<br>
Copyright (c) 2012-2014 Gordon Henderson<br>
This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty<br>
<br>
Banana Pro Details:<br>
<br>
Type: Banana Pro, Revision: 1.2, Memory: 1024MB, Maker: LeMaker <br>
iv Display<br>
gpio readall
<div>[[文件:Orange-pi-pc2-img46.png|800px|]]</div>
<br>
'''12)Configure Network'''<br>
<br>
* '''Method 1:'''
a.Enter following on the command line:<br>
$ ifconfig<br>
To chcek whether there is wlan(wlan*)<br>
b.If no, load corresponding wlan model<br>
$ insmod 8189*.ko<br>
For example, RTL8189ftv is corresponding to 8189fs.ko, while RTL8189etv is corresponding to 8189es.ko<br>
c.Enter command ifconfig you should find there is wlan0(Hypothesis it is wlan0)<br>
d.Configure wireless, first you need to know ssid and psk(account and password), enter corresponding wlan*,ssid,psk<br>
$ sudo nano /etc/network/interfaces (add the following contents) <br>
auto wlan0<br>
iface wlan0 inet dhc<br>
wpa-ssid xxxx<br>
wpa-psk xxxx<br>
e.Reboot the board and wireless should be available<br>
$ sudo reboot<br>
<br>
* '''Method 2:'''
a.Establish a wifi hotspot configure file wpa_supplication.conf on the directory of
/etc/network/ and add the following contents: <br>
network={<br>
ssid="wifi hotspot name" <br>
psk="wifi hotspot password" <br>
priority=1<br>
}<br>
b.Connect wifi with the following command:<br>
<br>
ifconfig wlan0 up<br>
sudo wpa_supplicant -i wlan0 -c /etc/network/wpa_supplication.conf & dhcpcd wlan0 &<br>
<br>
c.Test the condition of wifi connection<br>
Use ifconfig command you could check the information of wlan0 and use ping command to test.<br>
<br>
'''13)Use USBwifi of official image'''<br>
<br>
a.Insert USBwifi and make sure USB is opened. Enter command lsusb to check the detail information of USB<br>
$ dmesg<br>
$ lsusb<br>
(Bus 008 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter) id is 8176 and check the driver from internet it is rtl8188cu. You could find it from the following link:<br>
https://sites.google.com/site/easylinuxtipsproject/reserve-7#TOC-Realtek-RTL8188CUS- and-RTL8192CU-chipsets-0bda:8176-and-0bda:8178-<br>
<br>
1 Determine the chipset<br>
2 Realtek RTL8188CUS and RTL8192CU chipsets (0bda:8176 and 0bda:8178)
Source code compile lib/modules/*/drivers/net/wireless/realtak/ and it will generated into 8192CU.ko<br>
b.Source code in disk <br>
(rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz)<br>
Update the directory of uImage and lib<br>
<br>
c.Power it on, and it will load the following module:<br>
rtlwifi.ko,rtl8192c_common.ko,mac80211.ko,rtl8192cu.ko.<br>
<br>
d.Uninstall the module of rtl8192cu.ko and install 8192cu.ko, modify /etc/modules and add 8192cu, to make it could boot after power on<br>
e.Modify /etc/network/interfaces, add ssid and psk.<br>
f.Reboot and USBwifi should be available.<br>
<br>