Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
34
and add the following:
$ vim /etc/rc.local
MAC=00:e0:4c:a1:2b:d4
ifconfig wlan0 down
ifconfig wlan0 hw ether $MAC
ifconfig wlan0 up
dhclient &
After rebooting, you could use ifconfig to check whether mac address has
changed.
b. If the system used systemd, you also need to add the following besides
the above steps:
$ cd /etc/systemd/system/
$ vim change_mac_address.service (You could name the server, format
just like the following)
[unit]
Description=Change OrangePi Wifi mac address
[Service]
ExecStart=/etc/rc.local
RemainAfterExit=yes
[Install]
sWantedBy=multi-user.target
$ systemctl enable change_mac_address.service
Modify mac address of eth0 is same as modifying wlan0’s, just need to
replace wlan0 into eth0.
10) Orange Pi Android root
There is defaulted with root permission on Android pre-installed, but
lacking authorization management software. The following is how to add
authorization management software.
You need to have UsbModeSwitch.apk and UPDATE-SuperSU-v2.46.zip,
install kingroot and make sure OTG on Orange Pi could connect to PC.
a. Open adb debug mode
Use U disk or card reader to install UsbModeSwitch.apk into Orange Pi