[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PPP over an Ethernet connection.
Please excuse me if anything I say is wrong,
but I don't understand exactly what this guy means,
either I'm missing something, or he does. (or both of us! :-))
To my knowledge,
there is some confusion with ppp, so I'll refer to it as dial-up.
The other ppp-alike connections are slip/plip/framerelay/adsl/cable
modem/etc.
To use some of these options (fr included),
one would buy an ethernet card and an external device buffering between
the ppp-alike connection and the ethernet.
I have a cable modem that does it for me.
shaul 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 ?
> >
> > Why would you want a dynamic ip?
>
> Dynamic IP is much cheaper. Currently this is what I asked the ISP to provide
> me.
I'm used to dynamic IP with dialup connections,
I'll assume you mean dhcp.
> >
> > > Can I redirect a terminal to the Ethernet device ?
> >
> > What do you mean by that?
> > If you want a remote terminal, use telnet!
> > (which usaly is already enabled in your inetd config file)
> >
>
> Well, the ISP point of view is the following:
> He supplies the usual dial up connection,
this is the line that confused me the most,
how can a dial up connection be over frame relay?
> but it is done with a point to point
> line that uses frame relay to carry out the data. In particular, as in the
> usual dial up connections, he expects one to use PPP in order to establish the
> lower networks levels.
> (Of course this is simplified but I only tried to get to my problem, which is
> on my side of the connection)
In other words you use the mystery protocol (I assume DHCP) to get your
IP.
That's the lowest I get.
>
> Can you use telnet without establishing the lower networks levels ? (I hope
> that I let you understand what I am thinking about in case my understating is
> wrong)
Telnet is a tcp service,
this means (among other things) you need an ip (as tcp workes over
IPv4/6).
you can log in your computer via a serial connection such as a modem or
a serial cable too.
>
> On the other hand, my point of view is more complicated:
> Since this is a frame relay line (again, not a more conventional leased line
> in order to reduce its cost) I have to put an adapter between my PC and the
> line. The adapter that I currently got should be attached to an Ethernet card
> in my PC (The adapter has a built in Ethernet device).
As I mentioned above,
many people use ethernet to reach the ppp-alike connection.
I use my cable modem the same way, without any problem at all.
> Yet it is my
> understanding that pppd can only run on a serial device of some sort, and not
> with an Ethernet device. There for, I need some tool which will let me
> establish a ppp connection through an Ethernet device.
That would be ifconig. (used with a whole lot of other networking tools)
To make it simple use netconf, you don't need to know anything to do
that.
(except for understanding english)
> BTW: I am aware to the fact that BEZEQ let me rent a monofrad which seems to
> be more suitable for this task.
> However, I hoped to save me the monofrad renting fee because I was able to get
> a Frame Relay adapter with an Ethernet input. Currently, it seems a wrong
> calculation.
I'll try to quote a previous mail i got from ilug: whatever you do,
don't use monofrads.
I don't recall all the reasons, but be happy you don't use one.
>
> > > There does not seems to be
> > > /dev/eth*.
> > >
> >
> > Very good observastion shaul.
> > If you actually read the net-3 howto, you would know that there are no
> > devices for
> > network adaptors in linux.
> >
> > Try to type "man ifconfig" to know how to use your ethernet card.
> > If you're really lazy and have redhat, you can use one of its config
> > tools (try netconf).
> >
>
> Suppose root wants to send some arbitrary data through an Ethernet device.
> Can't he do it ? Is /proc/net/raw usable for this purpose ?
What would you do that for?
Testing the ethernet?
there are tools for that, I got mine on a DOS disk,
boot from a dos floppy and then test the ethernet card.
> man ifconfig mentions a pointtopoint option and it does seem relevant. Yet
> when I tried it there was no response, and I did not get the prompt back. Does
> anyone can explain this option ?
As I told you 3 times before,
first try to use netconf (if you have suse, yast, i'm not familiar with
many config tools),
it would save you time, and when it works you can try to play with
ifconfig. (which can be very educational too!)
Again, I think you confused some basic details,
this is very possible today,
when people won't explain to you how things work, just how to make them
work on windows,
and you have to guess (sometimes incorrectly).
Cheers,
Yoni.
--
The day Microsoft makes something that doesn't suck,
is probably the day they start making vacuum cleaner software...
(I was pointed out that Microsoft hardware usualy works)
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il