1834442 Members
1988 Online
110067 Solutions
New Discussion

Rookie Questions

 
SOLVED
Go to solution
Scott Painter_1
Advisor

Rookie Questions

Sorry for posting like such a rookie. I know I should be able to search thru previous responses to find the answers I need, but I'm not having any luck. Two problems I'm having:

1. I'm trying to connect to the internet thru a HPUX workstation. I've edited the resolve.conf and nsswitch.conf files according to the book and other resources instructions, but still cannot connect by typing in the web address ie www.yahoo.com. I can connect if I type in yahoo's IP address though. Also can ping anywhere I want by IP address, but not by web address.

2. I'm trying to install XV on these computers too. Can't compile it. Anybody have any experience on that or compiled versions?

Thanks
Scott
Trying to break into the IT world, PLEASE HELP!!!
26 REPLIES 26
Pete Randall
Outstanding Contributor
Solution

Re: Rookie Questions

Don't be sorry, Scott, there's no such thing as a bad question just bad answers. Could you post the contents of your resolv.conf and nsswitch.conf?

Pete

Pete
Pete Randall
Outstanding Contributor

Re: Rookie Questions

Thanks for the points, Scott, though I think you might have been a little prematurely generous. Could you reply with the contents of your resolv.conf and nsswitch.conf please?

Pete

Pete
Scott Painter_1
Advisor

Re: Rookie Questions

Thanks for getting back Pete.

Here's the contents of the nsswitch.conf file:
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return] files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

I just copied over the nsswitch.files to nsswitch.conf and made a change to the hosts line. As far as the resolve.conf file goes, all it looks like is:

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

I'm not sure if giving out the IP addresses is a good idea or not. That's exactly what it looks like though, but with numbers. I've also setup my default gateway too.

Thanks again.
Scott

Trying to break into the IT world, PLEASE HELP!!!
Pete Randall
Outstanding Contributor

Re: Rookie Questions

Scott,

Your nsswitch.conf looks a little odd - try this:
hosts: files [NOTFOUND=continue] dns

Then, in your resolv.conf, you don't appear to set a domain name - like this:
$ cat /etc/resolv.conf
domain holstein.com
nameserver xxx.x.x.xxx

See if that helps.

Pete

Pete
Stefan Schulz
Honored Contributor

Re: Rookie Questions

Hi Scott,

as you can connect to an external adress using th IP adress, all your routing and connections are ok.

This seems to be a nameresolution problem. Either your nameservers are wrong. Or the entry in resolve.conf is not doing what you expect.

The entry in my resolve.conf looks like this:

hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue T
RYAGAIN=continue] dns

Please check if the Ip adresses of your nameservers are ok. If so then give the entry of my resolve.conf a try.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
H.Merijn Brand (procura
Honored Contributor

Re: Rookie Questions

strange that you have files / dns / files

Ahh, well, what's your gateway?

-- addresses are fake

a5:/etc 110 # grep ROUTE_GATEWAY rc.config.d/netconf
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
ROUTE_GATEWAY[0]=198.213.15.250
a5:/etc 111 # cat nsswitch.conf
hosts: files[NOTFOUND=continue] dns
a5:/etc 112 # cat gated.conf
rip yes ;
a5:/etc 113 # cat resolv.conf
domain procura.nl
nameserver 198.213.15.2
nameserver 198.213.15.250
a5:/etc 114 #
Enjoy, Have FUN! H.Merijn
Alex Glennie
Honored Contributor

Re: Rookie Questions

2) XV Download from here ->
http://hpux.connect.org.uk/hppd/hpux/X11/Viewers/xv-3.10a/
and pay attention to the section marked Dependencies: jpeg tiff zlib
Pete Randall
Outstanding Contributor

Re: Rookie Questions

Scott,

Another source for a pre-compiled version of XV:
http://hpux.connect.org.uk/hppd/hpux/X11/Viewers/xv-3.10a/

Pete

Pete
Stefan Schulz
Honored Contributor

Re: Rookie Questions

Hi again,

had a second look at your nsswitch.conf. Think the problem is, that your first DNS server is not able to resolve the adress. You would expect the second DNS server to be asked.

But your nsswitch.conf says that if the adress couldn't be resolved by the first DNS to return to files.

If you change the order of your nameserver in the resolve.conf i assume the behavior of your system will change. You would be able to reach perhaps yahoo.com but fail to reach others (perhaps internal) which worked fine befor.

Also have a look at man nsswitch.conf.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Scott Painter_1
Advisor

Re: Rookie Questions

Gosh Dang!!! Thanks for all of you that came to my help! I can't believe I didn't think to try this earlier. I wish I could provide help to some of you in the future, but like I said and as my solution will show, I'm a straight up ROOKIE!!!

Here's what the problem was:

The file I had saved with the nameservers callout in it was resolve.conf, not resolv.conf

That's all. Everything else I left as was though I'm sure they would have helped as well.

10 points are going out to all who replied as an encouragement to help my sorry butt in the future.

To all those who have replied on the XV program, I haven't tried any of that yet, but when I do, I'm sure you'll be hearing back from me!!!

Late,

Scott
Trying to break into the IT world, PLEASE HELP!!!
Scott Painter_1
Advisor

Re: Rookie Questions

Now that I have Netscape up and running, does anybody know where I can get and how I can install the programs that will allow java script and flash pages to load? I'm on HPUX Ver 11.00. Thanks again!!!

Scott
Trying to break into the IT world, PLEASE HELP!!!
Pete Randall
Outstanding Contributor

Re: Rookie Questions

Scott,

I'm not sure about java script but the flash pages thingie is unavailable for HP-UX - sorry.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: Rookie Questions

And not that I'm ungrateful for the points but I should point out that one of the purposes of the point system is to help guide others who are searching the forums for an answer to a similar problem. The points give them an indicator of what actually worked. It's also nice to reply with what worked, as you did, but the point system is supposed to be more than just a reward - giving everyone 10 points kind of defeats its purpose.

Enjoy the forums,
Pete

Pete
Stefan Schulz
Honored Contributor

Re: Rookie Questions

Hi,

as for flash i think i read something in this forum, that there is some kind of GNU plugin for netscape. You won't find it at netscape.com but i think this forum has a link somewhere.

For the java script: Just go to edit / preferences... / advanced and activate java and java script.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Scott Painter_1
Advisor

Re: Rookie Questions

I hear you Pete. I just felt that you all responded in a quick manner and were more than willing to help. In the future, I'll take into consideration how well the suggestions worked. I just saw that there was a n/a choice so I'll use that when it applies. I just didn't want to give someone a zero and then not get help later when I need it. Does my dumb error get rookie of the year though or what?

Scott
Trying to break into the IT world, PLEASE HELP!!!
H.Merijn Brand (procura
Honored Contributor

Re: Rookie Questions

No way, you deserve a good laugh and an occasional smile. There's no harm done (yet).

If someone posts a reply with N/A down at the bottom, he/she requests to get no points, because it out of line with the rest of the thread

Please continue searching, looking, reading, enjoying the forum, and maybe one day, you'll be a king or even a pharaoh yourself.

N/A <=== (which means no points here please)
Enjoy, Have FUN! H.Merijn
Pete Randall
Outstanding Contributor

Re: Rookie Questions

No problem Scott - as I said, I do appreciate the points and, even more so, the intent behind them. I was just "doing my duty" by trying to help you use the forum in a way that you can get the most out of it.

N/A, please.

Pete

Pete
Scott Painter_1
Advisor

Re: Rookie Questions

When I mentioned my dumb error, I was referring to my misnaming of the resolv.conf file, not the points. I get that now. One last rookie question. Now that I have my computer set up, I'm trying to set up the other two. I've copied the nsswitch.conf and resolv.conf files over to those computers, but I'm unable to set the default gateway thru SAM on their computers. Any suggestions?

Thanks again,
Scott
Trying to break into the IT world, PLEASE HELP!!!
H.Merijn Brand (procura
Honored Contributor

Re: Rookie Questions

edit /etc/rc.config.d/netconf and reboot
Enjoy, Have FUN! H.Merijn
Scott Painter_1
Advisor

Re: Rookie Questions

I tried that, but it said that it's read only even to the root user. Should I just chmod it and do the changes? Any reason why I can't just do it thru SAM?

Trying to break into the IT world, PLEASE HELP!!!
Pete Randall
Outstanding Contributor

Re: Rookie Questions

Scott,

Yes, actually - two suggestions:

1) for your default route, edit /etc/rc.config.d/netconf as follows:
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=130.1.0.248
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

(if it complains about being read only for root when you save it, use wq! - this assumes you're using vi)
then reboot.

2) It's probably better to post new questions in a thread of their own. People who cruise the forums tend to gloss over questions they've seen repeatedly, especially if they've got a rabbit on them already.

I hope you don't feel like I'm complaining about your questions, I'm not. Just trying to be helpful.

Good luck,
Pete

Pete
Scott Painter_1
Advisor

Re: Rookie Questions

No worries on that man. Thanks again for the help! What does the rabbit thing mean by the way?

Trying to break into the IT world, PLEASE HELP!!!
Scott Painter_1
Advisor

Re: Rookie Questions

Forget it, I just figured it out. Thanks.
Trying to break into the IT world, PLEASE HELP!!!
H.Merijn Brand (procura
Honored Contributor

Re: Rookie Questions

And don't be frightened by my way of answering (very stenographic). There's others doing that the same way. That way we have more time to answer more questions and leave the one asking for help some room for investigation (for whatever value of learning it may be)

Be happy you didn't ask anything about perl being a rookie :)
Enjoy, Have FUN! H.Merijn