pppd: Could not determine remote IP address

guru at Sisis.de guru at Sisis.de
Sun Oct 2 08:55:22 PDT 2005


Hello,

With the helping hand of someone in freebsd-mobile list I've hacked
the 'uftdi' driver to support a PCMCIA card provided by Vodafone
for UMTS. The card works now as it should but the IPCP negotiating
of the pppd 2.3.11 (from ports collection) ends up in:

	...
sent [IPCP ConfReq id=0x6 <addr 10.227.149.188>]
rcvd [IPCP ConfReq id=0x4b]
sent [IPCP ConfAck id=0x4b]
rcvd [IPCP ConfAck id=0x6 <addr 10.227.149.188>]
Could not determine remote IP address
sent [IPCP TermReq id=0x7 "Could not determine remote IP address"]
rcvd [IPCP TermAck id=0x7]

I picked up another Linux driven notebook to compare it with Linux
(because I've used the same PCMCIA card in Linux for some monthes)
and it turned out that the IPCP negotiating is ending up the
same way but the Linux pppd picks up some guessed remote IP address
and just put this into the ppp0 interface and the things are fine:

rcvd [IPCP ConfReq id=0x4]
sent [IPCP ConfNak id=0x4 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x4 <addr 10.227.222.211> <ms-dns1 139.7.30.125> <ms-dns3
139.7.30.126>]
sent [IPCP ConfReq id=0x5 <addr 10.227.222.211> <ms-dns1 139.7.30.125> <ms-dns3
139.7.30.126>]
rcvd [IPCP ConfAck id=0x5 <addr 10.227.222.211> <ms-dns1 139.7.30.125> <ms-dns3
139.7.30.126>]
rcvd [IPCP ConfReq id=0x5]
sent [IPCP ConfAck id=0x5]
Could not determine remote IP address: defaulting to 10.64.64.64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
local  IP address 10.227.222.211
remote IP address 10.64.64.64

# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.227.222.211  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:100 (100.0 b)  TX bytes:139 (139.0 b)

It seems that this feature does not exist in FreeBSD's pppd or
I'm missing something else?

Thx

	Matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/


More information about the freebsd-questions mailing list