Re: [SLUG] eth1 or wlan1

From: Eben King (eben01@verizon.net)
Date: Mon Aug 07 2006 - 11:21:49 EDT


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?

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.no-ip.org:81
         Two atoms are walking along.  Suddenly, one
       stops.  The other says, "What's wrong?" "I've lost
         an electron." "Are you sure?" "I'm positive!"
-----------------------------------------------------------------------
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:46:50 EDT