Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2012, 05:57 PM
mese79 Offline
Registered User
 
Join Date: Nov 2010
Posts: 31
linuxopera
how to change network device name

Hi
I have hp tm2 laptop with two network adaptor(wired and wireless):
Code:
#lshw -class network
*-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: em1
       ...
  *-network
       description: Wireless interface
       product: BCM4313 802.11b/g/n Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       ...
Code:
#netstat -i

Kernel Interface table
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
em1       1500        0      0      0 0             0      0      0      0 BMU
eth0      1500     2386      1      0 0          2655      3      0      0 BMRU
lo       16436     8174      0      0 0          8174      0      0      0 LRU
I use some tools like vnstat and ntop to monitor my network bandwidth, but i have a weird problem with my network devices:
Every time i restart my laptop, the wireless network device name was changed(switched between eth0 & eth1)!!
So i can't monitor my network properly and after each boot i should check device name and restart those monitoring tools with new device name.
Now is there any way to set network device name manually?
I'm using fedora 17 (3.4.2-4.fc17.x86_64).
Thanks.

Last edited by mese79; 22nd June 2012 at 06:06 PM.
Reply With Quote
  #2  
Old 22nd June 2012, 10:21 PM
kordirko Offline
Registered User
 
Join Date: Jun 2012
Location: Poland
Posts: 3
linuxfirefox
Re: change network device name

Follow this link:
http://www.science.uva.nl/research/a...how_comments=1
Reply With Quote
  #3  
Old 23rd June 2012, 07:03 PM
mese79 Offline
Registered User
 
Join Date: Nov 2010
Posts: 31
linuxopera
Re: change network device name

Well I found this and follow the first step:
Fedora 16 ethernet port naming "secrets" p1* to eth*
It seems my problem was solved. but i couldn't find the file '/etc/udev/rules.d/70-persistent-net.rules' or anything related to network in /etc/udev/rules.d/ . so i just do step one and then my wireless lan became eth0 and embed lan(em0) became eth1.

***
Sorry, it wasn't solved
Today it happens again, and my wireless interface was changed from eth0 to eth1.
I don't know what else todo to fix this.

Last edited by mese79; 28th June 2012 at 12:05 AM.
Reply With Quote
Reply

Tags
change, device, network

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
Fed11: GNOME Network Configuration and Network Device Control screwed-up. bandersnoot Servers & Networking 1 27th June 2009 09:12 PM
Device shows up in Network configuration but not in Network Device Control bud.stentz Servers & Networking 1 13th January 2009 12:44 AM
Network Device Control keeps swithching device to inactive eppo#1 Servers & Networking 11 14th November 2008 10:19 AM
b43 device state change, then disables my device kai4785 Servers & Networking 1 4th October 2008 06:50 AM
change network device in netspeed carlainz Using Fedora 0 5th May 2007 03:05 PM


Current GMT-time: 01:29 (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