typec support is also very friendly! Can be powered directly with 65wpd charger
The question follows: After brushing the system the day before, the link screen test is normal. Connected to the Internet and threw it in the weak box, and the cable is good. If you want to use the host name directly for x3 dispatch access, the host name ubuntu cannot be pinged directly. But there’s no router admin password. In line with the lazy can be lazy mentality, so try to solve directly remote.
Applicable scenarios
- No display
- No serial port is available
- No background password of the router
- LAN environment Basically, there is only one network cable connected to the X3PI
Solution
Use arp (not applicable to wlan)
Use ‘MS cmd’ or ‘Linux Shell’ Execute a command
arp -a
arp If the number of hosts is relatively small, you can directly try it if you have the patience
Use nmap for port scanning
Installing nmap
sudo apt install nmap -y
You can run the following command to scan for a specific network segment, for example, my LAN is 192.168.1.1/24 The scan result is the host with SSH Server enabled
sudo nmap -sS -p22 --open [网络]
# for example
sudo nmap -sS -p22 --open 192.168.1.*
sudo nmap -sS -p22 --open 192.168.1.1/24
nmap scan
ssh sunrise@192.168.1.10
Connection successful ! SSH
Don’t be nobody
Use a small service ‘avahi’ you can broadcast the host name in the LAN, then you can directly use the host name to access ‘X3 pie’, no longer have to worry about ‘dhcp’ caused by ‘ip’ changes have to find the host again. Install ‘avahi’ using the following command
sudo apt install avahi-daemon
avahi
reboot
Before and after the system takes effect, the system can be accessed using the host name
ping ubuntu.local
Before and after the system takes effect, the system can be accessed using the host name ssh can then write the host name directly, and it can also be written in the ssh client
Tips
- The X3 dispatch network port can be equipped with standard indicators, which can directly observe whether the network is abnormal. (At first, I even thought that the network cable was not properly connected or the network port was faulty)
- X3 PI can open ‘wifi’ connection by default, and the default configuration generates an ‘SSID’ according to the hardware or other features of ‘X3 PI’ according to a certain algorithm, and the default password is’ sunrises’. In this way, even if the user has only one mobile phone hotspot around, the user can directly set the SSID of the mobile phone hotspot and the password to correspond. You can easily initialize the ‘X3 pie’ through the notebook.
- Image package ‘avahi’ or ‘bonjour’ directly