Operating System - HP-UX
1827243 Members
2174 Online
109716 Solutions
New Discussion

Re: lanadmin options lockdown

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

lanadmin options lockdown

Got some NIC cards that I need to lock down as to what their options would be. Example, I want 100FD without auto-negotiate.

I seem to remember that depending on the driver and/or the NIC HW, depends on which file in the /etc/rc.config.d/hp*conf file to edit for this lock down.

Example, I have a PCI Ethernet with btlan4 driver. Have modified via lanadmin to be 100FD. I also have EISA with btlan0, and HP-PB 100 Base TX with btlan1

I remember seeing a message that says it depends on the driver. If so, which driver to which file?

This is for 10.20 and 11.00 systems.

Many thanks
1 REPLY 1
Berlene Herren
Honored Contributor
Solution

Re: lanadmin options lockdown

Here you go, Rick...
driver /etc/rc.config.d/

btlan0 hpeisabtconf

btlan hpbtlanconf

btlan1 hpbasetconf

btlan3 hpbase100conf

btlan4 hpgsc100conf

btlan5 hppci100conf

btlan6 hpsppci100conf



1. Ensure you have the latest cumulative patch for your 100BaseT card.

2. Copy the configuration file from /usr/newconfig/etc/rc.config.d/hp#####conf to /etc/rc.config.d

example with PCI card:

#/mv /etc/rc.config.d/hpbase100conf /tmp/hpbase100conf.old

#cp /usr/newconfig/etc/rc.config.d/hpbase100conf /etc/rc.config.d

3. Modify the file by setting the startup variables

HP-BASE100_INTERFACE_NAME[#]=lan0
(leave the station address blank)
HP_BASE100_SPEED[#]=100FD (where # is the interface index)


4. Launch the start up script manually by issuing start from the startup script

#/sbin/rc2.d/S323hpbase100 start

5. Confirm autonegotiation is off with lanadmin command

#lanadmin -x

Berlene

http://www.mindspring.com/~bkherren/dobes/index.htm