This is the old SliTaz forum - Please use the main forum.slitaz.org

Problems with WIFI USB card TL-WN422g v2
  • DomnikDomnik August 2010
    I have problems to configure my TL-WN422G v2 wifi card under Slitaz 3.0. I have compiled latest compat wireless (ath9k_htc) driver (tried also older versions with similar resoluts). Auto detect devices finds module ath9k_htc. Firmware ar9271.fw is also installed in /lib/firmware. The problem is to find network, my wireless manager don't find any networks. Can you help me, please?

    ps. i tried also ndiswrapper but without any success.


    -----------------iwconfig finds:--------------------

    wlan1 IEEE 802.11bgn Mode:Managed Access Point: Not-Associated
    Tx-Power=0 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off

    ------------after ifconfig wlan1 up:--------------


    wlan1 Link encap:Ethernet HWaddr D8:5D:4C:8C:BA:3B
    UP BROADCAST MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



    ----------------------dmesg returns:--------------------

    Aug 16 12:13:42 (none) user.info kernel: Compat-wireless backport release: compat-wireless-2010-08-03-4-g7746bc0
    Aug 16 12:13:42 (none) user.info kernel: Backport based on linux-next.git next-20100811
    Aug 16 12:13:42 (none) user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
    Aug 16 12:13:42 (none) user.warn kernel: zd1211rw: Unknown symbol ieee80211_beacon_get
    Aug 16 12:13:42 (none) user.info kernel: usb 1-6: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
    Aug 16 12:13:43 (none) user.info kernel: usb 1-6: ath9k_htc: HTC initialized with 33 credits
    Aug 16 12:13:44 (none) user.debug kernel: ath: EEPROM regdomain: 0x809c
    Aug 16 12:13:44 (none) user.debug kernel: ath: EEPROM indicates we should expect a country code
    Aug 16 12:13:44 (none) user.debug kernel: ath: doing EEPROM country->regdmn map search
    Aug 16 12:13:44 (none) user.debug kernel: ath: country maps to regdmn code: 0x52
    Aug 16 12:13:44 (none) user.debug kernel: ath: Country alpha2 being used: CN
    Aug 16 12:13:44 (none) user.debug kernel: ath: Regpair used: 0x52
    Aug 16 12:13:44 (none) user.info kernel: cfg80211: Calling CRDA for country: CN
    Aug 16 12:13:44 (none) user.info kernel: Registered led device: ath9k-phy0::radio
    Aug 16 12:13:44 (none) user.info kernel: Registered led device: ath9k-phy0::assoc
    Aug 16 12:13:44 (none) user.info kernel: Registered led device: ath9k-phy0::tx
    Aug 16 12:13:44 (none) user.info kernel: Registered led device: ath9k-phy0::rx
    Aug 16 12:13:44 (none) user.info kernel: usb 1-6: ath9k_htc: USB layer initialized
    Aug 16 12:13:44 (none) user.info kernel: udev: renamed network interface wlan0 to wlan1
    Aug 16 12:13:44 (none) user.info kernel: usbcore: registered new interface driver ath9k_hif_usb
    Aug 16 12:13:45 (none) user.info kernel: Adding 1020116k swap on /dev/sda2. Priority:-1 extents:1 across:1020116k
    Aug 16 12:13:45 (none) user.info kernel: r8169: eth0: link down
    Aug 16 12:13:45 (none) user.notice kernel: scsi 2:0:0:0: CD-ROM TSSTcorp CDDVDW SE-T084M TD00 PQ: 0 ANSI: 0
    Aug 16 12:13:45 (none) user.emerg kernel: sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
  • mojomojo August 2010
    See if this shows your wireless router/access point
    iwlist wlan1 scanning

    Why is wireless module zd1211rw loading ?
    Aug 16 12:13:42 (none) user.warn kernel: zd1211rw: Unknown symbol ieee80211_beacon_get
    What wireless device is registered as wlan0 ?
    Edit /etc/network.conf if wlan0 change wlan0 -> wlan1

    Please post lspci and lsusb output if you need further assistance.
  • DomnikDomnik August 2010
    Thanks for reply

    I have 2 wifi cards: TP-WN422G v1, which uses zd1211rw module and TP-WN422G v2 which i try to lunch. TP-WN422G v1 was recognized as wlan0 and worked perfectly. The problem is i have to setup slitaz to work with TP-WN422G v2 on 20 computers (20 TP-WN422G v2 cards are already bought, so i cannot use the older, working one :( )

    iwlist wlan 1 scanning returns:
    ---------------------------------------------------

    wlan1 Scan completed :
    Cell 01 - Address: 00:01:E3:41:9A:6F
    Channel:6
    Frequency:2.437 GHz (Channel 6)
    Quality=20/70 Signal level=-90 dBm
    Encryption key:off
    ESSID:"Net"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
    Mode:Master
    Extra:tsf=0000001b24d2856e
    Extra: Last beacon: 627ms ago
    IE: Unknown: 00034E6574
    IE: Unknown: 010482848B96
    IE: Unknown: 030106
    IE: Unknown: DD06001018010000
    Cell 02 - Address: 00:21:27:E5:AF:A9
    Channel:6
    Frequency:2.437 GHz (Channel 6)
    Quality=44/70 Signal level=-66 dBm
    Encryption key:off
    ESSID:"TP-LINK"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
    11 Mb/s; 12 Mb/s; 18 Mb/s
    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=0000001b2f4969fc
    Extra: Last beacon: 1233ms ago
    IE: Unknown: 000754502D4C494E4B
    IE: Unknown: 010882848B0C12961824
    IE: Unknown: 030106
    IE: Unknown: 2A0102
    IE: Unknown: 32043048606C
    IE: Unknown: DD0900037F01010008FF7F
    IE: Unknown: DD1A00037F0301000000002127E5AFA9062127E5AFA964002C010808

    --------------------------------------------
    TP-LINK is my network i want to connect to, so it's detected :) But how to connect with it?

    lspci returns
    ---------------------------------
    00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
    00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
    00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
    00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
    00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
    00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
    00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
    00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
    00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
    00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
    00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
    01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
    ------------------------------------------
    I dont have installed usbutils, so lsusb dont work now, i will try to install it and post result if it can help.


  • mojomojo August 2010
    You should be able to connect with TP-WN422G v2 by editing /etc/network.conf as I described above and not removing either adapter or unplugging the TP-WN422G v1, which uses zd1211rw module and reboot.This would make TP-WN422G v2 become wlan0 since it is now the only wireless adapter. Add ath9k_htc to LOAD_MODULES= of /etc/rcS.conf to autoload on boot if necessary.
  • DomnikDomnik August 2010
    I have changed network.conf to wlan1. I have tried to use also network.conf from TL-WN422G v1 card, with wlan0 and wlan1. But when i do /etc/init.d/network.sh restart - i have:

    wlan1 is not a wifi interface, changing it.
    Configuring ...ifconfig: up: error fetching interface information: Device not found


    And no internet connection :/
  • DomnikDomnik August 2010
    SOLVED :):):)

    I have deleted "#confirm if $WIFI_INTERFACE is the wifi interface" section form /etc/init.d network.sh and after restart it works!

    Thanks for support
  • kultexkultex August 2010
    which os do you have on the tplink - ddwrt?

    it reminds me to a thread (I am sorry german, but google could translate) with the ath9k driver - the result was, that wpa_supplicant must be >= 6.9

    there are also this starnge errors

    IE: Unknown: 000664642D777274
    IE: Unknown: 010882848B960C121824
    IE: Unknown: 03010D

    http://lin2go.com/forum/index.php/topic,642.0.html

    EDIT: good you solved it - my post was to late....

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social