Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Network Interface

SOLVED
Go to solution
John Palmer_5
Occasional Contributor

Remove Network Interface

We are no longer using an interface "EE3" on the system. It still shows up in Netstat. We have looked into Sysman and Ifconfig but can't figure out how to "remove" it. 5.1B
9 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: Remove Network Interface

Hi John,

do you want to phyically remove the nic?
Have you tried to deconfigure the nic in sysman?

hth,

Michael
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Yes, we want to Physically remove it later but for now we want it out of netstat. We tried Sysman, it sets the interface up/down only. Ifconfig shows removing an interface from a Netrain config, but not just plain old "remove". Any help would be appreciated.
Hein van den Heuvel
Honored Contributor

Re: Remove Network Interface


Doesn't sound liek too critical a problem to me. For looks only use: netstat | grep -v ee3 ?

:-)

Maybe vi /etc/rc.config, remove ee3, shuffle down that others, adjust NUM_NETCONFIG, rcinet restart?

Maybe you can use hwmgr? but I if anything you'll need to do that after the physical remove and reboot. Not worth risking crashing your systme over imho.

fwiw,
Hein.


Michael Schulte zur Sur
Honored Contributor

Re: Remove Network Interface

Hi,

my idea would be to remove the nic with the hwmgr -delete comp command and then shutdown and remove the nic.

hth,

Michael
Mohamed K Ahmed
Trusted Contributor

Re: Remove Network Interface

get the NIC down
ifconfig -I ee3 down
shutdown the system, then boot the system with file /genvmunix and build a new kernel, this should take care of the entry in /etc/rc.config that reference the NIC ee3

HTH

Mohamed
Danilo Martinez
Occasional Advisor
Solution

Re: Remove Network Interface

1) #hwmgr -show names --> identify you interface to delete
2) hwmgr -remove name -entry tu1

tu1 is an example of one interface

Best regards
Danilo Martinez
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Danilo, that did it. Thank you. Also Thanks to everyone that replied, I appreciate it.
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Well maybe, it did remove it when we do an hwmgr -show name Still shows up in netstat. We are going to remove the card rebuild the kernel and reboot this weekend.
Thanks again.
Mohamed K Ahmed
Trusted Contributor

Re: Remove Network Interface

So I was right?, or is this the best procedure to do it?

Mohamed