PPP Problem or network problem?

PPP Problem or network problem?

Post by Michael S. Peek (l » Thu, 19 Jan 1995 10:47:02



Hello,

I'm having some problems with PPP, but I'm not sure where to look.

I log in and run pppd:

utcc-end>ppp default

<exit com program>
my-end# ppp.scr

where /etc/ppp/ppp.scr is a script file that says:

-BEGIN--------------------------------------------------------------------
#!/bin/sh
exec /usr/etc/pppd /dev/modem 38400 crtscts modem defaultroute file /etc/ppp/options
-END----------------------------------------------------------------------

and /etc/ppp/options says:

-BEGIN--------------------------------------------------------------------
kdebug 4
128.169.200.2:
lock
crtscts
modem
proxyarp
defaultroute
-END----------------------------------------------------------------------

(I realize some of these options are redundant, but I added them just in
case...)

The reason I specify a local address is because my roomates and I have a
small network here.

This is where is gets confusing.  If I put the line

-BEGIN--------------------------------------------------------------------
nameserver 128.169.202.79
-END----------------------------------------------------------------------

in /etc/resolv.conf, pppd won't connect.

After removing the previous line from /etc/resolv.conf, pppd connects fine.
ifconfig reports:

-BEGIN--------------------------------------------------------------------
lo        Link encap Local Loopback
          inet addr 127.0.0.1  Bcast 127.255.255.255  Mask 255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU 2000  Metric 1
          RX packets 0 errors 0 dropped 0 overrun 0
          TX packets 52 errors 0 dropped 0 overrun 0

ppp0      Link encap Serial Line IP
          inet addr 128.169.200.2  P-t-P 128.169.27.10  Mask 255.255.0.0
          UP POINTOPOINT RUNNING  MTU 1500  Metric 1
          RX packets 0 errors 0 dropped 0 overrun 0
          TX packets 0 errors 0 dropped 0 overrun 0

eth0      Link encap 10Mbps Ethernet  HWaddr 00:40:95:15:2A:6D
          inet addr 128.169.200.2  Bcast 128.169.200.255  Mask 255.255.255.0
          UP BROADCAST RUNNING  MTU 1500  Metric 1
          RX packets 0 errors 0 dropped 0 overrun 0
          TX packets 16 errors 0 dropped 0 overrun 0
-END----------------------------------------------------------------------

and route reports:

-BEGIN--------------------------------------------------------------------
Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
128.169.27.10   *               255.255.255.255 UH    0      0       21 ppp0
128.169.200.0   *               255.255.255.0   U     0      0       40 eth0
127.0.0.0       *               255.0.0.0       U     0      0       52 lo
default         128.169.27.10   *               UG    0      0        0 ppp0
-END----------------------------------------------------------------------

but when I try to ping *anybody*, I get no answer.  Even when I try to ping
128.169.27.10 (the remote utcc machine).

I have several books and the Linux Network Administrator's Guide.  They all
say that if pppd connects, I've got it made.

Oh yeah, and I've got the following messages in /usr/adm/syslog:

-BEGIN--------------------------------------------------------------------
Jan 17 06:46:16 figment pppd[154]: unable to create pid file: No such file or directory
Jan 17 06:46:17 figment pppd[154]: input: Unknown protocol (802b) received!
Jan 17 06:46:18 figment pppd[154]: Cannot determine ethernet address for proxy ARP
Jan 17 06:46:19 figment pppd[154]: input: Unknown protocol (802b) received!
Jan 17 06:46:55 figment pppd[154]: input: Unknown protocol (802b) received!
Jan 17 06:47:56 figment last message repeated 3 times
-END----------------------------------------------------------------------

Any ideas?

Thanks,

 
 
 

PPP Problem or network problem?

Post by David Wya » Thu, 19 Jan 1995 22:50:54



: This is where is gets confusing.  If I put the line

: -BEGIN--------------------------------------------------------------------
: nameserver 128.169.202.79
: -END----------------------------------------------------------------------

: in /etc/resolv.conf, pppd won't connect.

Try adding 'nameserver 127.0.0.1' and/or 'nameserver 128.169.200.2' to set
your local machine as a name server; this is what I have done.  I do not
know if this affects your problem or not.

--
David C. Wyatt (The Other Dave)          Tel.  (410) 381-2270
Meridian Sciences, Inc.                  FAX:  (410) 381-2167

Columbia, Maryland  21046