Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-28-2002, 06:49 PM
|
#1
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Rep:
|
Installing NIC #2
Just out of curiousity, today I decided to connect my Linux box to my cable modem to see if I could browse the net. Everything is running fine, in fact as I speak to you right now I am using Mozilla! But here's the problem: Right after I got my internet connection working, I couldnt even use my second network card to connect to my LAN! Linux is acting like the NIC doesn't even exist!  I've tried ifconfig with no success, so could someone please help me get this thing installed? Oh, how it's working is because I do get a reponse from the HUB. Btw - Both NICS are LinkSys LNE100TX v4.1!
Thanks,
Joe of 4Life
Last edited by LinuxDude; 08-28-2002 at 06:52 PM.
|
|
|
08-28-2002, 07:02 PM
|
#2
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
In your /etc/sysconfig/network-scripts must be files for eth0 and eth1
ifcfg-eth0
ifcfg-eth1
are they there?
|
|
|
08-28-2002, 07:32 PM
|
#3
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Wow, eth1 is missing! What should I do?
Thanks,
Joe
|
|
|
08-28-2002, 09:32 PM
|
#4
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Help, any1???

|
|
|
08-28-2002, 09:55 PM
|
#5
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
oh just create the file with similar entries as for eth0 just in
make sure you know what protocol to use static, dhcp, etc.
|
|
|
08-28-2002, 10:00 PM
|
#6
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
I tried that but it didn't work
Thanks,
Joe of 4Life 
|
|
|
08-29-2002, 09:06 AM
|
#7
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
So, if you do
[root@earth /etc/sysconfig/network-scripts] ./ifup ifcfg-eth1
that doesn't work?
|
|
|
08-29-2002, 02:50 PM
|
#8
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Thank you for all of your help neo, but by using a little inginuity and sheer luck I got it working!
Thanks
~Joe
|
|
|
08-29-2002, 03:08 PM
|
#9
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
Mind to tell how? This is for benefit of others fellow LQ'ers
|
|
|
08-29-2002, 05:41 PM
|
#10
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Well, first I opened up my PC and checked to see if the NICs were properly seated - which they were - and then pressed down on them to see if that would help. Then I powered up my machine and Kudzu (or whatever) recognised my second NIC!  After I booted into Linux, however, I found a slight problem: my internet connection wouldn't work! So [as root] I used the Advanced Editor [in KDE] to edit the network scripts. What I did when I edited them was I switched the text in the files around using cut and paste (not easy w/ Linux!  ). Then I rebooted my machine and typed in ifconfig and then used mozilla to come to this site (and post the last msg). Voila! All fixed! The problem? When my second NIC was detected, they got switched around so that the first NIC (eth0) was now the second (eth1) and vice-versa!
Hope this benifits/helps someone!
Cheers,
Joe of 4Life 
Last edited by LinuxDude; 08-29-2002 at 05:43 PM.
|
|
|
08-29-2002, 05:53 PM
|
#11
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
Quote:
What I did when I edited them was I switched the text in the files around using cut and paste (not easy w/ Linux! ).
|
It is easier then ever in linux, just highlight the text - it puts it into a buffer, then wherever you want it to paste just navigate there and press the middle mouse button, and volia! If you happen to have a two button mouse you can press two buttons simultaneously to get the same effect, in such a case make sure to the Section "InputDevice" of your XF86Config file you add
Option "Emulate3Buttons" "yes"
|
|
|
08-29-2002, 06:06 PM
|
#12
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Thanks! But now I have another problem: I can't get ipforwadring/iptables/NAT or whatever working! Could someone please give me some info? I tried using this tutorial but that didnt work!
Thanks,
Joe of 4Life
]]]]]]]]]]]]]] <- PS. - that's what happens when I click the middle wheel 
|
|
|
08-29-2002, 06:58 PM
|
#13
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
|
|
|
08-29-2002, 07:52 PM
|
#14
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
Thanks, but I already got it setup using a program called GuardDog Firewall! But before (and after) installition, I tried PINGing my Windows box (the other computer) and didn't get a reply  Same way vice-versa!
Thanks,
Joe of 4Life
|
|
|
08-30-2002, 05:02 PM
|
#15
|
Member
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49
Original Poster
Rep:
|
I've got a funny feeling that problem has to do with the hardware setup as I can't even ping the computer's own IP address...but for now I am back to using Windows until I can get a LS router!
Cheers,
Joe of 4Life
|
|
|
All times are GMT -5. The time now is 03:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|