https://blog.csdn.net/qq_16775293/article/details/84315539
源cat /etc/apt/sources.list
deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
安装系统首先确定哪个账号能直接使用aplay,mpg123,而不需要指定声卡
切换需要用su - 账号名称
在开机启动中需要切换到某账号
root@orangepipc:/home/test/rpi-arm-raspbian-8.0-1.1.1# su - test -c "cd /home/test/rpi-arm-raspbian-8.0-1.1.1/;/usr/bin/python2.7 demo.py resources/alexa.umdl"
armbian中sudo su不用输入密码
root@orangepipc:/etc/sudoers.d# cat /etc/sudoers.d/test
"test" ALL=(ALL) NOPASSWD:ALL
shell中使用sudo
cat python.py
os.system('nohup sudo -S /usr/bin/mpv /home/test/music/test.flac &');
$ sudo armbian-config
转:http://bbs.ickey.cn/community/forum.php?mod=viewthread&tid=66028
https://wiki.debian.org/WiFi/HowToUse
http://hyblog.top/orangepi/2.html
http://blog.csdn.net/renpeng009672/article/details/50281137?locationNum=7
cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "你的wifi名称"
wpa-psk "你的wifi密码"
如:
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "ziroom503"
wpa-psk "123456"
修改分辨率
h3disp -m 720p60
以上是图形界面armbin,以下是非图形界面armbian
root@orangepipc:/home/orangepi# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
wpa-ssid "ziroom503"
wpa-psk "123456"
address 192.168.0.118
netmask 255.255.255.0
gateway 192.168.0.1