Find the answer to your Linux question:
Results 1 to 7 of 7
Hey everyone, I am having trouble with my wireless in ubuntu and I cant figure it out. I read a guide somewhere and it told me to type in commands... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6

    Commands in Terminal... Can you help my wireless setup?


    Hey everyone, I am having trouble with my wireless in ubuntu and I cant figure it out. I read a guide somewhere and it told me to type in commands... so i did. So, is someone willing to let me send them a word file that contains a few terminal commands? the text is too long to post here in the forums. Is there some site that i can host it on? Thanks for the help!

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    You should be able to post them as attachments here on this forum, or you could use a pastebin service
    pastebin - collaborative debugging tool
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6
    Thanks! I posted the information here:

    pastebin - collaborative debugging tool

    Can anyone tell me whats wrong with my setup? thanks alot!

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6
    Oh and I have a 11 b/g Wireless LAN mini pci express adapter III. Anyone?

  5. #5
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    The correct command is this:
    Code:
    lspci -nn
    This is needed to determine the type of wireless it is. Unless it is an internal/external USB, then use this command;
    Code:
    lsusb
    If unsure, list the output of both commands.

    I see that you have NDISwrapper installed. You must have done this manually, as it won't happen by accident. Did you follow a guide for this? Please post a link to it, so I can tell exactly what you did to your system. NDISwrapper is fne, if you need to use it. Chances are that there is a native Linux driver already for this card.
    Please do not send Private Messages to me with requests for help. I will not reply.

  6. #6
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6
    Hey waterhead thanks for the help! I posted this info somewhere else the other day and someone said that I have the "chipset AR242x -- need ath5k driver which is in the backports repository."

    But I have NO idea how to activate the driver. What is the backports repository? thanks again!

    lspci -nn
    00:00.0 "Host bridge [0600]" "Intel Corporation [8086]" "Mobile 4 Series Chipset Memory Controller Hub [2a40]" -r07 "Lenovo [17aa]" "Device [20e0]"
    00:01.0 "PCI bridge [0604]" "Intel Corporation [8086]" "Mobile 4 Series Chipset PCI Express Graphics Port [2a41]" -r07 "" ""
    00:03.0 "Communication controller [0780]" "Intel Corporation [8086]" "Mobile 4 Series Chipset MEI Controller [2a44]" -r07 "Lenovo [17aa]" "Device [20e6]"
    00:03.2 "IDE interface [0101]" "Intel Corporation [8086]" "Mobile 4 Series Chipset PT IDER Controller [2a46]" -r07 -p85 "Lenovo [17aa]" "Device [20ea]"
    00:03.3 "Serial controller [0700]" "Intel Corporation [8086]" "Mobile 4 Series Chipset AMT SOL Redirection [2a47]" -r07 -p02 "Lenovo [17aa]" "Device [20ec]"
    00:19.0 "Ethernet controller [0200]" "Intel Corporation [8086]" "82567LM Gigabit Network Connection [10f5]" -r03 "Lenovo [17aa]" "Device [20ee]"
    00:1a.0 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #4 [2937]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1a.1 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #5 [2938]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1a.2 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #6 [2939]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1a.7 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB2 EHCI Controller #2 [293c]" -r03 -p20 "Lenovo [17aa]" "Device [20f1]"
    00:1b.0 "Audio device [0403]" "Intel Corporation [8086]" "82801I (ICH9 Family) HD Audio Controller [293e]" -r03 "Lenovo [17aa]" "Device [20f2]"
    00:1c.0 "PCI bridge [0604]" "Intel Corporation [8086]" "82801I (ICH9 Family) PCI Express Port 1 [2940]" -r03 "" ""
    00:1c.1 "PCI bridge [0604]" "Intel Corporation [8086]" "82801I (ICH9 Family) PCI Express Port 2 [2942]" -r03 "" ""
    00:1c.3 "PCI bridge [0604]" "Intel Corporation [8086]" "82801I (ICH9 Family) PCI Express Port 4 [2946]" -r03 "" ""
    00:1c.4 "PCI bridge [0604]" "Intel Corporation [8086]" "82801I (ICH9 Family) PCI Express Port 5 [2948]" -r03 "" ""
    00:1d.0 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #1 [2934]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1d.1 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #2 [2935]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1d.2 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB UHCI Controller #3 [2936]" -r03 "Lenovo [17aa]" "Device [20f0]"
    00:1d.7 "USB Controller [0c03]" "Intel Corporation [8086]" "82801I (ICH9 Family) USB2 EHCI Controller #1 [293a]" -r03 -p20 "Lenovo [17aa]" "Device [20f1]"
    00:1e.0 "PCI bridge [0604]" "Intel Corporation [8086]" "82801 Mobile PCI Bridge [2448]" -r93 -p01 "" ""
    00:1f.0 "ISA bridge [0601]" "Intel Corporation [8086]" "ICH9M-E LPC Interface Controller [2917]" -r03 "Lenovo [17aa]" "Device [20f5]"
    00:1f.2 "SATA controller [0106]" "Intel Corporation [8086]" "ICH9M/M-E SATA AHCI Controller [2929]" -r03 -p01 "Lenovo [17aa]" "Device [20f8]"
    00:1f.3 "SMBus [0c05]" "Intel Corporation [8086]" "82801I (ICH9 Family) SMBus Controller [2930]" -r03 "Lenovo [17aa]" "Device [20f9]"
    01:00.0 "VGA compatible controller [0300]" "ATI Technologies Inc [1002]" "Mobility Radeon HD 3650 [9591]" "Lenovo [17aa]" "Device [2117]"
    03:00.0 "Ethernet controller [0200]" "Atheros Communications Inc. [168c]" "AR242x 802.11abg Wireless PCI Express Adapter [001c]" -r01 "Atheros Communications Inc. [168c]" "Device [0035]"
    15:00.0 "CardBus bridge [0607]" "Ricoh Co Ltd [1180]" "RL5c476 II [0476]" -rba "Lenovo [17aa]" "Device [20c6]"
    15:00.1 "FireWire (IEEE 1394) [0c00]" "Ricoh Co Ltd [1180]" "R5C832 IEEE 1394 Controller [0832]" -r04 -p10 "Lenovo [17aa]" "Device [20c7]"
    15:00.2 "SD Host controller [0805]" "Ricoh Co Ltd [1180]" "R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [0822]" -r21 "Lenovo [17aa]" "Device [20c8]"
    15:00.3 "System peripheral [0880]" "Ricoh Co Ltd [1180]" "R5C843 MMC Host Controller [0843]" -rff -pff "" ""
    15:00.4 "System peripheral [0880]" "Ricoh Co Ltd [1180]" "R5C592 Memory Stick Bus Host Adapter [0592]" -r11 "Lenovo [17aa]" "Device [20ca]"
    15:00.5 "System peripheral [0880]" "Ricoh Co Ltd [1180]" "xD-Picture Card Controller [0852]" -r11 "Lenovo [17aa]" "Device [20cb]"

  7. #7
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Yes, this is the wireless card.
    Code:
    03:00.0 "Ethernet controller [0200]" "Atheros Communications Inc. [168c]" "AR242x 802.11abg Wireless PCI Express Adapter [001c]" -r01 "Atheros Communications Inc. [168c]" "Device [0035]"
    And it is indeed supported by the ath5k driver. It should be loading the ath5k driver automatically, but instead I see the ndiswrapper module loading.

    NDISwrapper is not automatically installed, so you must have installed it. You normally have to blacklist the native Linux driver, in order to use NDISwrapper. Did you blacklist the ath5k driver?

    You can manually unload the ndiswrapper module, and then load the ath5k module.
    Code:
    sudo modprobe -r ndiswrapper
    Code:
    sudo modprobe ath5k
    If it doesn't return with an error, check for the ath5k module in the output of lsmod. Also make sure that the ndiswrapper module is not present. Now try to setup and use the wireless.

    I understand that the ath5k driver has been disabled by Ubuntu (another reason to use Fedora!). I found this statement here:

    Atheros ath5k wireless driver not enabled by default

    The version of the ath5k driver for Atheros wireless devices included in Linux 2.6.27 interferes with the use of the madwifi driver for some wireless devices and as a result has been disabled by default. Many Atheros chipsets will work correctly with the madwifi driver, but some newer chipsets may not, and the madwifi driver may not work with WPA authentication. If you have an Atheros device that does not work with madwifi, you will want to install the linux-backports-modules-intrepid-generic package, which includes an updated version of the ath5k driver. While not installed by default, this linux-backports-modules-intrepid-generic package is included on the Ubuntu 8.10 CD and DVD images for ease of installation.
    So it does seem that you need the backports repository for this. Here is some info on how to enable it:
    https://help.ubuntu.com/community/UbuntuBackports


    You can also manually install it using the compat-wireless package. This will give you the latest version of the driver. That may be important, because this is a new driver and still under developement.

    Download - Linux Wireless
    Last edited by waterhead; 02-06-2009 at 10:28 AM.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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