Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
hi m using fedora 8 ..n m havin two NICs right now...
one is eth0 and the other is eth1..
actually i have installed snort on my lap and i have to use both the ethernet cards by giving them two static ips..
the problem is that when i do ifconfig -a ...its not showing eth1 its showing only eth0....
..can neone tell me how to configure eth1 in linux...
eth1 is just a name created by udev rules when the system is booted. The second nic may be called eth2 or eth3 etc. Try different names to see if you can find out what the second nic is called.
actually i have installed easyids on my machine..it has two nic...using netconfig i configured eth0 and gave it static ip..and for eth1 i manually made entry in /etc/sysconfig/network-scripts/ifcfg-eth1 file..
wen iam typing service network restart...its bringing the eth0 as well as eth1 successfully but wen iam typing ifconfig -a its not showing me eth1......
m not getting now wat shod i do for this..
Are you sure it is still called eth1? If you read the threads I pointed you to, part of the problem is re-naming the hardware interface to something other than ethx. So the config file may work when booted, and then the name can change, do to rules for udev.
If this is not the case, and it is still named eth1, then I'm at a loss to explain why it doesn't show up with a /sbin/ifconfig command.
actually i have installed easyids on my machine..it has two nic...using netconfig i configured eth0 and gave it static ip..and for eth1 i manually made entry in /etc/sysconfig/network-scripts/ifcfg-eth1 file..
wen iam typing service network restart...its bringing the eth0 as well as eth1 successfully but wen iam typing ifconfig -a its not showing me eth1......
m not getting now wat shod i do for this..
i think there is some problem with the driver thing...how will i come to know wats the driver required for it..whether its installed or not...
my /etc/modprobe.conf file is like this...
alias eth0 e100
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller uhci-hcd
ya finally i got it working...i typed lsmod and saw that e100 and 8139too drivers were there in system for the ethernet cards...so i added one line in /etc/modprobe.conf file and ifconfig started showing eth1..
thanks for ur cooperation...
well i have got to learn a lot from this forum...whenever i had problem i have successfully got my solution here ..
so thanx a lot to u all for the support..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.