You are not logged in.
Pages: 1
The dhcpcd client starts automatically at boot, preventing Wicd(i.e.) to set a wireless connection. The same problem results when i try to set a connection from the terminal (obviously) so i have to kill the dhcpcd process with pkill.
Reading in some forums, i found that the problem resides in a script (that i can't find) and suggest to use dhclient instead.
Anyone knows how prevent this to happen?
This is a clean installation from the 2012.07.15 iso
Thanks in advice.
Last edited by Ophidian (2012-08-08 04:58:27)
Offline
If you don't want dhcpcd to start at boot, remove it from your Daemons array in /etc/rc.conf. It is usually at the bottom of the file.
Offline
network in DAEMONS at /etc/rc.conf
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
network in DAEMONS at /etc/rc.conf
Tanks for the quick response, but there's something funny; on other installations before the 2012.07.15 there wasn't this issue even if the network daemon wasn't disabled. Putting a "!" before it does the trick but also disables the wlan0, something that didn't happen before.
This isn't "really" a problem, but i'm still wondering if there is another solution for this annoying issue, 'cause a general solution for a particular problem doesn't really makes me feel satisfied. Don't get me wrong, i'd like to know how my system works and have total control over it. ![]()
Offline
If you don't want dhcpcd to start at boot, remove it from your Daemons array in /etc/rc.conf. It is usually at the bottom of the file.
In the latest version of the installation media, the rc.conf has lost a lot of importance 'cause the configuration has been now "split" in several scripts, so if you're not upgrading but making a clean installation of the system, you will find this issue because the dhcpcd client is being started i-don't-know-how and i-don't-know-where.
The dhcpcd isn't a daemon, or it is? Do i have to write "!dhcpcd" in the daemon's array even if it's not a daemon?
Last edited by Ophidian (2012-08-06 04:07:40)
Offline
The dhcpcd isn't a daemon, or it is? Do i have to write "!dhcpcd" in the daemon's array even if it's not a daemon?
Just to clarify this part. There's a distinct difference between the dhcpcd client and dhcpcd server/daemon. Starting the dhcpcd daemon is only necessary when you're running a dhcp server on your Arch machine (providing leases to other hosts in your network).
So bottomline, it's not needed in this case.
Burninate!
Offline
If you are using wicd you should !network in rc.conf and add dbus and wicd in your daemons (dbus first). Unless I don't understand your problem.
Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600
Offline
McDoenerKing wrote:If you don't want dhcpcd to start at boot, remove it from your Daemons array in /etc/rc.conf. It is usually at the bottom of the file.
In the latest version of the installation media, the rc.conf has lost a lot of importance 'cause the configuration has been now "split" in several scripts, so if you're not upgrading but making a clean installation of the system, you will find this issue because the dhcpcd client is being started i-don't-know-how and i-don't-know-where.
This is unlerated. The DAEMONS array is still in rc.conf.
The dhcpcd isn't a daemon, or it is? Do i have to write "!dhcpcd" in the daemon's array even if it's not a daemon?
There is by default a 'network' daemon, which will start dhcpcd if you don't tell it otherwise. If you are using a different networkmanagement daemon, then you should remove 'network' from DAEMONS (as the two daemons will step on eachother's toes).
Offline
Tanks for the quick response, but there's something funny; on other installations before the 2012.07.15 there wasn't this issue even if the network daemon wasn't disabled. Putting a "!" before it does the trick but also disables the wlan0, something that didn't happen before.
This isn't "really" a problem, but i'm still wondering if there is another solution for this annoying issue, 'cause a general solution for a particular problem doesn't really makes me feel satisfied. Don't get me wrong, i'd like to know how my system works and have total control over it.
There was a change in the network daemon:
Before if you had 'network' enabled, but nothing configured in rc.conf (i.e. interface=, etc were all empty), then the daemon would simply fail with a warning.
We now changed this, so that if you start 'network' without any configuration it will just call dhcpcd (also without any configuration). This means starting dhcpcd on all interfaces.
In short: things used to work because you relied on 'network' failing. Now it does not fail any more, so you get problems. Just pick one network management daemon and you should be fine.
Offline
Ophidian wrote:Tanks for the quick response, but there's something funny; on other installations before the 2012.07.15 there wasn't this issue even if the network daemon wasn't disabled. Putting a "!" before it does the trick but also disables the wlan0, something that didn't happen before.
This isn't "really" a problem, but i'm still wondering if there is another solution for this annoying issue, 'cause a general solution for a particular problem doesn't really makes me feel satisfied. Don't get me wrong, i'd like to know how my system works and have total control over it.
There was a change in the network daemon:
Before if you had 'network' enabled, but nothing configured in rc.conf (i.e. interface=, etc were all empty), then the daemon would simply fail with a warning.
We now changed this, so that if you start 'network' without any configuration it will just call dhcpcd (also without any configuration). This means starting dhcpcd on all interfaces.
In short: things used to work because you relied on 'network' failing. Now it does not fail any more, so you get problems. Just pick one network management daemon and you should be fine.
whoaaa... thanks. ![]()
Offline
Pages: 1