You are not logged in.

#1 2010-09-10 06:31:17

kennethcyrus
Member
From: Mysore, India
Registered: 2010-08-15
Posts: 7
Website

unable to connect to network (dhcp) post upgrade

Dear All,
I'm a newbie Arch user, a couple of weeks ago I successfully installed Arch x64 + KDE4 on my desktop (dual boot with Windows 7) but after few days of the network failed during boot. I tried resolving the issue but couldn't. Since the installation was almost useless without a network, I formatted and reinstalled Arch.

The reinstall was successful but after a system upgrade with pacman -Syu, on rebooting the network failed again. sad

Since the network was configured dynamically during the net-install from a FTP server, I'm sure there is no hardware issue or problem with the network.

The network works flawlessly on Windows 7 but whenever I boot Arch, I get the following message:

::Stopping Network   [DONE]
::Starting Network   [FAIL] 

(After it stays [BUSY] for a long period of time.)

After several tries of:

/etc/rc.d/network restart

Even if I get

::Starting Network   [DONE]

On trying ping, I get:

ping www.google.com
ping: unknown host www.google.com

On trying to synchronizing the packages I get:

pacman -Syy

error: failed retrieving file 'core.db.tar.gz' from mirror.cse.iitk.ac.in : No address record

                                                             OR

error: failed retrieving file 'core.db.tar.gz' from mirror.cse.iitk.ac.in : Transient resolver failure

Even tried this:

dhcpcd eth0

but got the error:

dhcpcd[1805]: timed out

Lines from my /etc/rc.conf which is unedited after installation:

eth0="dhcp"
INTERFACES=(eth0)
gateway"default gw 192.168.0.1"
ROUTES=(!gateway)

I tried almost everything given in http://wiki.archlinux.org/index.php/Network
Also went through the forum posts and tried few suggestions but have no success.
Without a network my Arch installation is rendered useless.
I haven't even installed X leave alone KDE. sad

Please help me.
Thanks in Advance.

Last edited by kennethcyrus (2010-09-11 11:28:01)


Thanks & Regards,

Kenny
smile

Offline

#2 2010-09-10 06:43:48

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: unable to connect to network (dhcp) post upgrade

Is your hostname setup correctly in /etc/.rc.conf and in /etc/hosts ??


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-09-10 06:49:03

kennethcyrus
Member
From: Mysore, India
Registered: 2010-08-15
Posts: 7
Website

Re: unable to connect to network (dhcp) post upgrade

Yes it is:

/etc/rc.conf

HOSTNAME="kenpc"

/etc/hosts

127.0.0.1 localhost.localdomain localhost kenpc

Thanks & Regards,

Kenny
smile

Offline

#4 2010-09-10 21:04:55

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: unable to connect to network (dhcp) post upgrade

Show us the output of 'ifconfig -a' and 'dhcpcd -d eth0'.

Offline

#5 2010-09-11 03:41:55

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: unable to connect to network (dhcp) post upgrade

If the driver for your NIC card is not working or absent you won't be to run ifconfig <iface> up. If it does succeed try downgrading dhcpcd or try another dhcp client like  dhclient udhcpc or pump.

Last edited by T-Dawg (2010-09-11 03:42:18)

Offline

#6 2010-09-11 08:37:57

kennethcyrus
Member
From: Mysore, India
Registered: 2010-08-15
Posts: 7
Website

Re: unable to connect to network (dhcp) post upgrade

Output of dhcpcd -d eth0

dhcpcd[1674]: version 5.2.7 starting
dhcpcd[1674]: eth0: executing '/usr/lib/dhcpcd/dhcpcd-run-hooks',reason PREINIT
dhcpcd[1674]: eth0: executing '/usr/lib/dhcpcd/dhcpcd-run-hooks',reason CARRIER
dhcpcd[1674]: eth0: broadcasting for a lease
dhcpcd[1674]: eth0: sending DISCOVER (xid 0x64f9e232),next in 4.99 seconds
dhcpcd[1674]: eth0: sending DISCOVER (xid 0x64f9e232),next in 8.97 seconds
dhcpcd[1674]: eth0: sending DISCOVER (xid 0x64f9e232),next in 15.56 seconds
dhcpcd[1674]: eth0: sending DISCOVER (xid 0x64f9e232),next in 31.50 seconds
dhcpcd[1674]: eth0: timed out

Thanks & Regards,

Kenny
smile

Offline

#7 2010-09-11 11:26:52

kennethcyrus
Member
From: Mysore, India
Registered: 2010-08-15
Posts: 7
Website

Re: unable to connect to network (dhcp) post upgrade

I tried reinstalling this time using the Core packages from the insall cd. Post install the network worked flawlessly but after i upgraded the system with pacman -Syu, the network fails the next time I reboot.


Thanks & Regards,

Kenny
smile

Offline

#8 2010-09-11 11:51:30

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: unable to connect to network (dhcp) post upgrade

This seems to be a driver issue. I'm not good at solving driver issue, so I will leave this to someone else. By the time, you can try setting yourself a static IP, it *might* work, or might not, depending on how bad the driver issue is.

Offline

Board footer

Powered by FluxBB