On Thu, Feb 03, 2000 at 01:07:42PM -0800, Greg Olszewski wrote:
> On Thu, Feb 03, 2000 at 03:38:39PM -0500, Mike Werner wrote:
> > 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.
Doh! My bad. Sorry about that, folks.
--
Mike Werner KA8YSD | "Where do you want to go today?"
ICQ# 12934898 | "As far from Redmond as possible!"
'91 GS500E |
Morgantown WV | Only dead fish go with the flow.
-
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