feat: init repo and scripts and readme
This commit is contained in:
10
connect-huawei-e3372.sh
Normal file
10
connect-huawei-e3372.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Load linux kernel modules
|
||||
# For gsm serial console on /dev/ttyUSBx
|
||||
modprobe -v option
|
||||
# For Huawei CDC NCM ether card
|
||||
modprobe -v huawei_cdc_ncm
|
||||
usb_modeswitch -v 0x12d1 -p 0x14fe -J
|
||||
sleep 2
|
||||
echo -ne "AT^NDISDUP=1,1,\"sl2sfr\"\r\n" > /dev/ttyUSB0
|
||||
Reference in New Issue
Block a user