Operating System - HP-UX
1850588 Members
3168 Online
104054 Solutions
New Discussion

Re: Setting up internet connection

 
SOLVED
Go to solution

Setting up internet connection

Shalom.
I want to know what do i have to do to connect internet.
I have HP-UX 11.11 and i connected to the lan but i don't have internet access.
I want to know what file should i modify to have internet access o what commands must run.

TKS A LOT
13 REPLIES 13
Jagadeesh Kumar
Advisor

Re: Setting up internet connection

Alberto,

I assume you need access to internet via a proxy server !!

If you have netscape or Mozilla installed on HP-UX, the proxy server details can be configured in preferences ( same as in Windows)..

Ta,
Jag

Re: Setting up internet connection

ok, But i only works in text mode or console mode.

I want the internet access to can send mail messages
Ivan Krastev
Honored Contributor

Re: Setting up internet connection

Hi Alberto,

for internet access you need to setup your network:
ip address of machine, default gateway - /etc/rc.config.d/netconf


dns servers : /etc/resolv.conf


More info at - http://docs.hp.com/en/B2355-90748/index.html


regards,
ivan
Ivan Krastev
Honored Contributor

Re: Setting up internet connection

Sorry, this one is document - http://docs.hp.com/en/B2355-90685/index.html


ivan

Re: Setting up internet connection

TKS Ivan, but i have all that configured,
And still can't send mail to any external site.
Ivan Krastev
Honored Contributor

Re: Setting up internet connection

Do you have any errors in /var/adm/syslog/syslog.log after sending mail ?


ivan

Re: Setting up internet connection

No the error is in the mail an is:

Nov 10 17:10:42 Gasaraki sendmail[29359]: RAA29357: to=alberto.tlapa.tepox@hp.com, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, relay=hp.c
om, stat=Host unknown (Name server: hp.com: host not found)

Re: Setting up internet connection

Hola, i want to know if i can do somithing with this issue.
The nic its configured ok, but i don't have output to the internet.
I read something about a file but i don't know what file should i modify to gain access to the internet.
Please can some body tell me somethig or i was wrong.

TKs.
Yang Qin_1
Honored Contributor

Re: Setting up internet connection

Hi, I need some information from you:

1. Can you access you HPUX server from a PC via network?

2. Did you configured /etc/mail/sendmail.cf?

3. From your HPUX, can you "ping" your PC with the name?

4. From HPUX server, when you type nslookup www.cnn.com, can you get some IP's?


Yang

Re: Setting up internet connection

TKS.
OK
Respect to the information here is, i hope thats right,

1. Can you access you HPUX server from a PC via network?
I can open a telnet session, do a ping from my pc in teh same network.

2. Did you configured /etc/mail/sendmail.cf?
In this point i've made a lot of changes but in specific what configuration?

3. From your HPUX, can you "ping" your PC with the name?
No, i can't do it.

4. From HPUX server, when you type nslookup www.cnn.com, can you get some IP's?
No, i can't do it.


Yang Qin_1
Honored Contributor
Solution

Re: Setting up internet connection

2. in sendmail.cf you need to configure:
# "Smart" relay host (may be null)
DSmail_gateway.yourcompany.com

#O FallbackMXhost=fall.back.host.net
O mail_gateway.yourcompany.com

"mail_gateway.yourcompany.com" should be the mail server your company used to relay emails to / from internet.

3. / 4. can you check /etc/resolv.conf and make sure you have correct domain and nameserver configured.


Yang

Re: Setting up internet connection

Tks. I've configured sendmail.cf but i don't have resolv.conf.

What information should be there?
Yang Qin_1
Honored Contributor

Re: Setting up internet connection

/etc/resolv.conf looks like:

domain
nameserver


you can get DNS name / Ip by type "nslookup www.cnn.com" in dos window on your PC, then "ping "

you can use your PC's domain name for HPUX


Yang