Page 2 of 2

Re: Compile for new wifi module: build folder??

Posted: Thu Mar 11, 2021 9:55 am
by wiak
ozsouth wrote: Mon Mar 08, 2021 12:59 am

@ThruHammer - is not a typo - is my shortcut way of running it - instead of grep -i Network, I run grep etwork. Similar for firmware.

I often do the same to quickly catch cases where first letter small or capital


Re: Compile for new wifi module: build folder??

Posted: Fri Mar 12, 2021 1:02 am
by bigpup

I have not looked at what has been tried or provided.

I know for sure you will need the firmware in the Puppy version for the WIFI adapter.

If the Linux kernel does not already have the driver module built into the kernel. You will need to add that.
If this is very new hardware.
The module driver is probably not already in the 4.19.23 kernel.

So, you will need to install the correct firmware and driver module.

For realtek WIFI adapters
Firmware is in /lib/firmware/rtlwifi/
Driver module are in /lib/modules/4.19.23/kernel/drivers/net/wireless/realtek/rtlwifi (With a directory named for the driver and the driver inside it).

See if any of the info here will help you:
viewtopic.php?f=97&t=635


Re: Compile for new wifi module: build folder??

Posted: Sat Mar 13, 2021 1:48 am
by steeve
ozsouth wrote: Thu Mar 11, 2021 5:09 am

@ThruHammer - I've made & uploaded a .pet from your source. The source file was under the driver subfolder. Is quite different from my previous efforts & seems specific to steeve's adaptor.
@steeve - .pet apparently matching your adaptor's source is here (use at own risk): https://www.mediafire.com/file/3lw2gmpo ... 4.pet/file

Ok do i downloaded and installed the dwa-181 driver.. no detection.. attempt to load module results in pop up error message:

Code: Select all

modprobe: ERROR: could not insert 'DWA-181': Device or resource busy

Re: Compile for new wifi module: build folder??

Posted: Sat Mar 13, 2021 2:06 am
by steeve

Looking into getting the firmware as per @bigpup link:

the first step detecting the interface:

Code: Select all

root# lspci -nn | grep etwork
00:14.3 Network controller [0280]: Intel Corporation Device [8086:06f0]

so Linux isn't even 'seeing' the plugged in usb wifi dongle.
Let's see again if we can use the buit in laptop wireless chip:

Code: Select all

root# dmesg | grep irmware
Bluetooth: hci0: Minimum firmware build 1 week 10 2014
bluetooth hci0: Direct firmware load for intel/ibt-19-0-4.sfi failed with error -2
Bluetooth: hci0: Failed to load Intel firmware file (-2)
psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x0f5002)

ok not there so I googled Intel Corporation Device [8086:06f0]
but it is actually Killer AX500s DBS on the laptop

No linux driver exist for that so I go the DWA-181 dongle and did install the compiled .pet from @ozsouth .. once installed the DWA-181 shows up in the module list but when loaded, goves the error showed in my previous post

BOTTOM LINE: I need to compile it myself just to be sure

Code: Select all

root# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.23/build M=/root/Downloads/driver/rtl88x2BU_WiFi_linux_v5.8.7.1_35809.20191129_COEX20191120-7777  modules
make[1]: *** /lib/modules/4.19.23/build: No such file or directory.  Stop.
Makefile:2373: recipe for target 'modules' failed
make: *** [modules] Error 2


"I say we nuke the site from orbit, just to be sure" Hicks


Re: Compile for new wifi module: build folder??

Posted: Sat Mar 13, 2021 8:41 pm
by ThruHammer

steeve,

Your onboard device [8086:06f0] requires a kernel version of no less than 5.7.

As for your dongle, it's far easier to buy hardware that conforms to software rather than the other way around. MicroCenter and Amazon carry several compatible dongles for Puppy @ no more than $15 dollars US currency.

Let's see now... "A Ferrari that doesn't run vs. a Ford Focus that does?" Hmmm...


Re: Compile for new wifi module: build folder??

Posted: Sat Mar 13, 2021 9:17 pm
by steeve
ThruHammer wrote: Sat Mar 13, 2021 8:41 pm

steeve,

Your onboard device [8086:06f0] requires a kernel version of no less than 5.7.

As for your dongle, it's far easier to buy hardware that conforms to software rather than the other way around. MicroCenter and Amazon carry several compatible dongles for Puppy @ no more than $15 dollars US currency.

Let's see now... "A Ferrari that doesn't run vs. a Ford Focus that does?" Hmmm...

I understood that from the beginning which why I got the dongle. didn't buy the laptop to run Puppy. Now are you saying that the dongle also is too incompatible for Puppy?Can you point out which ones are 100% plug and play compatible with bionic64 Puppy?

I did pick a linux compatible dongle at first; Ill return it for this one
viewtopic.php?f=2&t=1052&p=7462&hilit=w ... azon#p7462


Re: Compile for new wifi module: build folder??

Posted: Sun Mar 14, 2021 12:01 am
by ThruHammer

Good find. Mike has listed a few he's found to run under various Pups.

BK and myself have found Panda nics sufficiently compatible.

https://www.amazon.com/review/R3KRHC90V83XI4

Asus, Netgear, Tenda & TP-Link offer Linux compatible devices as well.

You need to shop around as prices have changed.


Re: Compile for new wifi module: build folder??

Posted: Mon Mar 15, 2021 12:03 pm
by ozsouth

@steeve - I usually can solve these situations, but this one has me beat.
I have both tp-link wn725n & tp-link wn821n usb wireless adaptors, which work in many different puppies I've tried.
Bionicpup64 is 3 yrs old, so if you can find a tp-link of similar vintage, I would think it should work out of the box.


Re: Compile for new wifi module: build folder??

Posted: Fri Apr 02, 2021 12:44 pm
by steeve

Well the postscript is that I got it working with the more compatible Tp-Link Nano USB TL-WN725N... which works fine especially with my smartphone hotspot. My Modem router wireless signal is weak and due for an upgrade which may have been a contributing factor.

The module for the new TPlink is already in the BIonicPup64 distro: Realtek r8188eu