On Mon, 20 Mar 2000, Karthik Vishwanath wrote about, Re: recognising the ethernet
card:
> > ifconfig eth0 up
>
> This gives me the message- eth0: unknown interface. Whats happening? If I
> add 'alias eth0 tlan' in the /etc/modules.conf, what have I done? Also I
> realised that if I su in as root from a user account and try a 'modprobe
> eth0' from anyother directory other that /etc it gives me an error
> message! Whats going on? I still cannot find a reference to eth0 in the
> output of dmesg.
Lets straiten a few things out here.
I have not had much time to follow threads this last week, i quite possbly
have missed mails inbetween time, anyway i will try to explain.
By editing /etc/modules.conf or /etc/conf.modules and entering
alias eth0 tlan
You allow kmod or kerneld (which allows automatic loading of kernel modules)
to automaticly load the module tlan when ifconfig is called to up the eth0
interface.
You can at the command line type;
modprobe tlan
at anytime when the modules needs to be loaded, if you wish to do so.
Normally speaking if modprobe returns NO error out put, (Eg, you get the
prompt back with no test such as "Device or resource busy") then the
chances are it found a card, you can then use the following command to see
where the card is located.
cat /proc/interrupts
To give you an example here the output from my system.
0: 83385645 XT-PIC timer
1: 415299 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 2772180 XT-PIC serial
5: 643473 XT-PIC NE2000
7: 2449280 XT-PIC AX.25 SCC
8: 2 XT-PIC rtc
9: 41057850 XT-PIC bttv
10: 234290 XT-PIC es1371
11: 2614342 XT-PIC eth0
12: 198538 XT-PIC aic7xxx
13: 1 XT-PIC fpu
15: 101 XT-PIC ide1
I have 2 ethernet cards, one is a NE2000 and the other (shown above as
eth0) is a 3c59x from 3com. The left hand colum is the interrupt number.
cat /proc/ioports
shows the io addresses.
Now we have not yet established which driver your card needs, i sent you a
couple of url's where information on ethernet cards is available, in that
url is a email address for questions i belive, now why not use it and ask
which driver you need.
I belive Ray has given you a complete example of howto use "ifconfig", i
further belive with all that info you should be more closer to getting it
all going.
O yes, have you tryed using;
cat /proc/pci
I belive at the start of this thread you mentioned it was a pci ethernet
card. if so what does your system say abot the card.
For example my 3com card shows;
Ethernet controller: 3Com 3C905B 100bTX (rev 48).
Medium devsel. IRQ 11. Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
I/O at 0xec00 [0xec01].
Non-prefetchable 32 bit memory at 0xe5002000 [0xe5002000].
Bus 1, device 0, function 0:
Unfortunatly i have never heard of that card, in this instance i would say
rip the card out of the box and take a note of all the chips on it, that
way you might just give us the information we need.
> Thanks,
> -Karthik.
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs