Hi,
ich habe hier einen uralt rechner stehen, leider ohne ethernet Anschluss, deshalb versuche ich grade verzweifelt, den dLAN Duo USB-Treiber zu installieren, um per USB Internet zu bekommen.
Ich hab mir die Dateien von der mitgelieferten CD geholt und halte mich an die README. Die Vorraussetzungen sind erfüllt; ihr wisst gar nicht wie aufwendig es ist build-essential ohne apt zu installieren
Hier mal der Ausschnitt aus der README:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
3.2Installation
Nach dem Entpacken wechseln Sie in das dlanconfig-Unterverzeichnis
und fahren je nach Installationsvorhaben fort:
Es gibt drei Moeglichkeiten der Installation:
- nur dLAN-Konfigurationssoftware dlanconfig
- nur USB-Treiber fuer dLAN duo
- dLAN-Konfigurationssoftware dlanconfig und USB-Treiber
Wenn nur der USB-Treiber fuer dLAN duo installiert werden
soll:
./configure
make usbdriver
make install-usbdriver(als root)
|
ok, alles klar soweit. Dann führe ich ./configure aus, ich denk mal das verlief in Ordnung, aber hier ist nochmal die Terminal-Ausgabe:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version... 4
checking maximum warning verbosity option... -Wall for C
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for modprobe... /sbin/modprobe
checking for module_prefix... /lib/modules
checking for depmod... /sbin/depmod
configure: WARNING: cannot find kernel sources.
please edit driver/Makefile and set variable KERNELDIR
USB determination method: /usr/bin/lspci -v
USB driver to be loaded: uhci
checking what kind of binaries we shall create... dynamically linked
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for local pcap library... not found
checking for main in -lpcap... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for system... yes
checking for dup2... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for vfork... yes
checking for fork... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tool/Makefile
config.status: creating driver/Makefile
config.status: creating tool/config.h
|
Was ein Liste xD
Danach führe ich "make usbdriver" aus. Hier die Ausgabe:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
|
cyberprince@cyberprince-desktop:~/Desktop/dLAN-linux-package-2.0$ make usbdriver
making all in driver
make[1]: Betrete Verzeichnis '/home/cyberprince/Desktop/dLAN-linux-package-2.0/driver'
make -C SUBDIRS=/home/cyberprince/Desktop/dLAN-linux-package-2.0/driver modules
make: Betrete ein unbekanntes Verzeichnis
make: *** SUBDIRS=/home/cyberprince/Desktop/dLAN-linux-package-2.0/driver: No such file or directory. Schluss.
make: Verlasse ein unbekanntes Verzeichnis
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/home/cyberprince/Desktop/dLAN-linux-package-2.0/driver'
make: *** [usbdriver] Fehler 2
|
Ich denke mal hier liegt der Fehler. Das mit dem "No such file or directory" stimmt nicht. Das Verzeichnis existiert 100%-ig. Ich habs mehrmals nachgeschaut.
Hier noch mal der Ausschnitt aus der Makefile, der interessant sein könnte:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
######## TOPDIR Makefile #########
TOPDIR=.
DVRDIR=driver
TOOLDIR=tool
SUBDIRS=tool driver
usbdriver:
@for dir in $(DVRDIR); do \
echo "making all in $$dir"; \
(cd $$dir; $(MAKE))\
done
|
Hoffe ihr könnt helfen
MfG