Operating System - HP-UX
1832645 Members
2869 Online
110043 Solutions
New Discussion

rx1620 can't see the network after set_parms initial

 
SOLVED
Go to solution
Maribeth Romeo
Frequent Advisor

rx1620 can't see the network after set_parms initial


I have a new rx1620 machine which I am trying to configure for my network. I have run /sbin/set_parms initial to get the network setup. When it tries to access the network, it always tells me that it is "unable to contact gateway." I've checked the cable to make sure it works. I also get the message:

"Note: Your system appears to have 2 network interfaces installed.
This procedure only configures the default network interface.
Use SAM to configure additional network interface cards."

Can someone give me instructions on how to do this?
13 REPLIES 13
Mel Burslan
Honored Contributor

Re: rx1620 can't see the network after set_parms initial

what does the output of the command

lanscan

say ?

after this, run the following command for both interfaces with lanX being different for each interface (find lanx from lanscan output

ifconfig lanX
(if you have two interfaces, you need to run this above command twice)

also run the command:

netstat -rn

and please post the output of each of these here for further help.
________________________________
UNIX because I majored in cryptology...
Sivakumar TS
Honored Contributor

Re: rx1620 can't see the network after set_parms initial


Dear Maribeth,

What is the output of

#ioscan -fnC lan

does it show 2 LAN cards?

also check the

#netstat -rn output
Is there any gateway specified ?

Please check /etc/rc.config.d/netconf file for multiple defenitions.

HtH,

Siva.
Nothing is Impossible !
Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

The output from lanscan is:

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#

0/1/2/0 0x0011855F23E4 1 UP lan1 snap1 1 ETHER Yes 119

0/1/2/1 0x0011855F23E5 2 UP lan2 snap2 2 ETHER Yes 119

The output from ifconfig lo0 is:
lo0: flags=849
inet 127.0.0.1 netmask ff000000

I couldn't run it on another interface. Do I have the syntax correct.

Output from netstat -rn is:

Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
127.0.0.0 127.0.0.1 U 0 lo0 0
Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

outout from ioscan -fnC lan is:


Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 1 0/1/2/0 iether CLAIMED INTERFACE HP PCI-X 1000Base-T Dual
-port Built-in
lan 2 0/1/2/1 iether CLAIMED INTERFACE HP PCI-X 1000Base-T Dual
-port Built-in

I checed the netconf file, and I only see 1 entry for ROUTE_GATEWAY. Output from netstar -rn is in my previous post.
James R. Ferguson
Acclaimed Contributor

Re: rx1620 can't see the network after set_parms initial

Hi:

I'd expect to see 'netstat -rn' show a "default" gateway.

Make sure you have (in '/etc/rc.config.d/netconf'):

ROUTE_DESTINATION[0]=default
ROUTE_COUNT[0]=1
ROUTE_GATEWAY[0]=xxx.xxx.xxx.xxx

Regards!

...JRF...

Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

I checked and those are all set correctly. Here are the settings (with the IP altered for posting).

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=1.0.0.xx
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

Also, a little more info might help you. The disk I'm booting from came from a different HP machine. I changed the host name. I don't think the other machine was ever set up to work on a network.
Jeff_Traigle
Honored Contributor

Re: rx1620 can't see the network after set_parms initial

Do you see any error indicated in /etc/rc.log? Since you moved the HDD from another system, are the systems identical? Makes me wonder if you don't have a necessary driver loaded for the NIC in the new system that wasn't in the system the drive was taken from.
--
Jeff Traigle
Jeff_Traigle
Honored Contributor

Re: rx1620 can't see the network after set_parms initial

Do you see any error indicated in /etc/rc.log? Since you moved the HDD from another system, are the systems identical? Makes me wonder if you don't have a necessary driver loaded for the NIC in the new system that wasn't in the system the drive was taken from. Have you tried manually running ifconfig and route to see if they generate any errors that would lead to the problem?
--
Jeff Traigle
Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

There are errors in the rc.log file. Looks like I do need to set up some drivers or run additional commands. What is the syntax for the route command? Sorry, but I am not an HP-UX expert.

Also, the machines were not the same. The drive came from an rx2620 machine, and I have an rx1620 machine.

Here is what is in the rc.log file:

Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start":
----------------------------
ERROR: lan0 interface: ifconfig: no such interface
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
add net default: gateway 1.0.0.25: Network is unreachable
"/sbin/rc2.d/S340net start" FAILED
Jeff_Traigle
Honored Contributor
Solution

Re: rx1620 can't see the network after set_parms initial

Ah. Ok. Not a major problem, it seems. The rc.log is saying there's no lan0, which is verified by your lanscan output earlier. Change lan0 to lan1 or lan2 (50-50 shot at getting it right the first time) for INTERFACE_NAME[0] in /etc/rc.config.d/netconf. Run /sbin/init.d/net start. When that completes with no error, you should be good to go.
--
Jeff Traigle
Jeff_Traigle
Honored Contributor

Re: rx1620 can't see the network after set_parms initial

And, for the record, manually you can do:

ifconfig lanX IPAddress netmask NetMask up

and

route add default GateWay 1

to bring up the interface and add the route, respectively (substituting legitimate values for your system and network, of course). This is basically what /sbin/init.d/net does using the parameters defined in /etc/rc.config.d/netconf.
--
Jeff Traigle
Maribeth Romeo
Frequent Advisor

Re: rx1620 can't see the network after set_parms initial

Well, that did the trick! Thank you so much for your help. My next venture will be getting the MP to work on its LAN card so I can telnet into the MP thru the LAN (as opposed to using the serial port).