LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-29-2009, 07:32 AM   #1
KairosDrasis
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Intel Wifi Link 5100 AGN - Fix unrecognized


Hello everyone. This is my first post and I need some help. I've managed to dual boot linux (backtrack 3 saved to HDD), and now I think I'm having some driver problems.

The computer I bought is a Toshiba Satellite L505-S6946.
Under device manager in Windows the wireless card is: Intel Wifi Link 5100 AGN.

It wasn't working, so I followed a guide online that told me to:
Code:
Go to: http://www.intellinuxwireless.org/?p...fi&n=Downloads
Download iwlwifi-5000-ucode-8.24.2.12.tgz
Unpack
and place iwlwifi-5000-2.ucode into /lib/firmware
Restart
I did this, but iwconfig still shows no wireless adapters. I couldn't find anyone via google with the same problem. This seem to fix everyone else's computer. What did I do wrong?

The forum readme told me to include this information:
Code:
bt ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Network controller: Intel Corporation Unknown device 4232
bt ~ # uname -r
2.6.21.5
bt ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
bt ~ #
Thanks in advanced,
Kairos

Edit: Just as a P.S. I just realized that my wired Ethernet port does not function either. I'm not sure what to post about it, but if you could direct me to what I need to do I'll be very grateful

Last edited by KairosDrasis; 07-29-2009 at 07:43 AM.
 
Old 07-29-2009, 08:43 AM   #2
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Rep: Reputation: 50
looks like your kernel wasn't built with the necessary config
options for your wireless card?

could you paste here the result of

zcat /proc/config.gz | grep IWL

if you don't see these 4 lines

CONFIG_IWLWIFI=m
CONFIG_IWLCORE=m
CONFIG_IWLAGN=m
CONFIG_IWL5000=y

in your output, then you need to rebuild your kernel
 
Old 07-29-2009, 09:26 AM   #3
KairosDrasis
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
That command doesn't show me anything at all, and I don't have a clue about how to build a kernal... can you please post a link? (Sorry, I'm very new at this)
 
Old 07-30-2009, 07:01 AM   #4
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Rep: Reputation: 50
Quote:
Originally Posted by KairosDrasis View Post
That command doesn't show me anything at all, and I don't have a clue about how to build a kernal... can you please post a link? (Sorry, I'm very new at this)
That's odd. If your kernel version is '2.6.21.5' (as your 'uname -r' displayed)
you should get something, even commented (with '#' at the beginning of the
line). I don't rememember exactly from which version of the kernel
they switched to this new interface.

You'll need to download a newer version of the kernel from here
http://www.kernel.org/

The latest stable version of the Linux kernel is: 2.6.30.3
(the direct link is
http://www.kernel.org/pub/linux/kern...6.30.3.tar.bz2
)

1. download linux-2.6.30.3.tar.bz2 from there
2. place it in /usr/src
3. unpack it by running this command
tar jxf linux-2.6.30.3.tar.bz2

Then it gets trickier, because there's been a lot of changes since
the version you got, so you can't simply start with your old
config and only answer a few questions.
My advice since you're new to this is to ask someone around
you to do it for you.

Better do all these steps as root.

Basically these are the steps:
1. cd linux-2.6.30.3
2. copy the old config here and name it .config (a dot before the name)
by running this command:
zcat /proc/config.gz > .config
3. run this command
make oldconfig
you'll probably need to answer a lot of questions
just hit the return key when you don't know the answer
(so that would select the default)
open the file .config with a text editor and look for these 4 entries

CONFIG_IWLWIFI
CONFIG_IWLCORE
CONFIG_IWLAGN
CONFIG_IWL5000

if any of them have something like

# CONFIG_IWL5000 is not set

etc., change it and make sure they're set like this

CONFIG_IWLWIFI=m
CONFIG_IWLCORE=m
CONFIG_IWLAGN=m
CONFIG_IWL5000=y

4. run the command
make menuconfig
There, you'll have to go thru the options and select or unselect
them. There's usually some kind of help

5. quit the menuconfig when you're done then run

make bzImage modules

All the steps above can be done safely.
So you could play with steps 1 thru 5 to get the hang of it.

The rest consist of installing the kernel and the modules.
Even a seasoned linux users always makes a backup of their
current kernel and modules before installing a new one.

6. backup the files in /boot:

vmlinuz* System.map* config* ...

backup the current modules, that is
this whole directory and its contents:

/lib/modules/$(uname -r)

Once the backup has been done, proceed with installing
the new kernel and its modules

copy over the kernel and some files to /boot by running these:

cd /usr/src/linux-2.6.30.3
version=${PWD##*-}
cp System.map /boot/System.map-$version
cp arch/x86/boot/bzImage /boot/vmlinuz-$version
cp .config /boot/config-$version

create symbolic links in /boot:

cd /boot
for f in System.map-$version config-$version vmlinuz-$version
do
l=${f%-*}
ln -sf $f $l
done

go back to the kernel source tree and proceed to the modules installation:

cd /usr/src/linux-2.6.30.3
make modules_install

Now,
Depending of the boot loader used (lilo or grub)
you might need to adjust the entry in the menu (if
you have the version in the name of the kernel) and
do a lilo (if that's the boot loader you use)

As you can see, it's a pretty involved process.
If you have another free partition on your disk, what you might do
is
1. install your distro on it (or better, get a newer version,
chances are you won't need to build a new kernel)
2. try to build and install a new kernel on that partition
so that if anything goes wrong (you can't boot with the new kernel)
you can always boot with the stable partition and restore the
previous kernel and modules in the test partition
Eventually, if you're patient, you'll be able to boot the new kernel,
check that everything works as expected (your wireless is detected,
etc). Then you can proceed by building the new kernel on the
stable partition (and this time you copy over the .config you obtained
the last time time you built the new kernel)
 
Old 07-30-2009, 09:53 AM   #5
KairosDrasis
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Wow. Thanks for your reply. That's a lot of info.

Quote:
Originally Posted by vonbiber View Post
That's odd. If your kernel version is '2.6.21.5' (as your 'uname -r' displayed)
you should get something, even commented (with '#' at the beginning of the
line). I don't rememember exactly from which version of the kernel
they switched to this new interface.
No... not even a commented out line. That's interesting
Quote:
1. install your distro on it (or better, get a newer version,
chances are you won't need to build a new kernel)
2. try to build and install a new kernel on that partition
so that if anything goes wrong (you can't boot with the new kernel)
you can always boot with the stable partition and restore the
previous kernel and modules in the test partition
Eventually, if you're patient, you'll be able to boot the new kernel,
check that everything works as expected (your wireless is detected,
etc). Then you can proceed by building the new kernel on the
stable partition (and this time you copy over the .config you obtained
the last time time you built the new kernel)
I just resized my ntfs files system and gave myself some space. I will attempt these and report back whenever I finish. Wish me luck.

Thanks so much again,
Kairos
 
Old 07-30-2009, 10:00 AM   #6
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Rep: Reputation: 50
since you've been using backtrack 3
I recommend this (backtrack is based on slackware)

1. download the slackware 12.2 dvd iso (that's the one I'm using
and I have the same wireless card as you)
http://www.slackware.com/

2. install it on a new partition

your card should be recognized and ready to run
There might be a couple of tweaks to do in
/etc/rc.d/rc.inet1.conf

but I'll tell you when you get there

let me know how it went and good luck

Last edited by vonbiber; 07-30-2009 at 10:03 AM.
 
Old 09-15-2009, 04:25 AM   #7
SeveZone
LQ Newbie
 
Registered: Sep 2009
Location: Sweden
Distribution: WindowsXp - Backtrack - RedHat
Posts: 23

Rep: Reputation: 15
can some one make this finish whit BT3 USB version for me so i can download it finish ?


Thanks
 
Old 05-23-2010, 12:28 AM   #8
h3atmach1n3
LQ Newbie
 
Registered: May 2010
Posts: 14

Rep: Reputation: 0
Unrecognized link 5100 >>> :(

This is what it shows vonbiber when i typed the command >>

cat /proc/config.gz | grep IWL

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_RFKILL=y
# CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT is not set
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEBUGFS=y
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m
CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y

Last edited by h3atmach1n3; 05-23-2010 at 12:29 AM.
 
  


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
Intel WiFi Link 5100 - Is 802.11n (Draft-N) possible? Yankee_Fan Linux - Laptop and Netbook 3 08-22-2010 11:06 AM
My Intel(R) Wifi Link 5100 AGN - not detected ohmeng Linux - Newbie 8 05-21-2010 02:59 AM
intel wifi link 5100 cannot work on linux pu1030 Linux - Networking 4 04-29-2009 10:25 AM
Oracle Enterprise Linux 5 and Intel wifi link 5100 card is not getting activated. chandan766 Linux - Newbie 8 03-27-2009 04:01 PM
Problem with my Intel 5100 AGN Wireless Card N82 Linux - Newbie 2 03-03-2009 10:09 AM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration