Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/06/2016, à 17:15

gixona

Kubuntu installer pilote adaptateur Wifi USB

Bonjour,
Possesseur d'une machine DELL Dimension 8400 en x86 32 Bits,
J'ai reçu un nouvel adaptateur Wifi USB de chez TP-LINK Modèle N° TL-WN823N v2.0.
J'ai reçu également le pilote pour Linux de ce logiciel fourni par TP-LINK.
Je l'ai téléchargé dans le répertoire: Téléchargements.
Après extraction, j'obtiens un dossier Driver avec les éléments suivants:

Dossiers:
   bin
   core
   hal
   include
   os_dep
   platform

Fichiers:
   clean
   ifcfg-wlan0
   Kconfig
   Makefile
   runwpa
   wlan0dhcp
   wpa_0_8.conf

Mais ici avec Kubuntu, je ne sais plus quoi faire.
Il semblerait qu'il faille exécuter Makefile, Mais comment ?

Merci de bien vouloir me tenir par la main et pas à pas s'il vous plaît.


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#2 Le 23/06/2016, à 17:20

Rufus T. Firefly

Re : Kubuntu installer pilote adaptateur Wifi USB

Salut,

Avant de compiler, il faut peut-être regarder de plus près de quelle puce wifi il s'agit. Si ça se trouve, il y a déjà ce qu'il faut dans les dépôts...

lsusb

La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#3 Le 23/06/2016, à 17:35

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

Merci très aimable à vous. voici le résultat:

papi@DELL-Dimension-8400:~$ lsusb
Bus 001 Device 005: ID 2357:0109  
Bus 001 Device 003: ID 05e3:0660 Genesys Logic, Inc. USB 2.0 Hub
Bus 001 Device 002: ID 0dda:2005 Integrated Circuit Solution, Inc. Datalux DLX-1611 16in1 Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0425:0101 Motorola Semiconductors HK, Ltd G-Tech Wireless Mouse & Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
papi@DELL-Dimension-8400:~$

Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 23/06/2016, à 19:06)


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#4 Le 23/06/2016, à 17:46

Rufus T. Firefly

Re : Kubuntu installer pilote adaptateur Wifi USB

Elle est branchée, ta clef ? Parce qu'on ne la voit pas...


La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#5 Le 23/06/2016, à 18:02

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

Elle était branchée. Je l'ai changé de port.

api@DELL-Dimension-8400:~$ lsusb
Bus 001 Device 003: ID 05e3:0660 Genesys Logic, Inc. USB 2.0 Hub
Bus 001 Device 002: ID 0dda:2005 Integrated Circuit Solution, Inc. Datalux DLX-1611 16in1 Card Reader
Bus 001 Device 006: ID 2357:0109  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0425:0101 Motorola Semiconductors HK, Ltd G-Tech Wireless Mouse & Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
papi@DELL-Dimension-8400:~$

Il semblerait que ça ne change rien.


Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 23/06/2016, à 19:07)


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#6 Le 23/06/2016, à 18:09

Rufus T. Firefly

Re : Kubuntu installer pilote adaptateur Wifi USB

Débranche-la, puis rebranche-la et, quelques secondes plus tard, sans rien faire d'autre :

dmesg | tail -n40

La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#7 Le 23/06/2016, à 18:21

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

api@DELL-Dimension-8400:~$ dmesg | tail -n40
[   17.720995] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   18.219170] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[   18.505360] gpio_ich: ACPI BAR is unavailable, GPI 0 - 15 unavailable
[   18.507579] gpio_ich: GPIO from 462 to 511 on gpio_ich
[   18.773435] Adding 3142652k swap on /dev/sda5.  Priority:-1 extents:1 across:3142652k FS
[   19.005169] snd_intel8x0 0000:00:1e.2: white list rate for 1028:0177 is 48000
[   25.925580] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   25.970126] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   27.629493] tg3 0000:02:00.0 enp2s0: Link is up at 100 Mbps, full duplex
[   27.629500] tg3 0000:02:00.0 enp2s0: Flow control is on for TX and on for RX
[   27.629518] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[  223.960050] usb 1-4: reset high-speed USB device number 2 using ehci-pci
[  350.283793] show_signal_msg: 24 callbacks suppressed
[  350.283802] kate[1821]: segfault at 179f23 ip b541577d sp bfc06cc0 error 4 in libc-2.23.so[b53a8000+1af000]                                                                                  
[  356.999161] kate[1820]: segfault at a0 ip 0808fd9d sp bfa55440 error 4 in kate[8048000+c0000]
[ 1086.984392] perf interrupt took too long (2513 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 4322.028933] usb 1-6.4: USB disconnect, device number 5
[ 4393.452035] usb 1-3: new high-speed USB device number 6 using ehci-pci
[ 4393.585104] usb 1-3: New USB device found, idVendor=2357, idProduct=0109
[ 4393.585110] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4393.585114] usb 1-3: Product: 802.11n NIC 
[ 4393.585117] usb 1-3: Manufacturer: Realtek 
[ 4393.585120] usb 1-3: SerialNumber: 00e04c000001
[ 5441.536087] usb 5-1: USB disconnect, device number 2
[ 5452.246372] usb 1-3: USB disconnect, device number 6
[ 5469.100037] usb 5-1: new low-speed USB device number 3 using uhci_hcd
[ 5469.286057] usb 5-1: New USB device found, idVendor=0425, idProduct=0101
[ 5469.286064] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5469.286068] usb 5-1: Product:    USB Wireless Mouse & KeyBoard V1.01  
[ 5469.286071] usb 5-1: Manufacturer: G-Tech CHINA
[ 5469.305252] input: G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01   as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/0003:0425:0101.0003/input/input7
[ 5469.361214] hid-generic 0003:0425:0101.0003: input,hidraw0: USB HID v1.00 Keyboard [G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01  ] on usb-0000:00:1d.3-1/input0
[ 5469.402066] input: G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01   as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.1/0003:0425:0101.0004/input/input8
[ 5469.456748] hid-generic 0003:0425:0101.0004: input,hidraw1: USB HID v1.00 Mouse [G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01  ] on usb-0000:00:1d.3-1/input1
[ 5500.724035] usb 1-3: new high-speed USB device number 8 using ehci-pci
[ 5500.857297] usb 1-3: New USB device found, idVendor=2357, idProduct=0109
[ 5500.857304] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5500.857307] usb 1-3: Product: 802.11n NIC 
[ 5500.857310] usb 1-3: Manufacturer: Realtek 
[ 5500.857313] usb 1-3: SerialNumber: 00e04c000001
papi@DELL-Dimension-8400:~$

Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 23/06/2016, à 19:07)


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#8 Le 23/06/2016, à 19:23

Rufus T. Firefly

Re : Kubuntu installer pilote adaptateur Wifi USB

Il est vu, mais timidement, je trouve :

[ 4393.452035] usb 1-3: new high-speed USB device number 6 using ehci-pci
[ 4393.585104] usb 1-3: New USB device found, idVendor=2357, idProduct=0109
[ 4393.585110] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4393.585114] usb 1-3: Product: 802.11n NIC
[ 4393.585117] usb 1-3: Manufacturer: Realtek

On voit qu'on l'avait déjà ici de manière très laconique aussi :

Bus 001 Device 006: ID 2357:0109  

Quand on cherche directement TL-WN823N, on trouve un chip realtek rtl8192cu
Mais en utilisant ceci, idVendor=2357, idProduct=0109, on tombe là-dessus : https://www.google.fr/#q=2357:0109
Donc un chip realtek rtl8192eu...
cu ou eu ? Ça a peut-être changé avec la version 2.0 de la clef.
Mais quand on regarde dans la doc, en principe ils sont reconnus et fonctionnels... Pas de chance, avec un bug sur le driver cu, mais je ne sais pas si c'est encore d'actualité : https://doc.ubuntu-fr.org/hercules_hwnup-150

De toutes façons, la première chose à faire, avant de se lancer dans des trucs plus compliqués, c'est d'installer les firmware realtek, s'ils ne le sont pas déjà.
Pour moi, le problème, c'est que j'utilise Debian. Donc pour ubuntu... je ne sais pas trop...
Essaye ça :

sudo apt-get install linux-firmware

Si ça répond que c'est déjà installé, il faudra aviser, mais je crains de ne pas pouvoir être utile...

Dernière modification par Rufus T. Firefly (Le 23/06/2016, à 19:26)


La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#9 Le 23/06/2016, à 19:50

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

papi@DELL-Dimension-8400:~$ sudo apt-get install linux-firmware
[sudo] Mot de passe de papi : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
linux-firmware is already the newest version (1.157).
linux-firmware passé en « installé manuellement ».
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic
  linux-image-extra-4.4.0-21-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
papi@DELL-Dimension-8400:~$ 

Pourquoi ça ne marche Pas ???  Arh


Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 23/06/2016, à 19:51)


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#10 Le 24/06/2016, à 17:09

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

A tout hasard j'ai intégré dans la configuration système les périphériques. Je ne crois pas que ça change grand chose, mais ...

papi@DELL-Dimension-8400:~$ lsusb
Bus 001 Device 004: ID 05e3:0660 Genesys Logic, Inc. USB 2.0 Hub
Bus 001 Device 003: ID 0dda:2005 Integrated Circuit Solution, Inc. Datalux DLX-1611 16in1 Card Reader
Bus 001 Device 002: ID 2357:0109  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0425:0101 Motorola Semiconductors HK, Ltd G-Tech Wireless Mouse & Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
papi@DELL-Dimension-8400:~$ 

papi@DELL-Dimension-8400:~$ dmesg | tail -n40                  
[    6.787703] systemd[1]: Started Journal Service.
[   16.323142] EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro
[   16.653277] systemd-journald[278]: Received request to flush runtime journal from PID 1
[   17.107889] audit: type=1400 audit(1466761725.050:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=463 comm="apparmor_parser"
[   17.107906] audit: type=1400 audit(1466761725.050:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=463 comm="apparmor_parser"
[   17.107917] audit: type=1400 audit(1466761725.050:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=463 comm="apparmor_parser"
[   17.107927] audit: type=1400 audit(1466761725.050:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=463 comm="apparmor_parser"
[   17.123804] audit: type=1400 audit(1466761725.066:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/ubuntu-core-launcher" pid=465 comm="apparmor_parser"
[   17.166482] audit: type=1400 audit(1466761725.110:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/mission-control-5" pid=467 comm="apparmor_parser"
[   17.166500] audit: type=1400 audit(1466761725.110:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*" pid=467 comm="apparmor_parser"
[   17.166511] audit: type=1400 audit(1466761725.110:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*//pxgsettings" pid=467 comm="apparmor_parser"
[   17.166522] audit: type=1400 audit(1466761725.110:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*//sanitized_helper" pid=467 comm="apparmor_parser"
[   17.166532] audit: type=1400 audit(1466761725.110:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-ofono" pid=467 comm="apparmor_parser"
[   17.583470] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   17.804252] intel_rng: Firmware space is locked read-only. If you can't or
               intel_rng: don't want to disable this in firmware setup, and if
               intel_rng: you are certain that your system has a functional
               intel_rng: RNG, try using the 'no_fwh_detect' option.
[   17.878725] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000828-0x000000000000082D (\GLBC) (20150930/utaddress-254)
[   17.878735] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x000000000000082A-0x000000000000082A (\SACT) (20150930/utaddress-254)
[   17.878741] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000828-0x0000000000000828 (\SSTS) (20150930/utaddress-254)
[   17.878747] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   17.878959] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   18.266559] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[   18.564834] gpio_ich: ACPI BAR is unavailable, GPI 0 - 15 unavailable
[   18.565822] gpio_ich: GPIO from 462 to 511 on gpio_ich
[   18.914691] Adding 3142652k swap on /dev/sda5.  Priority:-1 extents:1 across:3142652k FS
[   19.147121] snd_intel8x0 0000:00:1e.2: white list rate for 1028:0177 is 48000
[   25.338681] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   25.384736] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   26.982271] tg3 0000:02:00.0 enp2s0: Link is up at 100 Mbps, full duplex
[   26.982279] tg3 0000:02:00.0 enp2s0: Flow control is on for TX and on for RX
[   26.982302] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[  290.008050] usb 1-4: reset high-speed USB device number 3 using ehci-pci
[ 1139.214885] perf interrupt took too long (2504 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 2895.192048] usb 1-4: reset high-speed USB device number 3 using ehci-pci
[16592.216050] usb 1-4: reset high-speed USB device number 3 using ehci-pci
[17020.184050] usb 1-4: reset high-speed USB device number 3 using ehci-pci
[17884.100897] show_signal_msg: 24 callbacks suppressed
[17884.100905] kate[1850]: segfault at a0 ip 0808fd9d sp bffee720 error 4 in kate[8048000+c0000]
papi@DELL-Dimension-8400:~$ 

J'ai aussi un pdf d'installation du pilote  Mais tout en Anglais.
Comment puis-je faire pour vous le transmettre ?

Dernière modification par Ayral (Le 07/10/2020, à 16:31)


windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#11 Le 24/06/2016, à 17:31

cqfd93

Re : Kubuntu installer pilote adaptateur Wifi USB

Modération

Bonjour,

J'ai déjà ajouté 4 fois les balises code à tes retours de commandes, maintenant c'est à toi de le faire dans le message 10. Autre explication :

Utilisation des balises code

  1. Ouvre le terminal avec ctrl-alt-t

  2. Sélectionne la commande voulue avec un triple clic (ça sélectionne toute la ligne, même la fin si on ne la voit pas)

  3. Colle-la dans le terminal avec un clic molette, valide avec Entrée

  4. Sélectionne et copie tout ce que te dit le terminal depuis la commande jusqu'à le dernière ligne incluse

  5. Clique sur le <> de l'éditeur de message

  6. Colle là où se trouve le curseur (entre le ] et le [)

  7. Refais toutes les étapes depuis la 2 pour les autres commandes.


cqfd93

Hors ligne

#12 Le 24/06/2016, à 18:47

gixona

Re : Kubuntu installer pilote adaptateur Wifi USB

Voici le contenu du pdf. Je ne sais pas ce qui c'est passé. L'ordre des messages a été bousculé.
Excusez-moi pour les balises. J'apprends.

Installation Guide
For
Linux Driver
REV1.0.1
1910011723
TP-LINK Statement for Linux driver
TP-LINK has released Linux driver for some TP-LINK USB wireless adapters to support Linux
system. The driver file has included an installation guide about how to install and use the adapter on
Linux OS.
The driver is recommended to be installed on Linux OS which applies the kernel version that we
have listed on TP-LINK official website.
Since Linux is developed at an open system with various branches, we cannot guarantee that our
driver could work on your Linux system.
Given the specificity of the Linux system, we are very sorry that we cannot provide more
guidance on the installation, except the existing one, so we sincerely recommend you to seek
instruction on the related forums.
We have updated some FAQs about installing driver, please click this link:
http://www.tp-link.com/en/faq-1076.html
Contents
1. Development Environment ..................................................................................................... 1
2. Compile the Driver .................................................................................................................. 1
2.1.
 Compilation tool and kernel sources ..................................................................................... 1
2.2.
 Compile and install the Driver................................................................................................ 1
3. Join the Wireless Network ...................................................................................................... 2
3.1.
 Use the Graphical Interface ................................................................................................... 2
3.2.
 Use the Command ................................................................................................................. 3
3.2.1.
 Identify the device ................................................................................................................. 3
3.2.2.
 Create the interface .............................................................................................................. 4
3.2.3.
 Change the interface status to up ......................................................................................... 4
3.2.4.
 Start wpa_supplicant in the background ............................................................................... 4
3.2.5.
 Scan AP and See Results ..................................................................................................... 4
3.2.6.
 Connect to the AP ................................................................................................................. 4
3.2.7.
 Enable DHCP client .............................................................................................................. 6
1. Development Environment
System version: Ubuntu 14.04.1
Kernel version: 3.16.0-30-generic
Gcc version:4.8.2
2. Compile the Driver
2.1. Compilation tool and kernel sources
Before you compile the driver, please make sure you have the correct compile tool and
kernel sources.
We can install compile tool gcc by command “apt-get install gcc”
Note : We recommend you use a suitable compile tool to compile our driver.
For example:
According to the command “cat /proc/version”, we could see your linux system is compiled
by gcc4.8.2. So we recommend you use gcc4.8.2 to compile our driver if possible.
2.2. Compile and install the Driver
1. Access the directory of driver.
2. Before compile, make sure the parameters in “makefile.c” is suitable for your
compile environment of your Linux system.
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif
Explanation:
· KSRC is used to specify the kernel source path for driver compilation.
· CROSS_COMPILE is used to specify the toolchain.
· ARCH is used to specify the target platform's CPU architectures such as arm, mips,
i386 and so on.
1
If your Linux kernel does not support 802.11, please annotate macro
“CONFIG_IOCTL_CFG80211” in “makefile.c”.
CONFIG_IOCTL_CFG80211=n
ifeq ($(strip &(CONFIG_IOCTL_CFG80211)),y)
EXTRA_CFLAGS + = -DCONFIG_IOCTL_CFG80211 = 1
EXTRA_CFLAGS + = -DRTW_USE_CFG80211_STA_EVENT = 1
endif
3.4.Type “sudo make” to compile the driver file.
Type “sudo make install” to install the driver file.
3. Join the Wireless Network
3.1. Use the Graphical Interface
1. Enable your network shown as below.
2.Select the desired wireless network and specify the corresponding adapter interface
for connection.
2
3. The wireless icon indicates a successful connection.
3.2. Use the Command
3.2.1. Identify the device
Insert the USB adapter and run the following command to check if the adapter is
3
identified.
lsusb
3.2.2. Create the interface
Run the following command to check if the wireless network interface is created.
ifconfig
3.2.3. Change the interface status to up
Check if the WLAN interface is up. If not, run the following command. Here we use wlan1
as an example.
ifconfig wlan1 up
If it failed to change to up, run the following command.
rfkill unblock wifi
ifconfig wlan1 up
3.2.4. Start wpa_supplicant in the background
Run the following command:
wpa_supplicant –Dnl80211 –iwlan1 –c ./ wpa_0_8.conf -B
Note: wpa_0_8.conf is a file in the current driver directory, go to the driver directory when
running the command.
If the command above is not effective, run the following command to end the
wpa_supplicant procedure and then run the above command again.
killall wpa_supplicant
If your Linux kernel does not support 802.11, run the following command.
wpa_supplicant -Dwext -iwlan0 -c ./wpa_0_8.conf -B
3.2.5. Scan AP and See Results
Run the following command:
wpa_cli –p /var/run/wpa_supplicant scan
wpa_cli –p /var/run/wpa_supplicant scan_results
3.2.6. Connect to the AP
1)
 Open
Run the following command:
wpa_cli –p /var/run/wpa_supplicant remove_network 0
wpa_cli –p /var/run/wpa_supplicant ap_scan 1
wpa_cli –p /var/run/wpa_supplicant add_network
wpa_cli –p /var/run/wpa_supplicant set_network 0 ssid '"tplink"' //tplink is the SSID
of the desired AP. The SSID is in double quotation marks and then as a whole
4
enclosed by single quotation marks.
wpa_cli –p /var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli –p /var/run/wpa_supplicant select_network 0
2)
 WEP40 with open system
wpa_cli –p /var/run/wpa_supplicant remove_network 0
wpa_cli –p /var/run/wpa_supplicant ap_scan 1
wpa_cli –p /var/run/wpa_supplicant add_network
wpa_cli –p /var/run/wpa_supplicant set_network 0 ssid '"tplink"'
wpa_cli –p /var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_key0 1234567890
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
wpa_cli –p /var/run/wpa_supplicant select_network 0
3)
 WEP40 with shared key
wpa_cli –p /var/run/wpa_supplicant remove_network 0
wpa_cli –p /var/run/wpa_supplicant ap_scan 1
wpa_cli –p /var/run/wpa_supplicant add_network
wpa_cli –p /var/run/wpa_supplicant set_network 0 ssid '"tplink"'
wpa_cli –p /var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_key0 1234567890
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
wpa_cli –p /var/run/wpa_supplicant set_network 0 auth_alg SHARED
wpa_cli –p /var/run/wpa_supplicant select_network 0
4)
 WEP 104 with open system
wpa_cli –p /var/run/wpa_supplicant remove_network 0
wpa_cli -p /var/run/wpa_supplicant ap_scan 1
wpa_cli -p /var/run/wpa_supplicant add_network
wpa_cli -p /var/run/wpa_supplicant set_network 0 ssid '"tplink"'
wpa_cli –p /var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli -p /var/run/wpa_supplicant set_network 0 wep_key0
12345678901234567890123456
wpa_cli -p /var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
wpa_cli -p /var/run/wpa_supplicant select_network 0
5)
 WEP 104 with shared key
wpa_cli –p /var/run/wpa_supplicant remove_network 0
5
wpa_cli –p /var/run/wpa_supplicant ap_scan 1
wpa_cli –p /var/run/wpa_supplicant add_network
wpa_cli –p /var/run/wpa_supplicant set_network 0 ssid '"tplink"'
wpa_cli –p /var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_key0
12345678901234567890123456
wpa_cli –p /var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
wpa_cli –p /var/run/wpa_supplicant set_network 0 auth_alg SHARED
wpa_cli –p /var/run/wpa_supplicant select_network 0
Note:
If the WEP key is ASCII, run the following command:
· WEP40: wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key0 '"12345"'
· WEP104: wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key0
'"1234567890123"'
If the index for WEP key is 0-3, run the following command
· wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_keyX
12345678901234567890123456
· wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_tx_keyidx X
6)
 TIKP/AES
wpa_cli –p /var/run/wpa_supplicant remove_network 0
wpa_cli –p /var/run/wpa_supplicant ap_scan 1
wpa_cli –p /var/run/wpa_supplicant add_network
wpa_cli –p /var/run/wpa_supplicant set_network 0 ssid '"tplink"'
wpa_cli –p /var/run/wpa_supplicant set_network 0 psk '"12345678"'
wpa_cli –p /var/run/wpa_supplicant select_network 0
3.2.7. Enable DHCP client
Run the following command
dhclient wlan1
After running the command, the adapter will get an IP assigned by the AP. Then you can
run the ping command to check if the wireless connection is successful.
6
Note: Run the commands under the root account.
7

windows XP, Ubuntu 14-04 LST, Wine 1.6.4, Thunderbird 24.6.0, LibreOffice 4.2.4.2

Hors ligne

#13 Le 01/02/2017, à 22:49

cqfd93

Re : Kubuntu installer pilote adaptateur Wifi USB

Bonjour,

Je viens de réussir à faire fonctionner un adaptateur USB TP-LINK wn823n sur ma 14.04.5 (noyau 4.4.0-59).

Après avoir ratissé le web et essayé plein de choses, je suis tombée sur ce ppa :

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt update
sudo apt install rtl8192eu-dkms

Mais ça ne marchait toujours pas (l'adaptateur n'était pas détecté).

Et je suis finalement tombée sur cette page Packages in “Realtek wireless” sur laquelle j'ai trouvé rtl8192eu-dkms_4.4_all.deb et après reboot, bingo ! smile smile smile


cqfd93

Hors ligne