Operating System - Linux
1829103 Members
2424 Online
109986 Solutions
New Discussion

Re: How to change network Card Hardware Device name

 
avizen9
Esteemed Contributor

How to change network Card Hardware Device name

Hi,
I have configured one linux box and found that Redhat Linux can not detect onboard card, i found some source and compile for onboard card and its able to detect, but in hardware property its showing un-known device i want to put some word line Intel / 3G something, how to change it,

i have attached here a sample working station network info, i need to change it how. please advice for this. thanks in advance.
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: How to change network Card Hardware Device name

Shalom,

In general it works First in First out.

First device detected is eth0.

The detection order makes little sense if you do the OS install at at time with two NIC cards.

I had an interesting situation in 2005.

I got a couple of Dell systems with internal broadcom cards. Did an OS install with a couple of Intel add in cards which I planned to bond inside.

The Intel Cards came out as eth0/eth1 the internal came up ad eth2.

I needed to redo the install and for grins pulled out the intel cards.

The broadcom card still came up as eth2

It makes no sense but you pretty much need to live with the results from this process.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
avizen9
Esteemed Contributor

Re: How to change network Card Hardware Device name

HI Thanks for reply,
erm.. i am not sure what are you talking here.

actuly i want to change the description for this network card, Just for example in attachment file you can see at present its showing "3com corporation" i want to change with "300com cop" something is it possible?

thanks for your next reply.
Court Campbell
Honored Contributor

Re: How to change network Card Hardware Device name

I don't believe you are going to be able to change that. I believe the info is pulled from lspci. If anything you might just want to document your system so that you have the info you want/need.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
avizen9
Esteemed Contributor

Re: How to change network Card Hardware Device name

HI Court Campbell
i have attached here one file, its having info all .c files through which i generatd network driver. you may go through it and let me know if you will get any idea,

i need to copy this folder in linux box and need to run make install to install driver.
Court Campbell
Honored Contributor

Re: How to change network Card Hardware Device name

I am not sure what you want me to do. I don;t really have the time to look at this issue in that depth. Try grep'ing for key words in the files and see if you find what it is you want to change.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Dan Wanek
Valued Contributor

Re: How to change network Card Hardware Device name

Look into using udev rules. In ubuntu the rule is called 70-persistent-net.rules. You should be able to do something similar in Redhat and SuSE.
Court Campbell
Honored Contributor

Re: How to change network Card Hardware Device name

Dan, he doesn't want to change the device name. He wants to change the device description. It's not going to be that easy.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
avizen9
Esteemed Contributor

Re: How to change network Card Hardware Device name

i know we can do this, please work around i remember in past somebody has done this but i forgot how?

please help me for this.
avizen9
Esteemed Contributor

Re: How to change network Card Hardware Device name

resolved