2017年9月14日 星期四

OrangePi Zero 設定















執行 armbian-config
設定時區
lsusb
檢查是否有插上Air Make2
dmesg | grep tty
確定是否有下列這行
usb 6-1: ch341-uart converter now attached to ttyUSB0
安裝python serial
https://pypi.python.org/pypi/pyserial
複製 pyserial-3.4.tar.gz 下載網址
cd /home/bm7dev
wget pyserial-3.4.tar.gz下載網址
tar -zxvf pyserial-3.4.tar.gz
cd pyserial-3.4
python setup.py install
修改 /etc/rc.local
vi /etc/rc.local
加上下面
killall python
sleep 300
cd /home/bm7dev/
sudo /usr/bin/python t.py
設定時區
dpkg-reconfigure tzdata
選擇asia->taipei
自動校時
apt-get install ntpdate
校時
ntpdate ntp.stu.edu.tw
到crontab設定每小時對時
crontab -e
0 * * * * /usr/sbin/ntpdate ntp.stu.edu.tw > /dev/null 2>&1
安裝 vsftpd
sudo apt-get install vsftpd
systemctl start vsftpd
systemctl enable vsftpd
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.orig
vi /etc/vsftpd.conf
最後面加上
chroot_local_user=YES
allow_writeable_chroot=YES
變更使用 wifi 或是 Ethernet使用 nmtui 這個指令

沒有留言:

張貼留言

APX1C3 APRS Tracker manual

原文引用自: https://github.com/Mihara/x1c3tool/blob/main/manual/manual.md