LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Wireless is not enable on my Redhat enterprise linux 5 box (https://www.linuxquestions.org/questions/linux-general-1/wireless-is-not-enable-on-my-redhat-enterprise-linux-5-box-859009/)

Ashish Sood 01-27-2011 07:26 AM

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)

jschiwal 01-27-2011 07:54 AM

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.

Ashish Sood 01-27-2011 08:11 AM

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

jschiwal 01-27-2011 09:48 AM

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.

Ashish Sood 01-28-2011 01:37 AM

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.

jschiwal 01-28-2011 05:51 AM

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.

Ashish Sood 01-29-2011 10:37 AM

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.

jschiwal 01-29-2011 11:51 AM

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.

Ashish Sood 01-30-2011 12:03 PM

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 key:on
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

Ashish Sood 01-30-2011 12:12 PM

But cant access the ap, coz its not getting the dynamic ip address from my ap

jschiwal 02-02-2011 02:30 AM

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.


All times are GMT -5. The time now is 05:24 PM.