CP: ``` bash echo -e "\x00AT^PSTM=0\r" > /dev/stty_ps_r80 echo -e "\x00AT+CIPCA=0\r" > /dev/stty_ps_r80 echo -e "\x00at+cfun=1\r" > /dev/stty_ps_r80 ``` ``` bash echo -e "\x00AT+CGDCONT=1,\"IP\",\"cmnet\",,0,0,0,2,0,0,0,0,1,1,1,1,0,\"\",,0,0,1\r" > /dev/stty_ps_r80 echo -e "\x00AT+CGACT=1,1\r" > /dev/stty_ps_r80 ``` 入网成功 ``` bash ifconfig eth2 up ip link set eth2 master br0 ip link set seth0 master br0 ip link set pcie1 nomaster ip link set eth1 nomaster ifconfig seth0 up ``` AP: ``` bash cd /root ./hh & ``` 其他配置在网卡脚本中:/vab/va/etc/init.d/network network——bk是未接密卡 直通的配置 注释: ``` bash echo 0x28 0x9 > /sys/class/net/eth1/device/rgmii_delayline ethtool -K eth1 rx-checksum off 若单独测ap与cp之间网卡通信(ping包方式) 拆除密卡 cp侧: ifconfig eth2 192.168.1.2 up ip link set eth2 nomaster ```