Discussion:
connection closed after unsuccessful ConfReq
(too old to reply)
webograph
2007-09-01 23:44:34 UTC
Permalink
i am trying to use the gprs connection of a nokia n95 smartphone via usb
and always get the phone sending TermReq when the workstation still
seems to get a valid ip address (?; i'm not completely sure what those
ipcp commands mean).

have tried most imaginable configurations of preset or automatic ip
addresses and ipcp options.

here is what happens most of the time:

PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [LCP EchoReq id=0x1 magic=0x0]
rcvd [LCP EchoRep id=0x1 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [LCP EchoReq id=0x2 magic=0x0]
rcvd [LCP EchoRep id=0x2 magic=0x0]
rcvd [LCP TermReq id=0x1]
LCP terminated by peer
sent [LCP TermAck id=0x1]
Connection terminated.
Modem hangup

i got it running in windows with all that nokia stuff installed, but
never got any further than that.

any idea would be appreciated!

regards
webograph
James Carlson
2007-09-04 15:05:50 UTC
Permalink
Post by webograph
i am trying to use the gprs connection of a nokia n95 smartphone via usb
and always get the phone sending TermReq when the workstation still
seems to get a valid ip address (?; i'm not completely sure what those
ipcp commands mean).
GPRS is weird. It doesn't follow the standard PPP design. Instead,
it does the peer (user) authentication during the "Network phase,"
which means that authentication occurs during IPCP.

During PAP authentication, the GPRS server deliberately _lies_ to the
client system. It will send PAP Authenticate-Ack even if the user
name and password are nonsense. It does this because it doesn't
bother to do the actual authentication until IPCP is run.

Seeing IPCP fail with GPRS usually means that your phone isn't
properly "registered" for IP operation or that your user name or
password are incorrect.

(Yes, it's a GPRS-specific design flaw. Yes, it's probably fixable
within the GPRS system itself -- standard operation is to do
authentication during the "Authentication phase," and then cache any
network-layer data that results from the authentication process. No,
I don't think anyone is actually going to fix this problem.)
Post by webograph
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
That's the peer's address.
Post by webograph
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
The peer never offers you an address.
Post by webograph
rcvd [LCP TermReq id=0x1]
LCP terminated by peer
The peer shuts down the link.
Post by webograph
i got it running in windows with all that nokia stuff installed, but
never got any further than that.
Check your user name and password, and check with your GPRS provider
to make sure that your account really does allow IP operation.
--
James Carlson, Solaris Networking <***@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
neo
2007-09-15 12:21:17 UTC
Permalink
Try monitoring what windows does to establish communcations.
You may need to set the APN. On just about every GPRS network, this has to
be specified especially when your SIM card has more than one APN.
Post by webograph
i am trying to use the gprs connection of a nokia n95 smartphone via usb
and always get the phone sending TermReq when the workstation still
seems to get a valid ip address (?; i'm not completely sure what those
ipcp commands mean).
have tried most imaginable configurations of preset or automatic ip
addresses and ipcp options.
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [LCP EchoReq id=0x1 magic=0x0]
rcvd [LCP EchoRep id=0x1 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [LCP EchoReq id=0x2 magic=0x0]
rcvd [LCP EchoRep id=0x2 magic=0x0]
rcvd [LCP TermReq id=0x1]
LCP terminated by peer
sent [LCP TermAck id=0x1]
Connection terminated.
Modem hangup
i got it running in windows with all that nokia stuff installed, but
never got any further than that.
any idea would be appreciated!
regards
webograph
Loading...