Replies interspersed. Original message edited for brevity.

At 11:39 AM 3/30/99 -0700, Richard Loken wrote:
>Is the symbolic link from /dev/modem to /dev/ttyS* required to make PPP run?

No. It's just a convenience.

>it seems to setup a proper ppp connection and then nothing.  I can send an
>infinite supply of packets to the ISP but not one packet comes back, ever.

Sounds like a routing problem at the ISP end to me. Just a guess, though.
See below for more specific suggestions and questions.

>I wrote my scripts to refer to /dev/ttyS1 and I can successfully connect to my
>ISP (which I also administer) but then nothing happens.  The ppp connection
>sequence is logged something like this:
>
>       Mar 21 08:06:26 (none) pppd[337]: pppd 2.3.3 started by root, uid 0
>       Mar 21 08:06:51 (none) pppd[337]: Serial connection established.
>       Mar 21 08:06:52 (none) pppd[337]: Using interface ppp0
>       Mar 21 08:06:52 (none) pppd[337]: Connect: ppp0 <--> /dev/ttyS1
>       Mar 21 08:06:26 (none) pppd[337]: local IP address 111.222.333.121
>       Mar 21 08:06:26 (none) pppd[337]: remote IP address 111.222.333.2

If you have the debug and kdebug options set in pppd, it will be reporting
more than this -- the actual packets will be logged to /var/log/debug (or
someplace else; depends on your syslog.conf, though this is the usual spot).

>An ifconfig at this point shows that each host has sent 5 packets down the 
>wire but after that if I ping the remote host or the dns or whoever I get
>only outgoing packets and no incoming packets.

Well, several things come to mind.

1. Enable debug and kdebug and see what the outgoing packets look like.

2. Does this connection use "real" IP addresses or subnet-10 addresses (it
presumably doesn't use the ones you show in your log excerpts)? If the
second, do you have IP Masq or an equivalent set up on the ISP side?

3. Again from the ISP side, do you correctly assign the route back to the
client? (In fact, since you admin that side as well, generally how does it
work? As I said above, this sounds more like an ISP-side problem than a
Linux-client problem.)

4. Can you ping, telnet, whatever to the ISP host you are actually connected
to (that is, the real equivalent of IP address 111.222.333.2)?

5. Again from the ISP side, does 111.222.333.2 receive the packets that are
sent from the Linux host? Does it receive packets back from wherever for
forwarding to the Linux host?

>The other thing that interests me here is that my local hostname is (none).
>This is setup using DHCP so I didn't think about that but I was comparing
notes 
>with a working Linux PPP client and found that it calls itself localhost.

And mine uses my real hostname. Do you have a hostname assigned to your
Linux client (as reported by the "hostname" command)?


------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.328.4219 voice                              [EMAIL PROTECTED]        
----------------------------------------------------------------


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

Reply via email to