PDA

View Full Version : Can't get 3C905-T4 to work



Sport
02-06-2003, 01:38 AM
Hello,

I am running 1/1/2003 level of Knoppix from CD. During startup Knoppix says he finds the NIC. The lights on the back of the NIC do not come on and I have no network access.

The module that supports the NIC is 3C59X. I have tried all the commands in the module and also tried adjusting them, none worked. All attmpts had these messages. Please see the first few lines below of attempts to compile it:

knoppix@ttyp2[src]$ gcc -D__KERNEL__ -Wall -O6 -c 3c59x.c -o 3c59x.o
3c59x.c:106:31: linux/modversions.h: No such file or directory
3c59x.c:133:22: pci-scan.h: No such file or directory
3c59x.c:134:25: kern_compat.h: No such file or directory

The complete listing is available if someone needs it.

There are several pages of errors.

From scanning Google I find that there are files that should be available. To install them it looks like you need to add them and rebuild the kernel.

Data from one entry:

It seems that the drivers to this site all use this new pci-scan.c
source. You can get the *.h files from:

ftp://ftp.scyld.com/pub/network/.

I guess that you can simply put them into the net directory and remake
the kernel image. I have always compiles the net drivers as modules so
I just used the supplied makefile that comes with all of this.

--- Tres Hofmeister <tres@rap.ucar.edu> wrote:
> After dropping the 0.99Q version of 3c59x.c into drivers/net in
> a 2.2.15 tree on a Debian 2.1 box, the kernel fails to build. Some
> include files seem to be missing:
>
> 3c59x.c:110: pci-scan.h: No such file or directory
> 3c59x.c:111: kern_compat.h: No such file or directory
>

Are these fixes in the level of Knoppix I am running? It doesn't appear to me that they are. What to do to get my NIC to function?

Thanks for any assistance anyone can give me.
Charlie Patterson

Sport
02-06-2003, 02:55 PM
Hello,

I was able to use 'modprobe' to find the '.o' file. Please disregard my previous entry. Now I am trying to get the route table setup correctly. I would appreciate any assistance you could give in regards to that.

I am using 'Persistent Home' package. How do you save the 'Interfaces' file? And have access to it?

Thanks,
Charlie Patterson

eadz
02-06-2003, 02:59 PM
I don't know much about routes,
but this is all I've needed

route add default gw 192.168.1.1

thats if you're on a 192.167.1.x network, and you're route is 192.168.1.1

also, that assumes you have your interfaces set up.
(e.g. ifconfig should show your ethernet card with an ip address)

Sport
02-07-2003, 12:57 PM
Hello,

I tried Knoppix on another computer with a different type of NIC card and it worked great through the router and on to the cable modem.

I am sure this problem is caused by the fact that I have my 3C90T4 NIC is connected to a 'none T4' type router (SMC7004ABR). This forces a 10 mbs connection on my windows system rather than 100 mbs.

I believe that changes in the driver would be required to handle this situation.

Thanks for your assistance and the great support I have received here and on the IRC #knoppix channel.

Charlie Patterson