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.
That appears before it actually says it is loading the module - I get no errors while it LOADS the module - but before that, when it initializes devices, it gives me that error.
So now not only can I not use my ethernet card I have some sort of problem loading the module
When I ran dmesg | less I get this at the bottom:
Code:
eth0: VIA Rhine-II at 0xe000
eth0: MII PHY found at address 1 status 0x78d advertising 01e1 Link 45e1
eth0: setting full-duplex based on MII #1 link partner capablity of 45e1
So you're not even able to load the modules manually vie modprobe? I'm not entirely sure where your saying the error is. Did the module load OK? If so, did the interface (eth0) come up OK? If so, did the DHCP configure it OK? Your error should lie in one of those three questions.
when it tries to bring up eth0 it says it failed to do so - and it also failed to start netmount.
I have no idea what that error means either. When I type modprobe via-rhine it works and then when I type lsmod it gives this:
Code:
Module Size Used By Not Tainted
via-rhine 14576 0
So I'm pretty sure the module loads fine. I don't know what you mean by if the DHCP configure went ok. How do I configure DHCP for it? I thought it simply meant changing iface_0 to "dhcp" in /etc/conf.d/net ?
Thanks for the help
PS: The error is placed right below the part where it detects usb devices and assigns them a driver. It's not colored text - it's before the bootup process enters init 1, 2, or 3 - in other words, this error is shown in the first boot part of the process - even before it starts up the swap and etc... does that help you as far as where the error is located at?
Did you reboot the computer between doing the modprobe above and trying to bring up eth0? Are you sure the module is loading on startup? Type lsmod directly after reboot to check. But before we get on to that, we have to find a way to make it work first then worry about autoloading on boot. Just manually do a modprobe via-rhine followed by an ifconfig eth0 up. If that worked (ie no errors loading the module and you get an "eth0" section in the output of ifconfig) then type dhclient eth0. That should get your network working. If all that works then tell me and I'll tell you how to autoload it. Until then you'll have to manually type those commands in.
Yep. You have to get dhcp-client or dhcp3-client. That's what the debian packages are called. I'm not sure how/what they'd be named in portage. But they can't be very hard to find.
I followed what you did and somehow got myself to the point that it said that via-rhine was being used by 1 when i did lsmod. This is good, correct?
I do have another problem now, however. when i do dhclient it says for me to enable CONFIG_PACKET(S?) and CONFIG_SOCKET and I did so by changing these options in the menuconfig and then did this to save everything and make it so that it would use the new config at bootup:
make dep && make clean bzImage modules modules_install
i did that just to be safe
And... I still can't do dhclient eth0 - that's it... how can i solve my new dhclient problem?
Thanks for the help, I am getting much further than on the gentoo boards
It keeps giving you these errors even though you've compiled the correct options into the kernel? Did you actually load the right kernel? I know I've done that numerous times (or I forgot to run lilo). Other than that all I can think of is did you compile dhcp-client yourself through portage? If so, it would have been compiled on the old kernel without the right support. Maybe recompile it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.