Check if the serial port is connected, you can use
ls /dev/tty
然后按TAB键
or
dmesg | grep tty
If connected, there is a ttyUSBXX
====================================================================
Serial port tool: minicom
installation:
apt-get install minicom
Configuration:
sudo minicom -s
After entering, the third change the baud rate and name
Save:
run:
sudo minicom
Has entered the board system
====================================================================
NFS mount
Install server on the computer first
sudo apt-get install nfs-kernel-server
Modify the configuration file:
sudo vim /etc/exports
Make the following configuration:
/media/modian/D/sigmastart_share 192.168.117.*(rw,sync,no_root_squash)
The first path is the path you want to mount in the past
The ip behind is the ip of the board (check with ifconfig on the board)
After configuration, restart the NFS service:
sudo /etc/init.d/nfs-kernel-server restart
Then you can try to ping the board and the host to see if it works
In the development board input:
mount -n -o nolock 192.168.0.12:/media/modian/D/sigmastart_share /mnt/
The ip in front is the ip of the computer
The first path is the path of the computer, which is synchronized with the previous configuration
The second is the path where it is mounted
OK!!!!!!!!!!!!!!!!!!!
===============================================
Did you find that the IP has changed every time you restart the board, and you have to mount it, which can be written in the boot command:
vi /etc/init.d/rcS
The usage is the same as vim
Write inside:
The first is to change the ip and subnet mask
The second is to mount
====================================================================
Scan LAN IP:
arp
===========================
telnet connection:
The serial port is too troublesome, use a network cable
sudo apt-get install openbsd-inetd
sudo apt-get install telnetd
sudo /etc/init.d/openbsd-inetd restart
# 查看 telnet服务是否开启
sudo netstat -a | grep telnet
telnet login
telnet 192.168.x.x