AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] not working in Ubuntu

Asked by Jose

Toshiba satellite wireless

I have a laptop Satellite A205, wit wire connection works ok, but unable to connect with wireless, but with wire no problem. I have DSL connection ,i install Ubuntu 8.10, in windows XP home work ok but Ubuntu 8.10 not.
I really appreciate if you can help me out wireless connection.
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Solved by:
Ernest Yang
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

Please first connect your network card to the wireless router using a LAN cable.

Then please follow this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)

sudo iwlist scanning
nm-tool
iwconfig
ifconfig
sudo lshw -C network
lspci -nn
lsusb
uname -a
dmesg | grep ound
dmesg | grep illswitch

Step 3: Post results (cut/paste terminal output from each command) here

Regards,

Mark

Revision history for this message
Ernest Yang (ernest-atheros) said :
#2

It seems to use Realtek 8197 wireless driver?
http://home.comcast.net/~fbui/Linux-on-ToshibaA205.html

Revision history for this message
Jose (joselho1) said :
#3

[sudo] password for jose:
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

pan0 Interface doesn't support scanning.

jose@jose-laptop:~$ sudo iwilist scanning
sudo: iwilist: command not found
jose@jose-laptop:~$ sudo iwlist scanning
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

pan0 Interface doesn't support scanning.

jose@jose-laptop:~$ nm-tool

NetworkManager Tool

State: connected

- Device: eth0 ----------------------------------------------------------------
  Type: Wired
  Driver: r8169
  State: connected
  Default: yes
  HW Address: 00:1E:EC:33:A1:72

  Capabilities:
    Supported: yes
    Carrier Detect: yes
    Speed: 100 Mb/s

  Wired Settings

  IPv4 Settings:
    Address: 192.168.1.57
    Prefix: 24 (255.255.255.0)
    Gateway: 192.168.1.1

    DNS: 209.205.195.48
    DNS: 209.205.195.68

jose@jose-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:ec:33:a1:72
          inet addr:192.168.1.57 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::21e:ecff:fe33:a172/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:9013 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4156050 (4.1 MB) TX bytes:3581275 (3.5 MB)
          Interrupt:218 Base address:0xe000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

jose@jose-laptop:~$ sudo lshw-C network
sudo: lshw-C: command not found
jose@jose-laptop:~$ sudo lshw-C network
sudo: lshw-C: command not found
jose@jose-laptop:~$ sudo lshw -C network
  *-network
       description: Ethernet interface
       product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 01
       serial: 00:1e:ec:33:a1:72
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.57 latency=0 link=yes module=r8169 multicast=yes port=MII speed=100MB/s
  *-network UNCLAIMED
       description: Ethernet controller
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:05:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
  *-network DISABLED
       description: Ethernet interface
       physical id: 2
       logical name: pan0
       serial: 32:c8:6a:3a:b7:48
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
jose@jose-laptop:~$ lspc1 -nn
bash: lspc1: command not found
jose@jose-laptop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 01)
05:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)
0c:04.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
0c:04.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
0c:04.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
0c:04.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]
jose@jose-laptop:~$ lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 062a:0000 Creative Labs Optical mouse
Bus 006 Device 002: ID 03f0:7404 Hewlett-Packard Printing Support
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
jose@jose-laptop:~$ uname -a
Linux jose-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
jose@jose-laptop:~$ dmesg |grep ound
[ 0.000000] ACPI: BIOS bug: multiple APIC/MADT found, using 0
[ 0.000000] found SMP MP-table at [c00f7190] 000f7190
[ 0.676144] pnp: PnP ACPI: found 10 devices
[ 1.551451] pcieport-driver 0000:00:1c.0: found MSI capability
[ 1.551775] pcieport-driver 0000:00:1c.1: found MSI capability
[ 1.552098] pcieport-driver 0000:00:1c.2: found MSI capability
[ 1.552425] pcieport-driver 0000:00:1c.3: found MSI capability
[ 1.552747] pcieport-driver 0000:00:1c.4: found MSI capability
[ 1.907390] isapnp: No Plug & Play device found
[ 1.984283] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 2.744615] hub 1-0:1.0: USB hub found
[ 2.849583] hub 2-0:1.0: USB hub found
[ 2.871846] No dock devices found.
[ 2.980224] hub 3-0:1.0: USB hub found
[ 3.084649] hub 4-0:1.0: USB hub found
[ 3.188607] hub 5-0:1.0: USB hub found
[ 3.292544] hub 6-0:1.0: USB hub found
[ 3.520182] hub 7-0:1.0: USB hub found
[ 13.992417] Yenta: CardBus bridge found at 0000:0c:04.0 [1179:ff00]
[ 14.235150] sdhci-pci 0000:0c:04.3: SDHCI controller found [104c:803c] (rev 0)
[ 16.143334] lp: driver loaded but no devices found
[ 20.089873] apm: BIOS not found.
jose@jose-laptop:~$ dmesg | grep illswitch
jose@jose-laptop:~$

Revision history for this message
Ernest Yang (ernest-atheros) said :
#4

This is atheros AR24xx abg card, you can try to use ath5k driver.
it should locate in /lib/modules/<kernel version>/drivers/net/wireless/ath5k/ath5k.ko.
or you can try using madwifi driver from http://madwifi-project.org/
Download the source code, and "make; make install", then "modprobe ath_pci", then you should see wireless card by "iwconfig" or "ifconfig -a"

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Hi,

Please try this Atheros driver installation procedure:

First under System/Administration/HarwareDrivers, disable both the Atheros HAL and the Atheros wireless thing and then reboot.

Then from a terminal type (press enter key after each line)

sudo aptitude update

sudo aptitude install build-essential subversion

cd ~

mkdir madwifi

cd madwifi

svn co https://217.24.1.142/madwifi/branches/madwifi-hal-0.10.5.6

cd madwifi-hal-0.10.5.6

make

sudo make install

sudo gedit /etc/modules

Now add the Atheros kernel module ath_pci to the list of modules to be automatically loaded at boot by adding

ath_pci

to the end of the /etc/modules file. (Gedit editor automatically opens)

Now you can reboot and it should work.

Hope this helps,

Regards,

Mark

Revision history for this message
Jose (joselho1) said :
#6

Thanks for the help but I got this:
jose@jose-laptop:~$ sudo aptitude install build -essential subversion
aptitude: invalid option -- 'e'
aptitude 0.4.11.3
Usage: aptitude [-S fname] [-u|-i]
       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode):

 install - Install/upgrade packages
 remove - Remove packages
 purge - Remove packages and their configuration files
 hold - Place packages on hold
 unhold - Cancel a hold command for a package
 markauto - Mark packages as having been automatically installed
 unmarkauto - Mark packages as having been manually installed
 forbid-version - Forbid aptitude from upgrading to a specific package version.
 update - Download lists of new/upgradable packages
 safe-upgrade - Perform a safe upgrade
 full-upgrade - Perform an upgrade, possibly installing and removing packages
 forget-new - Forget what packages are "new"
 search - Search for a package by name and/or expression
 show - Display detailed information about a package
 clean - Erase downloaded package files
 autoclean - Erase old downloaded package files
 changelog - View a package's changelog
 download - Download the .deb file for a package
 reinstall - Download and (possibly) reinstall a currently installed package
 why - Show the manually installed packages that require a package, or
                why one or more packages would require the given package
 why-not - Show the manually installed packages that lead to a conflict
                with the given package, or why one or more packages would
                lead to a conflict with the given package if installed

  Options:
 -h This help text
 -s Simulate actions, but do not actually perform them.
 -d Only download packages, do not install or remove anything.
 -P Always prompt for confirmation or actions
 -y Assume that the answer to simple yes/no questions is 'yes'
 -F format Specify a format for displaying search results; see the manual
 -O order Specify how search results should be sorted; see the manual
 -w width Specify the display width for formatting search results
 -f Aggressively try to fix broken packages.
 -V Show which versions of packages are to be installed.
 -D Show the dependencies of automatically changed packages.
 -Z Show the change in installed size of each package.
 -v Display extra information. (may be supplied multiple times)
 -t [release] Set the release from which packages should be installed
 -q In command-line mode, suppress the incremental progress
                indicators.
 -o key=val Directly set the configuration option named 'key'
 --with(out)-recommends Specify whether or not to treat recommends as
                strong dependencies
 -S fname Read the aptitude extended status info from fname.
 -u Download new package lists on startup.
 -i Perform an install run on startup.

                  This aptitude does not have Super Cow Powers.
jose@jose-laptop:~$ cd ~
jose@jose-laptop:~$ mkdir madwifi
jose@jose-laptop:~$ cd madwifi
jose@jose-laptop:~/madwifi$ svn co https://217.24.1.142/madwifi/branches/madwifi -half -0.10.5.6
The program 'svn' is currently not installed. You can install it by typing:
sudo apt-get install subversion
bash: svn: command not found
jose@jose-laptop:~/madwifi$ sudo apt -get install subversion
sudo: apt: command not found
jose@jose-laptop:~/madwifi$

Revision history for this message
Best Ernest Yang (ernest-atheros) said :
#7

ose@jose-laptop:~/madwifi$ sudo apt -get install subversion
                                                   ^^^^^^^^^
you have typo here. shoud be "apt-get"

Revision history for this message
Jose (joselho1) said :
#8

Ernest and Mark
Thank you very much, this is my first time with Linux and my first time that I open Terminal, and I did it with the Wonderful help of you guys.
It is working perfect now.
I will enjoy to be out of the hook of Microsoft.
Thanks again

Revision history for this message
Jose (joselho1) said :
#9

Thanks Ernest Yang, that solved my question.