Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Acquiring Wrong IP Address
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thaumaturge
n00b
n00b


Joined: 10 Sep 2003
Posts: 11

PostPosted: Sat Aug 25, 2007 7:38 am    Post subject: Acquiring Wrong IP Address Reply with quote

Dell Latitude D800. Kernel (2.6.22) has been built manually. Using latest portage version of dhcpcd.

I have a reserved IP address at work. When I boot from the Gentoo LiveCD (2007.0) I acquire the correct address on this network.

When I boot from my Gentoo installation I do *not* get my assigned IP address. Although ifconfig shows the correct MAC address for my box, the server sees this MAC address prepended by a long string of numbers. What's going on and how do I fix this? My network administrator hasn't a clue.


Last edited by thaumaturge on Sat Aug 25, 2007 10:33 am; edited 1 time in total
Back to top
View user's profile Send private message
merlijn
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 161
Location: Den Haag, Holland

PostPosted: Sat Aug 25, 2007 9:49 am    Post subject: Reply with quote

Can you please post the MAC address the server sees and the one it is supposed to see?

And have you tried to set the MAC address on the command line like: `ifconfig eth0 hw ether yourmacid' ?
Back to top
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Sat Aug 25, 2007 11:31 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-p-4175335-highlight-dhcpcd.html#4175335

What if you add the following to your /etc/conf.d/net
Code:
dhcpcd_eth0="-I"

(Assuming of course we are talking about eth0)
Back to top
View user's profile Send private message
thaumaturge
n00b
n00b


Joined: 10 Sep 2003
Posts: 11

PostPosted: Sun Aug 26, 2007 3:52 pm    Post subject: Acquiring Wrong IP Address Reply with quote

Stever wrote:
See https://forums.gentoo.org/viewtopic-p-4175335-highlight-dhcpcd.html#4175335
Quite enlightening. The LiveCD uses dhcpcd v.2.0.5, which works fine while my Gentoo install uses dhcpcd v.3.1, which doesn't work. My money is on a buggy DHCP server, as UberLord noted.
Stever wrote:
What if you add the following to your /etc/conf.d/net
Code:
dhcpcd_eth0="-I"

(Assuming of course we are talking about eth0)
(We are.)
First thing on my agenda when I get into the office tomorrow is to check this out. I'll be surprised if this isn't the charm.
Thanks.
Back to top
View user's profile Send private message
thaumaturge
n00b
n00b


Joined: 10 Sep 2003
Posts: 11

PostPosted: Mon Aug 27, 2007 3:05 pm    Post subject: Acquiring Wrong IP Address [solved] Reply with quote

Adding -I to the dhcpcd options didn't work for me. Emerging dhcpcd-3.1 with the vram USE flag worked. Hope this helps others.
Code:
a504601 ~ # echo "net-misc/dhcpcd vram" >> /etc/portage/package.use
a504601 ~ # emerge -av dhcpcd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum