You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.7 KiB
69 lines
1.7 KiB
3 years ago
|
找一根USB转接线连接 板子的Console口,如下:
|
||
|
|
||
|
|
||
|
|
||
|
![image-20220407085859032](imgs/EDGE-环境准备/image-20220407085859032.png)
|
||
|
|
||
|
|
||
|
|
||
|
电脑会自动安装驱动,等待自动安装完成,在设备管理界面中,可查看具体的串口号:
|
||
|
|
||
|
![image-20220407090121447](imgs/EDGE-环境准备/image-20220407090121447.png)
|
||
|
|
||
|
|
||
|
|
||
|
通过putty或xshell等远程工具可以进行SSH远程连接:
|
||
|
|
||
|
![image-20220407090243473](imgs/EDGE-环境准备/image-20220407090243473.png)
|
||
|
|
||
|
|
||
|
|
||
|
![image-20220407090353559](imgs/EDGE-环境准备/image-20220407090353559.png)
|
||
|
|
||
|
> 默认用户名密码均是forlinx, 可以通过 `sudo su` 命令进入超管账户,密码也是`forlinx`
|
||
|
|
||
|
|
||
|
|
||
|
进行网络配置:
|
||
|
|
||
|
找一根网线,将板子连接到工作路由上,
|
||
|
|
||
|
```sh
|
||
|
root@forlinx:/etc/netplan# cd /etc/netplan/
|
||
|
root@forlinx:/etc/netplan# ls
|
||
|
50-cloud-init.yaml
|
||
|
root@forlinx:/etc/netplan# vi 50-cloud-init.yaml
|
||
|
network:
|
||
|
ethernets:
|
||
|
eth0:
|
||
|
dhcp4: no
|
||
|
addresses: [10.8.30.244/24]
|
||
|
gateway4: 10.8.30.1
|
||
|
nameservers:
|
||
|
addresses: [114.114.114.114]
|
||
|
search: [localdomain]
|
||
|
version: 2
|
||
|
~
|
||
|
root@forlinx:/etc/netplan# netplan apply
|
||
|
root@forlinx:/etc/netplan# ip a
|
||
|
```
|
||
|
|
||
|
![image-20220407090848867](imgs/EDGE-环境准备/image-20220407090848867.png)
|
||
|
|
||
|
这里我的配置是:
|
||
|
|
||
|
```yaml
|
||
|
network:
|
||
|
ethernets:
|
||
|
eth0:
|
||
|
dhcp4: no
|
||
|
addresses: [10.8.30.244/24] #网络地址和掩码
|
||
|
gateway4: 10.8.30.1 # 网关地址
|
||
|
nameservers:
|
||
|
addresses: [114.114.114.114] # DNS
|
||
|
search: [localdomain]
|
||
|
version: 2
|
||
|
|
||
|
```
|
||
|
|
||
|
网络配置完成后,即可执行后续命令,具体参照 《EDGE-V-N调试手册.pdf》
|