Operating System - HP-UX
1826358 Members
3918 Online
109692 Solutions
New Discussion

Configure HP-UX workstation to the internet

 
SOLVED
Go to solution
Srinivasa Katta
Occasional Contributor

Configure HP-UX workstation to the internet

How can I configure HP-UX work station to connect to Internet ,What are all the files i need to be configured, I edited /etc/rc.config.d/netconf
when I opened a netscape browser, it says DNS entry not found , but I added DNS entries in /etc/resolv.conf
could some one help me?
skatta
4 REPLIES 4
pap
Respected Contributor
Solution

Re: Configure HP-UX workstation to the internet

Hi you need to do following.

1.edit /etc/resolv.conf file
and put all the name server and search domain in it.

2. edit /etc/hosts file and put the required host name and NIS server,NFS servers name in it.

3. /etc/netconf file put the corrct network parameters IP, Subnet etc..etc...
Then reboot the work station.

-pap
"Winners don't do different things , they do things differently"
pap
Respected Contributor

Re: Configure HP-UX workstation to the internet

Hi you need to do following.

1.edit /etc/resolv.conf file
and put all the name server and search domain in it.

2. edit /etc/hosts file and put the required host name and NIS server,NFS servers name in it.

3. /etc/netconf file put the corrct network parameters IP, Subnet etc..etc...
Then reboot the work station.


Check the hostname resolution using nslookup to check whether your host is capable to look the DNS database?
-pap
"Winners don't do different things , they do things differently"
Wodisch
Honored Contributor

Re: Configure HP-UX workstation to the internet

Hi,

do not forget to use "/etc/nsswitch.conf", to use the entries in your local "/etc/hosts" *before* trying DNS, as that potentially is very slow...

It may look like:

hosts: files[NOTFOUND=continue] dns

HTH,
Wodisch
Wim Rombauts
Honored Contributor

Re: Configure HP-UX workstation to the internet

Also check this one :

/etc/nsswitch.conf : used to find out what services to use to find other systems. Must contain DNS. Previous name sources need to have "continue" configured.

Best way is to check with SAM (networking & Communications - Name Service Switch).

Also check permissions on /etc/resolv.conf. Everyone needs read access to this file.