LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-27-2011, 07:26 AM   #1
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Rep: Reputation: 15
Wireless is not enable on my Redhat enterprise linux 5 box


Hello guys

i m using RHEL5, i have a problem with my wireless lan card, my laptop wireless cant be enable , i always show a inactive in the network configuration property, i know it detect in my box


lspci[output]
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (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.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (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.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (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.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 ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series]
01:00.1 Audio device: ATI Technologies Inc RV730XT Audio device [Radeon HD 4670]
04:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)

09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
 
Old 01-27-2011, 07:54 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Use "lspci -n" and post the line for PCI address 04:00.0. That will indicate the manufactures ID. I think you want to use the iwlwifi driver. Also run "uname -r" to report your kernel version.

Sometimes you simply need to modprobe the driver. Sometimes you need a newer kernel that recognizes the chipset.

Also check your config file for the kernel:

grep -i iwl /boot/config-2.6.34.7-0.7-desktop
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEBUGFS=y
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m

Use the config file for your kernel. The above is the config file for mine.
 
Old 01-27-2011, 08:11 AM   #3
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
lspci -n|grep 04:00.0
04:00.0 0280: 8086:4235


grep -i iwl /boot/config-2.6.18-128.el5xen
CONFIG_IWLWIFI=m
CONFIG_IWLCORE=m
# CONFIG_IWLWIFI_LEDS is not set
# CONFIG_IWLWIFI_RFKILL is not set
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=m
CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y
# CONFIG_IWLAGN_LEDS is not set
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m
# CONFIG_IWL3945_RFKILL is not set
CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
# CONFIG_IWL3945_LEDS is not set
# CONFIG_IWL3945_DEBUG is not set
 
Old 01-27-2011, 09:48 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Looking in the kernel source:
Code:
grep -i 4235 * -R
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1021, iwl5300_agn_cfg)}, /* Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1121, iwl5300_agn_cfg)}, /* Half Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1024, iwl5300_agn_cfg)}, /* Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1124, iwl5300_agn_cfg)}, /* Half Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1001, iwl5300_agn_cfg)}, /* Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1101, iwl5300_agn_cfg)}, /* Half Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1004, iwl5300_agn_cfg)}, /* Mini Card */
iwlwifi/iwl-agn.c:      {IWL_PCI_DEVICE(0x4235, 0x1104, iwl5300_agn_cfg)}, /* Half Mini Card */
Code:
grep -ib 4235 * -R
Binary file iwlagn.ko matches
jschiwal@qosmio:/lib/modules/2.6.34.7-0.7-desktop/kernel/drivers/net/wireless/iwlwifi> ls
iwl3945.ko  iwlagn.ko  iwlcore.ko
It looks like you need to modprobe iwlagn and iwlcore. Look at lsmod and see if they are loaded.
Is the string "4235" in your iwlagn module? It could be that your device isn't supported by the kernel module for a 2.6.18 kernel.
 
Old 01-28-2011, 01:37 AM   #5
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
YES is have this module install

[OUTPUT]

lsmod | sort | grep iwlagn

cfg80211 30793 3 iwlagn,iwlcore,mac80211
iwlagn 94553 0
iwlcore 86853 1 iwlagn
mac80211 137545 2 iwlagn,iwlcore

whenever i try to activate my wifi i got this frustating messages


Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
SIOCSIFFLAGS: No such file or directory
Failed to bring up wlan0.

Last edited by Ashish Sood; 01-28-2011 at 06:38 AM.
 
Old 01-28-2011, 05:51 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I assume you meant to say "whenever I activate my wifi" not your wife.

If you have the kernel source installed, grep for the string "4235". If not, grep the binary kernel module.
grep -ib 4235 * -R

Also, look at the kernel boot messages, when the device is detected. I'm still wondering if your device model is supported by the kernel.

run "sudo /sbin/modinfo iwlagn"

Check if the file "/lib/firmware/iwlwifi-5000-1.ucode" exists. If not, look to install a firmware package.
 
Old 01-29-2011, 10:37 AM   #7
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
I upgrade the iwlagn driver for my wireless using yum , after that i can activate my wlan0 device , but its not detect my wireless signal.
 
Old 01-29-2011, 11:51 AM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you use "sudo /usr/sbin/iwlist scan", does it list access points?

If you use NetworkManager, run "mn-tool".

Check if there is a wifi switch. I've had it off and not realized it.

Did the package you installed include the firmware? It may be in a separate package.

Please read the kernel boot messages. If there is a problem such as missing firmware, it will probably have a message about an error loading a file.

Last edited by jschiwal; 01-29-2011 at 11:53 AM.
 
Old 01-30-2011, 12:03 PM   #9
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
Thanks for your valueable replay jschiwal, yes it detect my wireless access point signal

[output]

# iwlist wlan0 scan
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 Scan completed :
Cell 01 - Address: 00:1E:E5:ED:BD:BB
ESSID:"Connectify-me"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=82/100 Signal level=-52 dBm Noise level=-127 dBm
Encryption keyn
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:tsf=0000000323b42a78
 
Old 01-30-2011, 12:12 PM   #10
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
But cant access the ap, coz its not getting the dynamic ip address from my ap
 
Old 02-02-2011, 02:30 AM   #11
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Check the ifcfg-wlan0 file and see if it has "BOOTPROTO dhcp".

Also try disabling ipv6 support. The router could be confused by the dhcp6 client.

Try changing some settings on the router. Freq, wireless G instead N, etC.

Authentication occurs before dchp assigns an IP address. Use wpa_cli to monitor the authentication process and see if it completes.

Last edited by jschiwal; 02-03-2011 at 07:23 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable rsh service on RedHat Enterprise version 5 Fluidyn Linux - Newbie 2 06-05-2009 03:33 AM
Enable DOM in PHP5, Redhat Enterprise 4 pxumsgdxpcvjm Programming 0 09-14-2006 04:19 AM
mysql 4.0.20 on a redhat enterprise advanced server 3 box. sathysudhakar Linux - Software 2 08-16-2004 12:14 AM
how to enable snmp on redhat box sixth_sense Linux - Networking 2 06-07-2004 02:55 AM
Install Netgear Wireless NIC MA311 on RedHat Enterprise Linux ES paranoia1980 Linux - Wireless Networking 2 07-23-2003 05:52 PM


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