[ltp] X60s/X200s kernel 3.7.0 compiled no wifi. (Old 2.6.32, ubuntu wifi works)

Paul Bolle linux-thinkpad@linux-thinkpad.org
Thu, 06 Nov 2014 13:30:47 +0100


On Thu, 2014-11-06 at 13:04 +0100, Uwe Brauer wrote:
>    > On Thu, 2014-11-06 at 11:56 +0100, Uwe Brauer wrote:
> 
>    > Kernel v2.6.39 shipped with commit be663ab67077 ("iwlwifi: split the
>    > drivers for agn and legacy devices 3945/4965"). As a result iwl3945
>    > depends on iwlegacy in v3.7. Does your v3.7 .config set CONFIG_IWLEGACY
>    > to m or y?
> 
> It is set to m. Would it be simple to have it set to y?

I don't think it matters much.

> In any case:
> So I did sudo modprobe  iwlegacy  
> and indeed now in lsmod that module shows up
> I can run sudo ifonfig wlan0 up.

Because iwl3945 shows up too?

> However neither wicd nor (k)networkmanager show the wireless device!
> 
> So I still don't have wifi.

I don't really know or use these programs. So I'm _guessing_ your Ubuntu
10.04 userland expects v2.6.32 kernels and doesn't properly support v3.7
kernels, for whatever reason.

>    > Please don't run make menuconfig as root!
> 
> Ok since it was in /usr/src

There must be a gazillion tutorials and books on compiling the Linux
kernel. I'm pretty sure they all suggest to build the kernel (in a
dedicated directory somewhere) in your home directory.

(On my ThinkPads, running Fedora 20 now, /usr/src/kernels/$release only
contains header files and Makefiles. I think it is only provided to
build out of tree modules.)

>  it looked logical. So if I change the ownership of the kernel source
>  and run the make commands, should I run just the make install commands
>  and root and let the permissions of the executable as they are?

What executable(s)?


Paul Bolle