Operating System - HP-UX
1833767 Members
2802 Online
110063 Solutions
New Discussion

/etc/rc.log: ERROR: invalid duplex value for lan1 interface

 
SOLVED
Go to solution
Michael Bluemm
Frequent Advisor

/etc/rc.log: ERROR: invalid duplex value for lan1 interface

Hi,
have found an error in /etc/rc.log:

Configure HP GSC 100BT interfaces
Output from "/sbin/rc2.d/S331hpgsc100 start":
----------------------------
ERROR: invalid duplex value for lan1 interface
ERROR: invalid duplex value for lan2 interface
-----------------------------------------------
/etc/rc.config.d/hpgsc100conf:

HP_GSC100_INTERFACE_NAME[0]=lan1
HP_GSC100_STATION_ADDRESS[0]=0x0060B0C1B3EB
HP_GSC100_DUPLEX[0]=0x0060B0C1B3EB
HP_GSC100_SPEED[0]=100FD
HP_GSC100_INTERFACE_NAME[1]=lan2
HP_GSC100_STATION_ADDRESS[1]=0x0060B0C1B3EC
HP_GSC100_DUPLEX[1]=0x0060B0C1B3EC
HP_GSC100_SPEED[1]=100FD

###########################################################################
# The HP_GSC100_INIT_ARGS are reserved by HP. They are NOT user changable.

HP_GSC100_INIT_ARGS="HP_GSC100_STATION_ADDRESS HP_GSC100_DUPLEX"

Does anybody have an idea, what could be wrong?

Thank you,
Michael
... still trying ...
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

Michael,

It appears you have your station address in the duplex field. I would blank out both entries - the station address should be picked up from the NIC itself rather than hard coding it and the duplex is already specified in the speed line (100FD).


Pete

Pete
Robert Bennett_3
Respected Contributor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

The DUPLEX is wrong. Try deleting the value 0x0060B.... and adding =FULL.

Hope this helps.
B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
Michael Bluemm
Frequent Advisor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

Hi Pete,
thank you for your answer,
what means NIC ?
Bye, Michael
... still trying ...
Pete Randall
Outstanding Contributor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

NIC=network interface card

your lan card


Pete

Pete
Michael Bluemm
Frequent Advisor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

Hi,
now it's ok, I don't have this entry in rc.log anymore!
I blanked out
HP_GSC100_DUPLEX[0]=
HP_GSC100_DUPLEX[1]=

What do else now?
- adding FULL (necessary?)
- blank out STATION_ADDRESS (necessary?)

Your's, Michael
... still trying ...
Pete Randall
Outstanding Contributor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

Adding FULL - not necessary - it's already set to 100FD - you can check this with the lanadmin command to make sure it's running at 100FD - To view the current LAN setting: lanadmin -x 0

(where 0 is the card's instance or PPA number, found with lanscan).

Blank out station address - not necessary - but recommended to avoid the possibility of duplicates in the future.


Pete


Pete
Michael Bluemm
Frequent Advisor

Re: /etc/rc.log: ERROR: invalid duplex value for lan1 interface

Thank you, problem solved now.
Bye, Michael
... still trying ...