Pages : 1
#1 Le 12/09/2015, à 16:03
- Valérie_z
install driver EW-7711UAn v2 erreur compil
Bonjour,
J'installe actuellement la clé Wifi Edimax EW-7711UAn v2 sous Xunbuntu 14.04, et ne parviens pas à compiler le driver fourni avec la clé. Ci-dessous le résultat de la compilation qui remonte 2 erreurs :
make -C tools
make[1]: entrant dans le répertoire « /home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools »
gcc -g bin2h.c -o bin2h
make[1]: quittant le répertoire « /home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools »
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
cp -f os/linux/Makefile.6 /home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
make -C /lib/modules/3.13.0-32-generic/build SUBDIRS=/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.13.0-32-generic »
CC [M] /home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:179:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1121:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
pOSFSInfo->fsuid = current_fsuid();
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1122:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
pOSFSInfo->fsgid = current_fsgid();
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [enabled by default]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2173:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^
make[2]: *** [/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o] Erreur 1
make[1]: *** [_module_/home/luciole/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-3.13.0-32-generic »
make: *** [LINUX] Erreur 2
Le chargement à faire ensuite échoue, puisque le fichier ko n'a pas été généré :
sudo insmod os/linux/mt7601Usta.ko
could not load module os/linux/mt7601Usta.ko: No such file or directory
(commande précédée de la copie du RT2870STA.dat dans /etc/Wireless/)
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA
Une solution avait été trouvée sur ce post où j'avais rencontré un souci similaire avec une autre clé Edimax : https://forum.ubuntu-fr.org/viewtopic.php?pid=20538421
Si celle-ci est applicable dans ce cas, je serais preneuse du dépôt qui correspond au chipset de cette clé. Sinon, toute autre idée est bienvenue :-)
Ci-dessous, le diagnostic préliminaire :
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
lsusb
Bus 001 Device 003: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
Bus 001 Device 002: ID 7392:7710 Edimax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
lspci -nn | grep -i net
01:08.0 Ethernet controller [0200]: Intel Corporation 82562EZ 10/100 Ethernet Controller [8086:1050] (rev 02)
lspci -k
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: i915
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: uhci_hcd
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Kernel driver in use: lpc_ich
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: ata_piix
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: Dell Device 017a
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: snd_intel8x0
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
Subsystem: Dell Device 017a
Kernel driver in use: e100
sudo lshw -C network
*-network
description: Ethernet interface
produit: 82562EZ 10/100 Ethernet Controller
fabriquant: Intel Corporation
identifiant matériel: 8
information bus: pci@0000:01:08.0
nom logique: eth0
version: 02
numéro de série: 00:11:11:d1:b3:cb
taille: 10Mbit/s
capacité: 100Mbit/s
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.24-k2-NAPI duplex=half latency=64 link=no maxlatency=56 mingnt=8 multicast=yes port=MII speed=10Mbit/s
ressources: irq:20 mémoire:feaff000-feafffff portE/S:df40(taille=64)
lsmod
Module Size Used by
nls_iso8859_1 12617 1
usb_storage 48417 1
nls_utf8 12493 1
udf 83878 1
crc_itu_t 12627 1 udf
snd_intel8x0 33110 4
snd_ac97_codec 105709 1 snd_intel8x0
gpio_ich 13229 0
ac97_bus 12642 1 snd_ac97_codec
snd_pcm 85501 2 snd_ac97_codec,snd_intel8x0
snd_page_alloc 14230 2 snd_intel8x0,snd_pcm
snd_seq_midi 13132 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_rawmidi 25135 1 snd_seq_midi
dcdbas 14448 0
rfcomm 53664 4
bnep 18895 2
snd_seq 55383 2 snd_seq_midi_event,snd_seq_midi
bluetooth 342206 10 bnep,rfcomm
snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 28584 2 snd_pcm,snd_seq
snd 60871 16 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device,snd_seq_midi
i915 705659 3
serio_raw 13230 0
video 18903 1 i915
soundcore 12600 1 snd
drm_kms_helper 47182 1 i915
lpc_ich 16864 0
shpchp 32128 0
drm 244037 4 i915,drm_kms_helper
i2c_algo_bit 13197 1 i915
mac_hid 13037 0
parport_pc 31981 1
ppdev 17391 0
lp 13299 0
parport 40836 3 lp,ppdev,parport_pc
psmouse 91329 0
e100 35945 0
mii 13654 1 e100
floppy 55416 0
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:d1:b3:cb
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:281 erreurs:0 :0 overruns:0 frame:0
TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:37388 (37.3 KB) Octets transmis:37388 (37.3 KB)
sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
uname -r -m
3.13.0-32-generic i686
cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
nm-tool
NetworkManager Tool
State: disconnected
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: e100
State: unavailable
Default: no
HW Address: 00:11:11:D1:B3:CB
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
sudo rfkill list
--> rien !
Merci !!
PC1 : 12e Gen Intel® Core™ i9-12900 x 24 CPU 5.10 GHz - 32.0 Gio de RAM - Sous Ubuntu 22.04.1 LTS (64 bits) - Noyau : 6.2.0-26-generic
PC2 : Intel® Core™2 CPU 6700 @ 2.66GHz - 3,8 Gio de RAM - Sous Ubuntu 18.04 LTS (64 bits) - Noyau : 4.15.0-197-generic
PC3 : AMD® Ryzen 9 6900HX - 8 coeurs x 4.90 GHz - 32 GO de RAM DDR5 - Sous Ubuntu 22.04.3 LTS (64 bits) - Noyau : 6.4.0-060400-generic
Hors ligne
#2 Le 12/09/2015, à 17:29
- Vysserk3
Re : install driver EW-7711UAn v2 erreur compil
Salut,
Tu as bien installé ce qui est préconisé dans http://doc.ubuntu-fr.org/tutoriel/compilation ?
Si le premier make échoue, inutile d'aller plus loin dans les commandes
Hors ligne
#3 Le 12/09/2015, à 19:29
- Valérie_z
Re : install driver EW-7711UAn v2 erreur compil
Bonjour !
Effectivement, j'imagine qu'ils n'y étaient pas. Après avoir fait un sudo apt-get update, j'ai mis le paquet build-essential, et dans le doute, j'y ai ajouté linux-headers-generic comme conseillé dans le post cité avant.
Le lancement du make échoue pourtant, les deux erreurs qu'il donne paraissent les mêmes....
Bon bon.... que vérifier d'autres...?
Merci
PC1 : 12e Gen Intel® Core™ i9-12900 x 24 CPU 5.10 GHz - 32.0 Gio de RAM - Sous Ubuntu 22.04.1 LTS (64 bits) - Noyau : 6.2.0-26-generic
PC2 : Intel® Core™2 CPU 6700 @ 2.66GHz - 3,8 Gio de RAM - Sous Ubuntu 18.04 LTS (64 bits) - Noyau : 4.15.0-197-generic
PC3 : AMD® Ryzen 9 6900HX - 8 coeurs x 4.90 GHz - 32 GO de RAM DDR5 - Sous Ubuntu 22.04.3 LTS (64 bits) - Noyau : 6.4.0-060400-generic
Hors ligne
#4 Le 12/09/2015, à 19:53
- Vysserk3
Re : install driver EW-7711UAn v2 erreur compil
Les pilotes proviennent d'où ? J'imagine qu'il y a un README quelque part qui explique peut-être les prérequis avant la compilation.
Hors ligne
#5 Le 12/09/2015, à 21:07
- Valérie_z
Re : install driver EW-7711UAn v2 erreur compil
La "doc" est assez rudimentaire. J'ai suivi les étapes. Il y a un readme qui donne les contenus avec qqs infos techniques (et notamment la manip pour charger le driver à chaque démarrage, que je pourrai suivre quand ça marchera...).
* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*
=======================================================================
ModelName:
===========
RT2870 Wireless Lan Linux Driver
=======================================================================
Driver lName:
===========
rt2870.o/rt2870.ko
=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.
=======================================================================
Ralink Hardware:
===================
Ralink 802.11n Wireless LAN Card.
=======================================================================
Description:
=============
This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.
=======================================================================
Contents:
=============
Makefile : Makefile
*.c : c files
*.h : header files
=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.
=======================================================================
Build Instructions:
====================
1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
4> $make
# compile driver source code
# To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
6> load driver, go to "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up
7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta
=======================================================================
CONFIGURATION:
====================
RT2870 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file
i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)modify configuration file "RT2870STA.dat" in /etc/Wireless/RT2870STA/RT2870STA.dat.
Configuration File : RT2870STA.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT2870STA/RT2870STA.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi RT2870STA.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
SSID=Dennis2860AP
NetworkType=Infra
WirelessMode=9
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
WmmCapable=0
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
FastRoaming=0
RoamThreshold=70
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=1
HT_MpduDensity=4
HT_BW=1
HT_AutoBA=1
HT_BADecline=0
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
EthConvertMode=
EthCloneMac=
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
MeshId=MESH
MeshAutoLink=1
MeshAuthMode=OPEN
MeshEncrypType=NONE
MeshWPAKEY=
MeshDefaultkey=1
MeshWEPKEY=
CarrierDetect=0
-----------------------------------------------
*NOTE:
WMM parameters
WmmCapable Set it as 1 to turn on WMM Qos support
AckPolicy1~4 Ack policy which support normal Ack or no Ack
(AC_BK, AC_BE, AC_VI, AC_VO)
All WMM parameters do not support iwpriv command but ¡¥WmmCapable¡Š¡Š,
please store all parameter to RT2870STA.dat, and restart driver.
-----------------------------------------------
syntax is 'Param'='Value' and describes below.
@> CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10 ~ 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel
7: use 5 ~ 13 Channel
31: use 1 ~ 14 Channel (ch1-11:active scan, ch12-14 passive scan)
@> CountryRegionABand=value
value
0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
4: use 149, 153, 157, 161, 165 Channel
5: use 149, 153, 157, 161 Channel
6: use 36, 40, 44, 48 Channel
7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel
8: use 52, 56, 60, 64 Channel
9: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 Channel
10: use 36, 40, 44, 48, 149, 153, 157, 161, 165 Channel
11: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 Channel
@> CountryCode=value
value
AG, AR, AW, AU, AT, BS, BB, BM, BR, BE, BG, CA, KY, CL, CN, CO, CR, CY, CZ, DK, DO, EC, SV, FI, FR, DE,
GR, GU, GT, HT, HN, HK, HU, IS, IN, ID, IE, IL, IT, JP, JO, LV, LI, LT, LU, MY, MT, MA, MX, NL, NZ, NO,
PE, PT, PL, RO, RU, SA, CS, SG, SK, SI, ZA, KR, ES, SE, CH, TW, TR, GB, UA, AE, US, VE
"" => using default setting: 2.4 G - ch 1~11; 5G - ch 52~64, 100~140, 149~165
@> SSID=value
value
0~z, 1~32 ascii characters.
@> WirelessMode=value
value
0: legacy 11b/g mixed
1: legacy 11B only
2: legacy 11A only //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
3: legacy 11a/b/g mixed //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
4: legacy 11G only
5: 11ABGN mixed
6: 11N only
7: 11GN mixed
8: 11AN mixed
9: 11BGN mixed
10: 11AGN mixed
@> Channel=value
value
depends on CountryRegion or CountryRegionABand
@> BGProtection=value
value
0: Auto
1: Always on
2: Always off
@> TxPreamble=value
value
0:Preamble Long
1:Preamble Short
2:Auto
@> RTSThreshold=value
value
1~2347
@> FragThreshold=value
value
256~2346
@> TxBurst=value
value
0: Disable
1: Enable
@> NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode
@> AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA-Supplicant
WPA2 Use WPA-Supplicant
@> EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
@> DefaultKeyID=value
value
1~4
@> Key1=value
Key2=value
Key3=value
Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
(usage : "iwpriv" only)
@> Key1Type=vaule
Key2Type=value
Key3Type=vaule
Key4Type=vaule
value
0 hexadecimal type
1 assic type
(usage : reading profile only)
@> Key1Str=value
Key2Str=value
Key3Str=vaule
Key4Str=vaule
value
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
(usage : reading profile only)
@> WPAPSK=value
value
8~63 ASCII or
64 HEX characters
@> WmmCapable=value
value
0: Disable WMM
1: Enable WMM
@> PSMode=value
value
CAM Constantly Awake Mode
Max_PSP Max Power Savings
Fast_PSP Power Save Mode
@> FastRoaming=value
value
0 Disabled
1 Enabled
@> RoamThreshold=value
value
Positive Interger(dBm)
@> HT_RDG=value
value
0 Disabled
1 Enabled
@> HT_EXTCHA=value (Extended Channel Switch Announcement)
value
0 Below
1 Above
@> HT_OpMode=value
value
0 HT mixed format
1 HT greenfield format
@> HT_MpduDensity=value
value (based on 802.11n D2.0)
0: no restriction
1: 1/4 £gs
2: 1/2 £gs
3: 1 £gs
4: 2 £gs
5: 4 £gs
6: 8 £gs
7: 16 £gs
@> HT_BW=value
value
0 20MHz
1 40MHz
@> HT_AutoBA=value
value
0 Disabled
1 Enabled
@> HT_BADecline
value
0 Disabled
1 Enabled <Reject BA request from AP>
@> HT_AMSDU=value
value
0 Disabled
1 Enabled
@> HT_BAWinSize=value
value
1 ~ 64
@> HT_GI=value
value
0 long GI
1 short GI
@> HT_MCS=value
value
0 ~ 15
33: auto
@> HT_MIMOPSMode=value
value (based on 802.11n D2.0)
0 Static SM Power Save Mode
1 Dynamic SM Power Save Mode
2 Reserved
3 SM enabled
(not fully support yet)
@> EthConvertMode=value
value
dongle
clone
hybrid
@> EthCloneMac=value
value
xx:xx:xx:xx:xx:xx
@> IEEE80211H=value
value
0 Disabled
1 Enabled
@> TGnWifiTest=value
value
0 Disabled
1 Enabled
@> WirelessEvent=value
value
0 Disabled
1 Enabled <send custom wireless event>
@> MeshId=value
value
Length 1~32 ascii characters
@> MeshAutoLink=value
value
0 Disabled
1 Enabled
@> MeshAuthMode=value
value
OPEN For open system
WPANONE For WPA pre-shared key (Adhoc)
@> MeshEncrypType=value
value
NONE For MeshAuthMode=OPEN
WEP For MeshAuthMode=OPEN
TKIP For MeshAuthMode=WPANONE
AES For MeshAuthMode=WPANONE
@> MeshWPAKEY=value
value
8~63 ASCII or
64 HEX characters
@> MeshDefaultkey=value
value
1~4
@> MeshWEPKEY=value
value
10 or 26 characters
5 or 13 characters
@> CarrierDetect=value
value
0 Disabled
1 Enabled
MORE INFORMATION
=================================================================================
If you want for rt2870 driver to auto-load at boot time:
A) choose ra0 for first RT2870 WLAN card, ra1 for second RT2870 WLAN card, etc.
B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/,
edit( or add the line) in /etc/modules.conf:
alias ra0 rt2870sta
C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0
DEVICE='ra0'
ONBOOT='yes'
NOTE:
if you use dhcp, add this line too .
BOOTPROTO='dhcp'
*D) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network
=======================================================================
Dongle/Clone Features:
======================
A) Dongle mode:
Provides a 1-to-N MAC address mapping mechanism such that more than one PC behind the STA
can transparently connect to the AP.
B) Clone mode:
Provides a 1-to-1 MAC address mapping mechanism.
STA can use own MAC as SA MAC or
use user desired MAC as SA MAC or
use source MAC of first packet coming from wired device as SA MAC.
NOTE: In this mode, only the PC who own the specified MAC can connect to the AP.
C) Hybrid mode(Dongle+Clone):
Provides a 1-to-N MAC address mapping mechanism such that more than one PC behind the STA
can transparently connect to the AP.
STA can use own MAC as SA MAC or
use user desired MAC as SA MAC or
use source MAC of first packet coming from wired device as SA MAC.
D) Please refer to "Config STA to link as dongle mode..." in iwpriv_usage.txt for releated commands.
Ce que je peux peut-être encore tenter, c'est de récupérer la dernière version des drivers sur le site d'Edimax....
Merci
PC1 : 12e Gen Intel® Core™ i9-12900 x 24 CPU 5.10 GHz - 32.0 Gio de RAM - Sous Ubuntu 22.04.1 LTS (64 bits) - Noyau : 6.2.0-26-generic
PC2 : Intel® Core™2 CPU 6700 @ 2.66GHz - 3,8 Gio de RAM - Sous Ubuntu 18.04 LTS (64 bits) - Noyau : 4.15.0-197-generic
PC3 : AMD® Ryzen 9 6900HX - 8 coeurs x 4.90 GHz - 32 GO de RAM DDR5 - Sous Ubuntu 22.04.3 LTS (64 bits) - Noyau : 6.4.0-060400-generic
Hors ligne
#6 Le 12/09/2015, à 21:10
- Valérie_z
Re : install driver EW-7711UAn v2 erreur compil
Après il y a quand-même une bizarrerie....
Le readme indique que le nom du driver est rt2870.ko, tandis que la doc parle plutôt d'un mt7601Usta.ko....
PC1 : 12e Gen Intel® Core™ i9-12900 x 24 CPU 5.10 GHz - 32.0 Gio de RAM - Sous Ubuntu 22.04.1 LTS (64 bits) - Noyau : 6.2.0-26-generic
PC2 : Intel® Core™2 CPU 6700 @ 2.66GHz - 3,8 Gio de RAM - Sous Ubuntu 18.04 LTS (64 bits) - Noyau : 4.15.0-197-generic
PC3 : AMD® Ryzen 9 6900HX - 8 coeurs x 4.90 GHz - 32 GO de RAM DDR5 - Sous Ubuntu 22.04.3 LTS (64 bits) - Noyau : 6.4.0-060400-generic
Hors ligne
Pages : 1