LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2010, 04:38 PM   #1
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Rep: Reputation: 15
Problem with wireless networking


Hello, I have atheros wifi hardware, intell chipset, gigabyte laptop and CentOS 5 installed.
Now I try to use wireless network and get problems.
First of all I want to say that I have 2 OS on my laptop, and when I load Windows XP I still may to access to the wireless network.

First I try to get it on Linux was to make active wlan0 interface in:
system -> administration -> network
but I get:
Determining IP information for wlan0... failed.

Second I try also was unsuccessfully:
[root 1 network-scripts]# ifup-wireless
Error : unrecognised wireless request "off"

This relevant output of iwconfig is:
--------------------
Warning: Driver for device wlan0 recommend version 21 of Wireless Extension, but has been compiled with version 20, therefore some driver features may not be available...

wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7
RTS thr: off
Fragment thr=2352 B
Encryption key: off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
{output not in the original format}
--------------------

The same things are happen even if I do:
modprobe wlan0 (this not get error)
Important to say that modprobe not succeed to find ath_pci, tharefor I decide to download latest version of the madwifi driver from http://madwifi-project.org. I extracted this, but when I make this, this is what I get:
--------------------
[root 1 madwifi-0.9.4]# make
/bin/sh: line 0: cd: /lib/modules/2.6.18-164.el5/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.18-164.el5/build is missing, please set KERNELPATH. Stop.
--------------------

I tried to set KERNELPATH, but I think that it was incorrect:
--------------------
[root 1 madwifi-0.9.4]# make KERNELPATH=/lib/modules/2.6.18-164.el5/kernel/
/bin/sh: cc: command not found
Makefile.inc:81: *** Cannot detect kernel version - please check compiler and KERNELPATH. Stop.
--------------------

Some one have any ideas?
Thank you very much for ahead.
 
Old 05-25-2010, 12:57 AM   #2
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17
Post

Hi Rodnower

You may want to try the following:


http://en.wikipedia.org/wiki/NDISwrapper

OR

http://www.centos.org/

search tab - atheros wifi hardware

I hope this is of help.
 
Old 05-25-2010, 01:56 PM   #3
jvaldivia
Member
 
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 61
Blog Entries: 2

Rep: Reputation: 19
Hello,

when an atheros wireless card is detected as wlan0 it means you're using ath5k driver.

You cannot use madwifi drivers and ath5k at the same time. You will have to disable ath5k and then enable madwifi.

When madwifi is up and running your wireless card will be recognized as ath0.

I wrote a how to install atheros drivers madwifi http://soad1982.blogspot.com/2009/07...less-card.html

And a how to install ath5k driver http://soad1982.blogspot.com/2010/03...eros-mode.html

But I really don't think you should change the drivers, just try to configure your wireless using the command line instead of a network script.

here is a how to configure WEP using iwconfig only. http://soad1982.blogspot.com/2009/05...ation-wep.html


if you still have problems run lspci and sent us the output, and we'll try to find out the best driver for you.
 
1 members found this post helpful.
Old 05-25-2010, 03:10 PM   #4
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by 1jnike View Post
Hi Rodnower
You may want to try the following:
Thank you for replay.
I will try install NDISWrapper, but I want try to compile madwifi driver first. May you say what KERNELPATH should be? Or you think that NDISWrapper batter solution than madwifi?
 
Old 05-25-2010, 03:40 PM   #5
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jvaldivia View Post
Hello,

when an atheros wireless card is detected as wlan0 it means you're using ath5k driver.
Thank you I will try all this now.
 
Old 05-25-2010, 04:23 PM   #6
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
I tried to config wireless with if config how it was described, but I get error:
[root 1 ~]# iwconfig wlan0 key open
[root 1 ~]# iwconfig wlan0 key s: password
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Between : and p there is no space, I put it here because without this I get
This error occures also when I set key to restricted.
What is wrong?
If this is important, so AP uses WAP.

Last edited by Rodnower; 05-25-2010 at 04:25 PM.
 
Old 05-26-2010, 12:17 PM   #7
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
If this will help, here is some relevant information:

== BEGIN uname -rmi ==
2.6.18-164.el5 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -q centos-release ==
centos-release-5-4.el5.centos.1
== END rpm -q centos-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.18-164.el5
kernel-headers-2.6.18-164.el5
kernel-xen-2.6.18-164.el5
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13)
0b:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0b:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0b:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
0b:09.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:2a00 (rev 03)
00:02.0 0300: 8086:2a02 (rev 03)
00:02.1 0380: 8086:2a03 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.1 0604: 8086:2841 (rev 03)
00:1c.2 0604: 8086:2843 (rev 03)
00:1c.5 0604: 8086:2849 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.2 0c03: 8086:2832 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2815 (rev 03)
00:1f.2 0101: 8086:2828 (rev 03)
00:1f.3 0c05: 8086:283e (rev 03)
02:00.0 0200: 168c:001c (rev 01)
04:00.0 0200: 11ab:4363 (rev 13)
0b:09.0 0607: 104c:8039
0b:09.1 0c00: 104c:803a
0b:09.2 0180: 104c:803b
0b:09.3 0805: 104c:803c
== END lspci -n ==
 
  


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
wireless networking problem beaky Linux - Newbie 3 03-01-2006 12:11 PM
Wireless networking problem bassgenerator Linux - Wireless Networking 0 10-01-2004 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 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