You are not logged in.
Pages: 1
Hello everyone,
I use netctl to connect to the wifi and every like 5 minutes I have to run
sudo netctl restart <templatename>and it stays connected for the next minutes. I am not sure if it only disconnects when I am reading (and not actively using the wifi) or if it disconnects even if I am using the wifi. Maybe it has something to do with power saving...
The
iw dev wlp3s0 get power_savereturns off, thats what I already tried. And I tried instead of netctl connman. But the same issue.
Thanks in advance and please give me the command I've to enter in the console if you need more information.
Edit: When I rund the command 'dmsg' I get the following:
wlp3s0: deauthenticating from d4:d1:84:4a:fa:15 by local choice (Reason: 3=DEAUTH_LEAVING)But I already disabled the power safing feature mentioned here and in the BIOS settings I cant find "PCI-Express power management".
Last edited by natepad (2015-08-07 14:48:08)
Offline
Could you post the output of ls -l /etc/systemd/system ?
I want to ensure you have only enabled one service that will try to control the network connection.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
The output of 'ls -l /etc/systemd/system' is:
total 32
drwxr-xr-x 5 root root 4096 Aug 7 15:31 .
drwxr-xr-x 5 root root 4096 Aug 5 03:57 ..
drwxr-xr-x 2 root root 4096 Aug 1 07:51 getty@tty1.service.d
drwxr-xr-x 2 root root 4096 Aug 1 06:26 getty.target.wants
drwxr-xr-x 2 root root 4096 Aug 7 15:31 multi-user.target.wants
lrwxrwxrwx 1 root root 57 Aug 7 15:10 dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
-rw-r--r-- 1 root root 208 Aug 7 10:05 netctl@unterdach.service
-rw-r--r-- 1 root root 628 Aug 1 07:48 systemd-fsck-root.service
-rw-r--r-- 1 root root 654 Aug 1 07:48 systemd-fsck@.serviceI just saw, that after a reboot the 'iw dev wlp3s0 get power_save' says that it is on....
Maybe my udev rule isn't correct:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*", RUN+="/usr/bin/iw dev %k set power_save off"But even if I disable the power safing in the current session I get the disconnects every minute.
Offline
That list of services looks fine.
I don't have your hardware, so I cannot help beyond the generic stuff. I think you are on the right track with the power save.
Does it behave this way on other access points?
How far are you from your access point?
I know it is not a running service, but do you have NetworkManager installed and is it possible that something (like a desktop environment) is starting it?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Does it behave this way on other access points?
I installed arch 2 days ago. Haven't had the change to access somewhere else.
How far are you from your access point?
Like 5 meters trough the wall. I can connect, and when I am connected the speed is super fast. It just disconnects me after some minutes (2-3).
I know it is not a running service, but do you have NetworkManager installed and is it possible that something (like a desktop environment) is starting it?
I tried wicd, networkmanager, connman and now I am back to netctl. I should have removed them correctly (disabled them & stopped them with systemctl and deinstalled with pacman).
And the desktop environment is i3wm and should not load anything network related.
Thanks for trying to help me. That means a lot!
Edit: Okay, I am a little bit confused. When I
killall wpa_supplicantthe connection is back... Thats strange. And I tried to stop and disable wpa_supplicant. But that doesnt care wpa_supplicant.
Any ideas?
Last edited by natepad (2015-08-07 17:57:49)
Offline
Pages: 1