I have an old Lenovo PC on which I have Debian 8.3 64bit with no desktop environment.
It has an onboard Marvell 88E8056 NIC that SHOULD be able to run at 1Gb/s but the driver (SKY2) that is loaded will only do 100Mb/s.
So I try to get this thing to work with a new driver.
For that it seems I have to download it from here:
http://www.marvell.com/support/downloads/search.do
There I download Linux_v10.93.3.3.tar.zip which has directions on how to compile and install the SK98LIN driver.
Since I never done that before, I found this guy on youtube to talk about this:
https://www.youtube.com/watch?v=ypbMi5clryM
But where for him it does compile, for me it breaks off with saying missing version.h :
I have found several version.h files on my system and I tried copying them into the missing place and also linking to it, but I am not sure if that was done correctly..<snip>
.
Check kernel header versiongrep: /lib/modules/3.16.0-4-amd64/source/include/linux/version.h: No such file or directory
./functions: line 1117: [: !=: unary operator expected
grep: /lib/modules/3.16.0-4-amd64/source/include/linux/version.h: No such file or directory
./functions: line 1126: [: !=: unary operator expected
(Kernel:3.16.0 == Header:) [ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (error) [ failed ]
An error has occurred during the compile proces which prevented
the installation from completing.
Take a look at the log file install.log for more informations.
Installation of package failed.
root@debian:~/setup#
When I do, I get the error: headers not recognized, or something.
Some people on the Internet say that this driver is too old since it was made for the 2.6 kernel and I have the 3.16 kernel
Then I found this guy
https://github.com/kinumi/sk98lin
who has made it so it could compile with a 3.16 - 3.19 kernel.
When I do that, I get a missing headers error (again).
( I had that before too, but I did install the following to fix that:
apt-get install linux-source
apt-get install build-essential
apt-get install linux-headers-amd64
)
So, I am not sure how to fix this missing headers now, since I already had those installed.
I think it is strange that an old NIC like that is still giving SO MUCH problems, the Internet is full of people who have the same or very similar troubles.
I thought that maybe making use of the non-free sources would be able to fix this, but after I added those, there were no new updates, so I do not know what to do with that.
If there is no way to make this work, I might give up, as many others have done too, and find some other NIC that can do 1Gb/s without troubles.
I am thinking of this one: http://www.tp-link.com/en/products/deta ... -3468.html
But I am not sure if this one will work without any problems and I rather have the onboard NIC working instead.
Any help is much appreciated. (I spend already several days on this, on and off.)