29 lines
518 B
Markdown
29 lines
518 B
Markdown
|
|
###### at指令
|
|||
|
|
```
|
|||
|
|
at^pstm=2
|
|||
|
|
```
|
|||
|
|
```
|
|||
|
|
AT^STOREFREQXW=1,1696664,0
|
|||
|
|
```
|
|||
|
|
```
|
|||
|
|
at+cfun=1
|
|||
|
|
```
|
|||
|
|
查询分配的ip
|
|||
|
|
```
|
|||
|
|
AT+CGPADDR
|
|||
|
|
```
|
|||
|
|
##### 业务网卡配置
|
|||
|
|
###### CP
|
|||
|
|
发送at指令:AT+DNNHWCFG=1 //gmac模式
|
|||
|
|
###### AP
|
|||
|
|
``` bash
|
|||
|
|
ip link set eth1_dat1 down
|
|||
|
|
ip link set eth1_dat1 address 08:01:02:03:04:05 #修改mac地址
|
|||
|
|
ifconfig eth1_dat1 10.16.65.188 #配置为核心网分配的ip
|
|||
|
|
route add -host 45.62.1.1 eth1_dat1 #配置路由
|
|||
|
|
arp -s 45.62.1.1 01:02:02:03:04:05 #配置静态arp
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
CP
|
|||
|
|
手动延迟开机
|
|||
|
|
run mmcboot
|