Operating System - HP-UX
1819794 Members
3225 Online
109607 Solutions
New Discussion юеВ

Network Card doesn't seem to initialize.

 
Jo Lloyd
Occasional Contributor

Network Card doesn't seem to initialize.

I have an N-4000 with a 4 port PCI NIC.

I have seen that at boot time that the network can't be reached via the lan connection to this card. You cannot ping any other machine on the network and this machine cannot be ping'd. You can ping the IP address assigned for this interface.

I've checked for obvious routing errors but netconf is correctly configured and netstat -rn shows the correct routes.
I have also tried /sbin/init.d/net start to re-read the netconf, ifconfig lan4 unplumb and then restart networking but neither of these have helped.

landiag shows that there are packets on this interface. The only way I could get the card to start working was to isse the RESET from within landiag. There doesn't appear to be any errors logged on the system.

For some reason this issue hasn't re-appeared after I tried rebooting the platform 3 times in an attempt to reproduce it.

Is this a possible HW issue? Has anyone seen this sort of behaviour before?

Thanks.
Jo
7 REPLIES 7
hpuxrox
Respected Contributor

Re: Network Card doesn't seem to initialize.

Have you tried lanadmin? What does lanadmin give you? adminitrative up? hardware up?

Anyway, my first guess would be HW.

-Yates
Sridhar Bhaskarla
Honored Contributor

Re: Network Card doesn't seem to initialize.

Hi Jo,

It could be due to incorrect speed settings.
Looks at your hpbase100conf in /etc/rc.config.d for the parameters.

You can also use lanadmin command to verify the speed before you reset the port. When you reset the port, it might have done an autonegotiation and set the speed correctly.

You also will need to look at your switch. If it is supported, set it to 100 Full duplex and change your hpbase100conf accordingly.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: Network Card doesn't seem to initialize.

As with many network issues, I would suspect auto-negotiation - you would do well to talk to you network admins and decide on the speed you want the connection to operate at (10HF,10FD,100HD or 100FD), and then set both the network card and the port on the switch/hub to that speed with auto-negotiation disabled.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Jo Lloyd
Occasional Contributor

Re: Network Card doesn't seem to initialize.

Isn't lanadmin = landiag ?
The card is up and active, I can see that there are packets across the NIC, using the DISPLAY option I can see the Inbound/Outbound values increase. There's no collisions, lost packets or delays.

If I do the 'ifconfig lan4 down' you cant ping the local IP address and 'ifconfig lan4 up' you can ping the local IP address - so that correct behaviour.

Once the card starts everything works fine and without any problems - just this issue when the platform is rebooted.
John Palmer
Honored Contributor

Re: Network Card doesn't seem to initialize.

I'd check the speed settings and ensure that they are fixed on both the server and the switch.

The server settings used at boot are in hpsppci100conf and hpbase100conf (depending on the card type) in /etc/rc.config.d

Regards,
John
Sridhar Bhaskarla
Honored Contributor

Re: Network Card doesn't seem to initialize.

Jo,

This is the case usually when your switch is not supported full duplex and your system is set to Full. You need to check your switch and adjust your hpbase100conf file. 100 Full AUTO NEGOTIATION OFF is the preferred configuration if your switch supports it. If your switch doesn't, make sure you remove all the entries from your /etc/rc.config.d/*100* files. It negotiates by default.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jo Lloyd
Occasional Contributor

Re: Network Card doesn't seem to initialize.

The network configuration is correct and matches that of the switch 100FD Auto Negotiate is OFF.

It still hasn't happened again after a couple more reboots so I think it'll be 'one of those things'.

Thanks for the advice.