RE: could not determine remote ip address
<[email protected]> Wed, 10 Aug 2005 23:03:01 +0200
| Newsgroups | gmane.linux.redhat.ppp |
|---|---|
| Message-ID | <000c01c59def$04ccea90$0c103b3e@d5g2r40j> |
Kostas wrote:
michael1471 zonnet nl wrote:
who knows about the IPCP negotiation of ppp?
I've searched in this and other newsgroups for this error message:
Could not determine remote IP Address,
but did not find a solution. Got this message when trying to start pppd.
Just before this message it gives in the debug log:
rcvd [IPCP ConfAck id=0x2 <addr 62.59.16.49> <compress VJ 0f 01>
>Would i be asking too much if i would ask you to sent the entire
negotiation ?
>OR at least all the lines of the negotiation of ppp that speak about IPCP .
(...)
Not at all. Here is the log:
What I find strange that
* or the remote server does not offer/tell an IP address of itself
* or the local (the linux box) does ask what the remote IP is
Likely both. Why?
>Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfReq id=0x1 <addr
Remote.IP>]
>
>Here with the ConfReq , my dialin server says that he will configure my IP
Address and the
>remote IP ( that will provide my with my new IP is addr Remote.IP )
>
>Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfAck id=0x1 <addr
Remote.IP>]
>
>now when the PPP Daemon on my computer receives that he ACKnowledges with
the
>above line , saying that he will ACCEPT the configuration provided by addr
Remote.IP
>
>Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
>Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfReq id=0x2 <addr
10.0.0.2> <ms-dns1 >0.0.0.0> <ms-dns3 0.0.0.0>]
>
>Now with this line my PPP Daemon says to my Dialin Server i want 3 IPs
>1. My new IP
>2. The IP of the Primary DNS Server
>3. The IP of the Secondary DNS Server
(.....)
>Compare the lines i just gave you and sent back yours
>
>Kind Regards,
> Kostas
Thank you for this detailed explanation. I do not all the codes. But here
below is the dump of one failed ppp session. The strange this is
Aug 4 11:57:19 localhost pppd[1233]: pppd 2.3.5 started by root, uid 0
Aug 4 11:57:48 localhost pppd[1233]: Serial connection established.
Aug 4 11:57:49 localhost pppd[1233]: Using interface ppp0
Aug 4 11:57:49 localhost pppd[1233]: Connect: ppp0 <--> /dev/modem
Aug 4 11:57:49 localhost pppd[1233]: sent [LCP ConfReq id=0x1 <magic
0xe3c6c989> <pcomp> <accomp>]
Aug 4 11:57:51 localhost pppd[1233]: rcvd [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0xa0000> <magic 0x5f114f5d> <pcomp> <accomp>]
Aug 4 11:57:51 localhost pppd[1233]: sent [LCP ConfAck id=0x1 <mru 1500>
<asyncmap 0xa0000> <magic 0x5f114f5d> <pcomp> <accomp>]
Aug 4 11:57:52 localhost pppd[1233]: sent [LCP ConfReq id=0x1 <magic
0xe3c6c989> <pcomp> <accomp>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [LCP ConfAck id=0x1 <magic
0xe3c6c989> <pcomp> <accomp>]
Aug 4 11:57:52 localhost pppd[1233]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [IPCP ConfReq id=0x1 <compress VJ
0f 00>]
Aug 4 11:57:52 localhost pppd[1233]: sent [IPCP ConfRej id=0x1 <compress VJ
0f 00>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [IPCP ConfNak id=0x1 <addr
62.59.16.90>]
Aug 4 11:57:52 localhost pppd[1233]: sent [IPCP ConfReq id=0x2 <addr
62.59.16.90>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [CCP ConfReq id=0x1 < 12 06 00 00
00 01>]
Aug 4 11:57:52 localhost pppd[1233]: sent [CCP ConfReq id=0x1]
Aug 4 11:57:52 localhost pppd[1233]: sent [CCP ConfRej id=0x1 < 12 06 00 00
00 01>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [IPCP ConfReq id=0x2]
Aug 4 11:57:52 localhost pppd[1233]: sent [IPCP ConfNak id=0x2 <addr
0.0.0.0>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [IPCP ConfAck id=0x2 <addr
62.59.16.90>]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [CCP ConfAck id=0x1]
Aug 4 11:57:52 localhost pppd[1233]: rcvd [CCP ConfReq id=0x2 < 11 05 00 01
04>]
Aug 4 11:57:52 localhost pppd[1233]: sent [CCP ConfRej id=0x2 < 11 05 00 01
04>]
Aug 4 11:57:53 localhost pppd[1233]: rcvd [IPCP ConfReq id=0x3]
Aug 4 11:57:53 localhost pppd[1233]: sent [IPCP ConfAck id=0x3]
Aug 4 11:57:53 localhost pppd[1233]: Could not determine remote IP address
Aug 4 11:57:53 localhost pppd[1233]: sent [IPCP TermReq id=0x3 "Could not
determine remote IP address"]
Aug 4 11:57:53 localhost pppd[1233]: rcvd [CCP ConfReq id=0x3 < 11 05 00 01
03>]
Aug 4 11:57:53 localhost pppd[1233]: sent [CCP ConfRej id=0x3 < 11 05 00 01
03>]
Aug 4 11:57:53 localhost pppd[1233]: rcvd [IPCP TermAck id=0x3]
Aug 4 11:57:53 localhost pppd[1233]: sent [LCP TermReq id=0x2 "No network
protocols running"]
Aug 4 11:57:53 localhost pppd[1233]: rcvd [CCP TermReq id=0x1]
Aug 4 11:57:56 localhost pppd[1233]: sent [LCP TermReq id=0x3 "No network
protocols running"]
Aug 4 11:57:58 localhost pppd[1233]: Hangup (SIGHUP)
Aug 4 11:57:58 localhost pppd[1233]: Modem hangup
The command that does not work looks like this:
pppd /dev/modem 38400 connect ./dialscript
This generates a debug log like above.
The command that does work looks like this
pppd /dev/modem 38400 connect ./dialscript :1.1.1.1
This creates a succesfull dialup connection (although i use DNS statically)
and I can ping to for example www.abc.com.
The /etc/ppp/options looks like this:
detach
debug
noipdefault
ipcp-accept-local
ipcp-accept-remote
lock
defaultroute
I hoped that the option "ipcp-accept-remote" would solve the problem, but it
did not...
Note: the dialin it self works perfectly - the modem works and the physical
layer is established incl. login and password.
Thank you!
Michael