LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-28-2002, 06:49 PM   #1
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Rep: Reputation: 15
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.
 
Old 08-28-2002, 07:02 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
In your /etc/sysconfig/network-scripts must be files for eth0 and eth1
ifcfg-eth0
ifcfg-eth1
are they there?
 
Old 08-28-2002, 07:32 PM   #3
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
Wow, eth1 is missing! What should I do?

Thanks,
Joe
 
Old 08-28-2002, 09:32 PM   #4
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
Help, any1???

 
Old 08-28-2002, 09:55 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
oh just create the file with similar entries as for eth0 just in
make sure you know what protocol to use static, dhcp, etc.
 
Old 08-28-2002, 10:00 PM   #6
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
I tried that but it didn't work

Thanks,
Joe of 4Life
 
Old 08-29-2002, 09:06 AM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
So, if you do
[root@earth /etc/sysconfig/network-scripts] ./ifup ifcfg-eth1
that doesn't work?
 
Old 08-29-2002, 02:50 PM   #8
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
Thank you for all of your help neo, but by using a little inginuity and sheer luck I got it working!

Thanks
~Joe
 
Old 08-29-2002, 03:08 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Mind to tell how? This is for benefit of others fellow LQ'ers
 
Old 08-29-2002, 05:41 PM   #10
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
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.
 
Old 08-29-2002, 05:53 PM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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"
 
Old 08-29-2002, 06:06 PM   #12
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
Old 08-29-2002, 06:58 PM   #13
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
try this tutorial http://iptables-tutorial.haringstad....-tutorial.html
 
Old 08-29-2002, 07:52 PM   #14
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
Old 08-30-2002, 05:02 PM   #15
LinuxDude
Member
 
Registered: Aug 2002
Location: the web
Distribution: Mandrake 9.0/FreeBSD 5.0 (Dual)
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing NIC tbayer Linux - Networking 6 09-14-2004 08:40 PM
Installing NIC rnprod Linux - Hardware 2 11-25-2003 08:43 AM
Help installing NIC stevenrp Linux - Newbie 5 10-20-2003 09:30 PM
installing a second NIC bripage Linux - Networking 1 10-03-2002 09:30 PM
help in installing nic, please martyroo Linux - Networking 11 02-21-2002 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration