Hy everyone,
I'm a linux newbie and I'm using Fedora Core 5. I'm trying to change my MAC address and make the default one ( I mean after the boot the MAC to be the one i set). I'm using DHCP and it works ONLY for the MAC I'm trying to change into.
This is the original ifconfig:
[root@LooNy ~]# ifconfig
eth0 Link encap:Ethernet
HWaddr 00:0A:E4:B5:AB:92
inet addr:172.24.6.47 Bcast:172.24.15.255 Mask:255.255.240.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:209 Base address:0xa000
and this is the changed one:
[root@LooNy sbin]# ifconfig
eth0 Link encap:Ethernet
HWaddr 00:E0:50:02:23:7F
inet addr:172.24.6.47 Bcast:172.24.15.255 Mask:255.255.240.0
inet6 addr: fe80::2e0:50ff:fe02:237f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7245 errors:0 dropped:0 overruns:0 frame:0
TX packets:481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1061660 (1.0 MiB) TX bytes:80291 (78.4 KiB)
Interrupt:209 Base address:0xa000
-> this is the one I want to set to default
I tried cofiguring /etc/systemconfig/network-scripts/ifcfg-eth0 but with no result.
This is the configured /etc/systemconfig/network-scripts/ifcfg-eth0
[root@LooNy ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:e0:50:02:23:7f
ONBOOT=yes
DHCP_HOSTNAME=LooNy
USERCTL=no
IPV6INIT=no
PEERDNS=no
TYPE=Ethernet
IPADDR=172.24.6.47
NETMASK=255.255.240.0
GATEWAY=172.24.0.1
How do I change the MAC to remain the new one after the boot?
(sorry for my bad english)
Thank you.