- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Web access
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
05-03-2007 05:04 AM
05-03-2007 05:04 AM
I would like to get Web access from an HP-UX box (private IP). Could you please give me the main steps to follow?
Thanks to all who will participate
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:07 AM
05-03-2007 05:07 AM
Re: Web access
Access the box from outside? access another internal box from your box!?
Please explain us to give you a good answer...
Best regards,
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:08 AM
05-03-2007 05:08 AM
Re: Web access
After that use included browser (it depend on version of HP-UX) or install wget - http://hpux.cs.utah.edu/hppd/hpux/Gnu/wget-1.10.2/
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:14 AM
05-03-2007 05:14 AM
Re: Web access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:18 AM
05-03-2007 05:18 AM
Re: Web access
#ping
How to configure that is included in the info sent previously.
Best regards,
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:25 AM
05-03-2007 05:25 AM
Solutionbut check and configure your ...
# vi /etc/rc.config.d/netconf
ROUTE_GATEWAY[0]=
# /sbin/init.d/net stop
# /sbin/init.d/net start
Also, with this other command you asign your default gateway.
#/sbin/set_parms addl_netwrk
Best regards,
MArc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:40 AM
05-03-2007 05:40 AM
Re: Web access
Actually I can ping it from the hp-ux box. I downloaded the following file from the link you sent to me: wget-1.10.2-hppa-11.23.depot.gz
But when using the gzip -d command on it I get the following error:
gzip: /wget-1.10.2-hppa-11.23.depot.gz: invalid compressed data--crc error
gzip: /wget-1.10.2-hppa-11.23.depot.gz: invalid compressed data--length error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:43 AM
05-03-2007 05:43 AM
Re: Web access
Try to uncompress that file in your computer first! while I look for the same application in another location...
Marc'o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:44 AM
05-03-2007 05:44 AM
Re: Web access
Let's assume your hpux box IP address is:
10.2.121.95 with a netmask of 255.255.255.0
and let's assume that the gateway router's address on this subnet is:
10.2.121.254 with the same netmask.
on your hpux command line, logged in as root, run this command
route add default 10.2.121.254 1
this will override whatever is/was your default router was, so if you have any critical application, depending on a network connection to another place, DO NOT DO THIS !
At this point, you should be able to start your browser and navigate to a popular site like google.com and see the page load.
If it is not loading, it menas that, there is a firewall between your subnet and the internet gateway router, which needs to be opened up for your hpux server's ip address. If you are not the firewall admin at the same time, you need to talk to these people.
If everything is working, come back and post here to get the instructions about how to make your default route permanent, so that it will not go away with reboot.
Hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:46 AM
05-03-2007 05:46 AM
Re: Web access
Let us know your results.
Marc'o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 05:49 AM
05-03-2007 05:49 AM
Re: Web access
If you can ping your gateway, you can go outthere.. so, my application is running good, as expected, hope yours too.
Marc'o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 06:42 AM
05-03-2007 06:42 AM
Re: Web access
Mel: I updated the netconf file. It really helps. I'm new at hp-ux and I thought that the ifconfig lanx command was enough to configure the network. But how come there can be different information in the netstat -ni output and the netconf file? (I had different IPs!)
Carl'o: I downloaded the ftp depot file, is that the one you used? Then what tool did you use to decompress it (Are you on WinXP like me?) before transferring it to the hp-ux box? Do you have any idea why the file cannot be decompressed via 'gzip -d' it on hp-ux?
One more thing is that my name service is not configured yet on the hp-ux box. What server would you advise me? I tried with a DNSUPGRADE depot file but there was a permission and depot location problem when using swinstall. Is it necessary to use a depot file on hp-ux?
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 06:55 AM
05-03-2007 06:55 AM
Re: Web access
But since you are talking about accesing internet, you will need to setup a name resolution system to resolve internet bound names to their ip addresses.
So, edit your /etc/resolv.conf and /etc/nsswitch.conf files (man can tell you a lot about these files) and insert proper entries.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 06:55 AM
05-03-2007 06:55 AM
Re: Web access
Yes, I'm using XP like you.. I downloaded the file to my desktop, then using ftp I sent the file to my /tmp directory.
Now log in to the server and extract the file.
#cd /tmp
#gzip -d wget-1.10.2-ia64-11.23.depot.gz
Now you will see a file like this..
wget-1.10.2-ia64-11.23.depot
Now, you need to execute the following command. :
#swinstall -s /tmp/wget-1.10.2-ia64-11.23.depot
Then, that will start the swinstall "wizard" , select the item "wget" by using the
That must work for you.
Let us know your results,
MArc'o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 07:50 AM
05-03-2007 07:50 AM
Re: Web access
# pwd
/
# ls | grep wget
wget-1.10.2-hppa-11.23.depot.gz
# gzip -d wget-1.10.2-hppa-11.23.depot.gz
gzip: wget-1.10.2-hppa-11.23.depot.gz: invalid compressed data--crc error
gzip: wget-1.10.2-hppa-11.23.depot.gz: invalid compressed data--length error
It may be a wrong version; I'll check. What is the command to get detailed information about an hp-ux system please?
* I am going to configure the resolv.conf and nsswitch.conf files. I will have no fqdn to specify cause the box is not part of any domain. Should it work anyway? Or maybe I should set a domain first. How?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 07:53 AM
05-03-2007 07:53 AM
Re: Web access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 08:22 AM
05-03-2007 08:22 AM
Re: Web access
The error message you are getting means, you could not get the whole file for some reason. Did you try to download it directly to your hpux box or did you download it to windows box and then transferred it to the hpux system ?
Whichever is the way you used, the transfer to hpux system, did not finish completely. If you can summarize command-by-command what you did, it may help us understand where you might have gone wrong. One thing comes to mind is, if you selected binary mode before downloading it from ftp site ? Again step by step account of what you did is the best way to start solving the problem.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 11:41 PM
05-03-2007 11:41 PM
Re: Web access
I went to the link Marc'O provided.
Then clicked on the ftp version of the following file:
wget-1.10.2-hppa-11.23.depot.gz
I saved it in the FileZilla directory of my windows box.
From the cli I connected to the hp-ux box after having moved to the FileZilla directory.
There I 'put' the downloaded file; I actually got this output:
ftp> put wget-1.10.2-hppa-11.23.depot.gz
200 PORT command successful.
150 Opening ASCII mode data connection for wget-1.10.2-hppa-11.23.depot.gz.
226-WARNING! 2115 bare linefeeds received in ASCII mode
File may not have transferred correctly.
226 Transfer complete.
ftp: 628335 bytes sent in 1.15Seconds 545.90Kbytes/sec.
Something went wrong at this step.
Do you know an hp-ux command that provides more details on the systm than 'uname -a'? (platform information...?)
Thank you very much 4 ur availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 11:44 PM
05-03-2007 11:44 PM
Re: Web access
Run the follwoing command .:!
First run the model command to see what server do you have.
#model
ia64 hp server rx7620
That rx means that I have an Itanium box, in your case is appears a PA#### you need to take the PA-RISC versions.
#uname -a
HP-UX mtlrc139 B.11.23 U ia64 423789787 unlimited-user license
That is just for your information because the file is the same for all the versions, don't worry about it.
download this one.:
http://hpux.connect.org.uk/hppd/cgi-bin/redirect?hpux/Gnu/wget-1.10.2/wget-1.10.2-ia64-11.23.depot.gz
Regards,
MArco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 11:48 PM
05-03-2007 11:48 PM
Re: Web access
Look at this..
***File may not have transferred correctly.***
Try to use ascii before the transfer.
Or, go right here ...
http://www.download.com/SmartFTP/3000-2160-10028635.html?part=dl-SmartFTP&subj=dl&tag=button
And download this cool ftp client for your XP, and try to use it to your server, it works very good.
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 11:50 PM
05-03-2007 11:50 PM
Re: Web access
# model
9000/800/rp3440
I do not know the platform of the server (pa risc?)
Mel talked about enabling binary mode before downloading the ftp file. how am I supposed to do it?
I am cfiguring the name service while.
10x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2007 12:10 AM
05-04-2007 12:10 AM
Re: Web access
But, then try to run the other ftp software...and put the file in your server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2007 12:20 AM
05-04-2007 12:20 AM
Re: Web access
ftp> ascii
200 Type set to A.
ftp> put wget-1.10.2-hppa-11.23.depot.gz
200 PORT command successful.
150 Opening ASCII mode data connection for wget-1.10.2-hppa-11.23.depot.gz.
226-WARNING! 2115 bare linefeeds received in ASCII mode
File may not have transferred correctly.
226 Transfer complete.
ftp: 628335 bytes sent in 1.06Seconds 591.65Kbytes/sec.
If I want to use the other ftp sw, should I only have to download it to the windows box and use it as I am using FileZilla right now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2007 12:22 AM
05-04-2007 12:22 AM
Re: Web access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2007 12:59 AM
05-04-2007 12:59 AM
Re: Web access
to the win box.
Then I unzip it to get the .depot file.
This one I ftp to the hp-ux box and got the same error as before.
Anyway I used the swinstall -s
"hostname:/path to the depot file": You do not have the required permission to perform this operation.
I had already got this error when trying to install a DNS depot file. I am root on the server.
When I use 'swacl -l root' to check the permissions I get the error that I do not have the test or controp permission to be able to access the root acl.
The identity information used by Software Depot is:
# id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
What should I do to be able to install depot files?