problems with pppd! w98->linux

problems with pppd! w98->linux

Post by Dirk Nikelra » Fri, 24 Mar 2000 04:00:00



Hello,

when i dial in to my linux server (with an win98 client), connection is
built, but interuppted after 1 second !

Can somebody help?

The pppd messages:

Mar 23 20:17:38 linux2 pppd[1679]: pppd 2.3.10 started by root, uid 0
Mar 23 20:17:38 linux2 pppd[1679]: Using interface ppp0
Mar 23 20:17:38 linux2 pppd[1679]: Connect: ppp0 <--> /dev/ttyS1
Mar 23 20:17:38 linux2 pppd[1679]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> auth pap> <magic 0x97e28e66> <pcomp> <accomp>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <auth pap> <magic 0x97e28e66> <pcomp> <accomp>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP ConfReq id=0x3 <asyncmap
0xa0000> <magic 0x1e1e3> <pcomp> <accomp> <callback CBCP>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [LCP ConfRej id=0x3 <callback
CBCP>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <auth pap> <magic 0x97e28e66> <pcomp> <accomp>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP ConfReq id=0x4 <asyncmap
0xa0000> <magic 0x1e1e3> <pcomp> <accomp>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [LCP ConfAck id=0x4 <asyncmap
0xa0000> <magic 0x1e1e3> <pcomp> <accomp>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [LCP EchoReq id=0x0
magic=0x97e28e66]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [PAP AuthReq id=0x1 user="test"
password="test"]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [PAP AuthAck id=0x1 "Login ok"]
 Mar 23 20:17:41 linux2 pppd[1679]: Script /etc/ppp/auth-up started (pid
1701)
 Mar 23 20:17:41 linux2 pppd[1679]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP EchoRep id=0x0
magic=0x1e1e3]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [IPCP ConfReq id=0x1 <compress
VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
0.0.0.0> <ms-wins 0.0.0.0>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [IPCP ConfRej id=0x1 <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [CCP ConfReq id=0x1 < 12 06 00
00 00 01> < 11 05 00 01 04>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [CCP ConfRej id=0x1 < 12 06 00
00 00 01> < 11 05 00 01 04>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [IPCP ConfAck id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
 Mar 23 20:17:41 linux2 pppd[1679]: rcvd [CCP ConfRej id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
 Mar 23 20:17:41 linux2 pppd[1679]: sent [CCP ConfReq id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [IPCP ConfReq id=0x2 <compress
VJ 0f 01> <addr 0.0.0.0>]
 Mar 23 20:17:42 linux2 pppd[1679]: sent [IPCP ConfNak id=0x2 <addr
192.168.0.101>]
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [CCP ConfReq id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: sent [CCP ConfAck id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: Script /etc/ppp/auth-up finished
(pid 1701), status = 0x0
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [CCP ConfAck id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [IPCP ConfReq id=0x3 <compress
VJ 0f 01> <addr 192.168.0.101>]
 Mar 23 20:17:42 linux2 pppd[1679]: sent [IPCP ConfAck id=0x3 <compress
VJ 0f 01> <addr 192.168.0.101>]
 Mar 23 20:17:42 linux2 pppd[1679]: Could not determine local IP address
 Mar 23 20:17:42 linux2 pppd[1679]: sent [IPCP TermReq id=0x2 "Could not
determine local IP address"]
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [CCP TermReq id=0x3]
 Mar 23 20:17:42 linux2 pppd[1679]: CCP terminated by peer
 Mar 23 20:17:42 linux2 pppd[1679]: sent [CCP TermAck id=0x3]
 Mar 23 20:17:42 linux2 pppd[1679]: Compression disabled by peer.
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [IPCP TermAck id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: Script /etc/ppp/auth-down started
(pid 1704)
 Mar 23 20:17:42 linux2 pppd[1679]: sent [LCP TermReq id=0x2 "No network
protocols running"]
 Mar 23 20:17:42 linux2 pppd[1679]: Script /etc/ppp/auth-down finished
(pid 1704), status = 0x0
 Mar 23 20:17:42 linux2 pppd[1679]: rcvd [LCP TermAck id=0x2]
 Mar 23 20:17:42 linux2 pppd[1679]: Connection terminated.
 Mar 23 20:17:42 linux2 pppd[1679]: Connect time 0.1 minutes.
 Mar 23 20:17:42 linux2 pppd[1679]: Sent 419 bytes, received 386 bytes.
 Mar 23 20:17:42 linux2 pppd[1679]: Exit.

Who can help, where is the bug?

Thanks Dirk

 
 
 

problems with pppd! w98->linux

Post by Clifford Kit » Fri, 24 Mar 2000 04:00:00



>  Mar 23 20:17:41 linux2 pppd[1679]: sent [IPCP ConfReq id=0x1 <addr
> 0.0.0.0> <compress VJ 0f 01>]

Here pppd requests that the peer to supply an IP address for pppd to
use for the connection.

Quote:>  Mar 23 20:17:41 linux2 pppd[1679]: sent [CCP ConfReq id=0x1 <deflate
> 15> <deflate(old#) 15> <bsd v1 15>]
>  Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP EchoRep id=0x0
> magic=0x1e1e3]
>  Mar 23 20:17:41 linux2 pppd[1679]: rcvd [IPCP ConfReq id=0x1 <compress
> VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
> 0.0.0.0> <ms-wins 0.0.0.0>]

Here the peer asks pppd to supply an IP address for it to use for the
connection (plus various other IP addresses using the Microsoft hack
of IPCP).

The IP addresses that each side uses for the PPP connection must come
from somewhere but neither side has any for itself, or any to give
to the other side.

The End.

--

/* To extract lines:  View file with "vi -R".  Move cursor to first line.
   Press "v".  Move cursor to mark lines (Esc unmarks).  Write lines to
   fubar with ":w fubar <Enter>".  Exit with ":q <Enter>". */

 
 
 

problems with pppd! w98->linux

Post by Dirk Nikelra » Sat, 25 Mar 2000 04:00:00




> >  Mar 23 20:17:41 linux2 pppd[1679]: sent [IPCP ConfReq id=0x1 <addr
> > 0.0.0.0> <compress VJ 0f 01>]

> Here pppd requests that the peer to supply an IP address for pppd to
> use for the connection.

> >  Mar 23 20:17:41 linux2 pppd[1679]: sent [CCP ConfReq id=0x1 <deflate
> > 15> <deflate(old#) 15> <bsd v1 15>]
> >  Mar 23 20:17:41 linux2 pppd[1679]: rcvd [LCP EchoRep id=0x0
> > magic=0x1e1e3]
> >  Mar 23 20:17:41 linux2 pppd[1679]: rcvd [IPCP ConfReq id=0x1 <compress
> > VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
> > 0.0.0.0> <ms-wins 0.0.0.0>]

> Here the peer asks pppd to supply an IP address for it to use for the
> connection (plus various other IP addresses using the Microsoft hack
> of IPCP).

> The IP addresses that each side uses for the PPP connection must come
> from somewhere but neither side has any for itself, or any to give
> to the other side.

> The End.

> --

> /* To extract lines:  View file with "vi -R".  Move cursor to first line.
>    Press "v".  Move cursor to mark lines (Esc unmarks).  Write lines to
>    fubar with ":w fubar <Enter>".  Exit with ":q <Enter>". */

Thanks! But how can give ip addresses to each side? /ect/ppp/options
-->>
192.192.0.0:192.192.0.1        ??????????????
 
 
 

problems with pppd! w98->linux

Post by Clifford Kit » Sat, 25 Mar 2000 04:00:00



> Thanks! But how can give ip addresses to each side? /ect/ppp/options
> -->>
> 192.192.0.0:192.192.0.1        ??????????????

Sorry, I didn't read the log carefully.

Pppd *does* have an IP address for the peer, 192.168.0.101, but it
doesn't have an address for itself.  It should default to using
an IP address for a local interface, if one exists, provided the
noipdefault option isn't used.  However, there is a problem with
specifying noipdefault with the IP address option that started with
pppd 2.3.9 and, I think, still exists even in the latest version,
2.3.11.

The bottom line is that the noipdefault option should *not* be used
when the IP address option is used to specify the local IP address
(the IP address that pppd will use for itself).  I strongly recommend
not using the noipdefault option and specifying both the local and
remote IP address in the IP address option.

If you indeed did have the IP address option above, exactly as
specified, then I have no explanation as to why the 192.192.0.1
remote IP address wasn't used, or where the 192.168.0.101 that
appears in the log came from.  I'm not sure whether the 192.192.0.0
is a valid IP address though.  I'd suggest using something like
192.168.0.1:192.168.0.2, unless you have routable IP addresses of
your own that you need to use.


/* On occasion you'll run into an attidude on usenet.  They contribute
   nothing, but vitriolicly criticize those that do.  Instead of reasoned
   argument and facts they belittle, demean, and ridicule, relishing the
   replies that this generates.  Please do not feed the attidudes. */