PPP connection made but can't even ping peer by address

PPP connection made but can't even ping peer by address

Post by Philip Payn » Wed, 11 Aug 1999 04:00:00



Hi,

I'm running Caldera OpenLinux 2.2. I've just converted to an ISDN
telephone connection and an ISDN modem and have spent a frustratingly
large amount of time failing to solve the following problem.

I can make a PPP connection to my ISP but I can't even ping the remote
IP address he sends me, let alone go somewhere else on the Internet.
This happens both using kppp and when configuring pppd manually.

Here is a tail on /var/log/messages:

  Aug  9 23:20:03 dellxps300 pppd[3413]: Serial connection established.
  Aug  9 23:20:04 dellxps300 pppd[3413]: Using interface ppp0
  Aug  9 23:20:04 dellxps300 pppd[3413]: Connect: ppp0 <--> /dev/ttyS0
  Aug  9 23:20:05 dellxps300 pppd[3413]: Remote message:
  Aug  9 23:20:05 dellxps300 pppd[3413]: local  IP address 195.24.90.210
  Aug  9 23:20:05 dellxps300 pppd[3413]: remote IP address 172.29.1.104

The output from route is then:

  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref  
Use Iface
  172.29.1.104    *               255.255.255.255 UH    0      0      
0 ppp0
  127.0.0.0       *               255.0.0.0       U     0      0      
0 lo
  default         172.29.1.104    0.0.0.0         UG    0      0      
0 ppp0

When I do 'ping 172.29.1.104' then I see the transmit and receive lights
on the modem flashing (and I see the bytes in and out ticking over if I
use 'kppp') but ping fails to get/recognize any reply.

ifconfig then shows:

  lo        Link encap:Local Loopback  
            inet addr:127.0.0.1  Mask:255.0.0.0
            UP LOOPBACK RUNNING  MTU:3924  Metric:1
            RX packets:573 errors:0 dropped:0 overruns:0 frame:0
            TX packets:573 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0

  ppp0      Link encap:Point-to-Point Protocol  
            inet addr:195.24.90.210  P-t-P:172.29.1.104
Mask:255.255.255.255
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
            RX packets:11 errors:9 dropped:0 overruns:0 frame:9
            TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:10

which seems to show that all the receive packets were in error. But what
does the 'frame:' count mean????

The problem is definitely with my Linux setup, because from Windows NT I
can connect to both my ISP's using this ISDN modem. Also, I was able to
connect to them from Linux using my old analog modem before I changed to
ISDN.

Does anyone have any idea what might be wrong here???????

Regards,

 
 
 

PPP connection made but can't even ping peer by address

Post by Andrew Taylo » Wed, 11 Aug 1999 04:00:00


What rules have you got set up in ipchains ? ipchains -L

Andy


>Hi,

>I'm running Caldera OpenLinux 2.2. I've just converted to an ISDN
>telephone connection and an ISDN modem and have spent a frustratingly
>large amount of time failing to solve the following problem.

>I can make a PPP connection to my ISP but I can't even ping the remote
>IP address he sends me, let alone go somewhere else on the Internet.
>This happens both using kppp and when configuring pppd manually.

>Here is a tail on /var/log/messages:

>  Aug  9 23:20:03 dellxps300 pppd[3413]: Serial connection established.
>  Aug  9 23:20:04 dellxps300 pppd[3413]: Using interface ppp0
>  Aug  9 23:20:04 dellxps300 pppd[3413]: Connect: ppp0 <--> /dev/ttyS0
>  Aug  9 23:20:05 dellxps300 pppd[3413]: Remote message:
>  Aug  9 23:20:05 dellxps300 pppd[3413]: local  IP address 195.24.90.210
>  Aug  9 23:20:05 dellxps300 pppd[3413]: remote IP address 172.29.1.104

>The output from route is then:

>  Kernel IP routing table
>  Destination     Gateway         Genmask         Flags Metric Ref
>Use Iface
>  172.29.1.104    *               255.255.255.255 UH    0      0
>0 ppp0
>  127.0.0.0       *               255.0.0.0       U     0      0
>0 lo
>  default         172.29.1.104    0.0.0.0         UG    0      0
>0 ppp0

>When I do 'ping 172.29.1.104' then I see the transmit and receive lights
>on the modem flashing (and I see the bytes in and out ticking over if I
>use 'kppp') but ping fails to get/recognize any reply.

>ifconfig then shows:

>  lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            UP LOOPBACK RUNNING  MTU:3924  Metric:1
>            RX packets:573 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:573 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0

>  ppp0      Link encap:Point-to-Point Protocol
>            inet addr:195.24.90.210  P-t-P:172.29.1.104
>Mask:255.255.255.255
>            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
>            RX packets:11 errors:9 dropped:0 overruns:0 frame:9
>            TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:10

>which seems to show that all the receive packets were in error. But what
>does the 'frame:' count mean????

>The problem is definitely with my Linux setup, because from Windows NT I
>can connect to both my ISP's using this ISDN modem. Also, I was able to
>connect to them from Linux using my old analog modem before I changed to
>ISDN.

>Does anyone have any idea what might be wrong here???????

>Regards,



 
 
 

PPP connection made but can't even ping peer by address

Post by Clifford Ki » Wed, 11 Aug 1999 04:00:00


: What rules have you got set up in ipchains ? ipchains -L

: Andy

: >
: >I can make a PPP connection to my ISP but I can't even ping the remote
: >IP address he sends me, let alone go somewhere else on the Internet.
: >This happens both using kppp and when configuring pppd manually.

Try the pppd option asyncmap a0000 .

--

/* A salute to Inspector Baynes, of the Surry Constabulary, the only
   police Inspector to ever best Mr. Sherlock Holmes at his own game.
   "The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */

 
 
 

PPP connection made but can't even ping peer by address

Post by Philip Payn » Wed, 11 Aug 1999 04:00:00


Hi Andy,

ipchains -L says:
   ipchains: Incompatible with this kernel

Actually, this command was news to me, but on looking at the man page and
then the Caldera documentation they seem to say that a standard Caldera
installation (which mine is) has firewalling disabled.

Philip


>What rules have you got set up in ipchains ? ipchains -L

>Andy


>>Hi,

>>I'm running Caldera OpenLinux 2.2. I've just converted to an ISDN
>>telephone connection and an ISDN modem and have spent a frustratingly
>>large amount of time failing to solve the following problem.

>>I can make a PPP connection to my ISP but I can't even ping the remote
>>IP address he sends me, let alone go somewhere else on the Internet.
>>This happens both using kppp and when configuring pppd manually.

>>Here is a tail on /var/log/messages:

>>  Aug  9 23:20:03 dellxps300 pppd[3413]: Serial connection established.
>>  Aug  9 23:20:04 dellxps300 pppd[3413]: Using interface ppp0
>>  Aug  9 23:20:04 dellxps300 pppd[3413]: Connect: ppp0 <--> /dev/ttyS0
>>  Aug  9 23:20:05 dellxps300 pppd[3413]: Remote message:
>>  Aug  9 23:20:05 dellxps300 pppd[3413]: local  IP address 195.24.90.210
>>  Aug  9 23:20:05 dellxps300 pppd[3413]: remote IP address 172.29.1.104

>>The output from route is then:

>>  Kernel IP routing table
>>  Destination     Gateway         Genmask         Flags Metric Ref
>>Use Iface
>>  172.29.1.104    *               255.255.255.255 UH    0      0
>>0 ppp0
>>  127.0.0.0       *               255.0.0.0       U     0      0
>>0 lo
>>  default         172.29.1.104    0.0.0.0         UG    0      0
>>0 ppp0

>>When I do 'ping 172.29.1.104' then I see the transmit and receive lights
>>on the modem flashing (and I see the bytes in and out ticking over if I
>>use 'kppp') but ping fails to get/recognize any reply.

>>ifconfig then shows:

>>  lo        Link encap:Local Loopback
>>            inet addr:127.0.0.1  Mask:255.0.0.0
>>            UP LOOPBACK RUNNING  MTU:3924  Metric:1
>>            RX packets:573 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:573 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:0

>>  ppp0      Link encap:Point-to-Point Protocol
>>            inet addr:195.24.90.210  P-t-P:172.29.1.104
>>Mask:255.255.255.255
>>            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
>>            RX packets:11 errors:9 dropped:0 overruns:0 frame:9
>>            TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:10

>>which seems to show that all the receive packets were in error. But what
>>does the 'frame:' count mean????

>>The problem is definitely with my Linux setup, because from Windows NT I
>>can connect to both my ISP's using this ISDN modem. Also, I was able to
>>connect to them from Linux using my old analog modem before I changed to
>>ISDN.

>>Does anyone have any idea what might be wrong here???????

>>Regards,


 
 
 

PPP connection made but can't even ping peer by address

Post by Philip Payn » Wed, 11 Aug 1999 04:00:00


Clifford,

That solves it! I can't thank you enough. You've saved me a heap of grief.

Thanks again.

Philip


>Try the pppd option asyncmap a0000 .

>--

>/* A salute to Inspector Baynes, of the Surry Constabulary, the only
>   police Inspector to ever best Mr. Sherlock Holmes at his own game.
>   "The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */