You are not logged in.
Hello,
I am quite new to arch but have used Ubuntu for a while. I would like to know how I setup dhclient to replace dhcpcd, and if this would allow the network status to not fail during bootup.
Thanks,
MarcoRosso
Last edited by MarcoRosso (2009-02-10 00:24:27)
Offline
First off, welcome!
Have you read the wiki article about network configuration?
Are you using a wired connection, or wireless? If wireless, is the network encrypted?
With my wired connection, here's all I have to do in my /etc/rc.conf:
...
eth0="dhcp"
INTERFACES=(eth0)
...
DAEMONS=(syslog-ng network crond portmap nfslock hal dhcdbd !networkmanager netfs fam mysqld !kdm @slim @alsa @cups @openntpd)
Offline
I am using the wired connection, and yes I did read the network configuration wiki page. My problem lies when dhcpcd times out when attempting to get an IP through both my switch and my router. Since I have a switch that is connected to my router. I believe there is a bug for this somewhere. I want to bypass this problem by enabling dhclient instead, and not using dhcpcd. I need the steps involved in how to do this. I have attempted to find them on the wiki with no avail.
If anyone knows how to do this, please tell me so I can do so and use ArchLinux.
Can a mod please edit the name of this post so it reads: Network fail status after fresh install
Thanks
MarcoRosso
Last edited by MarcoRosso (2009-02-09 01:21:32)
Offline
if you configure your network in /etc/rc.conf - dhcpcd gets called in /etc/rc.d/network.
not sure about the dhclient syntax though, are you sure its a dhcpcd/dhclient related problem? you could also add default arguments to dhcpcd in /etc/conf.d/dhcpcd.
see 'man dhcpcd'.
Offline
tell us if you get a connection after using
dhcpcd
Then try to ding something
ding -c 3 www.google.com
I am not sure if the ding code is correct.
Tell me the results.
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
Sorry for the late repsonse, was at work where the forums are blocked.
It is ping, not ding but other then that it is correct.
I have to do that every time to get an IP address. I want something to do it automatically for me. Does something like dhclient do this for me?
Last edited by MarcoRosso (2009-02-09 21:23:04)
Offline
I installed wicd. It did the configuring for me. I am marking this thread as solved.
Offline
(ding lol)
just for your reference:
If the dhcpcd actually worked for you, then you never needed wicd.
That is just a code to do it, but if you change the /etc/rc.conf it will do it automatically at startup.
Xiong Chiamiov was trying to tell you.
this is what you do:
nano /etc/rc.conf
then go about half way down to
eth0="this is some big long code with ip addresses in it."
INTERFACES=(eth0)
change it to
eth0="dhcp"
INTERFACES=(eth0)
restart computer
Last edited by otacon (2009-02-10 02:13:28)
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline