On Aug 30, 12:41*pm, ibupro...@painkiller.example.tld.invalid (Moe
Trin) wrote:
> On Mon, 29 Aug 2011, in the Usenet newsgroup comp.os.linux.networking, in
> article <09b9f76f-44a3-426c-9458-e0ec16f50...@w22g2000prj.googlegroups.com>,
> NOTE: Posting from groups.google.com (or some web-forums) dramatically
> reduces the chance of your post being seen. *Find a real news server.
Thanks Moe. That explains a lot. I will keep that in mind next time.
> OK, I think - are you sure that is the username/password they want?
I was assuming that the lines below that say "CHAP authentication
succeed" indicated that my username/password was acceptable. What I
provide in the chap-secrets file is literally what I provided - three
space separated asterisks. The tmobile APN should not require any
username or password. (I had to place some text in chap-secrets to
quiet down pppd.)
> ]rcvd [CHAP Success id=0x1 ""]
> ]CHAP authentication succeeded
>
> They're saying it's OK, but that may be just to get to the "OPEN"
> state so they can terminate things because they've mis-read RFC1661.
Hmm! So as I said above, there is no username/password to supply to
the apn.
> ]sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
> ]0.0.0.0> <ms-dns3 0.0.0.0>]
> ]Modem hangup
> ]Connection terminated.
>
> You've trimmed the logs excessively (date/time and daemon who provided
> the message are missing), but the "Modem hangup" is normal for pppd
> when it receives a modem hangup signal from the modem - for the old
> RS-232 serial protocol, this would be the "CD" (Carrier Detect") pin
> dropping - in other words, this is a signal _generated_ by the modem
> saying that the serial connection has been broken. * Now what caused
> the modem device to say that is something you'll have to investigate.
>
No trimming. This is literally from the pppd commandline. I will do
another run and post the syslog output so you can see my CNS logs
intermixed.
> ]crtscts
>
> You are depending on that emulation to handle flow control. *You
> might try using the "local" option to cause pppd to ignore the
> supposed modem hangup signal, but I don't think that is reliable
> either.
I tried adding "local" and the output is below.
> ]Here is the chap-secrets file:
>
> and I assume it actually has "username * auth-code" in place of the
> stars you show. *Are you sure the username and secret are what they
> are expecting you to use?
>
So as I said above, no username or password is required. In my latest
test I left out the asterisks so chap-secrets is empty.
Here is the latest output, this time from syslog, with pppd additions:
"local", "noccp", "noauth".
Aug 31 23:31:49 clfs pppd[15457]: pppd 2.4.4 started by root, uid
0
Aug 31 23:31:49 clfs chat[15459]: abort on (NO DIAL TONE)
Aug 31 23:31:49 clfs chat[15459]: abort on (NO ANSWER)
Aug 31 23:31:49 clfs chat[15459]: abort on (NO CARRIER)
Aug 31 23:31:49 clfs chat[15459]: abort on (DELAYED)
Aug 31 23:31:49 clfs chat[15459]: send (AT^M)
Aug 31 23:31:49 clfs chat[15459]: expect (OK)
Aug 31 23:31:49 clfs chat[15459]: AT^M^M
Aug 31 23:31:49 clfs chat[15459]: OK
Aug 31 23:31:49 clfs chat[15459]: -- got it
Aug 31 23:31:49 clfs chat[15459]: send (ATZ^M)
Aug 31 23:31:49 clfs chat[15459]: expect (OK)
Aug 31 23:31:49 clfs chat[15459]: ^M
Aug 31 23:31:49 clfs chat[15459]: ATZ^M^M
Aug 31 23:31:49 clfs chat[15459]: OK
Aug 31 23:31:49 clfs chat[15459]: -- got it
Aug 31 23:31:49 clfs chat[15459]: send (AT
+CGDCONT=1,"IP","epc.tmobile.com"^M)
Aug 31 23:31:49 clfs chat[15459]: expect (OK)
Aug 31 23:31:49 clfs chat[15459]: ^M
Aug 31 23:31:49 clfs chat[15459]: AT
+CGDCONT=1,"IP","epc.tmobile.com"^M^M
Aug 31 23:31:49 clfs chat[15459]: OK
Aug 31 23:31:49 clfs chat[15459]: -- got it
Aug 31 23:31:49 clfs chat[15459]: send (ATD*99#^M)
Aug 31 23:31:49 clfs chat[15459]: expect (CONNECT)
Aug 31 23:31:49 clfs chat[15459]: ^M
Aug 31 23:31:49 clfs chat[15459]: ATD*99#^M^M
Aug 31 23:31:49 clfs chat[15459]: CONNECT
Aug 31 23:31:49 clfs chat[15459]: -- got it
Aug 31 23:31:49 clfs chat[15459]: send (^M)
Aug 31 23:31:49 clfs pppd[15457]: Serial connection established.
Aug 31 23:31:49 clfs pppd[15457]: using channel 13
Aug 31 23:31:49 clfs pppd[15457]: Using interface ppp0
Aug 31 23:31:49 clfs pppd[15457]: Connect: ppp0 <--> /dev/
ttySierraAT
Aug 31 23:31:50 clfs pppd[15457]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x2d54bf4e> <pcomp> <accomp>]
Aug 31 23:31:50 clfs pppd[15457]: rcvd [LCP ConfReq id=0x3
<asyncmap 0x0> <auth chap MD5> <magic 0x9230c7fc> <pcomp> <accomp>]
Aug 31 23:31:50 clfs pppd[15457]: No auth is possible
Aug 31 23:31:50 clfs pppd[15457]: sent [LCP ConfRej id=0x3 <auth
chap MD5>]
Aug 31 23:31:50 clfs pppd[15457]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0x2d54bf4e> <pcomp> <accomp>]
Aug 31 23:31:50 clfs pppd[15457]: rcvd [LCP ConfReq id=0x4
<asyncmap 0x0> <magic 0x9230c7fc> <pcomp> <accomp>]
Aug 31 23:31:50 clfs pppd[15457]: sent [LCP ConfAck id=0x4
<asyncmap 0x0> <magic 0x9230c7fc> <pcomp> <accomp>]
Aug 31 23:31:50 clfs pppd[15457]: sent [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
Aug 31 23:31:50 clfs pppd[15457]: rcvd [LCP DiscReq id=0x5
magic=0x9230c7fc]
Aug 31 23:31:51 clfs : sierratest: -> NetworkStatus: Normal,
Roaming Active, country: USA, network: AT&T [3
SierraCnsIf::HandleCnsNetworkStatus(832)]
Aug 31 23:31:51 clfs : sierratest: mcc: 310, mnc:
410, lac: 55523, cell: 30766
Aug 31 23:31:51 clfs : sierratest: -> Service: HSDPA, Network:
ATTACHED, Session: INACTIVE [3
SierraCnsIf::HandleCnsAvailableServiceDetails(981)]
Aug 31 23:31:51 clfs pppd[15457]: rcvd [IPCP ConfNak id=0x1 <ms-
dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Aug 31 23:31:51 clfs pppd[15457]: sent [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3
10.11.12.14>]
Aug 31 23:31:52 clfs : sierratest: -> NetworkStatus: Normal,
Roaming Active, country: USA, network: AT&T [3
SierraCnsIf::HandleCnsNetworkStatus(832)]
Aug 31 23:31:52 clfs : sierratest: mcc: 310, mnc:
410, lac: 55523, cell: 30766
Aug 31 23:31:52 clfs : sierratest: -> Service: HSDPA, Network:
ATTACHED, Session: INACTIVE [3
SierraCnsIf::HandleCnsAvailableServiceDetails(981)]
Aug 31 23:31:52 clfs : sierratest: -> NetworkStatus: Normal,
Roaming Active, country: USA, network: AT&T [3
SierraCnsIf::HandleCnsNetworkStatus(832)]
Aug 31 23:31:52 clfs : sierratest: mcc: 310, mnc:
410, lac: 55523, cell: 30766
Aug 31 23:31:52 clfs : sierratest: -> Service: HSDPA, Network:
ATTACHED, Session: INACTIVE [3
SierraCnsIf::HandleCnsAvailableServiceDetails(981)]
Aug 31 23:31:52 clfs : sierratest: -> Service: HSDPA, Network:
ATTACHED, Session: INACTIVE [3
SierraCnsIf::HandleCnsAvailableServiceDetails(981)]
Aug 31 23:31:52 clfs : sierratest: -> NetworkStatus: Normal,
Roaming Active, country: USA, network: AT&T [3
SierraCnsIf::HandleCnsNetworkStatus(832)]
Aug 31 23:31:52 clfs : sierratest: mcc: 310, mnc:
410, lac: 55523, cell: 30766
Aug 31 23:31:52 clfs : sierratest: -> Service: HSDPA, Network:
ATTACHED, Session: INACTIVE [3
SierraCnsIf::HandleCnsAvailableServiceDetails(981)]
Aug 31 23:31:55 clfs pppd[15457]: sent [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3
10.11.12.14>]
Aug 31 23:32:22 clfs pppd[15457]: last message repeated 8 times
Aug 31 23:32:22 clfs pppd[15457]: IPCP: timeout sending Config-
Requests
Aug 31 23:32:22 clfs pppd[15457]: sent [LCP TermReq id=0x2 "No
network protocols running"]
Aug 31 23:32:25 clfs pppd[15457]: sent [LCP TermReq id=0x3 "No
network protocols running"]
Aug 31 23:32:28 clfs pppd[15457]: Connection terminated.
Aug 31 23:32:28 clfs kernel: [190648.800189] netconsole: network
logging stopped, interface ppp0 unegistee
Aug 31 23:32:28 clfs kernel: rrd
Aug 31 23:32:28 clfs pppd[15457]: Modem hangup
Aug 31 23:32:28 clfs pppd[15457]: Exit.