View previous topic :: View next topic |
Author |
Message |
sdavydov2 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2007 Posts: 4
|
Posted: Thu Nov 22, 2007 10:56 am Post subject: Advice please. Can not change MAC address |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
vad3r Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_vader.gif)
Joined: 02 May 2004 Posts: 461 Location: Munich, Germany
|
Posted: Thu Nov 22, 2007 12:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sdavydov2 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2007 Posts: 4
|
Posted: Thu Nov 22, 2007 1:01 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
modified_bessel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jul 2004 Posts: 101 Location: Cote d'Azur, France
|
Posted: Thu Nov 22, 2007 1:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sdavydov2 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2007 Posts: 4
|
Posted: Thu Nov 22, 2007 3:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tarpman Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/194464846347fed31505afc.jpg)
Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Thu Nov 22, 2007 10:42 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
modified_bessel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jul 2004 Posts: 101 Location: Cote d'Azur, France
|
Posted: Fri Nov 23, 2007 9:03 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sdavydov2 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2007 Posts: 4
|
Posted: Sun Nov 25, 2007 1:01 pm Post subject: |
|
|
Thanks a lot for information. ![Exclamation :!:](images/smiles/icon_exclaim.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|