WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wi-fi adapter not working in tiny core  (Read 5612 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
wi-fi adapter not working in tiny core
« on: August 17, 2013, 04:09:05 AM »
I have NETGEAR WNA 1100 wireless-n 150 USB adaptor which works fine in backtrack5.
In tiny core dmesg says
Code: [Select]
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
Code: [Select]
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 ?
« Last Edit: August 17, 2013, 04:12:28 AM by manit123 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: wi-fi adapter not working in tiny core
« Reply #1 on: August 17, 2013, 04:40:22 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: wi-fi adapter not working in tiny core
« Reply #2 on: August 17, 2013, 04:48:35 AM »
This time I used coreplus iso
Here is the dmesg log
I do not get any device in airmon-ng output.


Offline Gawron

  • Newbie
  • *
  • Posts: 11
Re: wi-fi adapter not working in tiny core
« Reply #4 on: October 30, 2013, 08:31:45 AM »
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
Code: [Select]
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.
« Last Edit: October 30, 2013, 12:02:26 PM by Gawron »

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: wi-fi adapter not working in tiny core
« Reply #5 on: November 26, 2013, 09:06:27 AM »
Code: [Select]
$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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: wi-fi adapter not working in tiny core
« Reply #6 on: November 26, 2013, 11:23:14 AM »
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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: wi-fi adapter not working in tiny core
« Reply #7 on: November 26, 2013, 03:36:59 PM »
Quote
sudo ifconfig wlan0 up
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: wi-fi adapter not working in tiny core
« Reply #8 on: November 27, 2013, 12:50:48 AM »
that helped
Code: [Select]
$ 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