You are not logged in.
Pages: 1
Hello
This is my first post so please pardon me if i'm not doing anything right.
For several weeks now, i haven't been able to browse on my laptop with a wireless network connection.(Eth and Mobile broadband work fine) Initially, i assumed the problem was with NetworkManager as i had just updated it, but after much troubleshooting i consulted a friend who suggested that it might be a problem with dhcpcd, and asked me to release it. i tried it and it worked, but immediately after rebooting the laptop. it reverted back to the old problem. I wasn't bothered at first even though i couldn't figure out why dhcpcd was still associating a lease from another AP with the current AP i was trying to connect to (My networking knowledge isn't anything i could brag about). But with time the situation has worsened somehow...it now takes about 20 - 50 attempts to release dhcpcd before the wireless network connects. I've scoured my logs and i can't really find any message relating to it, and my dhcpcd status shows active....
I'm really out of ideas on how to fix this, and it's really beginning to frustrate me since wireless network connections are my only options at the best of times. I'd really appreciate any aid whatsoever.
Thanks in advance
Linux carfax 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
my dhcpcd version
dhcpcd 6.2.1
Copyright (c) 2006-2014 Roy Marples
dmesg
[ 2634.181507] wlp2s0: d4:ca:6d:21:43:91 denied association (code=12)
[ 2634.223441] wlp2s0: deauthenticating from 00:00:00:00:00:00 by local choice (reason=3)
[ 2634.223458] wlp2s0: deauthenticating from d4:ca:6d:21:43:91 by local choice (reason=3)
[ 2638.346099] wlp2s0: authenticate with 00:27:22:c4:07:6f
[ 2638.351372] wlp2s0: send auth to 00:27:22:c4:07:6f (try 1/3)
Last edited by Carfax (2014-02-14 17:37:40)
Offline
and my dhcpcd status shows active....
What does this mean exactly?
Output of
# journalctl -b -u NetworkManager.service
might tell you a bit more (-b limits output to current boot).
Offline
Have you disabeled dhcpcd? (systemctl diasable dhcpcd.service).
Check the output of systemctl status dhcpcd.
Offline
Carfax wrote:and my dhcpcd status shows active....
What does this mean exactly?
Output of
# journalctl -b -u NetworkManager.service
might tell you a bit more (-b limits output to current boot).
I finally managed to connect today after several tries and fails so i'll post my status again... The Active point is now showing as "failed"
My dhcpcd status
systemctl status dhcpcd.service
dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-02-15 18:59:48 GMT; 19min ago
Process: 2960 ExecStop=/usr/bin/dhcpcd -x (code=exited, status=1/FAILURE)
Process: 247 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 255 (code=exited, status=1/FAILURE)
CGroup: /system.slice/dhcpcd.service
Feb 15 18:59:41 carfax dhcpcd[255]: control command: /usr/bin/dhcpcd -B -K ...s0
Feb 15 18:59:46 carfax dhcpcd[255]: wlp2s0: leased 192.168.0.2 for 86400 seconds
Feb 15 18:59:46 carfax dhcpcd[255]: wlp2s0: adding route to 192.168.0.0/24
Feb 15 18:59:46 carfax dhcpcd[255]: wlp2s0: adding default route via 192.168.0.1
Feb 15 18:59:47 carfax dhcpcd[255]: received SIGTERM from PID 2169, stopping
Feb 15 18:59:47 carfax dhcpcd[255]: enp4s0: removing interface
Feb 15 18:59:47 carfax dhcpcd[255]: wlp2s0: removing interface
Feb 15 18:59:48 carfax systemd[1]: dhcpcd.service: main process exited, cod...RE
Feb 15 18:59:48 carfax systemd[1]: dhcpcd.service: control process exited, ...=1
Feb 15 18:59:48 carfax systemd[1]: Unit dhcpcd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Output of journalctl -b -u NetworkManager.service
Feb 15 18:56:36 carfax systemd[1]: Starting Network Manager...
Feb 15 18:56:38 carfax NetworkManager[248]: <info> NetworkManager (version 0.9.8.8) is starting...
Feb 15 18:56:38 carfax NetworkManager[248]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Feb 15 18:56:38 carfax NetworkManager[248]: <info> WEXT support is enabled
Feb 15 18:56:39 carfax NetworkManager[248]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
Feb 15 18:56:39 carfax NetworkManager[248]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
Feb 15 18:56:39 carfax NetworkManager[248]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkMan
Feb 15 18:56:39 carfax NetworkManager[248]: keyfile: parsing IP Vanish PPTP ...
Feb 15 18:56:39 carfax NetworkManager[248]: keyfile: read connection 'IPVanish PPTP'
Feb 15 18:56:39 carfax NetworkManager[248]: keyfile: parsing Vodafone Default ...
Feb 15 18:56:39 carfax NetworkManager[248]: keyfile: read connection 'Vodafone Default'
Feb 15 18:56:39 carfax NetworkManager[248]: keyfile: parsing BINOMAN@HOTSPOT ...
Feb 15 18:56:40 carfax NetworkManager[248]: keyfile: read connection 'BINOMAN@HOTSPOT'
Feb 15 18:56:40 carfax NetworkManager[248]: keyfile: parsing KingsAir1 ...
Feb 15 18:56:40 carfax NetworkManager[248]: keyfile: read connection 'KingsAir1'
Feb 15 18:56:40 carfax NetworkManager[248]: keyfile: parsing HOUSE ...
Feb 15 18:56:40 carfax NetworkManager[248]: keyfile: read connection 'HOUSE'
Feb 15 18:56:40 carfax NetworkManager[248]: <info> monitoring kernel firmware directory '/lib/firmware'.
Feb 15 18:56:40 carfax NetworkManager[248]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:
Feb 15 18:56:40 carfax NetworkManager[248]: <info> rfkill3: found WiFi radio killswitch (at /sys/devices/pci0000:00/00
Offline
I think you have enabeled dhcpcd. To use NetworkManager, dhcpcd must be disabeled.
Try to disable dhcpcd.service and restart your PC.
Offline
I think you have enabeled dhcpcd. To use NetworkManager, dhcpcd must be disabeled.
Try to disable dhcpcd.service and restart your PC.
You can clearly see from the status that the dhcpcd service is enabled. But yes, dhcpcd.service should be disabled, NM takes care of running the dhcpcd program when you tell it to connect using DHCP. There should be no need to reboot, just stop dhcpcd.service and restart NetworkManager.service.
Last edited by Raynman (2014-02-16 21:08:07)
Offline
torors wrote:I think you have enabeled dhcpcd. To use NetworkManager, dhcpcd must be disabeled.
Try to disable dhcpcd.service and restart your PC.You can clearly see from the status that the dhcpcd service is enabled. But yes, dhcpcd.service should be disabled, NM takes care of running the dhcpcd program when you tell it to connect using DHCP. There should be no need to reboot, just stop dhcpcd.service and restart NetworkManager.service.
I tried that before but the problem just returns after a reboot.
Offline
Raynman wrote:torors wrote:I think you have enabeled dhcpcd. To use NetworkManager, dhcpcd must be disabeled.
Try to disable dhcpcd.service and restart your PC.You can clearly see from the status that the dhcpcd service is enabled. But yes, dhcpcd.service should be disabled, NM takes care of running the dhcpcd program when you tell it to connect using DHCP. There should be no need to reboot, just stop dhcpcd.service and restart NetworkManager.service.
I tried that before but the problem just returns after a reboot.
What are you referring to exactly? If you stop the service but leave it enabled, it will of course be started again during the next boot.
Last edited by Raynman (2014-02-17 23:41:20)
Offline
Carfax wrote:Raynman wrote:You can clearly see from the status that the dhcpcd service is enabled. But yes, dhcpcd.service should be disabled, NM takes care of running the dhcpcd program when you tell it to connect using DHCP. There should be no need to reboot, just stop dhcpcd.service and restart NetworkManager.service.
I tried that before but the problem just returns after a reboot.
What are you referring to exactly? If you stop the service but leave it enabled, it will of course be started again during the next boot.
Yup, Carfax I think you are mixing up the meaning of start/stop and enable/disable.
This will turn a service on/off for a session, once you reboot it will return to it's original state
systemctl start/stop foo.service
This will ensure a service is loaded (or not) from boot
systemctl enable/disable foo.service
In your case you want to make sure the dhcp service is not loaded every time you reboot
"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson
Offline
Just to register an interest.
I have had issues with both NetworkManager and dhcpcd, neither of which seem to work well on either of my laptops at the moment.
Andrew
Offline
I'm stating that disabling dhcpcd through
systemctl disable dhcpcd.service
and restarting networking manager works fine allowed me to make a connection. And then when i restarted the laptop later it refused to make further connections, until i had re enabled dhcpcd and then gone through the process all over again
Offline
Pages: 1