Hi

This is a problem that I have been struggling with for some time (ie weeks
if not months). I have been through all the FAQs, READMEs and other dox
and posted a message on a number of mailing lists but to date no one
(including me) has been able to put their finger on the solution.

I have been/am still running RH4.1 with ppp 2.2.0f-2 and I have copied
*ALL* the configuration files over to RH5.2 yet cannot make it link up
with ppp 2.3.5-1 - I must have screwed this up when I installed the system
or ppp 2.3.5 requires a different format for the options file. 

I have a small network and a single machine that connects to the ISP
through which I want to use IP masquerade and to set it up as a firewall.
The /etc/nameserver files are the same and all the servers in
/var/named/named.ca are commented out in both systems.

The system will dial OK, negotiate dynamic IPs etc but I can't ping
anything remote *even* by IP numbers, let alone pull my mail etc.  I can
ping the local (dynamic) IP number until the line drops out.  Since it
returns the dynamic IP number, I presume the logon procedure has gone OK
(I note that 2.3.x ppp requires you to have at least a * for the IP
numbers in the pap-secrets and chap-secrets files). 

The options file is:

lock
defaultroute
noipdefault
modem
/dev/modem
115200
crtscts
debug
passive
name "j.logsdon"

This was re-setup by pppsetup and works fine with ppp-2.2.0 but not with
2.3.5 it seems. The route table looks like: 

ppp # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
212.23.10.249   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0       21 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       10 lo
0.0.0.0         212.23.10.249   0.0.0.0         UG    0      0        0 ppp0

which seems OK.

Note that route on it's own while the line is up just freezes - I have to
use the -n option. It has been suggested that my local DNS is wrong but I
have copied it directly from the old system. 

ifconfig gives the following, which differs essentially only on the last
line. The versions of ifconfig are different, which I took to be the
reason. 

Old system (net-tools-1.32.alpha-2):

ppp0      Link encap:Point-Point Protocol  
          inet addr:212.23.16.211  P-t-P:212.23.10.248  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0
          TX packets:9 errors:0 dropped:0 overruns:0

New system (net-tools-1.46-1):

ppp0      Link encap:Point-Point Protocol  
          inet addr:212.23.16.163  P-t-P:212.23.10.248  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:8 errors:10 dropped:10 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Memory:20d8038-20d8c04

(The address for the memory changes obviously).  I don't know whether the
Memory line has any significance - it is only mentioned once in the man
page, where it says only a few devices need this. 

I have checked the FAQs and the details from the RH library and ppp 2.3.5
is still the current version so I don't think this is the culprit.  I
really need to migrate asap to use demand dialing, IP masquerade etc. 

My question is, is it likely that I have done something silly in
installing the new system at the beginning that has set up the system
wrongly, which of the many files could it be?  Is there a new robust setup
procedure that I can try?  pppsetup worked like a charm before.

Help!

John




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to