1834789 Members
2512 Online
110070 Solutions
New Discussion

Web Access

 
SOLVED
Go to solution
Scott McDade
Frequent Advisor

Web Access

I have setup my HPUX 11i box at home and it is networked to my other Windows machines. I have a cable modem and all machines have internet access. I am not able to get the http working on the HPUX machine as I am not sure what to use for the proxy. I can connect using the ip address and I can also use FTP but not of the www's work. Any suggestions?
Keep it Simple!~
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Web Access

Hi,

If you are able to connect to the machine, then do not enable proxy. Set "direct connection to internet" and see if it works.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Scott McDade
Frequent Advisor

Re: Web Access

Sri: Tried that and it complains that it does not recognize www.yahoo.com. However I can put in the
http://66.218.71.86 and I get the page.

Strange.....
Keep it Simple!~
Steven E. Protter
Exalted Contributor

Re: Web Access

Check the ip addresses of the other machines on your network. If they are windows, run ipconfig.

Manually assign the hp box in /etc/rc.config.d/netconf to an address and mask and especially gateway address the same as the other machines.

Check the other machines for DNS info and then enter those ips into /etc/resolv.conf

I'm assuming you know how to check that, right click network neighborhood, yada yada...


Then you should be on the Internet.

You may need to restart the hp box.

Run network tests.

nslookup isnamerica.com

traceroute isnamerica.com

You can get some information if your HP box needs an outside DNS entery in /etc/resolv.conf

P


Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Web Access

Scott,

It's no strange. It is not able to resolve yahoo.com. Unix server looks for a DNS server as defined in /etc/resolv.conf. If you can the DNS server entry from your windows box, you can configure your HP box to resolve the IPs. Worst the case, you can edit /etc/hosts file and keep the IPs and Hostnames of your commonly accessed URLs. For ex., put the following entry


66.218.71.86 www.yahoo.com

in your /etc/hosts and you can be able to connect to it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
U.SivaKumar_2
Honored Contributor
Solution

Re: Web Access

Hi,

Edit /etc/resolv.conf and put your ISP's DNS server addresses in it.
eg:-
server xx.xx.xx.xx
where xx.xx.xx.xx is the DNS server of your ISP.

Edit /etc/nsswitch.conf file , put this line
hosts: dns files

Thats it.

regards,
U.SivaKumar
Innovations are made when conventions are broken