AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01) not connecting via NetworkManager, but connecting via wicd

Asked by Sam

Hi I'm new to Ubuntu, I dual boot my laptop with Suse 11.1 and ubuntu 8.10. At first I didnt have any wireless connection at all, I then followed an answer that has enabled my atheros 242X (works fine in Suse), unfortunately in network manager my device is showing unmanaged. How can I register the wlan0 or ath0 interface with network manager, if I am asking the question correctly.

Thanks in Advance,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wicd Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
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 in Ubuntu 8.10 (in order to gather troubleshooting info):

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 aptitude install hwinfo
hwinfo --netcard
sudo iwlist scanning
sudo lshw -C network
lspci -nn
lsusb
uname -a
dmesg | grep ound
dmesg | grep witch
iwconfig

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Regards,

Mark

Revision history for this message
Sam (cobbsm) said :
#2

Hi Mark, Thank you for your attention in matter, I'll do what I can to supply the information requested:

sam@elcheapo:~$ hwinfo --netcard
07: PCI 400.0: 0282 WLAN controller
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_168c_1c
  Unique ID: xFhm.RFxXcqz9oH9
  Parent ID: H0_h.LNCnQjjiv6A
  SysFS ID: /devices/pci0000:00/0000:00:06.0/0000:04:00.0
  SysFS BusID: 0000:04:00.0
  Hardware Class: network
  Model: "Atheros AR242x 802.11abg Wireless PCI Express Adapter"
  Vendor: pci 0x168c "Atheros Communications, Inc."
  Device: pci 0x001c "AR242x 802.11abg Wireless PCI Express Adapter"
  SubVendor: pci 0x144f "Askey Computer Corp."
  SubDevice: pci 0x7128
  Revision: 0x01
  Driver: "ath_pci"
  Driver Modules: "ath_pci"
  Device File: ath0
  Features: WLAN
  Memory Range: 0xcb100000-0xcb10ffff (rw,non-prefetchable)
  IRQ: 18 (4469 events)
  HW Address: 00:21:63:a2:d7:34
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462
  WLAN encryption modes: WEP40 WEP104 WEP128 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v0000168Cd0000001Csv0000144Fsd00007128bc02sc00i00"
  Driver Info #0:
    Driver Status: ath_pci is active
    Driver Activation Cmd: "modprobe ath_pci"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #26 (PCI bridge)

08: PCI 300.0: 0200 Ethernet controller
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_10ec_8136
  Unique ID: rBUF.qFw72qIVz78
  Parent ID: CvwD.qyF1y8c+Nk9
  SysFS ID: /devices/pci0000:00/0000:00:05.0/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Realtek RTL8101E PCI Express Fast Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8136 "RTL8101E PCI Express Fast Ethernet controller"
  SubVendor: pci 0x1179 "Toshiba America Info Systems"
  SubDevice: pci 0xff68
  Revision: 0x02
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0x3000-0x4fff (rw)
  Memory Range: 0xc9010000-0xc9010fff (rw,prefetchable)
  Memory Range: 0xc9000000-0xc900ffff (rw,prefetchable)
  IRQ: 2300 (2046 events)
  HW Address: 00:1e:33:7f:05:65
  Link detected: yes
  Module Alias: "pci:v000010ECd00008136sv00001179sd0000FF68bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #27 (PCI bridge)
sam@elcheapo:~$
sam@elcheapo:~$ sudo iwlist scanning
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wifi0 Interface doesn't support scanning.

ath0 Scan completed :
          Cell 01 - Address: 00:12:17:2A:12:BC
                    ESSID:"S-N-K"
                    Mode:Master
                    Frequency:2.417 GHz (Channel 2)
                    Quality=64/70 Signal level=-31 dBm Noise level=-95 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:bcn_int=100

pan0 Interface doesn't support scanning.

sam@elcheapo:~$ 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:03:00.0
       logical name: eth0
       version: 02
       serial: 00:1e:33:7f:05:65
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd 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.50.4 latency=0 link=yes module=r8169 multicast=yes port=MII speed=100MB/s
  *-network
       description: Wireless interface
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wifi0
       version: 01
       serial: 00:21:63:a2:d7:34
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath_pci latency=0 module=ath_pci multicast=yes wireless=IEEE 802.11g
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: aa:78:e3:96:1d:bb
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
sam@elcheapo:~$ lspci -nn
00:00.0 Host bridge [0600]: ATI Technologies Inc RS690 Host Bridge [1002:7910]
00:01.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx) [1002:7912]
00:04.0 PCI bridge [0604]: ATI Technologies Inc Device [1002:7914]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1) [1002:7915]
00:06.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2) [1002:7916]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 14)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)
sam@elcheapo:~$ lsusb
Bus 006 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse 6000 Reciever
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
sam@elcheapo:~$
sam@elcheapo:~$ uname -a
Linux elcheapo 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
sam@elcheapo:~$ dmesg | grep ound
[ 0.000000] No NUMA configuration found
[ 0.004000] No AGP bridge found
[ 3.061341] pnp: PnP ACPI: found 9 devices
[ 11.924272] pcieport-driver 0000:00:04.0: found MSI capability
[ 11.924529] pcieport-driver 0000:00:05.0: found MSI capability
[ 11.924763] pcieport-driver 0000:00:06.0: found MSI capability
[ 12.041627] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 12.788884] No dock devices found.
[ 15.618238] hub 1-0:1.0: USB hub found
[ 15.784207] hub 2-0:1.0: USB hub found
[ 16.053548] hub 3-0:1.0: USB hub found
[ 16.216231] hub 4-0:1.0: USB hub found
[ 16.380222] hub 5-0:1.0: USB hub found
[ 16.588611] ehci_hcd 0000:00:13.5: applying AMD SB600/SB700 USB freeze workaround
[ 16.736223] hub 6-0:1.0: USB hub found
[ 17.836557] usb-storage: device found at 3
[ 28.916426] lp: driver loaded but no devices found
[ 29.570118] wifi0: Atheros AR2425 chip found (MAC 14.2, PHY SChip 7.0, Radio 10.2)
[ 33.027446] powernow-k8: Found 1 AMD Turion(tm) 64 X2 Mobile Technology TL-60 processors (2 cpu cores) (version 2.20.00)
sam@elcheapo:~$
sam@elcheapo:~$ dmesg | grep witch
[ 0.004000] Switch to broadcast mode on CPU1
[ 0.512501] Switch to broadcast mode on CPU0
[ 2.534726] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 3.084054] Switched to high resolution mode on CPU 0
[ 3.084064] Switched to high resolution mode on CPU 1
[ 25.452688] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input5
[ 25.456221] ACPI: Lid Switch [LID]
[ 29.534080] MadWifi: ath_attach: Switching rfkill capability off.
sam@elcheapo:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"S-N-K" Nickname:""
          Mode:Managed Frequency:2.417 GHz Access Point: 00:12:17:2A:12:BC
          Bit Rate:18 Mb/s Tx-Power:16 dBm Sensitivity=1/1
          Retry:off RTS thr:off Fragment thr:off
          Power Management:off
          Link Quality=66/70 Signal level=-29 dBm Noise level=-95 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

sam@elcheapo:~$

I beleive this to be the lot, please advise as to next steps.

Regards, Sam

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

Hi,

Your wireless card seems to be working fine.

If you are unable to see (and connect to) your wireless router by choosing "edit connections" in the networkmanager icon in the top right corner of your Ubuntu desktop, then I suggest this alternative:

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 aptitude update
sudo aptitude install wicd

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Step 4: Try to connect to your wireless network using wicd

You can read more about wicd here: http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)

Regards,

Mark

Revision history for this message
Sam (cobbsm) said :
#4

Thanks Mark Rijckenberg, that solved my question.