LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2007, 07:05 PM   #1
columbiasts1
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian stable
Posts: 29

Rep: Reputation: 15
Question ieee80211 in Debian 4.0r1


As you can tell I am a n00b to debian but I do enjoying learning. I have Debian 4.0r1 installed on a Lenovo R40 laptop and was trying to make my Intel Pro 2200 b wireless card work. I am running kernel 2.6.18-5-686 and have already installed the ndiswrapper and ipw2200.

the problem I am having is with ieee80211. I have downloaded this install and performed tar xzvf ieee80211-1.2.18 on the file which extracted it to my desktop. I have opened INSTALL with 'kate' but I am a little confused at this point of what I need to do. I am assuming I need to run MAKE or MAKEFILE but I am not 100% sure. I see in the install file the line that reads

% make IEEE80211_INC=/usr/include

but when I run this I get the following error:

Checking in /lib/modules/2.6.18-5-686 for ieee80211 components...
find: /lib/modules/2.6.18-5-686/build/: No such file or directory
grep: /lib/modules/2.6.18-5-686/build//.config: No such file or directory
grep: /lib/modules/2.6.18-5-686/build//include/linux/autoconf.h: No such file or directory
find: /lib/modules/2.6.18-5-686/build/: No such file or directory
make -C /lib/modules/2.6.18-5-686/build M=/home/mercury/Desktop/ieee80211-1.2.18 modules
make: *** /lib/modules/2.6.18-5-686/build: No such file or directory. Stop.
make: *** [modules] Error 2

I have searched several forums trying to find an answer as how I need to install this and what all packages I need. I was hoping I could do it all through aptitude but it appears this one file has to be compiled from the source maybe. As I said I am totally new to this but knowledge is POWER.
 
Old 09-05-2007, 07:02 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Out of curiousity, why do you need to recompile it while it already exists in the kernel?

For your problem, it is searching for the source that you used for compiling your kernel. I guess you didn't recompile your kernel so it doesn't find the source.
It is a pain to recompile this ipw2200!
 
Old 09-06-2007, 10:39 AM   #3
columbiasts1
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian stable
Posts: 29

Original Poster
Rep: Reputation: 15
How did you determine that was loaded in the kernel. I ran dmesg against the /var/log/messages and I didnt see anything about ipw2200 being loaded.

Last edited by columbiasts1; 09-06-2007 at 11:40 AM.
 
Old 09-06-2007, 12:08 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
ieee80211 did first make it into the kernel in 2.6.18. An older version, though[1].

I'm not sure this will fix it, but the errors don't yet make sense to me. Try installing the linux-headers-2.6.18-5-686 package.

[1] http://ieee80211.sourceforge.net/
Quote:
Aug 21 2006 Changes in 1.2.15
Status: Merged in mainline ... available as of 2.6.18-rc4. If you are using kernel 2.6.18-rc4 or newer, you can use the ieee80211 subsystem provided with your kernel instead of installing this package.

Last edited by AlucardZero; 09-06-2007 at 12:09 PM.
 
Old 09-06-2007, 12:13 PM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
What I mean is that your kernel already has this ipw2200 module. Your card is one of the only one supported by the kernel without doing anything.

Simply type
modprobe ipw2200
and then dmesg to check

If you have already overwritten stuffs then it could be that it doesn't work anymore!

If it works, it will say error -5 or something, you will need to put the correct firmware corresponding to the version of the driver.
To get the version :
modinfo ipw2200

Go to ipw2200.sourceforge.net and follow the instructions. Even by doing a search on LQ you should find.

edit:
oops interfered with AlucardZero
I haven't tried this method, before you had to download it.
But you probably already have everything installed!!

Last edited by nx5000; 09-06-2007 at 12:16 PM.
 
Old 09-06-2007, 09:59 PM   #6
columbiasts1
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian stable
Posts: 29

Original Poster
Rep: Reputation: 15
Here is a scaled down output of lsmod

Module Size Used by
ipw2200 93824 0
ieee80211 29416 1 ipw2200
ieee80211_crypt 5952 1 ieee80211
radeon 99744 2


Scaled output of dmesg

Linux version 2.6.18-5-686 (Debian 2.6.18.dfsg.1-13etch2) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Thu Aug 30 02:19:07 UTC 2007
/
/
/
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2kmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation

lspci output

00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)



I have done a total restage on my pc to get back to ground zero and when I go to KWiFiManager and launch it I get the WiFi Manager to launch but it says its disabled. When I perform the "scan networks" it does not return anything but I can fire up a Windows XP box and scan the network and I see a secured network in my neighborhood. I was wanting to get Wifi enabled on my pc since I travel alot and want to have my debian box capable of using wireless.

It appears that everything is loading now I am just unable to see any secure or unsecure networks at this time. Very strange.

Last edited by columbiasts1; 09-06-2007 at 10:57 PM.
 
Old 09-07-2007, 04:48 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
IMO, better not use GUIs for the first installation, it just lowers you visibility.

From your log, it looks like your driver loads.
Quote:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2kmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
There's nothing after this I hope?

What says
iwconfig
 
Old 09-07-2007, 04:51 AM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
As nx5000 pointed out,
In a fresh installation of Debian (any version above and including stable), all you need to do is download and install the firmware in /lib/firmware. Details here. No need to bang your head against the wall compiling stuff, the drivers/modules are already included, this includes ipw2200.ko and ieee80211.ko modules.
When you unpack the version 3.0 firmware, you'll have a folder with four files ending in .fw, copy or move those four files to /lib/firmware, not the folder containing them. Then re-boot to load the firmware and configure your connection.

Last edited by Junior Hacker; 09-07-2007 at 04:56 AM.
 
Old 09-07-2007, 05:18 AM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by columbiasts1 View Post
I have done a total restage on my pc to get back to ground zero and when I go to KWiFiManager and launch it I get the WiFi Manager to launch but it says its disabled. When I perform the "scan networks" it does not return anything but I can fire up a Windows XP box and scan the network and I see a secured network in my neighborhood.
It appears you are using KDE, I also do a minimal Debian installation and only install KDE, but I don't have much use for Kwifimanager. I usually only install knetworkconf and network-manager, not network-manager-kde. Then I go to main menu/settings/internet_network/network_settings and select my version of Debian, then click on "Administrator Mode", maximize the window and select my version of Debian again, then highlight my wireless interface and click on "Configure interface" to put in the ESSID and KEY, select Hexadecimal as this is usually the key type (I connect to a different AP every other day), then click OK, then click on "Apply" in the main configuration window.
To auto connect to the same AP upon every re-boot, add "auto eth2" to your wireless section in /etc/network/interfaces (replace eth2 with what is appropriate in your case as displayed by command ifconfig).
Example:
Code:
auto eth2
iface eth2 inet dhcp
wireless-essid yo_mama
wireless-key 7808957610ABC7808957610DEF
Details on how to set up /etc/network/interfaces can be found in /usr/share/doc/network_manager/readme.debian when network manager is installed.
 
  


Reply

Tags
80211b, debian, installing


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
Good firewall for Debian 3.0r1 apache363 Linux - Software 4 09-11-2007 09:15 PM
How to upgrade gcc in Debian 3.0r1 to v3.3.1 mkipper Linux - Software 1 10-24-2003 05:23 PM
Debian from Knoppix of Woody 3.0r1 Bruce Hill Linux - Newbie 5 10-09-2003 10:06 PM
Debian 3.0r1 installation problem Demonbane Linux - Newbie 2 09-06-2003 04:52 AM
wine on debian 3.0r1 viniosity Linux - Software 1 04-05-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration