Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Titicplusplus on August 02, 2021, 07:23:16 AM
-
Hi!
I installed Core Plus on an old pc with a wireless card.
When I run "wifi" on the tabbar or with sudo wifi.sh
, that print me nothing.
I try iwconfig
lo no wireless extension
dummy0 no wireless extension
tunl0 no wireless extension
eth0 no wireless extension
But when I run sudo lspci -vv
, I find my card:
05:04.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
Subsystem: Netgear WG311v2 802.11g Wireless PCI Adapter
With this tuto http://wiki.tinycorelinux.net/doku.php?id=wiki:setting_up_wifi (http://wiki.tinycorelinux.net/doku.php?id=wiki:setting_up_wifi)
I try modprobe -l grep ath
and I find ath9k.ko.gz
and ath5k.ko.gz
But when I run lsmod | grep ath
I have nothing :/
I am continue the research and I find this command modprobe ath_pci
But he says that don't find the ath_pci.
What I need do ?
Thank you in advance
-
As per this: https://wiki.debian.org/acx
..you need to compile the driver and download the firmware.
-
Hi Juanito,
I'm a little confused
I can't find the folder "/lib/firmware", I have to create it or just put all the files in "/lib/".
To compile the driver, I need the dkms command, but I don't find how to install it on core plus.
The computer doesn't have internet connection, I would to download the "compiletc.tcz" ( I think i can help me for the compilation) on another pc, but I don't find the a link, I just have this website : http://tinycorelinux.net/3.x/tcz/index_nojs.html (http://tinycorelinux.net/3.x/tcz/index_nojs.html)
Thank you in advance !
-
You can use /lib/firmware or /usr/local/lib/firmware.
dkms is a debian thing - in tinycore you need to prepare the kernel source with the tinycore kernel config using the compiletc, ncurses-dev, perl5, bc and elfutils-dev extensions.
The extensions for the most recent version of tinycore are at repo.tinycorelinux.net/12.x/x86/tcz
-
Hi! Juanito
I found an internet cable to install the *.tcz
But when I try to compile the driver :
make
I have this error :
*** /lib/modules/5.10.3-tinycore/build: No Susc file or direcoty. Stop
So I create folder build in /lib/modules/5.10.3-tinycore/.
But when I recompile, I have this error :
*** No rules to make target 'modules'. Stop
I saw that I needed "linux-kernel-sources-env.tcz".
So I tryed tce-load -iw linux-kernel-sources-env.tcz
like it : http://forum.tinycorelinux.net/index.php?topic=20827.0
.
But he don't find the package on internet.
So what I need to do ?
Thank you in advance !
-
/lib/modules/5.10.3-tinycore/build needs to be a symlink to wherever you unpacked the kernel source tarball, for example /usr/src/linux-5.10.3.
You don’t need linux-kernel-sources-env, you can prepare the kernel source manually.
-
see: http://tinycorelinux.net/9.x/x86_64/tcz/src/ndiswrapper/compile_ndiswrapper
..for an example of how to configure/prepare the kernel (the lines above "cd ndiswrapper-1.61")
-
Hi! Juanito
I understand nothing of this example : http://tinycorelinux.net/9.x/x86_64/tcz/src/ndiswrapper/compile_ndiswrapper (http://tinycorelinux.net/9.x/x86_64/tcz/src/ndiswrapper/compile_ndiswrapper). I never configure/prepare a kernel.
The fourth line:
make mrproper
make: *** No targets specified and no makefile found. Stop.
For this line: export KBUILD=
- I have to put the folder with all the source code like : export KBUILD=/home/tc/Downloads/acx100-acx-mac80211/
- Or the folder which are the folder acx100-acx-mac80211/ like export KBUILD=/home/tc/Downloads/
To create the symlink, I don't have the folder build. So I need to create it or there is another methods ?
Thank you in advance !
-
See attached
-
In fact the driver from git://git.code.sf.net/p/acx100/acx-mac80211 does not compile, presumably because it is so old.
-
Hi Juanoti
I tested yesterday the driver with core plus, today with sparkylinux, and yeah he doesn't compile.
I guess I will buy a wifi key.
Thanks for your help Juanito, tiny core is a very impressive and fast project !