Results 1 to 5 of 5

Thread: AR9285 and RTL8102E/8103E

  1. #1
    Join Date
    Nov 2010
    Location
    Bath
    Beans
    8

    Angry AR9285 and RTL8102E/8103E

    Dear Helping Hands,

    I am actually not completely new to linux and did manage to setup my laptop and heiho I got it working, wow!however, since a recent update my driver's are kind of screwed really and I have lost all my motivation to try to sort this out again, so if someone on here is able to help me I'd be elated. PLEASE! PLEASE! PLEASE!

    The scenario:

    I am running ubuntu jaunty on a hp pavillion dv3 with the following hareware:

    ATHEROS AR9285 802.11 b/g Wifi Adapter (uses athrx.sys driver in vista) as well as
    REALTEK RTL 8102E/8103E FAMILY PCI-E FastEthernet NIS (uses rtlh64.sys and RtNicProp64.dll driver in vista).

    I first followed most hints I got in this forum as well as the GIT repositories for compat-wireless. I thought I got it working again as my NetworkManager pops up, is able to scan and see all the networks it is supposed to see. Also when I plug in an ethernet cable (like I do right now) I am able to be online. Now when I get back home and try to get connected to my neighbours wlan using a wpa encryption the Network manager tries to connect but the interface constantly comes back to me with entering the password again. No I did not use a wrong password here, I tried it like 20 times and it still would not do it so my whacky brain did manage to enter the right key, I'm sure about that. Funny is also that when I go over to my friends house and try his wireless that uses a wep encryption i manage to connect within seconds. Since I can't persuade the whole world to switch over to wep keys so I have to get this sorted as I also need this laptop for work.

    When I think of my limited linux understanding it is however a total mystery to me how I actually manage to connect at all, because none of my debugging outputs does make any sense to me. I have attached them to the bottom of this thread so please have a look and please please please enlighten me because right now it feels like i am sitting in front of an operating system i haven't seen before.

    Thanks for your help!

    Ubichinon

    And here is some debug info for my system:

    ubichinon@dagobert:~$ uname -a
    Linux dagobert 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux

    ubichinon@dagobert:~$ lspci -nnk | grep -i net -A2
    02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
    Kernel driver in use: ath9k
    Kernel modules: ath9k
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
    Kernel driver in use: r8101
    Kernel modules: r8101

    ubichinon@dagobert:~$ lsusb
    Bus 002 Device 003: ID 064e:a102 Suyin Corp.
    Bus 002 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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

    ubichinon@dagobert:~$ egrep -v "^$|^#" /etc/network/interfaces
    auto lo
    iface lo inet loopback

    ubichinon@dagobert:~$ egrep -v "^$|^#" /etc/resolv.conf
    domain chem.university.ac.uk
    search chem.university.ac.uk wireless.university.ac.uk
    nameserver IP1
    nameserver IP2
    nameserver IP3
    nameserver IP4

    ubichinon@dagobert:~$ egrep -v "^$|^#" /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 dagobert
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    ubichinon@dagobert:~$ cat /etc/udev/rules.d/70-persistent-net.rules
    # This file maintains persistent names for network interfaces.
    # See udev(7) for syntax.
    #
    # Entries are automatically added by the 75-persistent-net-generator.rules
    # file; however you are also free to add your own entries.

    # PCI device 0x10ec:0x8136 (r8169)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:23:5a:b7:a0:5e", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

    # PCI device 0x168c:0x002b (ath9k)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:5e:56:4b:43", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

    ubichinon@dagobert:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:23:5a:b7:a0:5e
    inet addr:152.78.199.91 Bcast:152.78.199.255 Mask:255.255.252.0
    inet6 addr: fe80::223:5aff:feb7:a05e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:83365 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8799 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:15530491 (15.5 MB) TX bytes:1477694 (1.4 MB)
    Interrupt:19 Base address:0xa000

    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:180 errors:0 dropped:0 overruns:0 frame:0
    TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:12792 (12.7 KB) TX bytes:12792 (12.7 KB)

    wlan0 Link encap:Ethernet HWaddr 00:26:5e:56:4b:43
    inet addr:152.78.101.4 Bcast:152.78.103.255 Mask:255.255.252.0
    inet6 addr: fec0::d:226:5eff:fe56:4b43/64 Scope:Site
    inet6 addr: 2002:984e:6703:d:226:5eff:fe56:4b43/64 Scope:Global
    inet6 addr: 2002:984e:64ac:b:226:5eff:fe56:4b43/64 Scope:Global
    inet6 addr: 2002:984e:9ffd:b:226:5eff:fe56:4b43/64 Scope:Global
    inet6 addr: 2002:984e:212c:b:226:5eff:fe56:4b43/64 Scope:Global
    inet6 addr: fec0::b:226:5eff:fe56:4b43/64 Scope:Site
    inet6 addr: 2002:984e:64fb:b:226:5eff:fe56:4b43/64 Scope:Global
    inet6 addr: fe80::226:5eff:fe56:4b43/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:363816 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2475 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:55934458 (55.9 MB) TX bytes:370477 (370.4 KB)


    ubichinon@dagobert:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    wlan0 IEEE 802.11bgn ESSID:"ISS"
    Mode:Managed Frequency:2.432 GHz Access Point: 00:23:33:C3:07:40
    Bit Rate=12 Mb/s Tx-Power=20 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Power Managementff
    Link Quality=22/70 Signal level=-88 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.



    ubichinon@dagobert:~$ iwlist chan
    lo no frequency information.

    eth0 no frequency information.

    wlan0 11 channels in total; available frequencies :
    Channel 01 : 2.412 GHz
    Channel 02 : 2.417 GHz
    Channel 03 : 2.422 GHz
    Channel 04 : 2.427 GHz
    Channel 05 : 2.432 GHz
    Channel 06 : 2.437 GHz
    Channel 07 : 2.442 GHz
    Channel 08 : 2.447 GHz
    Channel 09 : 2.452 GHz
    Channel 10 : 2.457 GHz
    Channel 11 : 2.462 GHz
    Current Frequency:2.432 GHz (Channel 5)

    pan0 no frequency information.

    ubichinon@dagobert:~$ lsmod
    Module Size Used by
    usbhid 42336 0
    i915 67844 2
    drm 96424 3 i915
    binfmt_misc 16776 1
    ppdev 15620 0
    bridge 56212 0
    stp 10500 1 bridge
    bnep 20224 2
    input_polldev 11912 0
    lp 17156 0
    parport 42220 2 ppdev,lp
    snd_hda_codec_intelhdmi 22276 1
    snd_hda_codec_idt 64392 1
    arc4 9856 2
    ecb 10752 2
    snd_hda_intel 38112 1
    snd_hda_codec 91136 3 snd_hda_codec_intelhdmi,snd_hda_codec_idt,snd_hda_ intel
    ath9k 82564 0
    ath9k_common 11648 1 ath9k
    mac80211 238768 2 ath9k,ath9k_common
    ath9k_hw 236944 2 ath9k,ath9k_common
    snd_hwdep 15492 1 snd_hda_codec
    snd_pcm_oss 53504 0
    snd_mixer_oss 23424 1 snd_pcm_oss
    ath 17024 2 ath9k,ath9k_hw
    snd_pcm 90628 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy 10884 0
    snd_seq_oss 40064 0
    cfg80211 150728 4 ath9k,ath9k_common,mac80211,ath
    snd_seq_midi 15232 0
    rfkill_backport 27576 1 cfg80211
    snd_rawmidi 31104 1 snd_seq_midi
    snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
    snd_seq 61488 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    uvcvideo 63368 0
    compat 13440 2 mac80211,cfg80211
    snd_timer 29960 2 snd_pcm,snd_seq
    snd_seq_device 15500 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    psmouse 61972 0
    compat_ioctl32 9344 1 uvcvideo
    snd 74692 18 snd_hda_codec_intelhdmi,snd_hda_codec_idt,snd_hda_ intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixe r_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_mi di,snd_rawmidi,snd_seq_midi_event,snd_seq,snd_time r,snd_seq_device
    soundcore 15200 1 snd
    intel_agp 34108 1
    videodev 41600 1 uvcvideo
    pcmcia_core 43540 1 compat
    serio_raw 13444 0
    pcspkr 10496 0
    snd_page_alloc 17032 2 snd_hda_intel,snd_pcm
    agpgart 42696 3 drm,intel_agp
    iTCO_wdt 19108 0
    iTCO_vendor_support 11652 1 iTCO_wdt
    v4l1_compat 21764 2 uvcvideo,videodev
    r8101 80016 0
    joydev 18368 0
    leds_hp_disk 10756 0
    led_class 12036 2 ath9k,leds_hp_disk
    video 25872 0
    output 11008 1 video
    lis3lv02d 17848 0
    usb_storage 99648 0
    fbcon 46112 0
    tileblit 10752 1 fbcon
    font 16384 1 fbcon
    bitblit 13824 1 fbcon
    softcursor 9984 1 bitblit

    ubichinon@dagobert:~$ dmesg | egrep 'net|eth|sky|sis|via|3c3|3c5|e100|8139|8169|acx|ai r|ath|ar91|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt6| rt7|tg3|ssb|wl|b43|b44|ori|pri|p5|zd|ndis'
    [ 0.436164] net_namespace: 776 bytes
    [ 1.762224] audit: initializing netlink socket (disabled)
    [ 2.900078] thermal LNXTHERM:01: registered as thermal_zone0
    [ 2.929012] ACPI: Thermal Zone [THRM] (30 C)
    [ 3.297560] Driver 'sd' needs updating - please use bus_type methods
    [ 3.297568] Driver 'sr' needs updating - please use bus_type methods
    [ 4.876328] device-mapper: multipath: version 1.0.5 loaded
    [ 4.876330] device-mapper: multipath round-robin: version 1.0.0 loaded
    [ 12.951190] r8101 Fast Ethernet driver 1.019.00-NAPI loaded
    [ 12.951229] r8101 0000:03:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    [ 12.951318] r8101 0000:03:00.0: setting latency timer to 64
    [ 12.951949] r8101: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
    [ 12.951952] eth0: Identified chip type is 'RTL8103E'.
    [ 12.951954] eth0: RTL8101E at 0xf7ce8000, 00:23:5a:b7:a0:5e, IRQ 19
    [ 12.973574] r8101 Copyright (C) 2010 Realtek NIC software team <nicfae@realtek.com>
    [ 14.392978] ath9k 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [ 14.393000] ath9k 0000:02:00.0: setting latency timer to 64
    [ 14.444134] ath: EEPROM regdomain: 0x69
    [ 14.444136] ath: EEPROM indicates we should expect a direct regpair map
    [ 14.444139] ath: Country alpha2 being used: 00
    [ 14.444140] ath: Regpair used: 0x69
    [ 14.503728] phy0: Selected rate control algorithm 'ath9k_rate_control'
    [ 14.504388] Registered led device: ath9k-phy0::radio
    [ 14.504404] Registered led device: ath9k-phy0::assoc
    [ 14.504418] Registered led device: ath9k-phy0::tx
    [ 14.504431] Registered led device: ath9k-phy0::rx
    [ 14.840526] Adding 1975952k swap on /dev/sda7. Priority:-1 extents:1 across:1975952k
    [ 19.096551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 23.382077] r8101: eth0: link up
    [ 23.414824] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 33.968038] eth0: no IPv6 routers present
    [ 53.899011] wlan0: deauthenticating from f57a5228 by local choice (reason=3)
    [ 53.931093] wlan0: authenticate with f4bf31a8 (try 1)
    [ 53.932762] wlan0: authenticated
    [ 53.947991] wlan0: associate with f4bf3128 (try 1)
    [ 53.967695] wlan0: RX AssocResp from f5ed808a (capab=0x421 status=0 aid=2)
    [ 53.967699] wlan0: associated
    [ 53.969288] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

  2. #2
    Join Date
    Nov 2008
    Beans
    555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: AR9285 and RTL8102E/8103E

    It's a passwd bug in this distro. I recommend upgrade to 10.04 and NOT 10.10

  3. #3
    Join Date
    Nov 2010
    Location
    Bath
    Beans
    8

    Re: AR9285 and RTL8102E/8103E

    Thanks for your quick reply! Do you know if that would work out of the box? Because I came across this post

    http://dimitar.me/how-to-enable-the-...u-lucid-10-04/

    which suggest it is going to be the same messy business again. I have to if there is really NO other option but I'd rather not if there is a solution to this.

  4. #4
    Join Date
    Nov 2008
    Beans
    555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: AR9285 and RTL8102E/8103E

    When I had 9.04 and 9.10 distros there were a lot of postings on this issue.
    Keeps asking for the password all the time. But perhaps you could find a thread solving the problem. 10.04 Lucid Lynx have problems, but not so many, but you have no guaranty it solve the problem. 10.10 have more problems than 10.04.

  5. #5
    Join Date
    Nov 2010
    Location
    Bath
    Beans
    8

    Re: AR9285 and RTL8102E/8103E

    Hi!

    I did it and am now running 10.04 , unfortunately, and i end up with almost the same issue as before

    here is some debug:
    Attached Files Attached Files
    Last edited by ubichinon; November 18th, 2010 at 01:21 PM.

Bookmarks

Posting Permissions

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