Инсталирах си една карта и вече 4 дни се мъча да накарам моя Дебиан да я разпознае. Първо опитах с pppoeconf и modconf да инсталирам драйвер, но се оказа, че там няма такъв. Накрая отидох при фирмата, която ми продаде картата и ми дадоха драйвер - файл с разширение .tgz. В него са файловете:
-rwxr-xr-x 1 root root 7668 2004-02-25 05:08 kcompat.h
-rwxr-xr-x 1 root root 11226 2004-02-25 05:08 linux.txt
-rwxr-xr-x 1 root root 5219 2004-02-25 05:08 Makefile
-rwxr-xr-x 1 root root 1996 2004-02-25 05:08 rhine_cfg.h
-rwxr-xr-x 1 root root 42454 2004-02-25 05:08 rhine.h
-rwxr-xr-x 1 root root 78890 2004-02-25 05:08 rhine_main.c
-rwxr-xr-x 1 root root 15163 2004-02-25 05:08 rhine_proc.c
-rwxr-xr-x 1 root root 1852 2004-02-25 05:08 rhine_proc.h
-rwxr-xr-x 1 root root 9348 2004-02-25 05:08 rhine_vmns.c
-rwxr-xr-x 1 root root 1289 2004-02-25 05:08 rhine_vmns.h
-rwxr-xr-x 1 root root 8299 2004-02-25 05:08 rhine_wol.c
-rwxr-xr-x 1 root root 1706 2004-02-25 05:08 rhine_wol.h
-rwxr-xr-x 1 root root 6935 2004-02-25 05:08 vmns_drv.h
Инструкцията е следната:
Please enter the following commands at the UNIX prompt. Remember, UNIX is
case sensitive.
1) Create a temporary directory:
mkdir /temp
2) Change to the temporary directory:
cd /temp
2) Copy driver (rhinefet.tgz) from DOS disk, (mcopy below is one tool in
mtools, if you didn't install mtools, you can type
'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/rhinefet.tgz /temp'
command to copy the driver to the temporary directory):
mcopy a:rhinefet.tgz .
3) untar the archive file:
tar xzvf rhinefet.tgz
cd rhinefet
4) Compile the driver source files and it will generate rhinefet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install
5) Check configuration file (/etc/modules.conf or /etc/conf.modules,it
depend on your Linux distribution) for loading kernel modules. Make sure
there is the following content in the configuration file, where # is
interface number (eg: alias eth0 rhinefet):
alias eth# rhinefet
6) Reboot now:
shutdown -r now
7) Install your driver module (If the driver module is in the wrong place,
an error message will appear, and say that can't find the driver
module):
insmod rhinefet
Use ifconfig command to assign the IP address, where # is network
interface number:
ifconfig eth# <IP>
9) Check the interface works:
ping <remote_host_IP>
Въпросът ми е защо когато дам командите make, make install, винаги получавам съобщението:
Makefile:29: *** Linux kernel source not found. Stop.
Същевременно проверих и съм сигурен, че пакетът make е инсталиран.
Моля ако някой има представа защо е така да ми отговори. Съвсем съм нов и нямам никакъв опит.