diff options
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/ppp/peers/chat/att | 6 | ||||
-rw-r--r-- | src/etc/ppp/peers/chat/sc1 | 13 | ||||
-rw-r--r-- | src/etc/ppp/peers/chat/verizon | 5 | ||||
-rw-r--r-- | src/etc/udev/rules.d/99-vyos-wwan.rules | 11 |
4 files changed, 35 insertions, 0 deletions
diff --git a/src/etc/ppp/peers/chat/att b/src/etc/ppp/peers/chat/att new file mode 100644 index 000000000..7a02682f5 --- /dev/null +++ b/src/etc/ppp/peers/chat/att @@ -0,0 +1,6 @@ +ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT 'NO CARRIER' ABORT DELAYED +'' AT +OK ATZ +OK 'AT+CGDCONT=1,"IP","ISP.CINGULAR"' +OK ATD*99# +CONNECT '' diff --git a/src/etc/ppp/peers/chat/sc1 b/src/etc/ppp/peers/chat/sc1 new file mode 100644 index 000000000..fbfabd8c2 --- /dev/null +++ b/src/etc/ppp/peers/chat/sc1 @@ -0,0 +1,13 @@ +TIMEOUT 60 +ABORT ERROR +ABORT BUSY +ABORT VOICE +ABORT "NO CARRIER" +ABORT "NO DIALTONE" +ABORT "NO DIAL TONE" +ABORT "NO ANSWER" +"" "ATZ" +"" "AT&FH0M0" +OK-AT-OK "ATDT*99#" +TIMEOUT 75 +CONNECT diff --git a/src/etc/ppp/peers/chat/verizon b/src/etc/ppp/peers/chat/verizon new file mode 100644 index 000000000..a36a3e915 --- /dev/null +++ b/src/etc/ppp/peers/chat/verizon @@ -0,0 +1,5 @@ +ABORT 'NO CARRIER' ABORT 'ERROR' ABORT 'NO DIALTONE' ABORT +'BUSY' ABORT 'NO ANSWER' +'' ATZ +OK-AT-OK ATDT#777 +CONNECT \d\c diff --git a/src/etc/udev/rules.d/99-vyos-wwan.rules b/src/etc/udev/rules.d/99-vyos-wwan.rules new file mode 100644 index 000000000..67f30a3dd --- /dev/null +++ b/src/etc/udev/rules.d/99-vyos-wwan.rules @@ -0,0 +1,11 @@ +ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" + +SUBSYSTEM!="usb", GOTO="mbim_to_qmi_rules_end" + +# ignore any device with only one configuration +ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end" + +# force Sierra Wireless MC7710 to configuration #1 +ATTR{idVendor}=="1199",ATTR{idProduct}=="68a2",ATTR{bConfigurationValue}="1" + +LABEL="mbim_to_qmi_rules_end" |