21.09.16测试稳定成功

1,首先进行minicom设置,看本站这个文章

2,最终拨号脚本,使用./脚本名执行

#!/bin/bash


sudo minicom -S /home/ubuntu/python/0916/sim7600minicom.txt -C /home/ubuntu/python/0916/output.txt &
sleep 10
sudo killall -15 minicom
#sudo kill -9 $(ps -ef|grep minicom|gawk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ')
sleep 2
sudo ifconfig wwp1s0u1u1i5 up
sleep 1s
sudo udhcpc -i wwp1s0u1u1i5
sleep 1s
sudo openvpn3 session-start --config /etc/openvpn3/clb1.ovpn
sleep 1s
#sudo ifconfig wlan0 down