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.
to your /etc/modules.conf file but put in the actual module name of your card. Is the second card different from the main card? If so, you'll probably have to modprobe <modulename> to get that set up. You'll probably want to edit your /etc/rc.d/rc.modules file to get rid of the # marks at the beginnings of the lines with your modules for your NICs:
#/sbin/modprobe <modulename>
should look like this when you're done:
/sbin/modprobe <modulename>
This should get your second NIC detected. If I've missed anything, someone please correct me. Hope this helps.
Okay, what you need to do is open your /etc/modules.conf file with your favorite text editor. You'll then need to add the following lines to it:
alias eth0 <realtek modulename>
alias eth1 <sis modulename>
You'd want to put the correct module names in and without the <>'s as well. If you're unsure how to add these lines, let me know and I'll do what I can to walk you through it. There might be more that you need to add but you at least need this info. Let me know.
.. of course change the ip and mask to whatever you want ..
note: this will go away the next time that interface goes down so to make it permanent you need to edit the lines corresponding to eth1 in /etc/rc.d/rc.inet1. if you want this interface to obtain an ipaddr from a dhcp server then in the same file set DHCP to YES (and leave the ipaddr for eth1 set to 127.0.0.1).. then from the shell do 'dhcpcd eth1" (or reboot) .. else specify the ipaddr and subnet mask in /etc/rc.d/rc.inet1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.