Fedora - enable wifi after only having a wired LAN (VM or Host)


jimbo45

Well-known member
Pro User
VIP
Local time
2:36 AM
Posts
5,862
Location
Hafnarfjörður IS
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Hi folks

Fedora (and possibly some other distros has a quirk in that if you installed initially and set up the network using a wired lan you might get no opportunity to activate wifi later -- which can be annoying if you are in a place with no wired lans available.

Do it via the command line (in sudo or su)

Screenshot_20240315_092820.png

In this screenshot the device is wlp1s0 and the network name is H-5. You need to use the --ask parameter to enter the network's password -- if you don't use that parameter then connection will fail as you won't be authenticated.

Note -- this needs to be done after a reboot -- unless you install all the wifi utilities -- that's another issue though. Easiest way is just put the command in a script and run automatically at boot.


Cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
Back
Top Bottom