| View previous topic :: View next topic |
| Author |
Message |
Tatsh n00b

Joined: 21 Jul 2007 Posts: 16
|
Posted: Mon Jan 14, 2008 9:54 pm Post subject: Router sees wrong MAC address from Linux [SOLVED] |
|
|
I recently redid my entire system but kept the old kernel config and I am using 2.6.20-r10 (yes I know it's unstable). I've messed around with it a bit I guess, and now my router sees a strangely long MAC address instead of the actual one reported by ifconfig. Because I have a few services I like to access while away (VNC, FTP, etc) and internal services (BitTorrent, UT2004, etc), I force my router to give my computer the IP 192.168.0.100 and a few ports are open for it. Everything else is DHCP.
My router sees my MAC address like this:
65746830000100010F1438AF000FB0C2
ifconfig line says this:
eth0 Link encap:Ethernet HWaddr 00:0F:B0:C2:BD:D4
I tested Windows (since I dual-boot), and Windows gets the correct IP address. So I can't but think it's either the kernel configuration or dhcpcd.
[I] net-misc/dhcpcd
Available versions: 2.0.5-r1 3.0.16-r1 3.1.5 3.1.5-r1 ~3.1.6 ~3.1.6-r1 ~3.1.7 ~3.1.8 {build debug static vram zeroconf}
Installed versions: 3.1.5-r1(21:32:50 06/01/0 (-vram)
My kernel configuration does have DHCP on and the necessary items enabled.
<*> RealTek RTL-8139 PCI Fast Ethernet Adapter support
<*> RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support
No special options are enabled for "RealTek RTL-8139 PCI Fast Ethernet Adapter support".
I actually booted my old kernel to see if that was it, and the same problem happened. That nearly eliminates the idea that it's the kernel for me. Something is not broadcasting the MAC address properly to the router. Not sure what to try next.
EDIT: Solved the problem. USE="vram" emerge dhcpcd did the trick. |
|
| Back to top |
|
 |
rjmars97 n00b


Joined: 08 May 2006 Posts: 30
|
Posted: Tue Jan 15, 2008 1:11 pm Post subject: |
|
|
Ah, thanks for that post, I was having the same problem. I don't remember ever having this problem before... was something changed in the default profile or something? _________________ I opened Pandora's box, let the cat out of the bag and put the ball in their court.
-- Hon. J. Hacker (The Ministry of Administrative Affairs) |
|
| Back to top |
|
 |
Tatsh n00b

Joined: 21 Jul 2007 Posts: 16
|
Posted: Wed Jan 16, 2008 1:51 am Post subject: |
|
|
Stranger for me since the last install, where I obviously had to have emerged dhcpcd, it worked fine. Not even sure what the vram use flag does, but it fixes the problem, so I'm not caring much.  |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6094 Location: Blighty
|
Posted: Wed Jan 16, 2008 4:52 am Post subject: Re: Router sees wrong MAC address from Linux [SOLVED] |
|
|
| Tatsh wrote: | My router sees my MAC address like this:
65746830000100010F1438AF000FB0C2 |
You should inform the maker of your router that it doesn't obey RFC2131 and as such RFC4361 conformant dhcp clients such as dhcpcd will break. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
|