Re: PPP over an Ethernet connection.

1999-08-27 Thread Jens B. Jorgensen
shaul wrote:

 I am new to this stuff but it seems to me that somehow I have to tell pppd
 that it has to use my Ethernet card and not a serial device.
 That is, I need the pppd output to go into my Ethernet network (which is
 only composed from my machine and the router), and not to a modem or other low
 speed RS232 (or compatible) device.

Well, unfortunately pppd won't agree to write to the ethernet device. It will 
only write to a device which accepts tty
ioctls.

 If I got it correctly, what the VPN-HOWTO does is creating a pseudo, or
 virtual network when it has an underlying real network. In fact, it is using
 an existing network to create a virtual network above it.

Yup, that's exactly right.

 My problem, putting it in a simplifying manner, is that I have the wires
 that connect the machine but do not have the real network above it.

Hmm. Very strange that your router would want to encapsulate PPP in an ethernet 
frame. If you say so...

 Or am I wrong ?

Well, I'm kinda wondering. Encapsulating ppp into ethernet frames doesn't make 
much sense because ethernet already
takes care of framing and already has a way of identifying the protocol of the 
frame.

 As it seems to me now, I will either have to start learning the PPP source, or
 get myself another router.

Well, maybe you could just dig a little deeper to find out about your router.

 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 ?

Right, there is no /dev/ device for it but then again there aren't any for any 
of the network interfaces. There is a
way to do it but I can't think of it off hand.

  On Tue, 24 Aug 1999, Peter Palfrader aka Weasel wrote:
 
  
   Feel free to reply with RTFM since I haven't done so yet. Your mail was 
   just a good oportunity to get into it.
 
  since you allow it :-)), VPN-HOWTO (mini) maybe is what you want.
 
 
  []s,
  Mario O.de MenezesMany are the plans in a man's heart, but
  IPEN-CNEN/SP is the Lord's purpose that prevails
  http://curiango.ipen.br/~mario Prov. 19.21
 
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: PPP over an Ethernet connection.

1999-08-26 Thread shaul
I am new to this stuff but it seems to me that somehow I have to tell pppd 
that it has to use my Ethernet card and not a serial device.
That is, I need the pppd output to go into my Ethernet network (which is 
only composed from my machine and the router), and not to a modem or other low 
speed RS232 (or compatible) device.

If I got it correctly, what the VPN-HOWTO does is creating a pseudo, or 
virtual network when it has an underlying real network. In fact, it is using 
an existing network to create a virtual network above it.
My problem, putting it in a simplifying manner, is that I have the wires 
that connect the machine but do not have the real network above it.

Or am I wrong ?

As it seems to me now, I will either have to start learning the PPP source, or 
get myself another router.

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 ?

 On Tue, 24 Aug 1999, Peter Palfrader aka Weasel wrote:
 
  
  Feel free to reply with RTFM since I haven't done so yet. Your mail was 
  just a good oportunity to get into it.
 
 since you allow it :-)), VPN-HOWTO (mini) maybe is what you want.
 
 
 []s,
 Mario O.de MenezesMany are the plans in a man's heart, but
 IPEN-CNEN/SP is the Lord's purpose that prevails
 http://curiango.ipen.br/~mario Prov. 19.21
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 













PPP over an Ethernet connection.

1999-08-24 Thread shaul
I want to set up a *dynamic* PPP connection over an Ethernet connection (at 
least, that is what I think).
Can you tell me what are the available tools ?

Can I redirect a terminal to the Ethernet device ? There does not seems to be 
/dev/eth*.

Suppose I'll have to hack some package, which one would you consider first ?

My motivation:

my_pc  a_router  An_ISP

 | |
 | |
   Ethernet Frame Realy

Now my pc is connected to the router by Ethernet.
The router is, actually, a frame relay adapter with routing capabilities. It 
accepts both native Internet protocol (IP) traffic from a direct Ethernet 
connection and IP data encapsulated in Async Point-to-Point Protocol (PPP - 
RFC 1331) or Serial Line Internet Protocol (SLIP - RFC 1055).




Re: PPP over an Ethernet connection.

1999-08-24 Thread Jens B. Jorgensen
It might help if you could add more information about what it is exactly you're 
trying
to do. You can run PPP over the internet and I'd be happy to send you pre-hack 
netcat
which will help you do this. I'm not sure the tool I have built though matches 
what
you're trying to do. Tell me more.

shaul wrote:

 I want to set up a *dynamic* PPP connection over an Ethernet connection (at
 least, that is what I think).
 Can you tell me what are the available tools ?

 Can I redirect a terminal to the Ethernet device ? There does not seems to be
 /dev/eth*.

 Suppose I'll have to hack some package, which one would you consider first ?

 My motivation:

 my_pc  a_router  An_ISP

  | |
  | |
Ethernet Frame Realy

 Now my pc is connected to the router by Ethernet.
 The router is, actually, a frame relay adapter with routing capabilities. It
 accepts both native Internet protocol (IP) traffic from a direct Ethernet
 connection and IP data encapsulated in Async Point-to-Point Protocol (PPP -
 RFC 1331) or Serial Line Internet Protocol (SLIP - RFC 1055).

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: PPP over an Ethernet connection.

1999-08-24 Thread Peter Palfrader aka Weasel
-BEGIN PGP SIGNED MESSAGE-

On Tue, Aug 24, 1999 at 12:14:30PM -0500, Jens B. Jorgensen wrote:
 shaul wrote:
  I want to set up a *dynamic* PPP connection over an Ethernet connection (at
  least, that is what I think).
  Can you tell me what are the available tools ?
 It might help if you could add more information about what it is exactly 
 you're trying
 to do. You can run PPP over the internet and I'd be happy to send you 
 pre-hack netcat
 which will help you do this. I'm not sure the tool I have built though 
 matches what
 you're trying to do. Tell me more.

Although I'm not the original poster I'ld like to know what you're/were working 
on since I'll perhaps need something like this in the near future too. 

I have not looked into the subject yet so I do not know excatly what I want but 
I think it's this: 

Status: beeing on a private lan with a private IP and having a box doing 
masquerading to the inet. 
I want: a 'real' IP i.e. so I can ssh, etc. into my box from everywhere (port 
forwarding is not an option since I have no control over the masq box)
I need (I think): A peer for my ppp connection which can serve me a dyn IP (no 
prob I hope). The ppp would go over IP through the masq box.

Is there something special about this setup that would need your pre-hack in 
any way or can this be done using standard tools (i.e. pppd alone or such).

Feel free to reply with RTFM since I haven't done so yet. Your mail was just a 
good oportunity to get into it.

TIA
- -- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
- --
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1
Comment: http://www.cosy.sbg.ac.at/~ppalfrad

iQCVAwUBN8LwAb/AUNfRo6MpAQFQ+QP9Gbg5/kzLKb10ZG7I097NaGjPN9iwhKck
CcFZ5hq+Lbb1KZw0Kcj/q2xseduv4ZL3LKr4JH4ry2Vq3CLG63mVlqB0j260u8rd
j4wiXWWOpA3vVHa/sH1HrDIhWAQm/RUTwwpt3dEn599MZNDnMYJ3IJTjcUExakX9
hxNS0Eky+RY=
=ANZf
-END PGP SIGNATURE-


Re: PPP over an Ethernet connection.

1999-08-24 Thread Mario Olimpio de Menezes
On Tue, 24 Aug 1999, Peter Palfrader aka Weasel wrote:

 
 Feel free to reply with RTFM since I haven't done so yet. Your mail was just 
 a good oportunity to get into it.

since you allow it :-)), VPN-HOWTO (mini) maybe is what you want.


[]s,
Mario O.de MenezesMany are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails
http://curiango.ipen.br/~mario Prov. 19.21