- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getting ip address of hp-ux server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 11:43 PM
тАО11-14-2005 11:43 PM
How to get ip address of HP-UX server.Which command is used or any file is there to check ip address.Another doubt i am unable to change my password in unix server as i have been given a new user and password.If i try using passwd command it is giving u may not change this password.How can i go about it.Advanced thanks for reply.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 11:49 PM
тАО11-14-2005 11:49 PM
Solution# netstat -in
# ifconfig lanX where X = your Interface PPA#
You can use commands like nslookup, getip, nsquery and dig to look up hostnames and IP's.
This information is configured in /etc/rc.config.d/netconf.
You can also use SAM to view your network information.
Some examples:
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 16.113.144.0 16.113.145.151 1592101 0 698993 0 0
lo0 4136 127.0.0.0 127.0.0.1 58268 0 58268 0 0
# ifconfig lan0
lan0: flags=843
inet 16.113.145.151 netmask fffffe00 broadcast 16.113.145.255
# getip vick1
16.113.145.151
# nslookup vick1
Name Server: atl-resolver.americas.hp.net
Address: 15.227.128.51
Trying DNS
Name: vick1.atl.hp.com
Address: 16.113.145.151
#
You use the passwd command to change your userse password. There may be restrictions on your account, check w/ your administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 11:53 PM
тАО11-14-2005 11:53 PM
Re: getting ip address of hp-ux server
ping `hostname`
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 11:54 PM
тАО11-14-2005 11:54 PM
Re: getting ip address of hp-ux server
It can be set/changed on the fly with the ifconfig command.
For the issue at hand, check the permissions on the passwd binary.
Normal permissions:
-r-sr-xr-x 5 root bin 49152 May 23 2001 /usr/bin/passwd*
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 12:02 AM
тАО11-15-2005 12:02 AM
Re: getting ip address of hp-ux server
#cat /etc/rc.config.d/netconf |grep IP_ADDRESS
The command will give you all the IPs which are permanently configured and will take place after reboot.
If somebody changed IP using ifconfig command then there may be difference in the IP in the file and current IP. But after reboot only file settings will take effect.
Also see
#lanscan ( For information about all lan interfaces)
HTH,
Devender