1823959 Members
4241 Online
109667 Solutions
New Discussion юеВ

Re: Disabling LAN card !

 
SOLVED
Go to solution
rveri
Super Advisor

Disabling LAN card !

Hi All,

How to disable the lan1 lancard , from OS.
OS is: hpux B.11.00


Thanks.
veri.
9 REPLIES 9
Alan Meyer_4
Respected Contributor
Solution

Re: Disabling LAN card !

you can do it through SAM by selecting
"Networking and Communications"
"Network Interface Cards"
[Highlight the interface card to deactivate]
Select "Actions>Disable"

You can also do it with ifconfig
ifconfig lan# 0.0.0.0
" I may not be certified, but I am certifiable... "
Jeff Schussele
Honored Contributor

Re: Disabling LAN card !

Hi veri,

First:

ifconfig lanX down

then:

ifconfig lanX unplumb

use the appropriate value for X

Then make sure /etc/rc.config.d/netconfig no longer has that NIC active - delete it or at least comment it out - or it'll come back next boot.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: Disabling LAN card !

Oooooppppsss - I meant
/etc/rc.config.d/netconf

Rgds,
Jeff

P.S. Sorry, I don't know my mind must be somewhere else....
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Hakan Aribas
Valued Contributor

Re: Disabling LAN card !

Hi,

You can lanconfig command to enable/disable a LAN interface.

Usage:
ifconfig lan1 down
ifconfig lan1 up
Hakan Aribas
Valued Contributor

Re: Disabling LAN card !

Hi,

You can ifconfig command to enable/disable a LAN interface.

Usage:
ifconfig lan1 down
ifconfig lan1 up
Morcos
Super Advisor

Re: Disabling LAN card !

Hi,
To disable it: ifconfig lan# down

Regards,
Ziad
Raj D.
Honored Contributor

Re: Disabling LAN card !

Hi ,

#/usr/sbin/ifconfig lan1 down
#/usr/sbin/ifconfig lan1 unplumb


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Arunvijai_4
Honored Contributor

Re: Disabling LAN card !

# ifconfig lan1 down
# ifconfig lan1 unplumb

Or go to SAM -> Networking and Communications ->Network Interface Cards->Select your card (LAN1) ->Actions -> Disable.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
rveri
Super Advisor

Re: Disabling LAN card !

Thanksall.