Bug 160690

Summary: I'm not able to change MAC address
Product: [Fedora] Fedora Reporter: Dawid Gajownik <gajownik>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-17 07:34:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ifcfg-eth0 file none

Description Bill Nottingham 2005-06-16 19:19:00 UTC
*** Bug 160684 has been marked as a duplicate of this bug. ***

Comment 1 Bill Nottingham 2005-06-16 19:19:06 UTC
*** Bug 160685 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2005-06-16 19:19:22 UTC
*** Bug 160686 has been marked as a duplicate of this bug. ***

Comment 3 Bill Nottingham 2005-06-16 19:19:24 UTC
*** Bug 160688 has been marked as a duplicate of this bug. ***

Comment 4 Bill Nottingham 2005-06-16 19:20:14 UTC
Closing, no info in bug report.

Comment 5 Dawid Gajownik 2005-06-16 20:51:50 UTC
I'm really sorry for that spam :( When I was trying to send bugzilla report, I
always got page with bugzilla internal error 500 or something like this (I can
make a screenshot if you like).

Here's the proper bug report:
I'm not able to change MAC address

initscripts-8.11.1-1

I'm not able to change MAC addres of my ethernet card via
/etc/sysconfig/network-scripts/ifcfg-eth0 file.

I've changed:

MACADDR=00:40:F4:31:84:93

to

HWADDR=00:40:F4:31:84:94

and then typed:

[root@X audit]# LANG=C ifdown eth0
UrzÄdzenie eth0 posiada adres MAC inny niż spodziewany, ignorujÄ.
[root@X audit]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:31:84:93
          inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8597 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6930 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8219521 (7.8 MiB)  TX bytes:764360 (746.4 KiB)
          Interrupt:11 Base address:0xd000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1329 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1329 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39290 (38.3 KiB)  TX bytes:39290 (38.3 KiB)

[root@X audit]#

which means "Device eth0 has different MAC address than expected, ignoring."

BTW I don't know why, but LANG=C does not work. It still shows messages using
system locale.

As you can see, eth0 is up :/ I also tried to modifying ifcfg-eth0 after "ifdown
eth0". "ifup eth0" works, but network card still have the same MAC addres.

Above steps worked without a glitch in FC3.

Comment 6 Bill Nottingham 2005-06-16 20:58:47 UTC
Please attach your ifcfg file.

Comment 7 Dawid Gajownik 2005-06-17 06:40:33 UTC
Created attachment 115594 [details]
ifcfg-eth0 file

Comment 8 Dawid Gajownik 2005-06-17 07:34:11 UTC
Oh, don't bother. In previous Fedora's versions there was always HWADDR entry
and I had to change it to MACADDR.In FC4 there is MACADDR by default. I didn't
remember which one is correct, so I replaced it with HWADDR.

I'm really sorry that I waste your precious time.