Re: [SLUG] eth1 or wlan1

From: Chuck Hast (wchast@gmail.com)
Date: Mon Aug 07 2006 - 17:46:10 EDT


On 8/7/06, Eben King <eben01@verizon.net> wrote:
> On Mon, 7 Aug 2006, Chuck Hast wrote:
>
> > On 8/7/06, Eben King <eben01@verizon.net> wrote:
> >>
> >> eben@pc:~$ uname -r
> >> 2.6.13.1
> >> eben@pc:~$ find /usr/src/linux-`uname -r` -name \*.[ch] | xargs grep '"wlan"'
> >> eben@pc:~$ find /usr/src/linux-`uname -r` -name \*.[ch] | xargs grep '"eth"'
> >> /usr/src/linux-2.6.13.1/arch/um/drivers/net_kern.c:__setup("eth", eth_setup);
> >> /usr/src/linux-2.6.13.1/arch/um/drivers/net_kern.c: .name = "eth",
> >> /usr/src/linux-2.6.13.1/arch/xtensa/platform-iss/network.c:__setup("eth", iss_net_setup);
> >> /usr/src/linux-2.6.13.1/drivers/net/Space.c: unsigned long base_addr = netdev_boot_base("eth", unit);
> >> /usr/src/linux-2.6.13.1/drivers/net/sunhme.c: if (!strncmp(dev->name, "eth", 3)) {
> >> /usr/src/linux-2.6.13.1/drivers/net/tulip/de4x5.c: if (!(q = strstr(p+strlen(dev->name), "eth"))) q = p + strlen(p);
> >> /usr/src/linux-2.6.13.1/net/irda/irlan/irlan_common.c:static int eth; /* Use "eth" or "irlan" name for devices */
> >>
> >> If you see anything additional (except maybe "rcX") in the "uname"'s
> >> output, you have a modified kernel.
> >>
> >> Your kernel source (if installed) may be elsewhere.
> >
> > I am running SuSE 10.1 but it was 10.0 prior to the upgrade, and it was
> > using eth1 for the wlan port under 10.0, so I am not sure if it just
> > inherirted the nomeclature when I did the upgrade or what. The 10.0 was I
> > think a 2.6.13 kernel, the 10.1. is a 2.6.16 kernel.
> >
> > Here is what I got when I did your instructions... I think that the source
> > if installed is elsewhere. I will look but here is what I got
> >
> > RF-mobile:/ # uname -r
> > 2.6.16.13-4-default
>
> OK, you have a modified-by-your-distro kernel. If you didn't configure and
> compile your kernel, someone else did. The only other person (presumably)
> is your distro maintainer.
>
> > RF-mobile:/ # find /usr/src/linux-`uname -r` -name \*.[ch] | xargs grep '"wlan"'
> > find: /usr/src/linux-2.6.16.13-4-default: No such file or directory
>
> The kernel source isn't installed to /usr/src/linux-2.6.16.13-4-default ,
> so find can't look there.
>
> What type of NICs are they? Are they using the kernel drivers, or something
> like ndiswrapper?

This is the funny part, the laptop (ibm T42) has drivers for the internal wifi
card, and they load up just fine, it is the one that calls the wifi
nic eth1 vice
wlan something. My desktop which uses a PCI wireless card with the broad-
com chips uses ndiswrapper, that one comes up as wlan0... The ibm uses
a intel chipset.

I guess I could install the kernel source, I am sure it is on the DVD somewhere.
Just seems strange that on one machine the wireless piece is a eth device and
on another one using the same OS it is a wlan device... Perhaps I am just
picking nits here but it just does not look right...

-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:50:08 EDT