- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: reconfiguring network on workstation
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
Forums
Discussions
Discussions
Discussions
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
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
06-08-2005 05:31 PM
06-08-2005 05:31 PM
reconfiguring network on workstation
I am trying to configure the network config of an old machine running 10.20b UX. But couldn't seem to work, i.e. though when I type hostname on xterm it will come up the correct hostname. the prompt on the xterm and the login window all show the old hostname. what did i do wrong?.. i have changed using both sam and also altered its etc/hostname as well as /etc/rc.config.d/netconf, but all failed.. please advise.
THank u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 05:50 PM
06-08-2005 05:50 PM
Re: reconfiguring network on workstation
I think the has something to do with the prompt i.e. PS1.
check your .profile for PS1 variable or add following line in the .profile
export PS1=[`hostname`]'$PWD >'
this should work
Cheers!!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 06:06 PM
06-08-2005 06:06 PM
Re: reconfiguring network on workstation
How does your name resolution take place ?
From /etc/hostname I understand that you changed /etc/hosts to your new hostname right ?
It could be because of miscugured profiles also. Check this by giving hostname command on prompt.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 04:39 PM
06-09-2005 04:39 PM
Re: reconfiguring network on workstation
Yes it is a misconfigured profile only. Try exporting current hostname through /etc/profile & $HOME/.profile.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:13 PM
06-09-2005 05:13 PM
Re: reconfiguring network on workstation
restart the box after making changes and this behavior will probably go away.
There could be a DNS server out there with out of date records for this machine. Check /etc/nsswitch.conf to see if DNS is enabled.
I can't think of anything you did wrong.
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
06-10-2005 12:39 AM
06-10-2005 12:39 AM
Re: reconfiguring network on workstation
xterm will normally use the variable HOSTNAME to show on the window. If u have'nt restarted the machine after changing the host name this variable may be having the old value . Even u can do without restarting by changing the variable to ur new hostname by 'export HOSTNAME=newname'