1821188 Members
3277 Online
109631 Solutions
New Discussion юеВ

Re: TCP/IP problem

 
SerkanOZ
Occasional Contributor

TCP/IP problem

Hi,
I'm new on HP-UX. So I'm sorry for my questions.

1- How can I check the installed HP-UX version?
I used --swlist -l bundle-- command. But this command is showing a lot of line on the screen. What are they? I think my OS version is B.11.00?

2- How can I check IP. I run netstat -i command then I saw Name : lo0 Address : localhost.
I think TCP/IP configuration is not set yet. How can I do?

Thanks for helps.
Serkan
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: TCP/IP problem

1- uname -a

2- lanscan, ifconfig lanX, lanadmin, /sbin/set_parms


Pete

Pete
Arunvijai_4
Honored Contributor

Re: TCP/IP problem

Hi Serkan,

Welcome to HP-UX. To answer your questions,

Q1) How can I check the installed HP-UX version?

# uname -a will provide all the details.
# /opt/ignite/bin/print_manifest

will give a detailed output.

Q2) How can I check IP. I run netstat -i command then I saw Name : lo0 Address : localhost.

# ifconfig lan0

or use sam.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Godron
Honored Contributor

Re: TCP/IP problem

Serkan,
Overall : Learn to use sam

1. uname -a
2. have a look in the /etc/hosts file
To set it, use sam or set_parms ip_address

For further info : man set_parms
Sivakumar TS
Honored Contributor

Re: TCP/IP problem


HI,

1) Run

#uname -a --> to know the OS version.

2) AS the Network is not configured, you may run

#/sbin/set_parms --> to set ALL network parameters such as IP,mask,hostname etc ( sort of menu driven )

With Regards,

Siva.


Pete
Nothing is Impossible !
Chan 007
Honored Contributor

Re: TCP/IP problem

Serkan,

Version - uname -r

Model of the system - model

hostsname of the system - hostname

ip address - grep -i /etc/hosts

Chan
SerkanOZ
Occasional Contributor

Re: TCP/IP problem

Hi,
Thanks for your helps. I gave an IP number. But when I run ifconfig -a, I am taking no such interface error. In addition to this when I reboot the system, I saw LAN interface FAIL in start-up in progress menu.
And I can not ping to other Ip addresses.
Could you tell me what mistakes I did?

Thanks and regards
Serkan
Muthukumar_5
Honored Contributor

Re: TCP/IP problem

It is not linux to use ifconfig -a. Try as,

# netstat -ivn
# ifconfig

It will give ip list.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: TCP/IP problem

can you post this information:


# grep -Ev '^$|^#' /etc/rc.config.d/netconf
# cat /etc/hosts
# lanscan

You have not configure your network Interface yet. To configure that use as,

/sbin/set_parms ip_address

--
Muthu

Easy to suggest when don't know about the problem!
SerkanOZ
Occasional Contributor

Re: TCP/IP problem

Ok Muthu. I tried. But After netstat -ivn command, I saw Name:lo0 Network:127.0.0.0 and Address:127.0.0.1 on the screen. Afterwards I entered ifconfig lan0 but I took no such interface error again. What is the problem?

What could you say about LAN interface FAIL during system reboots.

Thanks...
SerkanOZ
Occasional Contributor

Re: TCP/IP problem

I selected the Networking and Communications item of the SAM main window.

I selected the Network Interface Cards item of the Networking and Communications window.

I clicked the LAN card that I want to configure from the object list.

I verified that the hardware path is correct for my LAN card (by comparing the hardware path on the Configure LAN Card window with the hardware path from the output of the commands ioscan -fdbtlan and lanscan -v).

I choose Configure from the "Actions" menu to open the Configure LAN Card window.

I entered the information about the LAN card.

I choose the Card Type of LAN card. The default is Ethernet and IP address ...



I activated the OK button to perform the task and returned to the Configure LAN Card window. But I still see status:Not Configured on Network Interface cards

I can see IP address in /etc/hosts file.
What can I do?