PDA

View Full Version : Can't connect to internet....very important


ZigonofZigonia
2nd January 2005, 04:45 AM
My sis900 ethernet card isnt working properly. When I try to activate it the system-config-network window displays this error:

Determining IP information for eth0:.../sbin/ dhclient-script: config for eth0 not found:
Failed

I downloaded the driver for it from windows and the readme reads:

"make modules" fails on Redhat 8.0.It is kernel 2.4.18-14 , and it need driver 1.08.06.
You can individually compile the sis900.o with below procedures:
a.Symbolic Links "asm" and "linux" to "/usr/src/linux-2.4.18-14/include/."
a.1.Go to /usr/include directory
a.2.mv asm asm_ ( or rm asm)
a.3.mv linux linux_ (or rm linux)
a.4.ln -s /usr/src/linux-2.4.18-14/include/asm asm
a.5.ln -s /usr/src/linux-2.4.18-14/include/linux linux
b.Create new directory and copy sis900.c and sis900.o into them.
b.1 mkdir tmp
b.2 cp -f sis900.c /tmp/sis900.c
b.3 cp -f sis900.h /tmp/sis900.h
b.4 cd /tmp
b.5 gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -o6 -c -sis900.c
c.Copy and replace sis900.o into "/lib/modules/2.4.18-14/kernel/drivers/net/."
c.1 cp -f sis900.o /lib/modules/2.4.18-14/kernel/drivers/net/sis900.o

the line b.5 doesnt work when I copy it into the terminal. it gives me this message:

gcc:unrecognized option '-sis900'
gcc: no input files

What can I do to get it to work...the driver and or the ethernet card! Very important. Thank you

harlequin
2nd January 2005, 08:39 AM
Try to take the - off in front of the sis900.c. Also check to make sure that the command is entered exactly as written in the instructions.


gcc -DMODULE -D__KERNEL__ -Wall -Wstrict -prototypes -o6 -c sis900.c


You're compiling the driver from source?

Before you do this though, it'd be best to backup the sis900.c file.

crackers
2nd January 2005, 08:47 AM

Are you aware that the driver files have changed rather radically from previous kernel versions? Also, there is an sis900 kernel module already. That error message doesn't necessarily imply that the driver itself is at fault: it may mean that your eth0 configuration isn't quite right.

ZigonofZigonia
6th January 2005, 01:12 AM
Yes, the driver came from the sis site as .txt docs with the files needed and the readme which explained what to do and I have just been copy pasting the commands.

And Where can I get the sis900 module?

ZigonofZigonia
6th January 2005, 01:52 AM
Ok, when I look at the hardware it recognizes the card and the driver. I think something is wrong with my DNS configurations but I dont know? Do I have to manually enter in the tertiary dns secondary dns and so forth? Or is there a way to retreieve those automatically? And can I get the dns values by doing doing ipconfig on the router? Thanks for your help!