Operating System - HP-UX
1834712 Members
2499 Online
110069 Solutions
New Discussion

Re: Unable to get to the internet from my HP-UX box

 
SOLVED
Go to solution
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
I have to go to work....I will check some things and reply

Thanks

Alfred
Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Ok, i will go home soon, but post some output of the commands: "netstat -in" and "netstat -rn" if it still not working.

Craig Smith_13
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Can you ping your windows system from the hpux system?

Couple years ago, a friend had AOL Cable service, but you had to use their windows/mac client software to connect to the internet (and only certain linksys routers worked with AOL).

If you are logged in and idle for a certain amount of time, AOL will log you off.

Is AOL now "always on" or do you still need to log in? If so, you may need a client for the hp...if there is such a thing....
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Craig,
I can ping windows from the HP box.
Peter,

I can't ping the IPs you provided.
Here's the output of netstat

Netstat -in:
Name Mtu Network Address Ipkts Ierr Opkts Oerrs Coll
lo0 4608 127 127.0.0.1 290 0 290
0 0

lan0 1500 192.168.1 192.168.1.2 660 0 346
0 0

**pls. note there are more lines preceeding this output.

Netstat -rn

Dest. Gateway Flgs Refs Use Intfce Pmtu PmtuT
127.0.0.1 127.0.0.1 UH 0 144 lo0 4608
192.168.1.2 127.0.0.1 UH 0 146 lo0 4608
default 192.168.1.1 UG 0 329 lan0 1500
192.168.1 192.168.1.2 U 0 0 lan0 1500

Thanks

Alfred
Donny Jekels
Respected Contributor

Re: Unable to get to the internet from my HP-UX box

Alfred,

you might not be able to ping, try telnet or ftp to those IP's.

you should have any problems if you have not enabled the firewall on your linksys router.

try disabling the firewall.

netstat -nr should give your default route as 192.168.1.1

make sure the correct dns servers is listed in /etc/resolv.conf, these IP's you can get from the router, on the status page.

also make sure your /etc/nsswitch.conf file
has at least the follwoing line in

hosts: files dns

peace, good luck.

donny
"Vision, is the art of seeing the invisible"
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Donny,
I checked all of those
Thanks
Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Hi Alfred,

Did you try to disable the firewall function in your Linksys router like Donny sugested?

I don't know what the IP-address is of the Windows machine.
Is the linksys router/firewall configured to let through only one IP-address or a range that not contains your HP-box IP?

Try to power-off the Windows machine and configure the windows IP address on the HP-UX system (edit the /etc/rc.config.d/netconf file, change IP of lan0 and reboot system)

See if you can test with:
nslookup www.hp.com
and try to ping the IP address I sugested in a previous post.
By the way, are you able to ping this test IP address from your Windows machine rigth now?

Hopes this helps because I am out of ideas right now.

Regards,

Peter


Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
without changing the IP address of the HP box, when I did nslook as you suggested, I got good results. It gave aols name server and DNS and also that of hp.com
Alfred
Bill Hassell
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Since nslookup is working (I am assuming that nslookup reports the IP address of the remote DNS server and that other random sites like cisco.com, ibm.com, homedepot.com, boeing.com, etc). If true, then you're already connected and routing is OK. Now see if ftp works:

ftp hprc.external.hp.com

login=contrib, pw=9unsupp8

If that is OK, you're all set. telnet will often fail to commercial sites due to firewall barriers. You can't do anything about that.

While you're at it, you might configure NTP so you have a super-accurate clock. Start by seeing if you can reach some NTP servers:

ntpq -p ntp-cup.external.hp.com

If all is well, then edit /etc/rc.config.d/netdaemons and change:

export NTPDATE_SERVER=ntp-cup.external.hp.com
export XNTPD=1

Then edit (I prefer to replace the lengthy file) /etc/ntp.conf with:

server ntp-cup.external.hp.com # David Dalton's server
server time.twc.weather.com # The Weather Channel, Atlanta
server bonehed.lcs.mit.edu # MIT, Boston
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10 # backup clock (internal)
driftfile /etc/ntp.drift

Finally, set your clock with:

ntpdate -b ntp-cup.external.hp.com

and start the automatic NTP service:

/sbin/init.d/xntpd


Bill Hassell, sysadmin
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Bill,
nslookup worked on those sites. I got their IP addreses.
But ftp to the site given timed out.( did not work )

Thanks Bill

Alfred

Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Hi Alfred,

Can you ftp these sites using your windows system?
In other words, is the firewall(in the linksys router) blocking ftp?

Regards,
Peter
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
I can't ftp from windows neither
wierd eh

Alfred
Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Ok If you can't FTP from your windows system, you will not be able to do this from the HP system. It will be a setting in your firewall(in the Linksys) or you have to FTP via a proxy server.

Can you browse on the WWW with the HP-system now?
Try to setup the proxyserver of your ISP(also for FTP) and then type in the address bar: ftp:// (for anonymous ftp)
or ftp://username:passwd@ (for authenticated users)

Regards,
Peter
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
I don't this this box has a web browser. It is a HP B2000 running 10.2
Are you familiar with where I can get a web browser loaded in it.
Thanks for all your help

Alfred
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

sorry...I meant I don't think it has a web browser
Robert-Jan Goossens
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Hi Alfred,

The nescape link is in your other question, found a old mozilla release 1.4 below.

http://www.mozilla.org/releases/

http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4/mozilla-hppa2.0-hp-hpux10.20-1.4.tar.gz

Regards,
Robert-Jan
Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Did you get the Mozilla version Robert-Jan sugested working?

Regards,
Peter
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
I found out that I had netscape preloaded.
I launched it...but could not connect to the internet.
Hoefnix
Honored Contributor

Re: Unable to get to the internet from my HP-UX box

Hi Alfred,

Did you configure Netscape on HP-UX the same as you configured IE on the Windows system?

Please check if you use proxy settings on the Windows system and configure the same proxy settings on you HP-UX system.

If your are able to do a nslookup, you have a internet connection (at least to your ISP's DNS server) so I think it is a matter of configuring your browser correct.

Regards,
Peter
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter,
My windows system does not have proxy server setting.
Like you said, I think it's the browsers settings that preventing me from connecting to the interned since nslookup works ok.

I wonder why when i ping a site, it pings once and then it hangs. Shouldn't it ping continuosly?

Alfred
Alfred Asebiomo
Frequent Advisor

Re: Unable to get to the internet from my HP-UX box

Peter et all,
I finally got it working. But I had to change ISP from AOL to Bellsouth. It looks like the problem was with AOL; since there sofware has to be used to log on.

As soon as I used set_parms to configure the network, setting the domain name, hostname and the DNS, it connected to the internet immediately.

Thanks a lot Peter and everyone that helped out.

Alfred