Linux - DistributionsThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
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?
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 <>.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.