You are not logged in.
Hello!
When I'm trying to connect to some wifi networks (not all of them, only some of them), I get disconnected almost instantly (less than a second) with the message "DHCP failed to start"
-> my system is up to date
-> DHCPCD is installed
-> Wifi works for most networks, only some of them don't
I have also tried to make myself a static IP using netctl to see if that would change something, but ended up with an error when trying to start it, I don't know if it is related (I don't need this, this was just an idea to fix the issue)
Any ideas of where that issue could come from?
Last edited by Firestorck (2021-12-16 03:49:36)
Offline
trying to connect to some wifi network
"How"
with the message
"Where"
Any ideas of where that issue could come from?
"Somewhere"…
We'll need some actual data to make an informed comment about the problem.
Please post your system journal, "sudo journalctl -b" (if the issue occurred during the current boot)
Offline
install iwd and iwctl, make a cron job to start iwd automatically on boot with systemctl, create a main.conf file inside the /etc/iwd/ folder with this (imgur) main.conf settings and login your networks with iwctl, you can analyze networks with this commands inside iwctl
station <device> scan
station <device> get-networks
and then
station <device> connect <your network>
The main.conf file in the iwd config folder makes so iwd gives you a dynamic ip, basically doing what dhcpcd does making you only needing 2 programs to be able to connect to wireless networks, those being iwd and iwctl, both are in the official arch repos
Sources:
(man.archlinux) iwd main.conf
Last edited by ballinlikekobe (2021-10-17 11:25:54)
Offline
"How"
Using the "Networks" thing in the taskbar of KDE plasma
I have also tried using the command line thing, but I forgot its name. Did not work either.
"Where"
You get a little notification telling you connect to a wifi network. I get a second one right after I do so, and get disconnected.
Please post your system journal, "sudo journalctl -b" (if the issue occurred during the current boot)
You can find the log here
I also happend to still have my last terminal opened, with the output of systemctl status netctl@wlp2s0.service if that can help
I am only connecting to that network once a week, so I won't be able to gather more data until next week end.
Edit : Added output for systemctl status netctl@wlp2s0.service
Last edited by Firestorck (2021-10-17 14:42:44)
Offline
You've at least dhcpcd, netctl and networkmanager enabled and run into
Post the output of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
You'll have to pick *one* nertwork service and disable the others - 'the "Networks" thing in the taskbar of KDE plasma' is likely NetworkManager.
Last edited by seth (2021-10-17 14:36:07)
Offline
Post the output of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
You'll have to pick *one* nertwork service and disable the others - 'the "Networks" thing in the taskbar of KDE plasma' is likely NetworkManager.
How would I do that? just uninstall them?
Edit : quoted too much
Last edited by Firestorck (2021-10-17 14:48:37)
Offline
The way you enabled them.
https://wiki.archlinux.org/title/Systemd#Using_units
There'a actually only dhcpcd and NetworkManager, disable dhcpcd and if you want to use netctl, you'll first have to stop NM.
Offline
Well I don't really mind if I'm using DHCPD, netctl, network manager or something else, I just looked up on google and tried things that might work for just a classic connection setup.
I know I am currently not using netctl, I removed my attempt at a config before trying something else, to make sure it is not the thing blocking other things I might try.
I just disabled & stopped dhcpcd, and I am now back to my setup when I first encountered this issue.
Offline
I am only connecting to that network once a week, so I won't be able to gather more data until next week end.
Can you reproduce it now and provide a "clean" journal covering the incident?
Offline
Can you reproduce it now and provide a "clean" journal covering the incident?
No, I will not be able to try anything until next weekend probably. I will let you know with a new journal as soon as I can.
Offline
I have 2 wifis that the bug happend on, one of them seems to work, so the issue is probably fixed! thanks for you help! (I'll mark the issue as fixed as soon as I can try on the second network)
Offline