WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No Wireless extension on iwconfig  (Read 6382 times)

Offline Titicplusplus

  • Newbie
  • *
  • Posts: 5
No Wireless extension on iwconfig
« 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
Code: [Select]
sudo wifi.sh, that print me nothing.

I try
Code: [Select]
iwconfig
Code: [Select]
lo                    no wireless extension

dummy0         no wireless extension

tunl0               no wireless extension

eth0                no wireless extension

But when I run
Code: [Select]
sudo lspci -vv, I find my card:
Code: [Select]
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
I try
Code: [Select]
modprobe -l grep ath and I find
Code: [Select]
ath9k.ko.gz and
Code: [Select]
ath5k.ko.gz
But when I run
Code: [Select]
lsmod | grep athI have nothing :/

I am continue the research and I find this command
Code: [Select]
modprobe ath_pci
But he says that don't find the ath_pci.

What I need do ?
Thank you in advance

« Last Edit: October 27, 2022, 10:04:24 PM by Rich »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #1 on: August 02, 2021, 08:10:59 AM »
As per this: https://wiki.debian.org/acx

..you need to compile the driver and download the firmware.
« Last Edit: August 02, 2021, 08:15:57 AM by Juanito »

Offline Titicplusplus

  • Newbie
  • *
  • Posts: 5
Re: No Wireless extension on iwconfig
« Reply #2 on: August 02, 2021, 09:24:12 AM »
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

Thank you in advance !

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #3 on: August 02, 2021, 12:26:21 PM »
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
« Last Edit: August 02, 2021, 12:28:15 PM by Juanito »

Offline Titicplusplus

  • Newbie
  • *
  • Posts: 5
Re: No Wireless extension on iwconfig
« Reply #4 on: August 05, 2021, 05:25:01 AM »
Hi! Juanito

I found an internet cable to install the *.tcz

But when I try to compile the driver :

Code: [Select]
make
I have this error :
Code: [Select]
*** /lib/modules/5.10.3-tinycore/build: No Susc file or direcoty. StopSo I create folder build in /lib/modules/5.10.3-tinycore/.

But when I recompile, I have this error :
Code: [Select]
*** No rules to make target 'modules'. Stop
I saw that I needed "linux-kernel-sources-env.tcz".
So I tryed
Code: [Select]
tce-load -iw linux-kernel-sources-env.tcz like it :
Code: [Select]
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 !

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #5 on: August 05, 2021, 10:22:01 AM »
/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.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #6 on: August 05, 2021, 11:17:06 AM »
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")
« Last Edit: August 05, 2021, 11:42:34 AM by Juanito »

Offline Titicplusplus

  • Newbie
  • *
  • Posts: 5
Re: No Wireless extension on iwconfig
« Reply #7 on: August 06, 2021, 09:37:52 AM »
Hi! Juanito

I understand nothing of this example : http://tinycorelinux.net/9.x/x86_64/tcz/src/ndiswrapper/compile_ndiswrapper. I never configure/prepare  a kernel.

The fourth line:
Code: [Select]
make mrproper
make: *** No targets specified and no makefile found. Stop.

For this line:
Code: [Select]
export KBUILD=               - I have to put the folder with all the source code like :
Code: [Select]
export KBUILD=/home/tc/Downloads/acx100-acx-mac80211/               - Or the folder which are the folder acx100-acx-mac80211/ like 
Code: [Select]
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 !




Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #8 on: August 06, 2021, 10:27:28 AM »
See attached

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14787
Re: No Wireless extension on iwconfig
« Reply #9 on: August 07, 2021, 10:11:04 AM »
In fact the driver from git://git.code.sf.net/p/acx100/acx-mac80211 does not compile, presumably because it is so old.

Offline Titicplusplus

  • Newbie
  • *
  • Posts: 5
Re: No Wireless extension on iwconfig
« Reply #10 on: August 09, 2021, 02:07:59 PM »
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 !