LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-11-2003, 04:01 PM   #1
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Rep: Reputation: 15
installing ethernet cards in red hat 9


i'm trying to get 2 red hat 9 (2.4.20) boxes running and the ethernet cards are giving me a headache. the only card that was set up properly during the install (loaded at startup) was my only pci card. my 2 other cards are isa (both 3c509 but in different machines) and after reading many old howto's i've found, nothing i've tried has worked. how exactly am i supposed to load the modules in and get these cards to work?

Last edited by peok; 08-11-2003 at 04:45 PM.
 
Old 08-11-2003, 04:26 PM   #2
codecruncher
Member
 
Registered: Aug 2003
Location: Austria
Distribution: Fedora Core release 2 (Tettnang)
Posts: 37

Rep: Reputation: 15
What exactely are your error messages (if any) ?
 
Old 08-11-2003, 04:42 PM   #3
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
no error messages. doesn't even atempt to load at startup.

currently after messing with all the howto's and tutorials my /etc/modules.conf file reads:

alias eth0 3c509
options 3c509 io=0x300


and the 3c509.o driver is in /lib/modules/2.4.20-8/kernel/drivers/net/

i'm obviously missing something...
 
Old 08-12-2003, 06:31 PM   #4
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
still having probs... the card that uses the tulip driver is fine, but the 3c509 is still all messed up

the following setup does nothing with the 3c509:

alias eth0 tulip
alias eth1 3c509


currently my modules.conf file reads:

alias eth0 tulip
alias eth1 3c509
options 3c509 io=0x300 irq=10


whats weird about this setup is the first few times it freaked out and gave me an error message complaining about line 3 and the word option, but after i checked to make sure i spelled it right and restarted, it just stopped complaining, but it still doesn't load the module. i don't think i could have misspelled "options," but then again i did misspell the title of the thread

but if I insmod 3c509 it outputs

eth1: 3c5x9 at 0x300, 10baseT port, address 00 20 af cf 69 d6, IRQ 10

but a lsmod following it says 3c509 is unused. but insmod is the only way I can get it to even get loaded and show up in lsmod

i hope somebody can help me
 
Old 08-12-2003, 06:45 PM   #5
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
What is in your /etc/sysconfig/network-scripts/ifcfg-eth0 file? That's the file rh9 loads up on startup (actually it loads up all files in that folder beginning with ifcfg). If there is no ifcfg-eth0 file, create one. Mine:

Code:
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.10.10.255
IPADDR=10.10.20.20
NETMASK=255.255.255.0
NETWORK=10.10.20.0
USERCTL=no
PEERDNS=no
ONBOOT=yes
TYPE=Ethernet
in my /etc/modules.conf file there is only

Code:
alias eth0 e1000
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
I have an intel gigabit ethernet thing that came with my pc.
Good luck.
 
Old 08-12-2003, 07:06 PM   #6
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
my ifcfg-eth0 file reads

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp


there's no man page on this, what exactly does this file do? should i make a ifcfg-eth1?
 
Old 08-12-2003, 07:28 PM   #7
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Oops, sorry, Yours is on eth1, so is there a file ifcfg-eth1? If not, you should create it, or somehow change your ethernet to be eth0 (I can't quite understand whats going on in your previous post about eth0 and eth1)

This file initializes the networking of the device, which linux automatically runs on bootup. It's kind of self explanatory (i think), but if you need help, reply. and also, type "ifconfig" after editing this file, and post what it says, if you are still having trouble

Last edited by jqcaducifer; 08-12-2003 at 07:29 PM.
 
Old 08-12-2003, 07:33 PM   #8
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
sorry if the post was confusing, i've got eth0 working great, but my second card isn't working, which if it was would be eth1. there is no ifcfg-eth1. should i copy ifcfg-eth0 to ifcfg-eth1 and change the eth0 inside to eth1? what about the protocol, it won't be using dhcp as it will be the internal interface on my network. or maybe i should copy your ifcfg that you posted for my eth1? and on yours that you posted, what do all those catagories mean like USERCTL and PEERDNS?
 
Old 08-12-2003, 09:16 PM   #9
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Would you then manually code the IP address? then copy mine


DEVICE=eth1
BOOTPROTO=none //for something to do with dhcp
BROADCAST=10.10.10.255 //your broadcast
IPADDR=10.10.20.20 //your ip
NETMASK=255.255.255.0 //your netmask
NETWORK=10.10.20.0 //your network
USERCTL=no //not sure, keep way it is
PEERDNS=no //same as userctl
ONBOOT=yes //hope you can figure this one out
TYPE=Ethernet //yah

see what happens on bootup, when it loads this file, or alternatively, you can type "ifup ifcfg-eth1" which is exactly what command bootup executes. If it doesn't work or do anything, post the results of the ifconfig command. good luck
 
Old 08-12-2003, 10:45 PM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Did Linux detect your network cards ?
At the command line, type:
Code:
dmesg | grep eth
Have you tried using the Network Configuration GUI ?
To load it, type redhat-config-network-gui
 
Old 08-13-2003, 12:46 AM   #11
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
thanks i got it figured out. i finally got it configured in modules.conf, but because i was missing the ifcfg-eth1 file, it didn't do anything. soooo.... if you find youself missing a "ifcfg-ethx" file, check out http://www.tldp.org/HOWTO/Firewall-HOWTO-6.html#ss6.3 for what all the options mean.

but i have developed another question but it doesn't quite belong here so i've started a new thread:

http://www.linuxquestions.org/questi...threadid=81517
 
Old 08-13-2003, 12:48 AM   #12
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
oh and thanks for all your help. i was really frustrated
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dual Network Cards in Red Hat 9.0 linuxeagle Linux - Networking 9 07-27-2004 05:16 AM
Problems with red hat 9 and broadcom 4400 integreated ehternet adapter Omair Linux - Newbie 0 01-22-2004 08:32 PM
What WI-FI Cards does Red Hat 9 Support? rick_conlee Linux - Networking 0 07-28-2003 10:21 AM
Problem with Red Hat 6.2 and two ethernet cards Reginald0 Linux - General 1 12-30-2002 11:16 AM
Red Hat 7.2 and Orinico PC Cards GurgieTrueshot Linux - Networking 4 03-01-2002 10:05 AM


All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration