четверг, 28 января 2016 г.

LTE E392 & linux cli

root@RPi2-mobile:/etc/ppp# cat /etc/ppp/peers/4g
connect "/usr/sbin/chat -f /etc/ppp/4g"
/dev/ttyUSB0
115200
crtscts
noauth
novj
novjccomp
nobsdcomp
nopcomp
noaccomp
noccp
receive-all
#debug

usepeerdns
defaultroute

user ""
password ""
root@RPi2-mobile:/etc/ppp# cat /etc/ppp/4g
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\rRINGING\r'
ABORT '\nUsername/Password Incorrect\r'
'' \rAT
OK 'AT+CGDCONT=1,"IP","internet.mts.ru"'
OK ATD*99#
CONNECT ""

Комментариев нет:

Отправить комментарий