LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Red Hat 8.0 (https://www.linuxquestions.org/questions/linux-distributions-5/red-hat-8-0-a-37800/)

lifeguard_nick 12-09-2002 09:45 PM

Red Hat 8.0
 
Hi, I recently installed Red Hat 8.0 on my pc. When I open my mozzila I can't get on the internet. I have DHCP setup, and I ran the network wizard. I have no ide what I should do next. One of my teachers said to run Netconfig under the root, but I couldn't figure out where or how to do it. Please help me ASAP. Thnks for any sugestions.

Nick

neo77777 12-09-2002 09:51 PM

So you got a broadband connection which uses dhcp, right? Open up an Xterm/Gnome Term/Konsole or whatever else terminal emulation you might like the most, become root with /bin/su enter root password when prompted and issue
/sbin/netconfig fill in the blanks, verify /etc/resolve.conf should contain nameserver entries for DNS servers and you are good to roll.

lifeguard_nick 12-09-2002 09:57 PM

I put in /bin/su and that worked, then I put in /sbin/netconfig and it didnt work. Nither did /etc/resolve.conf

Smitty-rh 12-10-2002 11:02 AM

try /usr/sbin/netconfig

and

/etc/resolv.conf

resolv.conf is a text file which you can view with: more /etc/resolv.conf

lifeguard_nick 12-10-2002 11:32 AM

I put both in and netconfg set dhcp up and then more /etc/resolv.conf showed my ip and did nothning as far as I can tell. I still cant use the internet.

Smitty-rh 12-10-2002 11:49 AM

resolv.conf should show the ip's of your DNS servers. If it is showing your host IP then this is probably the problem. You will need to edit resolv.conf using an editor and put in the ip address of your dns.

a good way to check things would be to put in the IP address of a web site in your browser and if that works then you are having dns problems.

lifeguard_nick 12-10-2002 05:41 PM

I got into Gconf Editor, I think this is the editor your talking about. I couldn't finda place to edit resolv.conf or where to edit the address of the dns. Sorry I'm not used to Linux, Im used to DOS and the comands ar nothng alike. Thanks for the help.

Smitty-rh 12-11-2002 08:35 AM

You need an editor like emacs, vi, nano, or pico. The first two are a bit more difficult to use but have more capability than the last two. I use nano for the most part but I need to get used to emacs and vi but I am pretty lazy about it. Nano doesn't come with RH 8.0 but you can get it at http://www.nano-editor.org/ .

once installed you can open a terminal and enter nano /etc/resolv.conf and it will open resolv.conf inside the nano editor you then put type in the ip address for your dns and save the file. The instructions are pretty much the same for the other editors as well.

There is also a way to set up your dns entries from one of the system preference areas in your gnome menu but for the life of me I cannot remember which one right now and I don't have a RH system to look at right now.

sobRegReqd 12-11-2002 10:11 PM

I can't use the Internet either
 
Same problem for me, too:
1) Ethernet card is working
2) I can ping both my machine and my NetGear (192.168.0.1)
3) I can't ping any named address outside of my local net - and I don't know the IP of any named address to check that out.

I'm posting this from a Windows machine, of course, praying someone will have an answer.

/usr/sbin/netconfig seemed to work (told it DHCP), but no help.
I'd just gone through the Gnome->System Tools->er, configuration stuff, seemed fine.
Also tried more /etc/resolv.conf and it shows (xxx's stand for my provider's name):
domain xxx
nameserver 192.168.0.1
search xxx

But no DNS available, it seems. What else are we missing?

Thanks!

Smitty-rh 12-11-2002 10:39 PM

dhcp is apparently not passing on the dns information to your system. well actually it is but it is telling it that 192.168.0.1 is your dns server which I am guessing it isnt

Go into your router configuration and look for a spot to input the dns information. If yours has that then the router will pass the dns info to any system to which it assigns an IP.

your other option is to edit the resolv.conf file yourself and where it says "nameserver 192.168.0.1" replace it with "nameserver <ip of dns>" without the <>.

sobRegReqd 12-12-2002 08:20 AM

RH8 vs. 7.2
 
Well you are at least partially right - RH8's mechanism for setting up/using DHCP isn't getting the DNS information. It seems this is another "feature" added to RH8.0 which wasn't there in 7.2 - DNS worked fine in 7.2 (I never had to fool with configurations), but after upgrading to 8.0 it fails in this wierd manner.

As I said in my last post, Windows also continues to work correctly wrt. DNS on the same LAN.

WTF?

And yes, when I find some time I will try looking at my NetGear box. Thanks.


All times are GMT -5. The time now is 03:34 PM.