I have a really nice minimalist install of Antix linux on my old 32 bit laptop.
It only has a CLI… no WM and no DE.
How do I setup Wifi so I can add some software?
Tried several site’s advice. They all failed.
Then
I found this
The recipe that I evolved from following the above site is
#make sure the driver module is loaded
lsmod
# load it if not
modprobe ath5k
# kill any running wpa_supplicant
ps ax | grep wpa
kill 832
#bring the interface up
ip link set wlan0 down
ip link set wlan0 up
#authorize the link
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/spa_supplicant.conf -Dnl80211,wext
#setup dhcp
dhclient wlan0
All the utilities used here were present in a minimal install from a CD.
The above assumes one has setup wpa_supplicant.conf.
Go to /etc/wpa_supplicant
and create the file wpa_supplicant.conf containing
network{
ssid=" your wifi id"
psk="your key"
}
before you start.
This is obviously only one of several ways to do it. The above assumes WPA authorization. Only merit is, it worked for me.
When I was running Gentoo (no GUI) on one of my spare laptops - I was using nmtui (network manager text user interface) to connect to wifi. **
I’ve also use “nmcli” on Debian (mostly Jessie) systems… it works quite well - and writes a wpa_supplicant file…
** it still has Gentoo on it - but I never boot it… I hardly ever even power up that laptop - it’s multiple boot - has Windows 10, Ubuntu 23.04, Gentoo (and something else I don’t remember).
Thanks, I did not know it existed.
I played with NetworkManager via nmcli. Got nowhere.
That is my fault, it should do it.
I could not even get the daemon to start… I forgot to mention I am using Antix with runit init system. It is configured differently to Void/runit… I have yet to master it.
When I get a graphics system going , I will be able to use the Antix gui for runit… that is easy.
Yes I have the wpa_gui, could never enter anything, so gave up and emerged NetworkManager and the nm-applet!!! Will store your files away!!!
Is the -B -Dwext -iwlp0s20u9 -C different for each machine?