Compile for new wifi module: build folder??

Moderator: Forum moderators

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

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

Post 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

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
bigpup
Moderator
Posts: 7002
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1531 times

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

Post 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

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

steeve
Posts: 28
Joined: Sun Sep 27, 2020 2:15 pm

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

Post 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
steeve
Posts: 28
Joined: Sun Sep 27, 2020 2:15 pm

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

Post 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

Last edited by steeve on Sat Mar 13, 2021 8:48 pm, edited 1 time in total.
User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

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

Post 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...

steeve
Posts: 28
Joined: Sun Sep 27, 2020 2:15 pm

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

Post 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

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

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

Post 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.

ozsouth
Posts: 1570
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

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

Post 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.

steeve
Posts: 28
Joined: Sun Sep 27, 2020 2:15 pm

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

Post 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

Post Reply

Return to “Drivers”