Précédent   Forum des professionnels en informatique > Systèmes > Linux > Matériel
Matériel Vos questions relatives à la configuration optimale et au support matériel
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 13/03/2010, 23h51   #1
Membre régulier
 
Avatar de scofield
 
Homme koss
Administrateur de base de données
Inscription : octobre 2006
Messages : 179
Détails du profil
Informations personnelles :
Nom : Homme koss

Informations professionnelles :
Activité : Administrateur de base de données
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : octobre 2006
Messages : 179
Points : 78
Points : 78
Envoyer un message via MSN à scofield Envoyer un message via Skype™ à scofield
Par défaut Probleme Driver Wifi USB D-Link dwa110

Bonjour , config >>RHEL 5.4
PC: desktop
network wirlesse Cle usb D-link DWA110 (...linux ready soit disant)

j'essaie d'installer ma carte D-link DWA110 . Le driver prévu étant RT73.

Après avoir extrait l'archive, je me retrouve avec un repertoire du nom de l'archive 20071128_DWA110_RT73_Linux_STA_Drv1.0.4.0 contenant deux repertoires:[*]Module[*]WPA_Supplicant qui contient >>
WPA_Supplicant-0.4.7
WPA_Supplicant-0.5.8

Dans chacun de ces répertoires j'ai des README avec des .c, .h makefiles etc.
Voici le contenu de WPA_Supplicant-0.4.7:
Code :
1
2
3
4
config            driver_ralink.h  Makefile          wpa_supplicant_example.conf
defconfig       drivers.c         README            wpa_supplicant_i.h
driver.h         drivers.c~      wpa_supplicant.c    vssver.scc
driver_ralink.c  events.c
WPA_Supplicant-0.5.8:
Code :
1
2
3
4
config     driver_ralink.c  events.c          wpa_supplicant_example.conf
config~    driver_ralink.h  Makefile          wpa_supplicant_i.h
defconfig  drivers.c        README
driver.h   drivers.c~       wpa_supplicant.c
Le README me dit de vérifier que des lignes sont bien dans le Makefile et dans le defconfig et de copier defconfig dans .config


et de faire un make, ce que je fais:
pour les deux voici le resultat de config et make
Code :
1
2
3
4
[root@kussey WPA_Supplicant-0.5.8]# ./config
: command not found
: command not found
: command not found
Code :
1
2
[root@kussey WPA_Supplicant-0.5.8]# make
make: *** Pas de règle pour fabriquer la cible « config.o », nécessaire pour « wpa_supplicant ». Arrêt.
Et en effet aucune règle pour config.o et je n'ai pas de config.c dans le répertoire hum étrange.
Voici le MakeFile:

Code :
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
ifndef CC
CC=gcc
endif
 
ifndef CFLAGS
CFLAGS = -MMD -O2 -Wall -g
endif
 
# Include directories for CVS version
CFLAGS += -I. -I../utils -I../hostapd
 
ALL=wpa_supplicant wpa_passphrase wpa_cli
 
all: verify_config $(ALL)
 
verify_config:
	@if [ ! -r .config ]; then \
		echo 'Building wpa_supplicant requires a configuration file'; \
		echo '(.config). See README for more instructions. You can'; \
		echo 'run "cp defconfig .config" to create an example'; \
		echo 'configuration.'; \
		exit 1; \
	fi
 
mkconfig:
	@if [ -e .config ]; then \
		echo '.config exists - did not replace it'; \
		exit 1; \
	fi
	echo CONFIG_DRIVER_HOSTAP=y >> .config
	echo CONFIG_DRIVER_WEXT=y >> .config
	echo CONFIG_WIRELESS_EXTENSION=y >> .config
 
install: all
	mkdir -p $(DESTDIR)/usr/local/sbin/
	for i in $(ALL); do cp $$i $(DESTDIR)/usr/local/sbin/$$i; done
 
OBJS = config.o \
	eloop.o common.o md5.o \
	rc4.o sha1.o
OBJS_p = wpa_passphrase.o sha1.o md5.o
OBJS_c = wpa_cli.o wpa_ctrl.o
 
-include .config
 
ifdef CONFIG_EAPOL_TEST
CFLAGS += -Werror -DEAPOL_TEST
endif
 
ifndef CONFIG_BACKEND
CONFIG_BACKEND=file
endif
 
ifeq ($(CONFIG_BACKEND), file)
OBJS += config_file.o base64.o
endif
 
ifdef CONFIG_DRIVER_HOSTAP
CFLAGS += -DCONFIG_DRIVER_HOSTAP
OBJS_d += driver_hostap.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_WEXT
CFLAGS += -DCONFIG_DRIVER_WEXT
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_PRISM54
CFLAGS += -DCONFIG_DRIVER_PRISM54
OBJS_d += driver_prism54.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_HERMES
CFLAGS += -DCONFIG_DRIVER_HERMES
OBJS_d += driver_hermes.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_MADWIFI
CFLAGS += -DCONFIG_DRIVER_MADWIFI
OBJS_d += driver_madwifi.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_ATMEL
CFLAGS += -DCONFIG_DRIVER_ATMEL
OBJS_d += driver_atmel.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_NDISWRAPPER
CFLAGS += -DCONFIG_DRIVER_NDISWRAPPER
OBJS_d += driver_ndiswrapper.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_BROADCOM
CFLAGS += -DCONFIG_DRIVER_BROADCOM
OBJS_d += driver_broadcom.o
endif
 
ifdef CONFIG_DRIVER_IPW
CFLAGS += -DCONFIG_DRIVER_IPW
OBJS_d += driver_ipw.o
CONFIG_WIRELESS_EXTENSION=y
endif
 
ifdef CONFIG_DRIVER_RALINK
CFLAGS += -DCONFIG_DRIVER_RALINK
OBJS_d += driver_ralink.o
endif
 
ifdef CONFIG_DRIVER_BSD
CFLAGS += -DCONFIG_DRIVER_BSD
OBJS_d += driver_bsd.o
CONFIG_DNET_PCAP=y
CONFIG_L2_FREEBSD=y
endif
 
ifdef CONFIG_DRIVER_NDIS
CFLAGS += -DCONFIG_DRIVER_NDIS
OBJS_d += driver_ndis.o driver_ndis_.o
CONFIG_DNET_PCAP=y
CONFIG_WINPCAP=y
endif
 
ifdef CONFIG_DRIVER_WIRED
CFLAGS += -DCONFIG_DRIVER_WIRED
OBJS_d += driver_wired.o
endif
 
ifdef CONFIG_DRIVER_TEST
CFLAGS += -DCONFIG_DRIVER_TEST
OBJS_d += driver_test.o
endif
 
ifdef CONFIG_DNET_PCAP
CFLAGS += -DUSE_DNET_PCAP
ifdef CONFIG_WINPCAP
OBJS += l2_packet_pcap.o
CFLAGS += -DCONFIG_WINPCAP
LIBS += -lwpcap -lpacket
LIBS_w += -lwpcap
else
ifdef CONFIG_L2_FREEBSD
OBJS += l2_packet_freebsd.o
LIBS += -lpcap
else
OBJS += l2_packet_pcap.o
LIBS += -ldnet -lpcap
endif
endif
else
OBJS += l2_packet_linux.o
endif
 
ifdef CONFIG_EAP_TLS
# EAP-TLS
CFLAGS += -DEAP_TLS
OBJS += eap_tls.o
TLS_FUNCS=y
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_PEAP
# EAP-PEAP
CFLAGS += -DEAP_PEAP
OBJS += eap_peap.o
TLS_FUNCS=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_TLV=y
endif
 
ifdef CONFIG_EAP_TTLS
# EAP-TTLS
CFLAGS += -DEAP_TTLS
OBJS += eap_ttls.o
MS_FUNCS=y
TLS_FUNCS=y
CONFIG_EAP_MD5=y
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_MD5
# EAP-MD5 (also used by EAP-TTLS)
CFLAGS += -DEAP_MD5
OBJS += eap_md5.o
CONFIG_IEEE8021X_EAPOL=y
endif
 
# backwards compatibility for old spelling
ifdef CONFIG_MSCHAPV2
CONFIG_EAP_MSCHAPV2=y
endif
 
ifdef CONFIG_EAP_MSCHAPV2
# EAP-MSCHAPv2 (also used by EAP-PEAP)
CFLAGS += -DEAP_MSCHAPv2
OBJS += eap_mschapv2.o
MS_FUNCS=y
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_GTC
# EAP-GTC (also used by EAP-PEAP)
CFLAGS += -DEAP_GTC
OBJS += eap_gtc.o
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_OTP
# EAP-OTP
CFLAGS += -DEAP_OTP
OBJS += eap_otp.o
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_SIM
# EAP-SIM
CFLAGS += -DEAP_SIM
OBJS += eap_sim.o
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_SIM_COMMON=y
endif
 
ifdef CONFIG_EAP_LEAP
# EAP-LEAP
CFLAGS += -DEAP_LEAP
OBJS += eap_leap.o
MS_FUNCS=y
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_EAP_PSK
# EAP-PSK
CFLAGS += -DEAP_PSK
OBJS += eap_psk.o eap_psk_common.o
CONFIG_IEEE8021X_EAPOL=y
NEED_AES=y
endif
 
ifdef CONFIG_EAP_AKA
# EAP-AKA
CFLAGS += -DEAP_AKA
OBJS += eap_aka.o
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_SIM_COMMON=y
endif
 
ifdef CONFIG_EAP_SIM_COMMON
OBJS += eap_sim_common.o
NEED_AES=y
endif
 
ifdef CONFIG_EAP_TLV
# EAP-TLV
CFLAGS += -DEAP_TLV
OBJS += eap_tlv.o
endif
 
ifdef CONFIG_EAP_FAST
# EAP-FAST
CFLAGS += -DEAP_FAST
OBJS += eap_fast.o
TLS_FUNCS=y
endif
 
ifdef CONFIG_EAP_PAX
# EAP-PAX
CFLAGS += -DEAP_PAX
OBJS += eap_pax.o eap_pax_common.o
CONFIG_IEEE8021X_EAPOL=y
endif
 
ifdef CONFIG_IEEE8021X_EAPOL
# IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication)
CFLAGS += -DIEEE8021X_EAPOL
OBJS += eapol_sm.o eap.o
endif
 
ifdef CONFIG_PCSC
# PC/SC interface for smartcards (USIM, GSM SIM)
CFLAGS += -DPCSC_FUNCS -I/usr/include/PCSC
OBJS += pcsc_funcs.o
# -lpthread may not be needed depending on how pcsc-lite was configured
LIBS += -lpcsclite -lpthread
endif
 
ifndef CONFIG_TLS
CONFIG_TLS=openssl
endif
 
ifdef TLS_FUNCS
# Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST)
CFLAGS += -DEAP_TLS_FUNCS
OBJS += eap_tls_common.o
ifeq ($(CONFIG_TLS), openssl)
OBJS += tls_openssl.o
LIBS += -lssl -lcrypto
LIBS_p += -lcrypto
endif
ifeq ($(CONFIG_TLS), gnutls)
OBJS += tls_gnutls.o
LIBS += -lgnutls -lgcrypt -lgpg-error
LIBS_p += -lgcrypt
endif
ifeq ($(CONFIG_TLS), schannel)
OBJS += tls_schannel.o
# Using OpenSSL for crypto at the moment; to be replaced
LIBS += -lcrypto
LIBS_p += -lcrypto
endif
ifdef CONFIG_SMARTCARD
ifndef CONFIG_NATIVE_WINDOWS
ifndef CONFIG_L2_FREEBSD
LIBS += -ldl
endif
endif
endif
NEED_CRYPTO=y
else
OBJS += tls_none.o
endif
 
ifdef CONFIG_PKCS12
CFLAGS += -DPKCS12_FUNCS
endif
 
ifdef CONFIG_SMARTCARD
CFLAGS += -DCONFIG_SMARTCARD
endif
 
ifdef MS_FUNCS
OBJS += ms_funcs.o
NEED_CRYPTO=y
endif
 
ifdef NEED_CRYPTO
ifndef TLS_FUNCS
ifeq ($(CONFIG_TLS), openssl)
LIBS += -lcrypto
LIBS_p += -lcrypto
endif
ifeq ($(CONFIG_TLS), gnutls)
LIBS += -lgcrypt
LIBS_p += -lgcrypt
endif
ifeq ($(CONFIG_TLS), schannel)
# Using OpenSSL for crypto at the moment; to be replaced
LIBS += -lcrypto
LIBS_p += -lcrypto
endif
endif
ifeq ($(CONFIG_TLS), openssl)
OBJS += crypto.o
OBJS_p += crypto.o
endif
ifeq ($(CONFIG_TLS), gnutls)
OBJS += crypto_gnutls.o
OBJS_p += crypto_gnutls.o
endif
ifeq ($(CONFIG_TLS), schannel)
# Using OpenSSL for crypto at the moment; to be replaced
OBJS += crypto.o
OBJS_p += crypto.o
endif
endif
 
ifdef CONFIG_WIRELESS_EXTENSION
CFLAGS += -DCONFIG_WIRELESS_EXTENSION
OBJS_d += driver_wext.o
endif
 
ifdef CONFIG_CTRL_IFACE
CFLAGS += -DCONFIG_CTRL_IFACE
OBJS += ctrl_iface.o
endif
 
ifdef CONFIG_READLINE
CFLAGS += -DCONFIG_READLINE
LIBS_c += -lncurses -lreadline
endif
 
ifdef CONFIG_NATIVE_WINDOWS
CFLAGS += -DCONFIG_NATIVE_WINDOWS -DCONFIG_CTRL_IFACE_UDP
LIBS += -lws2_32 -lgdi32 -lcrypt32
LIBS_c += -lws2_32
endif
 
ifdef CONFIG_NO_STDOUT_DEBUG
CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
endif
 
ifdef CONFIG_IPV6
# for eapol_test only
CFLAGS += -DCONFIG_IPV6
endif
 
ifndef CONFIG_NO_WPA
OBJS += wpa.o preauth.o
NEED_AES=y
else
CFLAGS += -DCONFIG_NO_WPA
endif
 
ifdef NEED_AES
OBJS += aes_wrap.o
endif
 
OBJS += wpa_supplicant.o events.o
OBJS_t := $(OBJS) eapol_test.o radius.o radius_client.o
OBJS_t2 := $(OBJS) preauth_test.o
OBJS += main.o drivers.o $(OBJS_d)
 
wpa_supplicant: .config $(OBJS)
	$(CC) -o wpa_supplicant $(OBJS) $(LIBS)
 
eapol_test: .config $(OBJS_t)
	$(CC) -o eapol_test $(OBJS_t) $(LIBS)
 
preauth_test: .config $(OBJS_t2) 
	$(CC) -o preauth_test $(OBJS_t2) $(LIBS)
 
wpa_passphrase: $(OBJS_p)
	$(CC) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
 
wpa_cli: $(OBJS_c)
	$(CC) -o wpa_cli $(OBJS_c) $(LIBS_c)
 
win_if_list: win_if_list.c
	$(CC) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)
 
# parameters for Microsoft Visual C++ Toolkit 2003 compiler
CL=cl
CLDIR=C:\Program Files\Microsoft Visual C++ Toolkit 2003
PSDKDIR=C:\Program Files\Microsoft Platform SDK for Windows XP SP2
CLFLAGS=-O
CLLIBS=wbemuuid.lib libcmt.lib kernel32.lib uuid.lib ole32.lib oleaut32.lib \
	ws2_32.lib
 
ndis_events: ndis_events.cpp
	INCLUDE="$(CLDIR)\include;$(PSDKDIR)\Include" \
	LIB="$(CLDIR)\lib;$(PSDKDIR)\Lib" \
	$(CL) $(CLFLAGS) -o ndis_events.exe ndis_events.cpp \
		/link -nodefaultlib $(CLLIBS)
 
wpa_supplicant.exe: wpa_supplicant
	mv -f $< $@
wpa_cli.exe: wpa_cli
	mv -f $< $@
wpa_passphrase.exe: wpa_passphrase
	mv -f $< $@
win_if_list.exe: win_if_list
	mv -f $< $@
eapol_test.exe: eapol_test
	mv -f $< $@
 
WINALL=wpa_supplicant.exe wpa_cli.exe wpa_passphrase.exe win_if_list.exe
 
windows-bin: $(WINALL)
	$(STRIP) $(WINALL)
 
wpa_gui/Makefile:
	qmake -o wpa_gui/Makefile wpa_gui/wpa_gui.pro 
 
wpa_gui: wpa_gui/Makefile
	$(MAKE) -C wpa_gui
 
TEST_SRC_MS_FUNCS = ms_funcs.c crypto.c sha1.c md5.c
test-ms_funcs: $(TEST_SRC_MS_FUNCS)
	$(CC) -o test-ms_funcs -Wall -Werror $(TEST_SRC_MS_FUNCS) \
		-DTEST_MAIN_MS_FUNCS -lcrypto -I../hostapd -I.
	./test-ms_funcs
	rm test-ms_funcs
 
TEST_SRC_SHA1 = sha1.c
test-sha1: $(TEST_SRC_SHA1)
	$(CC) -o test-sha1 -Wall -Werror $(TEST_SRC_SHA1) \
		-DTEST_MAIN -I../hostad -I.
	./test-sha1
	rm test-sha1
 
TEST_SRC_AES_WRAP = aes_wrap.c
test-aes_wrap: $(TEST_SRC_AES_WRAP)
	$(CC) -o test-aes_wrap -Wall -Werror $(TEST_SRC_AES_WRAP) \
		-DTEST_MAIN -I../hostad -I.
	./test-aes_wrap
	rm test-aes_wrap
 
TEST_SRC_EAP_SIM_COMMON = eap_sim_common.c sha1.c md5.c \
	aes_wrap.c common.c
test-eap_sim_common: $(TEST_SRC_EAP_SIM_COMMON)
	$(CC) -o test-eap_sim_common -Wall -Werror $(TEST_SRC_EAP_SIM_COMMON) \
		-DTEST_MAIN_EAP_SIM_COMMON -I../hostapd -I.
	./test-eap_sim_common
	rm test-eap_sim_common
 
tests: test-ms_funcs test-sha1 test-aes_wrap test-eap_sim_common
 
clean:
	rm -f core *~ *.o *.d $(ALL) $(WINALL)
 
%.eps: %.fig
	fig2dev -L eps $*.fig $*.eps
 
%.png: %.fig
	fig2dev -L png -m 3 $*.fig | pngtopnm | pnmscale 0.4 | pnmtopng \
		> $*.png
 
docs-pics: doc/wpa_supplicant.png doc/wpa_supplicant.eps
 
docs: docs-pics
	doxygen doc/doxygen.full
	$(MAKE) -C doc/latex
	cp doc/latex/refman.pdf wpa_supplicant-devel.pdf
 
docs-fast: docs-pics
	doxygen doc/doxygen.fast
 
clean-docs:
	rm -rf doc/latex doc/html
	rm -f doc/wpa_supplicant.{eps,png} wpa_supplicant-devel.pdf
 
-include $(OBJS:%.o=%.d)
du coup je passe sur l'autre rep Module
Voici le contenu de Module:

Code :
1
2
3
4
5
6
7
8
9
10
11
12
$ls ./Module
assoc.c           Makefile     rt73.h       rtusb_bulk.c
auth.c            Makefile.4   rt73sta.dat  rtusb_data.c
auth_rsp.c        Makefile.6   rt_config.h  rtusb_io.c
config.mk         md5.c        rtmp_def.h   sanity.c
config.new        md5.h        rtmp.h       STA_iwpriv_ATE_usage.txt
Configure         mlme.c       rtmp_info.c  sync.c
connect.c         mlme.h       rtmp_init.c  unload
History.txt       oid.h        rtmp_main.c  vssver.scc
ifcfg-rausb0      README       rtmp_tkip.c  wpa.c
iwpriv_usage.txt  ReleaseNote  rtmp_type.h  wpa.h
load              rt73.bin     rtmp_wep.c
Dans ce README on me dit de renomer Makefile.6 en Makefile et de faire un ./Configure.
Ce que je fais :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
[root@kussey Module]# ./Configure 
 
 
-------------------- Ralink RT73 Station Configuration -------------------- 
 
  Linux kernel source directory [/usr/src/linux-2.6.18-164.el5]: 
 
**je done le chemin exacte "/usr/src/kernels/2.6.18-164.el5-xen-i686"
...
Linux kernel source directory : /usr/src/kernels/2.6.18-164.el5-xen-i686
 
  Module install directory : /lib/modules/2.6.18-164.el5/kernel/drivers/net
jusque la ca va
Mais le make me donne un erreur
[
Code :
1
2
3
4
root@kussey Module]# make all
make -C /lib/modules/2.6.18-164.el5/build SUBDIRS=/home/koussi/downloads/DLINK DRIVER/20071128_DWA110_RT73_Linux_STA_Drv1.0.4.0/Module modules
make: *** /lib/modules/2.6.18-164.el5/build: Aucun fichier ou répertoire de ce type. Arrêt.
make: *** [all] Erreur 2
contenu makefile :
Code :
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
######################################################################
#	Module Name: Makefile
#	Abstract: Makefile for rt73 linux driver on kernel series 2.6 
######################################################################
 
 
WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
 
## Comment/uncomment the following line to enable/disable debugging
#CFLAGS += -DDBG
 
CFLAGS += $(WFLAGS)
 
obj-m := rt73.o
 
rt73-objs :=  rtmp_main.o mlme.o connect.o rtusb_bulk.o rtusb_io.o sync.o assoc.o auth.o auth_rsp.o rtusb_data.o rtmp_init.o  sanity.o rtmp_wep.o rtmp_info.o rtmp_tkip.o wpa.o md5.o
 
## Configuration files on SuSE
#NDDIR=/etc/sysconfig/network
#MOD_CONF=/etc/modprobe.d/module-renames
 
## NDDIR/ifcfg-rausb0
ND_CONF=/etc/sysconfig/network-scripts/ifcfg-rausb0
 
ifdef NDDIR
	NDDIR := $(NDDIR)
else
 	NDDIR := /etc/sysconfig/network-scripts
endif
 
ifdef MOD_CONF
	MOD_CONF := $(MOD_CONF)	
else
	MOD_CONF := /etc/modprobe.conf 
endif
 
all: 
	make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
 
clean:
	rm -rf *.o *~ .*.cmd *.ko *.mod.c .tmp_versions built-in.o
 
install:
	make -C /lib/modules/$(shell uname -r)/build \
	INSTALL_MOD_DIR=extra SUBDIRS=$(shell pwd) \
	modules_install 
 
	@echo "Network device directory $(NDDIR)"; 
	@echo "Module configuration file $(MOD_CONF)";	
 
	@if [ -d "$(NDDIR)" ] ; then \
		if [ ! -f "$(ND_CONF)" ]; then \
			echo "Create 'ifcfg-rausb0' in $(NDDIR)/"; \
			cp ifcfg-rausb0 $(NDDIR)/ ; \
		fi; \
 	fi
 
	@if ! grep -q 'rausb0' $(MOD_CONF) ; then \
		echo "append 'alias rausb0 rt73' to $(MOD_CONF)"; \
		echo "alias rausb0 rt73" >> $(MOD_CONF) ; \
 	fi
	/sbin/depmod -a
#	auto copy *.bin to /etc/Wireless/RT73STA
#	mkdir /etc/Wireless ;
#	mkdir /etc/Wireless/RT73STA ;
#	cp $(shell pwd)/*.bin /etc/Wireless/RT73STA ;
#	cp $(shell pwd)/*.dat /etc/Wireless/RT73STA ;
 
#	Copy file on Mandriva 2007.1
#	cp $(shell pwd)/*.bin /lib/firmware/ ;
Donc en définitif je suis un peu pommé. Je ne sais pas quel répertoire dois-je utiliser?

Si quelqu'un a des tuyeaux je suis totalement preneur.

Je reste à dispos si vous souhaitez des précisions :-)

Merci d'avance,
ps : j'ai updaté ce contenu par raport a un topic sur le net (copy right a ce mec alors )
Youl
scofield est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/03/2010, 20h25   #2
Membre régulier
 
Avatar de scofield
 
Homme koss
Administrateur de base de données
Inscription : octobre 2006
Messages : 179
Détails du profil
Informations personnelles :
Nom : Homme koss

Informations professionnelles :
Activité : Administrateur de base de données
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : octobre 2006
Messages : 179
Points : 78
Points : 78
Envoyer un message via MSN à scofield Envoyer un message via Skype™ à scofield

problème en passe d'être réglé
le lien BUILD a eté rectifié
Code :
lrwxrwxrwx 1 root root     44 mar 11 22:55 build -> ../../../usr/src/kernels/2.6.18-164.el5-xen-i686
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
make
-------------------- Ralink RT73 Station Configuration -------------------- 

  Linux kernel source directory [/usr/src/linux-2.6.18-164.el5]:  /usr/src/kernels/2.6.18-164.el5-xen-i686
 
  Linux kernel source directory : /usr/src/kernels/2.6.18-164.el5-xen-i686
 
  Module install directory : /lib/modules/2.6.18-164.el5/kernel/drivers/net
 
[root@localhost Module]# make
make -C /lib/modules/2.6.18-164.el5/build SUBDIRS=/home/koussi/downloads/DLINK DRIVER/2009_0713_RT73_Linux_STA_Drv1.1.0.3/Module modules
make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.18-164.el5-xen-i686 »
make[1]: *** Pas de règle pour fabriquer la cible « DRIVER/2009_0713_RT73_Linux_STA_Drv1.1.0.3/Module ». Arrêt.
make[1]: quittant le répertoire « /usr/src/kernels/2.6.18-164.el5-xen-i686 »
make: *** [all] Erreur 2
Correction<<je l'admet j'ai eté idiot sur ce détail .Au faite le répertoire s'appelait "DLINK DRIVER" jamais au grand jamais garder les salles habitude de windows(linux et tt system qui se respect est sensible a la casse et au charactere speciaux et surtout ne reconnais pas les blancs)

pour tout ceux qui veulent installer le fameux driver RT73 pour cle wifi usb je leur conseil de faire un tour ici


maintenant j'ai un soucit avec le driver( a son chargement)
Code :
1
2
3
4
5
copy the firmware file rt73.bin from /lib/firmware to /lib/firmware/`uname -r`
mkdir /lib/firmware/2.6.18-164.el5/
cp rt73.bin /lib/firmware/$(uname -r)/
[root@localhost 2.6.18-164.el5]# modprobe rt73
FATAL: Module rt73 not found.
je pige plus rien
je dois rajouter l'entré de rt73 dans /etc/modules alors que sur rhel 5 c plutot modprobe.conf (entré rt73 présente) mais quand j'essai d'activer le periph le repertoire rt73 n'est pas present >>
Citation:
The thing is 2.6 series of kernels uses modprobe.conf instead of
modules.conf which was being used by 2.4 series of kernels so need to
panic if you don't see modules.conf in RHEL5 brother.
modprobe,insmod,depmod,rmmod are generally the commands to play with
modules. modprobe and insmod mostly does the same thing,depmod looks
for module dependencies and rmmod is used for removing the module.
et mem apres ca
Code :
1
2
3
4
5
[root@localhost Module]# mkdir /lib/modules/$(uname -r)/extra/
[root@localhost Module]# cp rt73.ko /lib/modules/$(uname -r)/extra/rt73.ko
[root@localhost Module]#depmod -ae **pour actualiser module compilé
[root@localhost Module]# modprobe rt73
[root@localhost Module]#FATAL: Error inserting rt73 (/lib/modules/2.6.18-164.el5/extra/rt73.ko): Invalid module format
le resultat que je devrais voir c'est ifconfig rausb0 up
hELP!!!

Dernière modification par scofield ; 18/03/2010 à 04h38.
scofield est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 25/03/2010, 22h41   #3
Membre régulier
 
Avatar de scofield
 
Homme koss
Administrateur de base de données
Inscription : octobre 2006
Messages : 179
Détails du profil
Informations personnelles :
Nom : Homme koss

Informations professionnelles :
Activité : Administrateur de base de données
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : octobre 2006
Messages : 179
Points : 78
Points : 78
Envoyer un message via MSN à scofield Envoyer un message via Skype™ à scofield
Par défaut Resolu

hey
pour une fois je ne sauterais pas de joie pour avoir reglé un probleme sous rh, mais je suis quand même contant.

Bref , a posteriori j'ai fini par booté depuis la version xen de mon kernel qui est cohérente avec la version du kernel-headers-2.6.18-164.el5.i386
Code :
1
2
3
4
5
6
7
8
9
title Red Hat Enterprise Linux Server (2.6.18-164.el5xen) header compatible
        root (hd0,10)
        kernel /boot/xen.gz-2.6.18-164.el5
        module /boot/vmlinuz-2.6.18-164.el5xen ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-164.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-164.el5) erreur lors de compilation rt73
        root (hd0,10)
        kernel /boot/vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-164.el5.img
du coup
Code :
[root@localhost Module]# modprobe rt73 reussi
le reste c'est comme sur des roller
install rutilt enlever dans network manager tout peripherique que vous aurai bidouillé par désespoir avant que que rt73 ne marche.(exp:rausb0) ou aussi dans /etc/sysconfig/network-script/ifcfg-perifwifidegeu) rutil utilisera par defaut wlan0.


Donc pour résumer il vous faut :
1.Driver serial monkeys a jour cvs -daily
2-compiler dans module (make . make install . modpob rt73.
3.petit GUI pour une utilisation styl windaube rutilt et un peu de chance

Vous l'avez remarqué il n'a jamais eté question de ndiswraper (j'aime pas q les cochoneries win {.inf} entrent dans mes Os OPENs)

Lien de Références :FR
-UBUNTU
-UBUNTU CVS
ANG
-WIFI DOC
-RT73 AIRCRACK-NG
-http://ubuntuforums.org/showthread.php?t=923387-HOWTO: RT73 (RT71) serialmonkey drivers
- RT73 Wireless Driver Installer Script

PS: VOICI la response du SAV D-LINK (Degeu) que j'ai reçu deux jour après ma requête alors que le logo linux ready est sur l'embalage(ca se passe de commentaires..)
Citation:
Cher client,

Après étude de votre dossier, nous sommes au regret de vous informer que nous ne supportons pas les systèmes d'exploitaton LINUX.

Si des packages ou des drivers sont nécessaires pour votre distribution, reportez-vous au FAQ se rapportant à celle-ci ou à défaut, effectuer vos recherches via des FORUM ou Google.

Nous procédons à la clôture de ce dossier.

Merci de votre compréhension,

Bien à vous,

Bertram
Technical Support
D-Link Benelux Support Service
Website :<http://www.dlink.eu/>
Phone BeLux : +3233039971
Phone NL. : +31107994344

From Monday to Friday
Open from 09.00 to 18.00
Du Lundi au Vendredi
Ouvert de 09.00 à 18.00
Van Maandag tot Vrijdag
Open vanaf 09.00 tot 18.00
scofield est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 22h21.


 
 
 
 
Partenaires

Hébergement Web