How do I compile a driver for my wifi?

Post Reply
Message
Author
rhubarbpie
Posts: 14
Joined: Thu 17 Jan 2013, 22:52
Location: Sioux Falls, SD USA

How do I compile a driver for my wifi?

#1 Post by rhubarbpie »

I've successfully installed slacko646.3.2 (frugal) but need a module for my wifi firmware.

I understand how to compile a kernel and install drivers with 'make modules-install.' However, I'm fuzzy on how to do so in Puppy..

I see huge-4.1.11-slacko64_2.tar.bze but it doesn't contain a kernel as I know it. This is probably covered in a thread I'm not seeing. Can someone direct me?

mostly_lurking
Posts: 328
Joined: Wed 25 Jun 2014, 20:31

#2 Post by mostly_lurking »

I have no experience in compiling drivers, so I can't give you the best advice, but I think you need two things:

1) The "devx" SFS package for your Puppy, if you haven't downloaded it already. It contains a C compiler and various other programming tools. You can get it here:
http://distro.ibiblio.org/puppylinux/pu ... -6.3.2/64/

2) Some kernel source. If your package manager doesn't offer it, you might find it here:
http://distro.ibiblio.org/puppylinux/
There are several kernel source and header packages in the 3 "pet_packages-slacko64..." directories, but I have no idea which one you need. Maybe someone else here can clarify this?

I would assume that Slacko64 has the "sfs-load" tool for loading those SFS files.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

First, to compile in any Puppy you need the kernel source sfs package and the devx sfs package for the Puppy version loaded.
The kernel source gives you stuff for the kernel.
The devx gives you the compiling tools/programs.

Slacko packages are here:
devx sfs package
http://distro.ibiblio.org/puppylinux/pu ... -6.3.2/64/

Kernel source
http://distro.ibiblio.org/puppylinux/pe ... cko6414.2/
Make sure to get the kernel source for the kernel being used.
(Pup-Sysinfo program can tell you info on what kernel you are using)

Download these sfs packages to /mnt/home
Load them by using SFS-Load-On-The-fly program.
After you get both sfs packages loaded, you should have compiling abilities you are familiar with.

Tell us what you need.

What is the specific wifi device?
Make and model?
Firmware name you think you need?

What happens when you try to setup a wifi connection?
Do you understand how to do it with Puppy connection programs?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply