You are not logged in.

#1 2014-01-24 01:05:53

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

dhcpcd changes hostnames: renders X unable to open ANY programs...

At a random point after logging into my computer, dhcpcd (even after being disabled and stopped on login) kills and restarts my wifi. When this happens, X no longer allows me to open ANY GUI-based programs and I have to log out or reboot in order to correct the problem. I need a solid solution to this problem and disabling dhcpcd (plus blacklisting) seems to be the only idea I can come up with. NO on seems to be discussing this specific problem around the forums and narrowing it down to dhcpcd was a REAL pain via Google because it seems to affect people VERY randomly. I need a permenant solution because this issue makes it VERY difficult for me to get work done as I need to open and close programs fairly often on a daily basis. It has just about grinded my progress for today to a halt, which is why I'm here making this post now. ANY help on stablizing this issue will be GREATLY appreciated. It's really making my life difficult. Thanks in advance.


Help grow the dev population... have your tech trained and certified!

Offline

#2 2014-01-24 03:22:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: dhcpcd changes hostnames: renders X unable to open ANY programs...

Are you using dynamic addresses?  If so, dhcpcd is kind of important.
Why do you accuse dhcpcd of killing and restarting the wicd?  That is not something dhcpcd normally does.
There are more than one way to start dhcpcd.  One way is the systemd service.  netctl will also start the daemon. So will wicd.  So will NetworkManager.
Does your desktop environment take it upon itself to manage the Wifi?  KDE and Gnome do.  You did not tell us which one you are using. Given the stability, I bet Gnome.
I venture that you have multiple things trying to control your NIC, like both netctl and NetworkManager, or wicd.


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

#3 2014-01-24 23:40:38

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

Re: dhcpcd changes hostnames: renders X unable to open ANY programs...

I am using dynamic addresses. I use networkmanager. I either use E18 or Fluxbox for my desktop (has happened on both... and on multiple computers). I only use networkmanager to deal with my network connections. I have not ran wicd in quite some time (never on the machines in question) or any other software anytime recently. I'm never sure what all information I should give when I open up help requests on here... no matter what I provide, there's always something I will forget or not think of. SO feel free to ask more questions so I can narrow down the core cause of this issue. The research I have done on the symptoms I'm expriencing have lead me to believe that it's a hostname issue that comes when dhcpcd disconnects and reconnects me. The hostname is changed, which renders X unable to open any gui interfaces because it's trying to load them on a hostname that is no longer valid. I have not found any info explaining WHY dhcpcd does this, but all the symptoms fit. I will look for the links I found said information on and see if I can provide them sometime soon. Luckily, this is a random thing, and hasn't made work difficult for me so far today, so I need to catch up on things that didn't get finished yesterday. Thanks for all the help (current and future) with this issue.


Help grow the dev population... have your tech trained and certified!

Offline

#4 2014-01-25 23:56:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: dhcpcd changes hostnames: renders X unable to open ANY programs...

The problem might not be with dhcpcd on your machine, but with the dhcp server you connect to.

Hostname can be set by a dhcp server and especially on corporate networks this is often enforced.

I suggest to try to find out if the network you're connected to differs before & after disconnect/reconnect .
maybe networkmanager logfiles can help to find out if this is related to specific networks.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB