- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11.11 - HomeNetwork - Setup
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
03-04-2006 06:40 PM
03-04-2006 06:40 PM
All PC'S workstations are connected through a router (smc barricade) which is connected to the ISP (PPOE). After editing the /etc/hosts file I can reach all the PCs attached to the router but I can't get access to the internet. I configured static ip addresses on the systems. I did not setup a DNS Server in my Environment. Using the MS Windows Systems the access to internet works right away.
How do I need to configure the HPUX system to be able to get into the internet? Rgds Dietmar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 07:18 PM
03-04-2006 07:18 PM
SolutionMake sure the DNS address is set in your /etc/resolv.conf file...
ex:
#more /etc/resolv.conf
domain testdrive.hp.com
nameserver 15.170.178.132
Since you have connected the system to your router directly which uses PPOE connection for internet, i think in you case the nameserver IP can point to ur router IP itself. If this does not work, try using the DNS IP provided by your service provider directly in /etc/resolv.conf file.
To test the setup, you could for example try the following from ur HPUX box once you make changes to resolv.conf file,
ping www.yahoo.com
and see wether it gets resolved and pings.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 07:50 PM
03-04-2006 07:50 PM
Re: HPUX 11.11 - HomeNetwork - Setup
But now I run into another problem.
I use KEA!X (a X-Window Tool) on my Windows PC to access the HPUX Box (CDE). When starting mozilla now I receive following error.
# mozilla
Gtk-WARNING **: cannot open display: tiger:0.0
#
Before I could start mozilla to view local html pages.
Any idea? Rgds Dietmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 09:35 PM
03-04-2006 09:35 PM
Re: HPUX 11.11 - HomeNetwork - Setup
I understand from my response that u have changed the IP address. But make sure you change using the command "set_parms" this would take care of updating the required files.
After changing the IP, using set_parms and rebooting, I think ur set up should be working.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 10:13 PM
03-04-2006 10:13 PM
Re: HPUX 11.11 - HomeNetwork - Setup
For new learners, the set_parms approach is more efficient. However look at the configuration files it generates to get a feel for how the networking works.
Good Luck, have fun.
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
03-04-2006 10:17 PM
03-04-2006 10:17 PM
Re: HPUX 11.11 - HomeNetwork - Setup
I ran set_parms addl_netwrk, approved the settings for
Subnetwork mask: 255.255.255.0
Gateway IP address: 192.168.2.1
Domain name: testit.com
DNS server address: 192.168.2.1
and receive following error/warning:
_______________________________________________________________________________
WARNING: This system's current hostname (LION) and address (192.168.2.22)
could not be verified with the name server.
Some possible reasons include:
- This system has not been registered with the name server
- This system's host name or address is incorrect
- The domain, name server host name or address is incorrect
- The name server is unresponsive
If some of the networking parameters for this system are incorrect,
you may adjust them by re-executing "/sbin/set_parms initial" and changing
anything necessary.
Well - the problem now still is - that the X-Session won't run anymore and I can't login to the HPUX using X anymore. I use putty to login.
What would I need to modify to be able to run the X-Sessions again?
Regards - Dietmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 11:01 PM
03-04-2006 11:01 PM
Re: HPUX 11.11 - HomeNetwork - Setup
via putty, issue the command "nslookup", in the secondary prompt give the command "policy". Then exit nslookup command. If the policy output gave you dns as the first entry, please modify the hosts part your /etc/nsswitch.conf looks something like this....
hosts: files [NOTFOUND=continue] dns
regards,
Senthil Kumar .A
P.S: anyway can you paste the output of policy command when run after nslookup.
In my system it looks like this...
--------------------------------------------
td192> nslookup
Using /etc/hosts on: td192
> policy
#Lookups = 2
files [RCCC] dns [RRRR]
> td192>
--------------------------------------------
I have attached my /etc/nsswitch.conf file, so that it could of some help to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 11:04 PM
03-04-2006 11:04 PM
Re: HPUX 11.11 - HomeNetwork - Setup
Please reboot the system after u make the change to nsswitch.conf file, so that your CDE subsystem could be reinitiated.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2006 11:58 PM
03-04-2006 11:58 PM
Re: HPUX 11.11 - HomeNetwork - Setup
there was no /etc/nsswitch.conf.
I created it manually with following entries:
hosts: files [NOTFOUND=continue] dns
ipnodes: files [NOTFOUND=continue] dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
than ran set_parms addl_netwrk again - and rebooted the system. Now I can connect to the box again using X and connect to the internet.
nslookup returns this. Is that a normal behavour or would I need to modify something else.
# nslookup tiger
*** Can't find server name for address 192.168.2.1: Non-existent domain
*** Default servers are not available
Using /etc/hosts on: LION
looking up FILES
Name: tiger.testit.com
Address: 192.168.2.13
Aliases: tiger
Regards - Dietmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 12:11 AM
03-05-2006 12:11 AM
Re: HPUX 11.11 - HomeNetwork - Setup
That means your DNS server was not able to find tiger and hence it used files as i.e. /etc/hosts to seacrh for teh server it got that tiger.
Yes it looks normal.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 12:28 AM
03-05-2006 12:28 AM
Re: HPUX 11.11 - HomeNetwork - Setup
Anyway you can cross check by issuing "policy" command after you enter nslookup interactively. Just type the command nslookup.
If file comes first and then later DNS and NIS ... I rechon then the setting is fine.
in my case the output is ...
files [RCCC] dns [RRRR]
Anyway, glad that,it has solved your issues..
Regards,
Senthil kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 12:28 AM
03-05-2006 12:28 AM
Re: HPUX 11.11 - HomeNetwork - Setup
Best Regards
Dietmar