WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wifi firmware  (Read 2752 times)

Offline atmos

  • Newbie
  • *
  • Posts: 4
wifi firmware
« on: September 11, 2016, 06:34:50 AM »
Hi,

Trying to get my pci WiFi card working. Its not found with iwconfig and dmesg shows the following...

Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2

I've found the firmware file in debian package and used deb2tcz and added it to onload but I still get the same.

I've downloaded the firmware file on its own but tbh I don't know what to do with it.

Appreciate any help,  thanks.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: wifi firmware
« Reply #1 on: September 11, 2016, 06:47:31 AM »
If you use the "provides" function of the "apps" gui, you'll find that rtl8168g-2.fw is provided by the firmware-rtl_nic extension.

Load that extension first and then load the wifi extension and you should be good to go.

Offline atmos

  • Newbie
  • *
  • Posts: 4
Re: wifi firmware
« Reply #2 on: September 12, 2016, 08:39:53 AM »
Hi, thanks for the reply.

I've got firmware-rtl_nic followed by wireless-4.2.9-tinycore64 in onboot and get the same error.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: wifi firmware
« Reply #3 on: September 12, 2016, 09:47:12 AM »
You need to ensure the firmware extension is loaded before the wireless-KERNEL extension.

Remove them both from oneboot.lst, reboot and load them manually to test.

Offline atmos

  • Newbie
  • *
  • Posts: 4
Re: wifi firmware
« Reply #4 on: September 13, 2016, 08:03:05 AM »
I've removed them both and loaded them manually in the order you suggest and I'm still getting exactly the same response.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: wifi firmware
« Reply #5 on: September 13, 2016, 01:36:38 PM »
After loading them both manually, can you paste the output from "lsmod" and the last ten lines of "dmesg" here?

Offline atmos

  • Newbie
  • *
  • Posts: 4
Re: wifi firmware
« Reply #6 on: September 14, 2016, 04:38:04 PM »
LSMOD:

Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: P 
cpufreq_stats          12288  0
cpufreq_conservative    12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
wl                   6025216  0
serio_raw              12288  0
cfg80211              135168  1 wl
squashfs               24576 128
lz4_decompress         12288  1 squashfs
loop                   16384 256
ppdev                  12288  0
pcspkr                 12288  0
8250_fintek            12288  0
parport_pc             24576  0
parport                28672  2 ppdev,parport_pc
wmi                    12288  0
xhci_pci               12288  0
xhci_hcd               73728  1 xhci_pci
r8169                  49152  0
acpi_cpufreq           12288  0
mii                    12288  1 r8169
tc@box:~$

DMESG:

Code: [Select]
EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
scsi 6:0:0:0: Direct-Access     Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: Attached scsi generic sg1 type 0
sd 6:0:0:0: [sdb] 2015232 512-byte logical blocks: (1.03 GB/984 MiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 6:0:0:0: [sdb] No Caching mode page found
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb:
sd 6:0:0:0: [sdb] Attached SCSI removable disk
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
scsi 7:0:0:0: Direct-Access     Mass     Storage Device        PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdc] Attached SCSI removable disk
clocksource: Switched to clocksource tsc
floppy0: no floppy controllers found
random: nonblocking pool is initialized
EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
wl: module license 'MIXED/Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
floppy0: no floppy controllers found
mtrr: base or size exceeds the MTRR width
floppy0: no floppy controllers found
work still pending
floppy0: no floppy controllers found
r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
r8169 0000:03:00.0: Falling back to user helper
r8169 0000:03:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168g-2.fw (-11)
r8169 0000:03:00.0 eth0: link down
r8169 0000:03:00.0 eth0: link down
r8169 0000:03:00.0 eth0: link up

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: wifi firmware
« Reply #7 on: September 14, 2016, 06:56:55 PM »
Just my quick observation.. 

wl module is already loaded and running

I don't think you can load two wifi devices simultaneously.. 

r8169 is an nic (Ethernet) device right not a wifi device ??

Besides, both r8169 (Ethernet) and wl (wifi)  modules are already loaded

:p