Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Advice please. Can not change MAC 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
sdavydov2
n00b
n00b


Joined: 22 Nov 2007
Posts: 4

PostPosted: Thu Nov 22, 2007 10:56 am    Post subject: Advice please. Can not change MAC address Reply with quote

I tried to change mac address of my ethernet card but i couldn't do it.
The card has 16 "digit" mac address.

ifconfig eth0 down
ifconfig eth0 hw ether 11:22:33:44:55:66:77:88:99:10:11:12::13:14:15:16

-> And gentoo tells me invalid address.

What is wrong?
Back to top
View user's profile Send private message
vad3r
Guru
Guru


Joined: 02 May 2004
Posts: 461
Location: Munich, Germany

PostPosted: Thu Nov 22, 2007 12:49 pm    Post subject: Reply with quote

First of all: A MAC address has 12 characters. It's almost impossible that your MAC address contains only digits. The command you supplied with your post can't work (12 != 32). Please review your ifconfig output. Btw why do you want to change your MAC address??
_________________
-- http://www.linuxaddicted.de/ | Please help to answer open questions
Back to top
View user's profile Send private message
sdavydov2
n00b
n00b


Joined: 22 Nov 2007
Posts: 4

PostPosted: Thu Nov 22, 2007 1:01 pm    Post subject: Reply with quote

I want to access one network to install Gentoo! and i don't want to speak with admin and ask him. ))

When i type "ifconfig eth0" it shows me following address "00-E0-18-00-03-A0-53-3D-00-00-00-00-00-00-00-00". So it's 32 digits!
The address i showed before was an example. And i windows i can easily change it.
Back to top
View user's profile Send private message
modified_bessel
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 101
Location: Cote d'Azur, France

PostPosted: Thu Nov 22, 2007 1:49 pm    Post subject: Reply with quote

In order to sign onto some networks, your computer IP address may be identified by your computer's GUID number, not only its MAC number. Sometimes non-existent GUID numbers (older motherboards) can be hacked by appending 20 zeros to the MAC address giving a 32 digit number like you have. However, it looks like you have 16 zeros appended to 4 other digits (533D), and this probably means your board has a real GUID number recognized by the network. I would guess that your actual (and changable) MAC address (ALWAYS 12 digits like vad3r says) is 00:E0:18:00:03:A0
Back to top
View user's profile Send private message
sdavydov2
n00b
n00b


Joined: 22 Nov 2007
Posts: 4

PostPosted: Thu Nov 22, 2007 3:11 pm    Post subject: Reply with quote

I try to change only 12 digits and i doesn't work also.

"ifconfig eth0 hw ether 00:15:C5:1D:33:6C"

Gento says: "SIOCSIFHWADDR: Invalid argument."

The strange thing is that Windows show MAC address as "00-1D-60-47-72-8B"
and in Gentoo: "HWaddr 00-E0-18-00-03-A0-53-3D-00-00-00-00-00-00-00-00"

???why???
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Thu Nov 22, 2007 10:42 pm    Post subject: Reply with quote

An Ethernet MAC address is only 6 bytes (12 hex digits) long. That eth0 of yours is a Firewire (ethernet-over-1394) interface, as evidenced by the longer MAC. Perhaps you have an eth1 which is your internet interface; or perhaps you're missing support for your network device in your kernel.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
modified_bessel
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 101
Location: Cote d'Azur, France

PostPosted: Fri Nov 23, 2007 9:03 am    Post subject: Reply with quote

Agreed..... Windows is looking at the ethernet card. Interesting coincidence that the 8-byte firewire address + 16 hex zeros is equivalent to a 6-byte MAC address + 10-byte motherboard id = GUID (both 16 bytes and with similar formatting)
Back to top
View user's profile Send private message
sdavydov2
n00b
n00b


Joined: 22 Nov 2007
Posts: 4

PostPosted: Sun Nov 25, 2007 1:01 pm    Post subject: Reply with quote

Thanks a lot for information. :!:
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