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.
When I boot up my linux machine. On the boot screen I see 2 version of kernels. One is old and the other newer. When I boot from the older version I able to access the internet. I cannot access the internet from the newer version. When I boot from the newer version. I can see the NIC from network settings. It says it is active. But when I open up my browser and go to a specific site. I cannot access it. I dont know what is going on?
I'm having the exact same problem. See my thread (debian netinst: upgraded kernel; cannot access internet) on this board and look through the replies. See if they help.
Quote:
Originally Posted by Dark()
The problem is probably in your default gateway.Do you use dhcp for your NIC?
How do I determine whether or not I use dhcp?
Last edited by vmlinuz.gz; 03-18-2006 at 04:49 PM.
I tried /sbin/ifconfig eth0 up - did not work
I tried /etc/init.d/network start - did not work
Also, yesterday I ran the command yum install yumex. and the yum thing did not go all the way. It only went up to 272/349. It crashed on me. I may be missing some configuration files.
Okay, now we know your ethernet interface is not configured. There is apparently a functional set of startup scripts for networking in your system, since one kernel works. What kernel modules are loaded in the working version (lsmod). How does this compare with the modules that are loaded in the non-working version? Can any missing module(s) be manully loaded (with modprobe)? Try these things, and post the results here.
via-rhine is of particular interest because I believe that is my ethernet controller. So, how do I add it? modprobe via-rhine didn't seem to work, but I haven't restarted linux yet since. I'll try restarting and see what happens.
Edit: Still not working. Debian better start cooperating soon if it hopes to have it's partition on my computer for much longer! And if it hopes to not be replaced by Slackware. Or something.
Last edited by vmlinuz.gz; 03-19-2006 at 01:46 AM.
When you ran lsmod on each version of the kernel, were you able to identify any driver that applied to your ethernet card? Can you see any driver module for you USR NIC?
It is often useful to post complete listings in these cases. Gives everyone more context to view, with possible solutions or more appropriate diagnostics.
sorry, about that. No! I was not able to identify drivers that applied to my ethernet card. please, look at my previous post. I have edited it. thank you
Okay, I see the driver for a Realtech 8139 ethernet chip, 8139too. If that module is not loaded in the non-working version, try loading it:
modprobe 8139too
What happens? Is there an entry in modprobe.conf (or maybe modules.conf) that contains configuration parameters for the driver? If not, perhaps the default configuration in the new kernel module has changed and must be specified. You may be able to get the paramters from dmesg on the working version. You will have to do a bit of digging to find out exactly how the parameters are passed to the driver; ie. syntax.
If it *is* loaded, try reloading it.
rmmod 8139too
modprobe 8139too
Then see if you can
ifup eth0
Also, if it already loaded, what other modules have linked to it (under the 'used by' column)?
Is this a plug-in NIC? If yes, does it show up in when you run 'lspci'?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.