#Networkmanager help
131 messages · Page 1 of 1 (latest)
if I put my password in without the quotes it says
bash: !backofpassword: event not found
Does your password have characters that might need to be escaped like ? or "?
using \
you can also use single quotes
with that you don't need to escape anything
(and you can't)
so you are safe if you don't have any single quote (')
doesnt work
sadge
i changed my password to password just to see what would happen and i get the same error
if you wont just use networkmanager for nmtui, then you might as well switch to iwctl/directly using wpa_supplicant
for wpa_supplicant, the entire process is just wpa_passphrase ssid password >> /etc/wpa_supplicant/wpa_supplicant.conf
once you enable the service
Does it matter that I'm doing it in a terminal on hyprland?
I got exactly the same problem yesterday and I fixed that problem by uninstalling iwd (pacman -Rns iwd). So if you have iwd installing on your system, try to remove it.
You are probably right since iwd is what I wanted to use originally but I forgot what it was called
I will have to try when I get home
turns out its not on my device
no lol
might as well ditch networkmanager anyway
also are you using a de
just hyprland
oh
i have plasma installed as well
yeah maybe switch to wpa_gui
but im trying to switch
or iwctl
i installed iwctl and when I try to use it it says waiting for iwd to start
and just sits there
ctrl c, systemctl enable --now iwd
also disable nm
systemctl disable --now networkmanager
ohhhhh
wait
you probably never enabled it
ok before doing anything else
can you show the output of systemctl status NetworkManager
yeah i just tried to disable network manager and it said there was no instance
yeah, so there's your problem
might as well use iwd though imo
if you're on arch it should be easy enough
highly likely it's just iwctl station wlan0 connect <ssid> and then you're done forever
still waiting for it to start
nvm
im dumb
had to start the service
how do I see if has connected? I tried to pin 1.1.1.1 and it didnt go through
iwctl station wlan0 show
oh yeah you need one more thing
i forgor about that
can you try rebooting
just use poweroff
sudo or systemctl or loginctl
last 2 only work with polkit installed
i did shutdown -r
oh to reboot its just reboot
shutdown works too but i dont use it cause theres really no point
same thing
easier to remember poweroff and reboot
hibernation would be systemctl hibernate
i mean I get the same error
@ember gust idk what that means tbh
should i show how to use wpa_supplicant instead
sure
you were using that anyway when you were on plasma tbf
one sec
@ember gust do you know the name of your network interface
if not, can you show output of ip a
it should be there
wlan0
is that what ip a says?
ye
oh ok
lo and wlan0
systemctl enable --now [email protected]
config=/etc/wpa_supplicant/wpa_supplicant-wlan0.conf
echo ctrl_interface=/run/wpa_supplicant > $config
wpa_passphrase <ssid> <password> >> $config```
is wpa installed already?
and theres no way you uninstalled it since you still have nm
btw is this a laptop
Can you not connect using iwctl?
well we just tried and it didnt work
tis a laptop
oh
Um does ethernet connection work
i have an adapter but i dont want to use it
when i do the systemctl enable wpa it hangs after it created the symlink
Try enable --now
huh
like it just doesn't show prompt?
ok
you can add a network with no password like this
ssid="MYSSID"
key_mgmt=NONE
}```
otherwise just use that last command i mentioned, but replace $config with that file from earlier
either use sudo -s before it or pipe to tee
i just use wpa_passphrase <ssid> <password> |doas tee /etc/wpa_supplicant/whatever.conf
straight from the wiki btw
#11251 📣 if you don't need help with this anymore, add [SOLVED] to the start of the post's title (for example, the title could say [SOLVED] pacman not working)
if you're on a laptop or desktop computer, see the note on archiving by sending a message that says ... archive.
ill be back tomorrow
k
you can keep this one
I actually had the same issue
you have to delete the connection and then reconnect
the thing is that networkmanager keeps track of the passwords you passed in earlier in the background, so even if you use a new password, if it was given before, it will use that one, even if its wrong
or if u accidentally tried to connect without a password, it will just try without a password over and over again no matter if you pass in a password now