konfiguracje:ppp:play
Spis treści
PPP Play
Ustawienia od Operatora
- APN:
internet
- Numer dostępowy:
*99#
- Nazwa użytkownika:
brak
- Hasło:
brak
- DNS:
dynamiczny
ppp.conf
Założenia:
- port modemu:
/dev/cuaU0.2
default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION # Ensure that "device" references the correct serial port # for your modem. (cuau0 = COM1, cuau1 = COM2) set device /dev/cuau0.2 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) play: set device /dev/cuaU0.2 set speed 115200 set redial 5 10 set timeout 10 #set authname #set authkey set phone "*99#" set dial "ABORT BUSY TIMEOUT 5 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CPIN? READY-AT+CPIN=\"1234\"-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+CGCLASS? OK \ AT+COPS? OK \ ATD\\T CONNECT" disable ipv6cp resolv writable #set dns 208.67.220.220 208.67.222.222 # openDNS set ifaddr 10.0.0.2/0 10.0.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR
konfiguracje/ppp/play.txt · ostatnio zmienione: 2017/04/26 15:40 przez mky