Last active
July 2, 2020 03:05
-
-
Save dsplvd/02fccbaef275004e26bb7b064da550a3 to your computer and use it in GitHub Desktop.
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 characters
| at+ipr=115200 | |
| at&w | |
| /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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment