View previous topic :: View next topic |
Author |
Message |
thaumaturge n00b
Joined: 10 Sep 2003 Posts: 11
|
Posted: Sat Aug 25, 2007 7:38 am Post subject: Acquiring Wrong IP Address |
|
|
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 |
|
|
merlijn Apprentice
Joined: 10 Apr 2007 Posts: 161 Location: Den Haag, Holland
|
Posted: Sat Aug 25, 2007 9:49 am Post subject: |
|
|
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 |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
|
Back to top |
|
|
thaumaturge n00b
Joined: 10 Sep 2003 Posts: 11
|
Posted: Sun Aug 26, 2007 3:52 pm Post subject: Acquiring Wrong IP Address |
|
|
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
(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 |
|
|
thaumaturge n00b
Joined: 10 Sep 2003 Posts: 11
|
Posted: Mon Aug 27, 2007 3:05 pm Post subject: Acquiring Wrong IP Address [solved] |
|
|
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 |
|
|
|