You are not logged in.

#1 2010-08-23 18:11:33

samshive
Member
Registered: 2010-08-23
Posts: 1

DHCP not working

Hi I was hoping someone could help - my Arch system was working fine till yesterday, when I synced and upgraded with pacman. Since then, I have been unable to get my router to give my computer an IP address. I therefore cannot connect to the internet and do not know what the problem is.

Is there possibly a way to roll back to how my system was yesterday.

Regards

Offline

#2 2010-08-23 18:20:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DHCP not working

samshive wrote:

Hi I was hoping someone could help - my Arch system was working fine till yesterday, when I synced and upgraded with pacman. Since then, I have been unable to get my router to give my computer an IP address. I therefore cannot connect to the internet and do not know what the problem is.

Is there possibly a way to roll back to how my system was yesterday.

Regards

tail /var/log/pacman.log

will show you the last pacman operations. See what have you updated and downgrade those apps if you want.

Offline

#3 2010-08-23 21:33:30

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

Re: DHCP not working

Do you have more than one network interface card on your computer ? Does the 'dhcpcd' or 'dhclient' program are still installed on your computer ? Can you set a static IP on your network interface ?

Offline

#4 2010-08-24 10:40:10

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: DHCP not working

This may be wrong, but I was having the same problem (for me, it was taking long time to get a ip) and the fix for me was to downgrade curl because of a bug in mpdscribble.

Offline

#5 2010-08-24 16:20:55

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: DHCP not working

I had a similar problem and it was all because of some settings in /etc/rc.conf. Could you post that, please? I think it had something to do with my default gateway...


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#6 2010-08-24 16:23:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: DHCP not working

More than one network interface in the box?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2010-08-24 16:23:39

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

Re: DHCP not working

While you are at it, make sure that the hostname is correctly set in rc.conf and in /etc/hosts files.


Forum Rules

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

Offline

#8 2010-08-25 08:13:23

caratorn
Member
From: Paris, France
Registered: 2009-02-20
Posts: 4

Re: DHCP not working

Did the kernel got updated? if then, have you rebooted the box?
Having a different kernel version running and modules in the filesystem can sometimes lead to unloadable kernel modules.

Offline

#9 2010-08-25 12:58:23

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: DHCP not working

Is it possible that the network interface that your using doesn't exist? You can check this with

# ifconfig | grep eth0

Replace "eth0" with whatever interface you want to use


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#10 2010-08-25 12:59:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DHCP not working

Lexion wrote:

Is it possible that the network interface that your using doesn't exist? You can check this with

# ifconfig | grep eth0

Replace "eth0" with whatever interface you want to use

'ifconfig -a' will show those that exist and whether they're running etc.

Offline

#11 2010-08-25 13:03:42

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: DHCP not working

@karol: That doesn't work for me, nor is that option in the man page... hmm... but thanks for the tip. smile


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#12 2010-08-25 13:11:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DHCP not working

Lexion wrote:

@karol: That doesn't work for me, nor is that option in the man page... hmm... but thanks for the tip. smile

[karol@black test]$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:09:6B:F3:A8:42  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9973 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9097 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9580960 (9.1 Mb)  TX bytes:1677278 (1.5 Mb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9400 (9.1 Kb)  TX bytes:9400 (9.1 Kb)

Offline

Board footer

Powered by FluxBB