Есть такой замечательный ноутбук со встроенным gsm модулем. NetworkManager это устройство не видит, хотя в системе 3 девайса /dev/ttyACM[0-2] и одна сетевая карта которое имеет отношение к этому устройству:
[dvasiliev@thinkpad ~]$ ip link show usb0
47: usb0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 1000
link/ether 02:80:37:ec:02:00 brd ff:ff:ff:ff:ff:ff
Я пытаюсь подключиться через /dev/ttyACM[0-2] но у меня не выходит, вот конфиги:
# cat /etc/ppp/peers/megafon-gprs
connect /etc/ppp/peers/megafon-gprs-connect-chat
debug/dev/ttyACM0115200
local
noipdefault
defaultroute
lcp-echo-failure 10
lcp-echo-interval 86400
noccp
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
nodetach
refuse-chap
user gdata
# cat /etc/ppp/peers/megafon-gprs-connect-chat
exec chat -vS \
'' \rAT \
TIMEOUT 12 \
OK ATH \
OK ATE1 \
OK 'AT+CGDCONT=1,"IP","internet"' \
OK 'ATD*99#' \
TIMEOUT 22 \
SAY "\nWaiting for connect.....\n" \
CONNECT "" \
SAY "\nConnected!\n"
Вот выхлоп соединения:
# pppd file /etc/ppp/peers/megafon-gprs
Waiting for connect.....
Connected!
Script /etc/ppp/peers/megafon-gprs-connect-chat finished (pid 11190), status = 0x0
Serial connection established.
using channel 61
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3837f8b>]
rcvd [LCP ConfReq id=0x2 <auth chap MD5> <accomp> <pcomp> <mru 1500> <asyncmap 0x0> <magic 0xb0dba14a>]
sent [LCP ConfRej id=0x2 <accomp> <pcomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3837f8b>]
rcvd [LCP ConfReq id=0x3 <auth chap MD5> <mru 1500> <asyncmap 0x0> <magic 0xb0dba14a>]
sent [LCP ConfNak id=0x3 <auth chap MS-v2>]
rcvd [LCP ConfReq id=0x4 <auth pap> <mru 1500> <asyncmap 0x0> <magic 0xb0dba14a>]
sent [LCP ConfAck id=0x4 <auth pap> <mru 1500> <asyncmap 0x0> <magic 0xb0dba14a>]
sent [LCP EchoReq id=0x0 magic=0x3837f8b]
sent [PAP AuthReq id=0x1 user="gdata" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0xb0dba14a]
rcvd [PAP AuthAck id=0x1 "Congratulations!"]
Remote message: Congratulations!
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [LCP TermReq id=0x1]
LCP terminated by peer
sent [LCP TermAck id=0x1]
Connection terminated.
Modem hangup
Что может подсказать коллективный разум?