Ok, when I did /sbin/lspci, I got
00:12.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter
So that means that my network card is detected right? Anyway, I found a driver at
www.driverguide.com and the readme told me to do this:
Installation:
1. copy the source code mtd80x.c to Linux,
2. compile the source code, the instruction for compiling the driver is
as follows:
#gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c mtd80x.c
3. insert the driver as module,
#insmod mtd80x.o
4. bind your card to an IP address
#ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
5. add your card to IP routing table,
#route add -net ${NETWORK} netmask ${NETMADK} eth0
6. now, you should be able to ping local network.
When I tried the second instruction, I got a long list of stuff ending with the lines
/usr/include/asm/pgalloc.h:63: initializer list being treated as a compound expression
/usr/include/asm/pgalloc.h:63: confused by earlier errors, bailing out
I don't know what to do about that. Anyway, I ignored those and ran the next instruction and I got:
MTD80X.O: The module you are trying to load (MTD80X.O) is compiled with a gcc version 2 compiler while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.
So, this problem can be solved by downgrading my gcc compiler right? But that still leaves the earlier one...