Telit HE910 모뎀을 사용하여 GPRS PPP 연결(캐나다의 Rogers Wireless 데이터 네트워크에 대한)을 설정하려고 하는데 DNS 협상 중에 문제가 발생하는 것 같습니다.
Serial connection established.
using channel 16
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM3
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x218a9f69> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x10535642>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x10535642>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap> <magic 0x218a9f69>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap> <magic 0x218a9f69>]
sent [LCP EchoReq id=0x0 magic=0x10535642]
sent [PAP AuthReq id=0x1 user="cm-debian" password=""]
rcvd [LCP EchoRep id=0x0 magic=0x218a9f69]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
kernel does not support PPP filtering
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [LCP TermReq id=0x3 "User request"]
LCP terminated by peer (User request)
sent [LCP TermAck id=0x3]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
Discarded non-LCP packet when LCP not open
Connection terminated.
Modem hangup
유효한 PPP 옵션은 다음과 같습니다.
pppd options in effect:
debug # (from /etc/ppp/pppd_script)
nodetach # (from /etc/ppp/pppd_script)
dump # (from /etc/ppp/pppd_script)
noauth # (from /etc/ppp/pppd_script)
/dev/ttyACM3 # (from /etc/ppp/pppd_script)
115200 # (from /etc/ppp/pppd_script)
lock # (from /etc/ppp/pppd_script)
connect /usr/sbin/chat -v -f /etc/chatscripts/hsdpa_connect # (from /etc/ppp/pppd_script)
crtscts # (from /etc/ppp/pppd_script)
modem # (from /etc/ppp/options)
noaccomp # (from /etc/ppp/pppd_script)
asyncmap 0 # (from /etc/ppp/options)
nopcomp # (from /etc/ppp/pppd_script)
lcp-echo-failure 5 # (from /etc/ppp/pppd_script)
lcp-echo-interval 5 # (from /etc/ppp/pppd_script)
lcp-max-terminate 10 # (from /etc/ppp/options)
lcp-max-configure 10 # (from /etc/ppp/options)
lcp-max-failure 10 # (from /etc/ppp/options)
show-password # (from /etc/ppp/pppd_script)
novj # (from /etc/ppp/pppd_script)
novjccomp # (from /etc/ppp/pppd_script)
ipcp-accept-local # (from /etc/ppp/pppd_script)
ipcp-accept-remote # (from /etc/ppp/pppd_script)
defaultroute # (from /etc/ppp/pppd_script)
usepeerdns # (from /etc/ppp/pppd_script)
nobsdcomp # (from /etc/ppp/pppd_script)
noipx # (from /etc/ppp/options)
그리고 여기 내 채팅 파일이 있습니다:
#!/bin/sh
# Connection to the network
'' AT+CGDCONT=1,"IP","internet.com"
# Dial the number.
OK ATD*99***1#
# The modem is waiting for the following answer
CONNECT ''
피어가 나에게 LCP TermReq를 보내는 이유를 이해하도록 도와줄 수 있는 사람이 있습니까?
답변1
이 문제가 발생하는 다른 사람의 경우 문제는 내 모바일 데이터 공급자(rogers 네트워크에 편승하지만 실제로는 rogers가 아님)에 자체 개인 APN이 있어서 개인 공급자를 사용하려면 채팅 스크립트를 업데이트해야 한다는 것입니다. Rogers의 공개 이름 대신 APN 이름.