On Thu, Feb 03, 2000 at 03:38:39PM -0500, Mike Werner wrote:
> > > >
> > > > Actually I am the other guy (I think -- there are two threads on this right
>now.) But
> > > > anyway I tried this a few days ago when you recommended it. Only it used psaux
>instead
> > > > of ttyS0, which is the slot my eth0 is in.
> > >
> > > Uhh ... you've got an ethernet adaptor that plugs into a serial port? I think
> > > that's the first I've ever heard of that one.
> > >
> >
> > It's plugged into a PCI but it's on /dev/ttyS0. ooooopppsssss.
>
> If you've got an Ethernet device showing up as /dev/ttyS0 either there is
> something badly wrong or this a device I've never heard of.. Ehternet
> devices should show up as /dev/ethx
>
Actually, while ethernet devices get reffered to as ethx, they
don't show up in dev
[noop@maxwell]$ls -l /dev/et*
ls: /dev/et*: No such file or directory
On a router with two ethernet cards.
The way ifconfig and others actually talk to the ethernet cards
(if you care) is by opening a socket 'man 2 socket' and
making ioctls on the file descriptor (IO controls, function
which change the way IO is done(the trashcan of unix).
man ioctl helps clarify a little.
The only devices related to networking in /dev/ are some packet
filter stuff in the newer kernels.
oh well.
have fun,
greg
--
this is not here
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs