Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 37
I am relatively new to Linux, and am currently trying to set up a laptop with RHEL 5.5. wlan0 is causing me some grief. I ran the commands specified by ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2013
    Location
    Fredericton, New Brunswick
    Posts
    16

    Wireless Setup in Linux


    I am relatively new to Linux, and am currently trying to set up a laptop with RHEL 5.5. wlan0 is causing me some grief. I ran the commands specified by Waterhead and attached the output here. The dmesg output had to be split into two files due to upload restrictions. Any and all suggestions are welcome.
    Attached Files Attached Files

  2. #2
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    lspci is more reader friendly if you run it as lspci instead of lspci -nn.

    Also, you can hone in on the lsmod output by piping output from lspci to grep and then using grep to scan it.

    For example, you are looking for the 'ath' driver so I would call

    lspci | grep ath
    ------/\ pipe command

    and all lines in the kmods with ath will appear.

    Along the same line running

    dmesg | grep wlan0 will pipe the output to grep and then only lines with 'wlan0' will be seen on the screen.

    or you could just run dmesg | tail
    if you know your just did something the system will log at the tail end of the file.

    This all makes it easier to see you problem.

    ...now I will examine the files....
    Last edited by DaemonDave; 10-19-2013 at 01:01 AM. Reason: additional info

  3. #3
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    You are running the ath9k kernel module or kmod,

    Do you have the right firmware rpm's installed for RHEL 5.5?

    I can't post HTML URLs yet but you can find the wireless firmware files at

    kernel.org /drivers/ ath9k

    or if you google firmware ath9k RHEL you might get another suitable location.

    The last resort is to google rpm RHEL firmware and you coudl find it on the package sites.

    Bottom line, the first step is firmware.

    The next step would be what kind of WIFI are you connecting to and are you using wpa_supplicant if you have a DHCP wireless network?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2013
    Location
    Fredericton, New Brunswick
    Posts
    16
    Thank-you for your input DaemonDave.

    I ran the commands suggested and pasted the output here. While you're looking that over I'll research kernel.org for drivers.

    As far as having the correct firmware rpm's, I just ran the installation and accepted the default settings. As for the network, it is public access wifi and I believe I don't have any authentication protocols in place. The network is configured to obtain DHCP and DNS information automatically.

    [root@localhost abacus]# /sbin/lspci
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset 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 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)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
    03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)

    [root@localhost abacus]# dmesg | grep wlan0
    wlan0: no IPv6 routers present


    I went to wireless.kernel.org/en/users/Drivers/ath9k/RHEL5 and clicked on the "RHEL5.5 get a wireless facelift" link.
    On the "RHEL5 Kernels by Linville" page I see an ocean of kernel patches. Pardon my newbie question, but is there a single file, or collection of files I need to download?
    Last edited by Chromunicator; 10-21-2013 at 09:18 PM.

  6. #5
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    run command as root:

    Code:
    lsmod | grep ath9k
    this will show all kernel modules running in the kernel.

    if you don't see a ath9k then run

    Code:
    modprobe ath9k
    and see if it finds and installs kernel module in the running kernel

  7. #6
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    for the right firmware package

    run command as root:

    Code:
    uname -a
    this will tell you what kernel version you have.

    The on the page find the kernel version that closest matches :

    example your kernel is 1.1.1

    and at kernel.org they have

    firmwareA.tgz for 1.01
    firmwareB.tgz for 1.1 - 1.5

    then you choose to download firmwareB and follow the instructions

  8. #7
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47
    No problem dude, I know how frustrating it can be and I'll walk you through it. If it's Unix you can solve it it's just a matter of time and research.

    Cheers!

  9. #8
    Just Joined!
    Join Date
    Oct 2013
    Location
    Fredericton, New Brunswick
    Posts
    16

    Good catch. I didn't even think to su up before running the command.

    Quote Originally Posted by DaemonDave View Post
    run command as root:

    Code:
    lsmod | grep ath9k
    this will show all kernel modules running in the kernel.

    if you don't see a ath9k then run

    Code:
    modprobe ath9k
    and see if it finds and installs kernel module in the running kernel
    [root@localhost abacus]# /sbin/lsmod | grep ath9k
    ath9k 257781 0
    mac80211 139073 1 ath9k
    ath 12737 1 ath9k
    cfg80211 141449 3 ath9k,mac80211,ath

  10. #9
    Just Joined!
    Join Date
    Oct 2013
    Location
    Fredericton, New Brunswick
    Posts
    16
    [root@localhost abacus]# uname -a
    Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux

    I'm only guessing, but does this mean my kernel version is 2.6.18-194.el5 ?

  11. #10
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by Chromunicator View Post
    [root@localhost abacus]# uname -a
    Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux

    I'm only guessing, but does this mean my kernel version is 2.6.18-194.el5 ?
    yes. you could also use uname -r to cull just the kernel version.

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •