Fedora Core 5 - Internet not working
Okay, so, I've googled this which hasn't really helped. I don't have a clue what to do as I'd imagine this should just work, but isn't for some odd reason. Please don't hurt me, I'm complete noob when it comes to linux.
Right, basically, I've got a router (Netgear DG834G). I connect to that via an Ethernet cable. In Windows XP, I just plug it in and it works. I haven't setup a static ip address or anything like that; it's all automatic. So, I startup Fedora Core 5 (x86_64) (I'm using a dual-boot system). Eth0 (the ethernet port) seems to be fine and is given the [OK]. I go into the Network settings, the hardware seems to be working fine, Eth0 is active. So, all good, right? Well, no. I can't access the internet at all; can't connect at 192.168.0.1 either, so it's not even connecting to my router. I've tried manually setting everything up. Tried static ip addresses. Tried a USB modem (i.e. not using the router). Tried using my USB Wireless adapter (that's even worse, and preferably I want to get that setup too). Nothing works. Can't get the internet at all. So, what do I need to do? Or if you know any links that might help and I'll try out what's on that page. Anything really, I haven't got a clue about how to do this or what's wrong. Thanks. - Ninju |
Quote:
But I may ask you to type in some commands at a terminal. But don't worry. It is not at all painful. Quote:
If this doesn't solve your problem, I would like you to post the output of the command lspci. This will report what hardware you are using. All you have to do is open a terminal window (probably Gnome Terminal ... you should be able to find something in the menus), and type those five letters and hit "enter." You can higlight the output with your mouse, use edit -> copy from the menu and then paste the results into your browser. (It will make it easier to read if you put "code tags" around it; you can do that by highlighting the text in the browser and hitting the pound sign (#). in the toolbar above the box you are posting in.) |
Quote:
PS: I can't believe I didn't include any hardware info in my original post, hahaha. Thanks again - Ninju |
You may have better luck if you update to a more recent release. Fedora 7 is the most recent one and number 8 will be coming along in a matter of weeks.
I suspect that your issue is very much hardware specific. I have been using Fedora since FC5 without such problems. |
Quote:
I'll probably upgrade next weekend, but I've actually made a serious stab at getting linux running on my machine for a new job I should be starting in a couple of days or so. I need to ssh into the server, and use subversion; stuff like that. Anyway, I need to be able to navigate linux, not to mention svn and stuff is already setup on linux and can be a pain on windows (I don't know how, but I screwed up the windows installation :P). Also, I plan to learn vi. Yeah, so even though I have a better connection now, I didn't have the time to download FC7 (I'd probably get Ubuntu anyway - I hear it's better), and also, I wanted to make sure it all worked good. I just need to get decent with linux though at the moment. I don't need the latest version to get familiar with at least the basic commands. |
Yeah, not a bad choice, Ubuntu. It's all that I'm using most of my time nowadays. Also it's a lot less to download than a full Fedora dvd. Plus you don't get to install another 800MB of updates when you have just installed. And no dependency issues. Ssh is installed by default, subversion isn't but it's only a few clicks away.
|
Quote:
@Ninju, If it is worth the effort to you, you might do an Internet search to see if you can get a patch for your driver w/o updating your whole system. You can verify whether you are using the forcedeth driver with the command: Code:
lsmod | grep forcedeth |
Okay, having the same problem again. I moved you see. Anyways, I'm at University now, so I don't have any say on the network, just a port in my room. Now, I tried cycling again (is that what it's called?), but it didn't work this time :(
So anyway, I ran the "lsmod | grep forcedeth" command and it returned this: Code:
forcedeth 53961 0 |
Quote:
To make things clear, can you do the following? 1. To make sure TCP/IP is working: $ ping 127.0.0.1 2. Check the ip address of eth0: $ ifconfig this makes sure two things, first eth0 is activtied, second is an ip address is assigned to eth0 via DHCP. 3. Try ping ip of eth0 4. Now ping your router, this make sure your machine and the router is connected and on the same network. 5. ping an external ip address, like the DNS supplied by your ISP. If you can ping, you are connected to the Internet. 6. finally, ping an hostname like "yahoo.com", if you can ping, your DNS's are working and everything should be fine now. Did you put your primary DNS as your router's internal ip (192.168.0.1) or the DNS supplied by your ISP? |
Quote:
I_like_TUX gave you a good troubleshooting procedure if pulling the power plug does not work. Just so you know, based on other threads where this problem was discussed, if the ethernet circuitry is stuck in the state the old forcedeth driver can't handle, you won't even be able to get an IP address from DHCP. ifconfig, however, will claim the interface is "UP," but you won't see an IP address unless you configured it manually. (I imagine configuring it manually is a big no-no on the University network!) |
Quote:
|
Quote:
|
Quote:
This is the file name (and type) of the kernel I was trying to install/update: kernel-2.6.20-1.2320.fc5.x86_64.rpm |
Okay, so I'm a complete novice when it comes to networks and stuff, so this may sound stupid. I always get assigned the same IP address when I log onto the network. I could not go on it for hours, when I come back on, bang, same IP. Unplug the ethernet cable and computer for a few minutes, plug back in, bang, same IP. So, is it a static IP or can I use this info to setup the network in FC5? On windows it's set to dynamically find the IP info, so I'm guessing it's not a static IP, but since I know:
a) The IP address I'm always assigned b) Primary and secondary DNS servers c) DHCP Server should I try setting up manually? I need some instruction with this though; I only know where to enter DNS servers, and I'm only guessing it's the correct place to enter that info. Screenshots would be brilliant, good directions (i.e. telling me which tab to go to) would be absolutely awesome too. Thanks. *edit* When I say "log onto the network", I mean being connected to it; there's no login screen or anything like that, or password or username I have to enter. |
OK, let's make things a bit clearer for everyone:
so you are in university and you connect a network cable from the wall to your router then you connect another network cable from the router to your PC and no more. You can also access the Internet (for example, go to this website) from Windows but for Linux, you cannot access the Internet, not even your router, and you get the same IP address for eth0 everytime. Am I right? Under Windows, do you also get the same IP address for your PC everytime? If the above setup is what you have, then it is not static IP, it is just that there is only one PC on the local network (the one that start with "192.168.0", we call it network 192.168.0.0) and the router has a preset range of IP addresses (for example, 192.168.0.100 - 192.168.0.200) to assign using its DHCP and the router always pick the first one (192.168.0.100) for your PC. This information should be accessible from your router (you can login to your router in Windows and check it out) Please also remember your router has TWO IP addresses, one internal (192.168.0.1) and one external (assigned by the university, either static or via DHCP). I can help you better if you tell me the results of the tests I suggested in previous post. |
All times are GMT -5. The time now is 11:45 PM. |