lkml.org 
[lkml]   [2001]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: testing PPP over null modem
csaradap schrieb:
>
> 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, <SPATZ1@T-ONLINE.DE>.
Microsoft isn't the answer.
Microsoft is the question, and the answer is NO.
... -.-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.056 / U:3.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site