Gentoo Forums
Gentoo Forums
Quick Search: in
Router sees wrong MAC address from Linux [SOLVED]
View unanswered posts
View posts from last 24 hours

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


Joined: 21 Jul 2007
Posts: 16

PostPosted: Mon Jan 14, 2008 9:54 pm    Post subject: Router sees wrong MAC address from Linux [SOLVED] Reply with quote

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/08)(-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
View user's profile Send private message
rjmars97
n00b
n00b


Joined: 08 May 2006
Posts: 30

PostPosted: Tue Jan 15, 2008 1:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tatsh
n00b
n00b


Joined: 21 Jul 2007
Posts: 16

PostPosted: Wed Jan 16, 2008 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6094
Location: Blighty

PostPosted: Wed Jan 16, 2008 4:52 am    Post subject: Re: Router sees wrong MAC address from Linux [SOLVED] Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT - 5 Hours
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