⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ppp-on-dialer

📁 gprs拨号上网脚本
💻
字号:
#!/bin/sh## This is part 2 of the ppp-on script. It will perform the connection# protocol for the desired connection.##exec chat -v                                            exec chat -v                                            \        SAY             "BEGIN\n"                       \        TIMEOUT         5                               \        ECHO            ON                              \        ABORT           '\nBUSY\r'                      \        ABORT           '\nERROR\r'                     \        ABORT           '\nNO ANSWER\r'                 \        ABORT           '\nNO CARRIER\r'                \        ABORT           '\nNO DIALTONE\r'               \        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \        ''              '\rAT'                          \        TIMEOUT         12                              \        SAY             "Press CTRL-C to close the connection at any stage!"    \        SAY             "\ndefining PDP context...\n"   \        OK              ATE1                            \        OK              'AT+CGDCONT=1,"IP","cmnet"'     \        OK              AT+CGQREQ=1,0,0,0,0,0           \        OK              AT+CGQMIN=1,0,0,0,0,0           \        OK              ATDT*98*1#                    \         TIMEOUT         22                              \        SAY             "\nwaiting for connect...\n"    \        CONNECT         ""                              \        SAY             "\nConnected." \        SAY             "\nIf the following ppp negotiations fail,\n"   \        SAY             "try restarting the phone.\n"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -