Re: PPP over an Ethernet connection.

1999-08-27 Thread Alex Shnitman
On Fri, Aug 27, 1999 at 12:53:38AM +0300, Gaal Yahas wrote: BTW: How can root put raw data on the Ethernet device ? If there is no /dev for it, then how can someone open this device? You may try to look on packet(4), but I don't know if it will get you to what you want. I have an

Re: PPP over an Ethernet connection.

1999-08-27 Thread Gaal Yahas
On Fri, Aug 27, 1999 at 12:25:34PM +0300, Alex Shnitman wrote: Take a look at libnet, http://www.packetfactory.net/libnet/ , which is a portable way to put packets on the network (in c). If you want to do it in Perl, try Net::RawIP . That allows you to send raw packets over IP. I.e.

Re: PPP over an Ethernet connection.

1999-08-27 Thread Alex Shnitman
On Fri, Aug 27, 1999 at 12:13:29AM +0300, shaul wrote: BTW: How can root put raw data on the Ethernet device ? If there is no /dev for it, then how can someone open this device ? Check out /usr/src/linux/Documentation/networking/ethertap.txt. -- Alex Shnitman|

Re: PPP over an Ethernet connection.

1999-08-27 Thread shaul
s As it seems to me now, I will either have to start learning the s PPP source, or get myself another router. Router would be not bad :) If you can't or won't, you will have to make some PPP - or fool pppd into thinking that you have serial line (like writing gateway from /dev/ptyXX to