LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2009, 07:53 PM   #1
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Rep: Reputation: 16
Kernel Recompile With iwlwifi Support?


Hey everybody.
I have a laptop with an Intel wireless card. I need wireless access to get things done. I'm currently happily running Slackware 13, but sadly it doesn't support the iwl3945 driver out of the box. I have to admit, first off, that I'm still a newbie when it comes to most of the internal workings of Linux. I have verified that the mac80211 subsystem referred to at intellinuxwireless.org is not present on my system. I am supposed to recompile the kernel with mac80211 enabled, and install a kernel module for it. I follow the instructions (i.e. make & install the mac80211 source, go to the modules directory and make menuconfig, then select the only option I could find with '80211' in it), but when I tried to compile as prescribed, it told me there were errors in /net/drivers, I think. I'm not sure what I'm doing here, so I don't want to go to far on my own initiative lest I screw something up.
Has anyone had this problem? What am I doing wrong? I'm using kernel version 2.6.29.6-smp, and the source for that version is installed.

Thanks
Dio
 
Old 10-21-2009, 08:35 PM   #2
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
From the homepage at www.intellinuxwireless.org:

Quote:
Note: The iwlwifi driver has been merged into mainline kernel since 2.6.24. If you are using kernels after this release, please use the intree (drivers/net/wireless/iwlwifi) driver directly. After 2.6.26 the intree driver iwlagn also supports the new 5100BG, 5100ABG, 5100AGN, 5300AGN, 5350AGN, 5150AGN, 1000BGN, and 6000AGN series hardwares.
 
Old 10-21-2009, 08:48 PM   #3
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
I saw that, but I'm not sure how to implement that solution. I couldn't find any info on it, so I just played it safe and followed the site's instructions.
Is that saying to recompile the kernel including those drivers?
 
Old 10-21-2009, 08:57 PM   #4
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
Okay, I found iwl3945.ko. Sorry, I don't have any experience messing with the kernel or modules. How do I tell the system to load the module on boot?
All I could find is that if it's in the /lib/modules tree it should already load automatically. It's already there, so I'm not sure.

Last edited by Diomedes; 10-21-2009 at 09:06 PM.
 
Old 10-21-2009, 09:39 PM   #5
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
I have iwl945.ko in /lib/modules/2.6.29.6-smp/kernel/drivers/net/wireless/iwlwifi, and I have iwlwifi-3945.ucode in /lib/firmware/iwlwifi-3945.ucode.
 
Old 10-21-2009, 09:40 PM   #6
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
1st you don't have to mess with the kernel in this case.
Regarding the module, in my system, I have a line in /etc/modprobe.conf:

Code:
alias wlan0 iwl4965
The above is for redhat-based systems. Hopefully someone will chime in on how it's done in slackware.
Good luck!
 
Old 10-21-2009, 10:09 PM   #7
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
It's really that easy? I'll give it a try and see what happens. Thanks for the help, either way!
 
Old 10-21-2009, 11:49 PM   #8
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
Nothing... It didn't seem to hurt anything, but nothing's changed. The .ucode I have in /lib/firmware is the most current version from intellinuxwireless.org, and I just stuck it into the directory. Is there some magic dance I should have done for either this or the iwl3945.ko (i.e. install script, configuration command, etc)?
 
Old 10-21-2009, 11:55 PM   #9
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by Diomedes View Post
Nothing... It didn't seem to hurt anything, but nothing's changed. The .ucode I have in /lib/firmware is the most current version from intellinuxwireless.org, and I just stuck it into the directory. Is there some magic dance I should have done for either this or the iwl3945.ko (i.e. install script, configuration command, etc)?
Can you please post:
Code:
uname -a
fdisk -l
ls -l /boot
 
Old 10-22-2009, 12:24 AM   #10
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
You need to configure the card in /etc/sysconfig/network-interfaces (i believe is the file for Slackware) and reboot.

Search in the networking forums here for 'slackware network interface config' to see a sample file.

Good luck.

ps. if you install the 'wicd' package it should do all the configuring for you through GUI.

Last edited by rkski; 10-22-2009 at 12:32 AM.
 
Old 10-22-2009, 02:01 AM   #11
Diomedes
Member
 
Registered: Dec 2004
Distribution: Slackware 13
Posts: 113

Original Poster
Rep: Reputation: 16
Beautiful! I built wicd, started X, it ran automatically and here I am! Thank you very much. I really wish I understood how to do it myself, but at least now it'll be easier to learn. :P Thanks tons.
By the way, for future reference, in Slack that config file is /etc/rc.d/rc.inet1.conf, the configuration file for the script /etc/rc.d/rc.inet1, which seems to run at boot time. That seems to be why I always thought something was wrong. Man, Slackware is unforgiving.
 
Old 10-22-2009, 02:52 AM   #12
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
Great to hear it's working! Now you can study the changes wicd made to the config files and possibly tweak things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a possible solution: sound support: kernel recompile nebloof Linux - Software 2 07-31-2006 07:26 PM
need to recompile kernel to support this hardware? mrjshum Debian 5 12-25-2005 04:39 AM
recompile kernel for hfs support peok Linux - Software 5 10-20-2004 09:42 PM
No sound support after kernel recompile abu_a_m Red Hat 1 02-10-2004 11:06 AM
recompile kernel 2.4.23 support for apm..fails IamDaniel Slackware 5 01-21-2004 09:32 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration