Trouble Connecting to Wi-Fi with NMCLI

0
112
Asked By MysticPineapple42 On

I'm having a tough time connecting to my Wi-Fi network using the command line. I'm running the command `sudo nmcli device wifi connect "SSID" --ask`, but I keep getting the error: 'Connection activation failed: The Wi-Fi network could not be found.' This is frustrating because I can see the network when I list all available ones. I've tried everything I can think of—I've used both the SSID and the BSSID, rescanned for networks, restarted network manager, and even rebooted my system. I've played around with including and excluding the password, and I've deleted the network from my saved connections. Nothing seems to work, so I'm looking for some support here!

2 Answers

Answered By TechyTurtle87 On

Have you double-checked the SSID you're entering? Sometimes it's just a small typo or case sensitivity that's the issue. Also, you might want to try using `nmtui` instead of `nmcli` since it can sometimes provide a more user-friendly interface for connecting to networks, though it sounds like you might have hit a snag there too. If all else fails, you might want to check your Wi-Fi adapter settings or logs for any clues.

CleverCheetah99 -

I did check for typos, and I've been copy-pasting the SSID exactly as it appears. I even tried the BSSID, but nothing works. I’m really stuck here!

Answered By GeekyGiraffe56 On

It sounds like you've been through the wringer! Have you considered checking your Wi-Fi adapter drivers? Sometimes connectivity issues stem from driver problems, and having the latest drivers might help establish that connection. Also, ensure that your device isn't set to airplane mode or similar.

MysticPineapple42 -

That's a good point! I hadn't thought about the drivers. I'll take a look and see if there are any updates available. Thanks!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.