Skip to contentSkip to conversation

testing PPP over null modem

DISCUSSION csaradap 2 participants 2 messages Sep 14, 2001

lore
Share & tools
lore

csaradap

author
#0 lore raw

I thaink I have a PPP connection up and running over a null modem. So can u tell me how to test the ppp setup. By running ifconfig I am getting the ppp* interface running but the number of packets received and sent remains constant...

plz help

cspn

#1 lore raw
Quoted 5 lines · csaradap

I thaink I have a PPP connection up and running over a null modem. So can u tell me how to test the ppp setup. By running ifconfig I am getting the ppp* interface running but the number of packets received and sent remains constant...

Hello...

First you have to assign IP-adresses to the ppp*-devices, this can be done automatically at connect (so its done when you connect via ppp to an ISP), but yo can also do it by hand.

I would suggest to read "man ifconfig", as i know, it should work like something:
ifconfig ppp0 <ip> netmask <mask> up

This on both sides of the ppp-link.

Read also "man pppd".

After you have the interfaces (test them by pinging your own ppp0-IP), you should lay some routing to them, e.g. you can set the default route to the ppp*-device, so every packet will be send to the other maschine:
route add default gw ppp0

After that you should be able to ping the other maschines ip over the ppp-link. Then the packetcounter will increase.

Solong..
Frank.

--
Frank Schneider, <[email protected]>.
Microsoft isn't the answer.
Microsoft is the question, and the answer is NO.
... -.-