Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I have a laptop, the wifi is OK, but for wired network, if I'm using windows, it is OK. But with linux, yesterday, it is OK, but today I can't access the network through eth0(in windows, it is OK), what are potential problems?
BTW, yesterday I modified MTU from 1406 to 500, but then modified it back to 1406.
Are you using software like Network Manager or WICD to configure and control your adapters?
I did some googling, it appears Fedora 16 comes with Network Manager. You should have an icon somewhere on your desktop for NM. You can configure your interfaces, activate them and deactivate them with NM. This is the first place to look when you have problems communicating with the outside world.
You are in an institution. The IP address I see may, or may not be correct to get to the outside world. You will need to find out from the network admins what IP addresses you can use. You may be connecting to an internal network, with out outside access. I have no way of knowing what addresses will work.
One thing you can do, is run the command netstat -r in a terminal. I would like to see if you have a gateway address set. This is what the output looks like.
Quote:
netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default cisco 0.0.0.0 UG 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
localnet * 255.255.255.0 U 0 0 0 eth0
Under the heading Gateway, you see an entry 'cisco'. This is my router. It is also my gateway. gateways are the path to the outside world. You probably will have a doted decimal IP address here, or nothing. I have a name, since I updated the /etc/hosts file with a name for the router. ( not necessary for it to work).
In order to use ping to the outside world, you need to know various IP addresses. It helps a lot if you also know the IP addresses of key spots in your network. You should find out the IP's of the Gateway, and one or two other systems on the internal network.
Resolv.conf gets overwritten. You should check it, to see if the IP's in there are valid for your location. Once again, I can not tell you what should be there. Network admins, or, since windoze works, and your wireless works, connect there, and look at what you get. Your IP, whats in resolv.conf, gateway.... Then look at the problem on eth0 when failing.
Most likely it has to do with the configuration setup you have. I asked earlier if you were using Network Manager, or WICD. As far as I can tell, ( I don't run Fedora ) it uses Network Manager by default.
Look to see if you have an icon somewhere, that looks like a terminal, or modem. If you see it, hover the mouse pointer over it. If it displays some info, click it. Look in there for what configuration you have. Some are set up to activate wireless first. If you deactivate wireless, then some will try the wired connection. See what you can find.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.