Radis
Bonsoir tout le monde 🙂
Je viens d’acquérir une usb wifi D-Link AC600 et je ne parviens pas à me raccorder à ma box ... J'aurai besoin de votre aide
Voici le retour des commandes :
[Radis@Host-002 ~]$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 056a:0317 Wacom Co., Ltd
Bus 001 Device 002: ID 2001:3314 D-Link Corp.
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 004: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
et
[Radis@Host-002 ~]$ lsmod
Module Size Used by
bnep 20480 2
bluetooth 483328 5 bnep
fuse 94208 3
xt_CHECKSUM 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
tun 28672 1
nf_conntrack_netbios_ns 16384 0
nf_conntrack_broadcast 16384 1 nf_conntrack_netbios_ns
ip6t_rpfilter 16384 1
ip6t_REJECT 16384 2
nf_reject_ipv6 16384 1 ip6t_REJECT
xt_conntrack 16384 22
ebtable_broute 16384 1
bridge 114688 1 ebtable_broute
ebtable_nat 16384 1
ebtable_filter 16384 1
ebtables 32768 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_raw 16384 1
ip6table_nat 16384 1
nf_conntrack_ipv6 20480 12
nf_defrag_ipv6 36864 1 nf_conntrack_ipv6
nf_nat_ipv6 16384 1 ip6table_nat
ip6table_security 16384 1
ip6table_mangle 16384 1
ip6table_filter 16384 1
ip6_tables 28672 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_raw 16384 1
iptable_nat 16384 1
nf_conntrack_ipv4 16384 12
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 28672 3 nf_nat_ipv4,nf_nat_ipv6,nf_nat_masquerade_ipv4
nf_conntrack 106496 9 nf_conntrack_netbios_ns,nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_security 16384 1
iptable_mangle 16384 1
vfat 20480 1
fat 65536 1 vfat
x86_pkg_temp_thermal 16384 0
coretemp 16384 0
snd_hda_codec_realtek 86016 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
kvm 499712 0
i915 1110016 0
snd_hda_codec_hdmi 49152 1
crct10dif_pclmul 16384 0
wacom 81920 0
crc32_pclmul 16384 0
joydev 20480 0
crc32c_intel 24576 0
ghash_clmulni_intel 16384 0
eeepc_wmi 16384 0
snd_hda_intel 36864 12
asus_wmi 24576 1 eeepc_wmi
snd_hda_codec 126976 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
sparse_keymap 16384 1 asus_wmi
rfkill 24576 4 bluetooth,asus_wmi
snd_hda_core 61440 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_seq 69632 0
snd_seq_device 16384 1 snd_seq
snd_hwdep 16384 1 snd_hda_codec
tpm_tis 20480 0
tpm 36864 1 tpm_tis
snd_pcm 114688 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 32768 2 snd_pcm,snd_seq
pinctrl_sunrisepoint 28672 0
acpi_als 16384 0
pinctrl_intel 20480 1 pinctrl_sunrisepoint
snd 77824 34 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
kfifo_buf 16384 1 acpi_als
i2c_i801 20480 0
soundcore 16384 1 snd
shpchp 36864 0
industrialio 57344 2 acpi_als,kfifo_buf
acpi_pad 36864 0
acpi_cpufreq 20480 0
nfsd 315392 1
auth_rpcgss 61440 1 nfsd
nfs_acl 16384 1 nfsd
lockd 94208 1 nfsd
grace 16384 2 nfsd,lockd
sunrpc 311296 7 nfsd,auth_rpcgss,lockd,nfs_acl
8021q 32768 0
garp 16384 1 8021q
stp 16384 2 garp,bridge
llc 16384 3 stp,garp,bridge
mrp 20480 1 8021q
nouveau 1388544 3
mxm_wmi 16384 1 nouveau
ttm 90112 1 nouveau
e1000e 237568 0
i2c_algo_bit 16384 2 i915,nouveau
drm_kms_helper 118784 2 i915,nouveau
drm 335872 7 ttm,i915,drm_kms_helper,nouveau
ptp 20480 1 e1000e
serio_raw 16384 0
pps_core 20480 1 ptp
wmi 20480 3 mxm_wmi,nouveau,asus_wmi
video 36864 3 i915,nouveau,asus_wmi
i2c_hid 20480 0
Merci à vous
Radis
Merci pour ta réponse antbel.
Lorsque je lance la commande make une erreur survient :
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.4.3-300.fc23.x86_64/build M=/home/radis/Documents/Hardware/rtl8812AU_8821AU_linux modules
make[1]: *** /lib/modules/4.4.3-300.fc23.x86_64/build: Aucun fichier ou dossier de ce type. Arrêt.
Makefile:1049: recipe for target 'modules' failed
make: *** [modules] Error 2
à la ligne du makefile :
modules:
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
Effectivement le répertoire lib/modules/4.4.3-300.fc23.x86_64/build n'existe pas :
[root@Host-002 4.4.3-300.fc23.x86_64]# ls -als
total 12744
8 drwxr-xr-x. 5 root root 4096 3 mars 22:22 .
4 drwxr-xr-x. 4 root root 4096 3 mars 22:19 ..
4 lrwxrwxrwx. 1 root root 38 26 févr. 19:55 build -> /usr/src/kernels/4.4.3-300.fc23.x86_64
Il s'agit d'un lien symbolique qui pointe vers un répertoire inexistant :
[root@Host-002 4.4.3-300.fc23.x86_64]# cd /usr/src/kernels/
[root@Host-002 kernels]# ls
4.4.3-300.fc23.x86_64+debug
Faut il que je redéfinisse le lien symbolique vers le répertoire 4.4.3-300.fc23.x86_64+debug ?
Radis
Merci Edouard_le_homard, ton lien m'a permis d'avancer.
Je suis parvenu à ajouter ma clef via le MokManager :
[root@Host-002 4.4.3-300.fc23.x86_64]# keyctl list %:.system_keyring
8 keys in keyring:
776017057: ---lswrv 0 0 asymmetric: ASUSTeK MotherBoard SW Key Certificate: BLABLABLA
72095473: ---lswrv 0 0 asymmetric: Fedora kernel signing key: BLABLABLA
481163578: ---lswrv 0 0 asymmetric: Fedora Secure Boot CA: BLABLABLA
935092469: ---lswrv 0 0 asymmetric: radis: BLABLABLA
312257263: ---lswrv 0 0 asymmetric: Canonical Ltd. Master Certificate Authority: BLABLABLA
1013290013: ---lswrv 0 0 asymmetric: Microsoft Windows Production PCA 2011: BLABLABLA
106455103: ---lswrv 0 0 asymmetric: Microsoft Corporation UEFI CA 2011: BLABLABLA
234962775: ---lswrv 0 0 asymmetric: ASUSTeK Notebook SW Key Certificate: BLABLABLA
Je lance ensuite la commande :
[root@Host-002 4.4.3-300.fc23.x86_64]# /usr/src/kernels/4.4.3-300.fc23.x86_64+debug/scripts/sign-file sha256 /home/radis/x509/private_key.priv /home/radis/x509/public_key.der 8812au.ko
Je n'ai pas d'échec
Puis je lance la commande:
modprobe -a 8812au.ko
qui me retourne un exec format error
La commande dmesg retourne:
[ 16.968449] virbr0: port 1(virbr0-nic) entered listening state
[ 16.968456] virbr0: port 1(virbr0-nic) entered listening state
[ 16.997967] virbr0: port 1(virbr0-nic) entered disabled state
[ 34.861693] fuse init (API version 7.23)
[ 36.849133] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 36.849136] Bluetooth: BNEP filters: protocol multicast
[ 36.849140] Bluetooth: BNEP socket layer initialized
[ 396.316100] 8812au: version magic '4.4.3-300.fc23.x86_64+debug SMP mod_unload ' should be '4.4.3-300.fc23.x86_64 SMP mod_unload '
[ 408.367043] 8812au: version magic '4.4.3-300.fc23.x86_64+debug SMP mod_unload ' should be '4.4.3-300.fc23.x86_64 SMP mod_unload '
[ 513.412291] 8812au: version magic '4.4.3-300.fc23.x86_64+debug SMP mod_unload ' should be '4.4.3-300.fc23.x86_64 SMP mod_unload '
[ 524.570169] 8812au: version magic '4.4.3-300.fc23.x86_64+debug SMP mod_unload ' should be '4.4.3-300.fc23.x86_64 SMP mod_unload '
[ 834.302931] 8812au: version magic '4.4.3-300.fc23.x86_64+debug SMP mod_unload ' should be '4.4.3-300.fc23.x86_64 SMP mod_unload '
Pourquoi ai-je 4.4.3-300.fc23.x86_64+debug SMP mod_unload ?
Radis
Hélas le :
modprobe --force 8812au
ne fonctionne pas.
Je suis tombé sur un fichier module.networking (je ne me rappelle plus du nom exact) dans lequel est référencé tout un tas de drivers. J'ai ensuite recherché ou étaient situés ces fichiers (dans un répertoire network/usb situé dans le kernel).
J'ai compressé mon fichier 8812au.ko au format xz que j'ai ensuite placé à cet endroit, puis rajouté la ligne 8812au.ko a mon fichier module.networking, puis redémarré.
Évidemment ca ne fonctionne pas, j'aurai tenté 🙂
Ayant bcp de difficultés à faire fonctionner cette clef wifi je pense en acheter une autre dont il existerait un driver dans le kernel.
Auriez-vous des recommandations?