Last active
July 2, 2020 03:05
-
-
Save dsplvd/02fccbaef275004e26bb7b064da550a3 to your computer and use it in GitHub Desktop.
Revisions
-
dsplvd revised this gist
Jul 2, 2020 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ at+ipr=115200 at&w /etc/ppp/peers/huawei /dev/ttyAMA0 -
dsplvd renamed this gist
Jan 2, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dsplvd created this gist
Jan 2, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,59 @@ /etc/ppp/peers/huawei /dev/ttyAMA0 115200 nodetach connect '/usr/sbin/chat -v -f /etc/ppp/peers/huawei-on' disconnect '/usr/sbin/chat -v -f /etc/ppp/peers/huawei-off' debug hide-password # Get the IP address from ISP. noipdefault # Also get DNS entries usepeerdns # Set the route as default to the Internet defaultroute # pppd will reconnect after disconnection persist # Don't auth the remote site noauth # No need to check hardware flow on serial port nocrtscts # No need to send control lines for modem local huawei-on ABORT BUSY ABORT VOICE ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "NO DIAL TONE" ABORT "NO ANSWER" ABORT "DELAYED" ABORT "ERROR" ABORT "+CGATT: 0" "" AT TIMEOUT 12 OK ATH OK ATE1 OK AT+CGATT=1 #OK AT+FCLASS=0 OK AT+CFUN=1 OK AT+CGDCONT=1,"IP","bam.entelpcs.cl","",0,0 OK AT+CGACT=1,1 OK "ATDT*99#" TIMEOUT 22 CONNECT "" huawei-off "" "\K" "" "+++ath"