I've just installed Ubuntu 7.04 on my desk computer (P4P800 Motherboard). No problem for that.
But in order to get internet, I have to install the 3C2000 driver (3com ethernet controller integrated in the motherboard).
So I tried with the "linux driver" avaible on the motherboard installation CD, and I followed the instruction.
By typing the command "make load" as indicated, I got pages of errors, only that, and I think t's because my installation folder is called "linux-headers-2.6.20-15" and not linux or linux 2.4 as indicated in the readme file.
I thought that the driver I'm tying to install is to old for my OS, so I checked on 3com website if there is a newer version of the 3c2000 driver for linux.
There was one, it's a tar file, that I unpacked. It contained 3 files: install.sh, readme, sk98lin.4 and another compressed folder sk98lin.tar.bz2.
The readme file tells that I have in a first time to type ./install.sh, in order to launch the installing bash.
But then :
vincent@vincent-desktop:~/DriverInstall$ .install.sh
./install.sh: 68: Syntax error: "(" unexpected.
Could someone please help me??? I don't know what else to do.
PS : I'm new in here, I present my self, I'm Vincent alias mollux67, I'm french student, so please excuse me, but correct me, if I make errors by writing english.
welcome to the forums !
you have to untar the bz2 file as it says in the README file
see below:-
Quote:Login as 'root'.2. Unpack the driver installation package using the command
# tar xfvj install-???.tar.bz2
or
# bunzip2 -c install-???.tar.bz2 | tar xfv -
***
5 Driver Installation
======================
1. After the driver installation package is unpacked, type the following
commands to start the sk98lin driver build process:
# cd DriverInstall
# ./install.sh
2. Select the driver installation mode (see following subchapters).
3. Wait for the driver build process to finish.
Depending on the installation mode you selected, the driver is either
compiled and installed or a kernel patch is generated.
so heres the code,
Code:
tar xfvj sk98lin.tar.bz2
./install.sh
once done, if the install.sh script is still erroring then make it executable and do this as root
usually with sh files you have to make them executable first
so to do that become root
now make the file executable
then run it
Thanks for that answer, but I still have the same error.
PS : Sweden's a great country, I've been travelling there several times over all Scandinavia. Takk!
thanks :)
did you untar the file before trying to run the install.sh ?
Code:
tar xfvj sk98lin.tar.bz2
./install.sh
Yes, but not in a proper way. Now I exactly did it like you, but I still have the same error!
can you please paste your commands (copy paste them here) and the resulting errors so I can see what you are doing exactly
also we are on IRC, see my signature.
cheers
anyweb
I've never used IRC before, but I'm gonna paste it here, sorry...
A friend of mine told me to type :
Code:
lspci | grep Ethernet
and I got :
Code:
3Com Corporation 3c940 10/100/1000 Base-T [Marvell] (rev 12)
Maybe the controller is already installed, but internet doesn't work. Maybe is there something to set? ...but I don't knowhow!
Quote:A friend of mine told me to type :
Code:
lspci | grep Ethernet
<div>
and I got :
Code:
3Com Corporation 3c940 10/100/1000 Base-T [Marvell] (rev 12)
Maybe the controller is already installed, but internet doesn't work. Maybe is there something to set? ...but I don't knowhow!
</div>
all that shows you is that the kernel can see it, it doesnt necessarily mean that it has support for it.
try this
do you see any ip for eth0 ?
if not, try
now do ifconfig again
any change ?
could be that you already HAVE an ip but you dns is wrong (gateway)
if that's the case you could ping google's ip but not google.com
if thats the case try this
Code:
route add default gw 192.168.0.1
replace 192.168.0.1 with the ip of your cable modem/router/isp
cheers
anyweb