Damn Small Linux Forums
Wifi does not connect - Printable Version

+- Damn Small Linux Forums (https://damnsmalllinux.org/forums)
+-- Forum: Damn Small Linux Forum (https://damnsmalllinux.org/forums/forum-1.html)
+--- Forum: User Feedback (https://damnsmalllinux.org/forums/forum-2.html)
+--- Thread: Wifi does not connect (/thread-14.html)



Wifi does not connect - Pet3M0ss - 02-03-2024

I'm not a virtual machine type of user and wifi works fine for LinuxMint and Tails (live) on my PC.   With DSL booting fine into Legacy mode, the wifi is an issue.

ConnMan window shows ethernet and wifi "on" but not connected.  Tried typing in my home network, router address, router password, etc. into various buttons but no joy.  Iwconfig command shows the wifi available.  Did ConnMan search and got a techie avalanche.  You can assume all the home network wifi is working on a variety of operating systems. Need a walk-through how to understand the ConnMan UI in terms a lazy Slackware refugee can understand Undecided


RE: Wifi does not connect - John - 02-03-2024

You could try to set up wireless manually.

Check Wireless Interfaces:
iwconfig

Check if Wireless Interface is Up:
sudo ifconfig wlan0 up

Scan for Available Networks:
sudo iwlist wlan0 scan

Create a Configuration File for the Network:
sudo (nano or vim) /etc/wpa_supplicant.conf

network={
ssid="your_ssid"
psk="your_password"
}

Connect to the Wireless Network:
sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf

Run the following command to request an IP address from the DHCP server:
sudo dhclient wlan0


RE: Wifi does not connect - Pet3M0ss - 02-06-2024

Results for manual attempt:
iwconfig works (shows wlan0)
sudo ifconfig wlan0 up "SIOCSIFFLAGS: No such file or directory"
(I entered above with iwconfig and get a man page telling me command options that did not work either)
sudo iwlist wlan0 scan "Interface doesn't support scanning : Network is down"

Started to script the wpa_supplicant.conf for a direct approach but stopped. If I am this far out in the weeds with some shell experience, the connection process isn't mature enough to run from a USB stick for a distro hopper. /etc/wpa_supplicant is a folder with some *.sh scripts that don't help. Will make a vim attempt soon just to get dirty cause I'm not going to mess anything up.

I seriously suspect ConnMan's tray UI would work easily if the essid:password window would accept a space bar entry.