feat: init repo and scripts and readme

This commit is contained in:
2022-07-17 15:14:52 +02:00
commit 9012a54ae5
3 changed files with 86 additions and 0 deletions

10
connect-huawei-e3372.sh Normal file
View 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