Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: manit123 on August 17, 2013, 01:09:05 AM
-
I have NETGEAR WNA 1100 wireless-n 150 USB adaptor which works fine in backtrack5.
In tiny core dmesg says
r8169 0000:05:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168e-2.fw (-2)
r8169 0000:05:00.0: eth0: link down
oss_hdaudio 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
usbcore: registered new interface driver oss_usb
mtrr: type mismatch for e0000000,4000000 old: write-back new: write-combining
mtrr: no MTRR for e0000000,4000000 found
mtrr: type mismatch for e0000000,4000000 old: write-back new: write-combining
r8169 0000:05:00.0: eth0: link up
usb 2-1.2: new high speed USB device number 4 using ehci_hcd
cfg80211: Calling CRDA to update world regulatory domain
usb 2-1.2: ath9k_htc: Firmware - htc_9271.fw not found
ath9k_htc: probe of 2-1.2:1.0 failed with error -22
usbcore: registered new interface driver ath9k_htc
I also have WNA1000M N150 wi-fi USB adaptor whose log is
usb 2-1.2: new high speed USB device number 6 using ehci_hcd
rtl8192cu: MAC address: 10:0d:7f:bd:2d:b5
rtl8192cu: Board Type 0
rtl8192cu:rtl92cu_init_sw_vars():<0-0> Failed to request firmware!
rtlwifi:rtl_usb_probe():<0-0> Can't init_sw_vars.
usbcore: registered new interface driver rtl8192cu
What can i do ?
-
They're both quite clear, you need to install firmware. Only the previous message gave you a filename though, so you'll need to google for the latter.
Use the provides search to see which extension contains htc_9271.fw.
-
This time I used coreplus iso
Here is the dmesg log
I do not get any device in airmon-ng output.
-
to add
I tried to compile from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#2772
No success.
-
Hi manit123
I have tp-link card with Atheros chip, that uses the same module as Yours NETGEAR WNA 1100 wireless-n 150 USB (ath9k_htc). The firmware for this module htc_9271.fw is on Debian backports repository
http://packages.debian.org/wheezy-backports/all/firmware-atheros/download
You can extract Debian package with ar vx and then data.tar.xz with tar xpvf. htc_9271.fw file will be in extracted lib/firmware folder. Copy it to Your /lib/firmware folder or make an extension with this firmware file. On my computer this firmware works excellent with ath9k_htc kernel module.
Here is my dmesg output
usbhid: USB HID core driver
usb 1-2: new high speed USB device number 2 using ehci_hcd
usb 1-2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
usb 1-2: ath9k_htc: USB layer initialized
usbcore: registered new interface driver ath9k_htc
This firmware is also on Tiny Core package firmware.tcz, that I don’t use because it contains nearly all firmware and weights 3,02 MB. htc_9271.fw alone only 50.1K.
firmware.tcz has rtl8192cufw.bin firmware file inside, that you need for the second card, or you can try with Debian's firmware-realtek http://packages.debian.org/wheezy-backports/firmware-realtek the same way as in my previous description. I think you don’t need to compile realtek driver, because the kernel has already module for this card build in. It only needs firmware.
Good luck.
-
$tce-load -i firmware.tcz wireless_tools.tcz
$ iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo Interface doesn't support scanning.
$ iwlist scanning
dummy0 Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Failed to read scan data : Network is down
Sorry for my late reply.
Now , what ?
-
Hi manit123
I don't know if simply loading the firmware extension is enough to trigger the boards to load their firmware files. Try
adding firmware.tcz to your onboot.lst file and rebooting, then check dmesg again.
-
sudo ifconfig wlan0 up
-
that helped
$ sudo iwlist scanning
lo Interface doesn't support scanning.
dummy0 Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:0D:F0:3F:82:B5
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=49/70 Signal level=-61 dBm
Encryption key:on
ESSID:"AJMER_WIFI"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000001075256e154
Extra: Last beacon: 416ms ago
IE: Unknown: 000A414A4D45525F57494649
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 2A0104
IE: Unknown: 32040C183060
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 0B0501000D127A
IE: Unknown: DD07000C4300000000
IE: Unknown: 0706545720010E10
Cell 02 - Address: 00:26:5A:C7:A5:11
Channel:7
Frequency:2.442 GHz (Channel 7)
Quality=46/70 Signal level=-64 dBm
Encryption key:on
ESSID:"sanjay"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000029d3ce7180
Extra: Last beacon: 773ms ago
IE: Unknown: 000673616E6A6179
IE: Unknown: 010482848B96
IE: Unknown: 030107
IE: Unknown: 2A0100
IE: Unknown: 32080C1218243048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1607001B0000000F000000000000000000000000000000
IE: Unknown: DD1E00904C336C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C340700030000000F000000000000000000000000000000
IE: Unknown: DD7F0050F204104A0001101044000102103B0001031047001052322FEA39233E64B3CB3F10DBD7A2221021000E442D4C696E6B2053797374656D73102300074449522D363535102400024134104200046E6F6E651054000800060050F204000110110017587472656D65204E204749474142495420526F75746572100800020084
Cell 03 - Address: 00:0D:F0:24:33:20
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=49/70 Signal level=-61 dBm
Encryption key:on
ESSID:"lab2"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000ed252e159
Extra: Last beacon: 423ms ago
IE: Unknown: 00046C616232
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 32040C183060
IE: Unknown: 0706545720010E14
IE: Unknown: 33082001020304050607
IE: Unknown: 33082105060708090A0B
IE: Unknown: 050400010000
IE: Unknown: 2A0104
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 0B05010010127A
IE: Unknown: DD07000C4300000000
Cell 04 - Address: 00:26:5A:C7:A3:5B
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=36/70 Signal level=-74 dBm
Encryption key:on
ESSID:"GPONHSI"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000001432bd6180
Extra: Last beacon: 1546ms ago
IE: Unknown: 000747504F4E485349
IE: Unknown: 010482848B96
IE: Unknown: 030101
IE: Unknown: 2A0102
IE: Unknown: 32088C129824B048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 2D1A4E101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D160105190000000F000000000000000000000000000000
IE: Unknown: DD1E00904C336E101BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C340105010000000F000000000000000000000000000000
IE: Unknown: DD7F0050F204104A0001101044000102103B0001031047001022DBB830BADA3586A657ACF3A033B91A1021000E442D4C696E6B2053797374656D73102300074449522D363535102400024134104200046E6F6E651054000800060050F204000110110017587472656D65204E204749474142495420526F75746572100800020084
Cell 05 - Address: C0:3F:0E:77:9A:16
Channel:2
Frequency:2.417 GHz (Channel 2)
Quality=23/70 Signal level=-87 dBm
Encryption key:off
ESSID:"NETGEAR"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 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=0000001385052cc1
Extra: Last beacon: 1473ms ago
IE: Unknown: 00074E455447454152
IE: Unknown: 010882848B960C121824
IE: Unknown: 030102
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C33CC111BFFFF000000000000000000000000000000000000000000
IE: Unknown: 2D1ACC111BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3402080800000000000000000000000000000000000000
IE: Unknown: 3D1602080800000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010002004000
IE: Unknown: DD840050F204104A0001101044000101103B0001031047001000000000000010000000C03F0E779A161021000D4E6574676561722C20496E632E10230008574E4452333730301024000456314831104200046E6F6E651054000800060050F204000110110015574E44523337303028576972656C65737320415029100800020086103C000103
Cell 06 - Address: 00:02:96:03:07:03
Channel:5
Frequency:2.432 GHz (Channel 5)
Quality=21/70 Signal level=-89 dBm
Encryption key:on
ESSID:"sdcn_1_s"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000284cca7df8
Extra: Last beacon: 1220ms ago
IE: Unknown: 00087364636E5F315F73
IE: Unknown: 010482840B16
IE: Unknown: 030105
IE: Unknown: 070A555320010B1E010B1E00
IE: Unknown: 2A0100
IE: Unknown: 32088C129824B048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: Unknown: DD050010910400
Cell 07 - Address: E0:91:F5:6A:82:5E
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=34/70 Signal level=-76 dBm
Encryption key:off
ESSID:"NETGEAR"
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
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000e7fea0194
Extra: Last beacon: 1026ms ago
IE: Unknown: 00074E455447454152
IE: Unknown: 010882840B162430486C
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32040C121860
IE: Unknown: 2D1A6C181BFF00000000000000000000000000000000000000000000
IE: Unknown: 3D1606080000000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD7F0050F204104A00011010440001011041000100103B000103104700109A277D2327B5A0D1BE24D4C4F8F44B0B1021000D4E4554474541522C20496E632E10230009574752363134763130102400095747523631347631301042000538333235381054000800060050F204000110110009574752363134763130100800020084
IE: Unknown: DD090010180200F0050000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C336C181BFF00000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000
Cell 08 - Address: 00:80:48:78:6A:3F
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=49/70 Signal level=-61 dBm
Encryption key:on
ESSID:"CDOT-GPON"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 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=00000109d2007d80
Extra: Last beacon: 393ms ago
IE: Unknown: 000943444F542D47504F4E
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010B
IE: Unknown: 070A494E20010B1B0C031600
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: 2D1A0C001BFFFF000000000000000000000100000000000000000000
IE: Unknown: 3D160B000000000000000000000000000000000000000000
IE: Unknown: DD180050F2020101000003A4000027A4000052435D0072322E00