You are not logged in.

#1 2009-02-08 20:04:33

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Network fail status after fresh install[Solved]

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

#2 2009-02-08 20:24:43

Xiong Chiamiov
Member
From: central coast, california
Registered: 2008-06-18
Posts: 142
Website

Re: Network fail status after fresh install[Solved]

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

#3 2009-02-09 00:09:40

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Network fail status after fresh install[Solved]

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

#4 2009-02-09 08:51:26

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: Network fail status after fresh install[Solved]

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

#5 2009-02-09 09:01:11

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: Network fail status after fresh install[Solved]

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

#6 2009-02-09 21:21:56

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Network fail status after fresh install[Solved]

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

#7 2009-02-10 00:24:07

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Network fail status after fresh install[Solved]

I installed wicd. It did the configuring for me. I am marking this thread as solved.

Offline

#8 2009-02-10 02:12:04

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: Network fail status after fresh install[Solved]

(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

Board footer

Powered by FluxBB