字體:小 中 大 | |
|
|
2022/04/08 15:45:58瀏覽456|回應0|推薦0 | |
Study of modem manager with Quectel EC20 on ubunt#u16
modem manager, 有一列程式
modem-manager.mbimcli
modem-manager.qmicli
modem-manager.mbim-network
modem-manager.qmi-network
modem-manager.mmcli
uart是走mmcli
EC20的qmi/mbim似乎也可以用
---
安裝modem manager on ubunt#u16
sudo apt-get update
# strange command , its unable to use "sudo apt-get install modemmanager"
sudo snap install modem-manager
reboot
# off vmware LAN interface for gateway and DNS.
sudo ifconfig ens33 down
# find modem
mmcli -L
# create a new connection
# 中華電信,台哥大,遠傳, APN is internet
# 亞太 APN is gtnet
nmcli c add type gsm ifname * con-name "gcatgsm" apn "internet"
註
nmcli c add type gsm ifname ttyUSB2 con-name "gcatgsm" apn "internet"
nmcli c add type gsm ifname cdc_wdm0 con-name "gcatgsm" apn "internet"
ifname, 參考
mmcli -m 0
項目
primary port
#link
#開啟連線, 如同勾選Enable Mobile Broadband
nmcli r wwan on
或
|
|
( 創作|其他 ) |