LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-09-2002, 09:45 PM   #1
lifeguard_nick
LQ Newbie
 
Registered: Dec 2002
Location: Alexndria, MN
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0
Unhappy 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
 
Old 12-09-2002, 09:51 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 12-09-2002, 09:57 PM   #3
lifeguard_nick
LQ Newbie
 
Registered: Dec 2002
Location: Alexndria, MN
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
I put in /bin/su and that worked, then I put in /sbin/netconfig and it didnt work. Nither did /etc/resolve.conf
 
Old 12-10-2002, 11:02 AM   #4
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
try /usr/sbin/netconfig

and

/etc/resolv.conf

resolv.conf is a text file which you can view with: more /etc/resolv.conf
 
Old 12-10-2002, 11:32 AM   #5
lifeguard_nick
LQ Newbie
 
Registered: Dec 2002
Location: Alexndria, MN
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 12-10-2002, 11:49 AM   #6
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
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.
 
Old 12-10-2002, 05:41 PM   #7
lifeguard_nick
LQ Newbie
 
Registered: Dec 2002
Location: Alexndria, MN
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 12-11-2002, 08:35 AM   #8
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
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.
 
Old 12-11-2002, 10:11 PM   #9
sobRegReqd
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Rep: Reputation: 0
Unhappy 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!
 
Old 12-11-2002, 10:39 PM   #10
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
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 <>.
 
Old 12-12-2002, 08:20 AM   #11
sobRegReqd
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Rep: Reputation: 0
Angry 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
Red Hat 9 to Red Hat EL Mozilla Migration Question rharvey@cox Linux - Software 2 01-13-2004 06:43 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM
Red Hat 7.2... & a modem with Red Hat 7.1 driver support rahduku Linux - Distributions 1 02-14-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration