Fedora Linux Support Community & Resources Center
  #1  
Old 15th September 2006, 12:58 PM
LooNy2006 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1
problem configuring eth0

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.
Reply With Quote
  #2  
Old 15th September 2006, 01:01 PM
red_dungeon's Avatar
red_dungeon Offline
Registered User
 
Join Date: Mar 2006
Location: Switzerland
Posts: 179
remove the MAC line from ifcfg-eth0

Isn't needed if you only have one NIC.

The line in ifcfg-eth is useful if you have more than one NIC and isn't dynamically updated.
__________________
LINUX - because booting is for adding hardware! :D
Reply With Quote
Reply

Tags
configuring, eth0, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring WLAN and ETH0 with DNS rvdsabu4life Servers & Networking 3 7th September 2006 05:06 PM
problem with eth0 mat_rsr Installation and Live Media 3 14th April 2006 03:19 AM
Problem configuring eth0 gkramer Servers & Networking 6 6th November 2004 02:44 PM


Current GMT-time: 18:58 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat