FedoraThis forum is for the discussion of the Fedora Project.
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.
Tonight I installed FC3 seemingly without a hitch until once installed I found I couldn't connect to the internet. Firefox will not access any pages, so I went to terminal and tried to ping, but after a few minutes I cancelled that because I wasn't getting a response (tried pinging google).
Normally, I have DHCP (which is how I set it up during installation), but I tried running the internet connection wizard and to set the IP, subnet, and gateway numbers manually with the numbers I know to be correct (from setting this up before on a different distro), but still no connection.
Eth0 is active. The card is recognized. I tried ifconfig from terminal as root but it seems the root password works in the GUI but not in terminal (which is weird????). So I can't gain root access in the terminal which I tried to do the two ways I know how---straight login and sudo.
I have a little experience with Linux and Unix, but I'm definitely no expert (I'm just a measly cook at some restaurant), so please feel free to talk to me as simply as you can.
su will always let you eneter the root password, but either way you can run ifconfig as non root, it just won't be on your path... /sbin/ifconfig. also show the output of /sbin/route. also see if you can ping by ip address, if not by name. if that's the case then you need to add dns servers to /etc/resolv.conf
First, I do connect via a router with two computers attached: one with FC3 and one OS X.
Both files /sbin/ifconfig and /sbin/route are binary files and so the output wasn't very clear. (editing this: I typed in cat ifconfig and realized that these were not text files. what command should i enter to provide you with the information you need? also, when I typed in ifconfig and route as commands, bash tells me 'command not found').
I pinged an ip number and it was successful. The IP is a friend's computer which he uses to host a small family website. So I went back to firefox and typed in his IP number and his website loaded perfectly. But actual domain names do not work, like www.google.com or any other, doesn't work: I get timed out responses in firefox and am unable to ping them in terminal.
The result of /etc/resolv.conf is
search company.com
nameserver 192.168.1.1
How do I add DNS to that? Not familiar with DNS at all.
Last edited by cseanburns; 12-22-2004 at 05:46 AM.
just add another nameserver a.b.c.d entry... these really should be being supplied by your ISP though, is your router dishing you out dhcp? if so that will normally also relay your dns requests to the isp's name servers, which might explain why 192.168.1.1 is in there.. is that your router address? if so you'd do better to get the name servers inserted into your router, and then everything on the internal systems will get configured right automatically.
sorry about my ignorance, but, I should call up my isp, ask them what the nameserver is, then edit the file typing in after nameserver the info my isp gives me? also, is that what you mean by inserting the nameserver in the router, by editing that file? and do I replace whatever nameserver the isp gives me with the ip 192... that's in there?
ok, you CAN replace the 192.168.1.1 but i would guess that that is actually the address of the router you have. you should be able to configure your router via some sort of http interface to it...
your ISP's name servers would be the fastest, so the most desirable. if you are using windows too, just run ipconfig in windows and it will show what your DNS IP's are.
now if you do edit those IP addresses directly, you may well find that next time you boot your router has told your linux box to over write those details. in which case i'd suggest spending a little time adding those details to your router instead.
acid_kewpie, thank you so much for your help. i'm writing this from the linux box, which means i am connected to the internet. I went into the router via firefox http like you suggested, called the isp, got necessary info, and am connected. you are awesome. thank you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.