Forum Moderators: bakedjake

Message Too Old, No Replies

Setup Ethernet Card

         

WiseOne

7:32 am on Oct 6, 2003 (gmt 0)

10+ Year Member



Hi, I got DAVICOM 9102 10/100 Mb PCI Fast Ethernet Card + its Drivers for linux. How do I install it n configure 2 use my cable internet.

i m running RedHat Linux 7

thnx

MattyMoose

7:40 pm on Oct 6, 2003 (gmt 0)

10+ Year Member



We need a little more info than that...

Where did you get the drivers? From the CD or their website? If so, how are they packages? Are the files a tar.gz/tgz/bzip2? If so, they're compressed, and you'll need to uncompress them and then see what files it gives you.

If it's a .bin/.sh/.bash file, have a look at the file with your favourite text editor, see if you can figure out what it does, and if it does it right, then (probably as root), type "sh <name-of-file>.<extension>" in a terminal.

Wherever you got the drivers from *should* have instructions, or at least in the package, you should have a README, or readme.txt

HTH,
MM

WiseOne

8:44 pm on Oct 6, 2003 (gmt 0)

10+ Year Member



i got the drivers from DaviCOM site itself.

this r the files include in zip format

dmfe.c
dmfe_cal23.o
dmfe_rh61.o

i followed the instuction as mentioned in readmen file

Compiler command:
"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c"

The following steps teach you how to active DM9102 board:
1. Used the upper compiler command to compile dmfe.c
2. insert dmfe module into kernel
"insmod dmfe" ;;Auto Detection Mode
"insmod dmfe mode=0" ;;Force 10M Half Duplex
"insmod dmfe mode=1" ;;Force 100M Half Duplex
"insmod dmfe mode=4" ;;Force 10M Full Duplex
"insmod dmfe mode=5" ;;Force 100M Full Duplex
3. config a dm9102 network interface
"ifconfig eth0 172.22.3.18"
^^^^^^^^^^^ your IP address
4. active the IP routing table
"route add -net 172.22.3.0 eth0"
5. Well done. Your DM9102 adapter actived now.

i tried 2 ping my local ip : 193.168.0.3
i got reply...

but when i tried 2 ping my cable net ip xxx.xx.xxx.xx gav me timeout!

i rebooted my box n tried again :~ 2 ping 193.168.0.3 this time even my local ip timeout!

eth0 gone! eth0 failed during startup

what 2 do!

Josk

2:16 pm on Oct 7, 2003 (gmt 0)

10+ Year Member



Did you follow the instructions? Were there any error messages? What else have you tried?

I'd like to help people but putting up posts saying "I have a problem with XYZ... Help!" isn't very useful. I'm sorry if this sounds rude, but you need to give more information before you can expect any help...

WiseOne

7:41 pm on Oct 7, 2003 (gmt 0)

10+ Year Member



i told u exactly wat i did! if u can help me then thnx or else 4get it no probs!

thnx neways