Created
March 31, 2014 20:42
-
-
Save ignisf/9901767 to your computer and use it in GitHub Desktop.
FreeBSD PPP Configuration for MTel HUAWEI E303 USB 3g Modem
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
mtel: | |
set device /dev/cuaU0.0 | |
set speed 921600 | |
set timeout 0 | |
set authname mtel | |
set authkey mtel | |
set phone *99# | |
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ | |
\"\" \ | |
AT OK-AT-OK \ | |
ATZ OK \ | |
AT+CPIN=0000 OK-AT-OK \ | |
AT+CFUN=1 OK-AT-OK \ | |
AT+CMEE=2 OK-AT-OK \ | |
AT+CSQ OK \ | |
AT+CGDCONT=1,\\\"IP\\\",\\\"inet-gprs.mtel.bg\\\" OK \ | |
AT+CGACT? OK-AT-OK \ | |
AT+CGATT? OK \ | |
AT+CGCLASS? OK \ | |
AT+COPS? OK \ | |
ATD*99# CONNECT" | |
set crtscts on | |
nat enable yes | |
enable dns | |
resolv writable | |
set ifaddr 10.1.0.2/0 10.0.0.1/0 255.255.255.255 0.0.0.0 | |
add default HISADDR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usb_modeswitch -v 0x12d1 -p 0x14fe -V 0x12d1 -P 0x1506 -s 20 -M "55534243123456780000000000000a11062000000000000100000000000000"