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 02/12/2009, à 21:07

nicowonto

[RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Salut tout le monde,

Je viens d'acheter la clé wifi d-link dwa-140 (je l'avais choisie car me semblait simple à installer ...) mais j'ai des difficultés

Je vous explique ma démarche, j'ai suivi l'explication http://doc.ubuntu-fr.org/dwa-140 et je pense ne pas avoir oublié d'étapes et ne pas me tromper mais bon...

j'ai téléchargé 2009_0820_RT2870_Linux_STA_V2.2.0.0 que j'ai extrait dans mon dossier perso
je me mets dans mon dossier perso cd /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0
et j'édite sudo gedit ./os/linux/config.mk
je change les 2 y

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

ensuit je fais sudo make (et je pense que le problème se trouve là car 'erreur 2'

nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo make
make -C tools
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
gcc -g bin2h.c -o bin2h
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
  CC [M]  /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRequest’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1068: warning: unused variable ‘net_dev’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1282: warning: unused variable ‘pid_number’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1624: error: ‘struct net_device’ has no member named ‘open’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1625: error: ‘struct net_device’ has no member named ‘stop’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1626: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1627: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1633: error: ‘struct net_device’ has no member named ‘get_stats’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1667: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o] Erreur 1
make[1]: *** [_module_/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
make: *** [LINUX] Erreur 2
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$

ensuite de fais sudo make install

nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo make install
make -C /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux -f Makefile.6 install
mkdir: ne peut créer le répertoire `/etc/Wireless': Le fichier existe
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux »
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.31-15-generic/kernel/drivers/net/wireless/
install -m 644 -c rt2870sta.ko /lib/modules/2.6.31-15-generic/kernel/drivers/net/wireless/
install: ne peut évaluer `rt2870sta.ko': Aucun fichier ou dossier de ce type
make[1]: *** [install] Erreur 1
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux »
make: *** [install] Erreur 2

vu qu'il y a des messages d'erreur je suppose que le problème doit être visible... je ne suis pas encore très doué en ubuntu... 

Merci Nico

ps je vous donne quand même les codes demandés...

nico@nico-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"
nico@nico-desktop:~$ lsusb
Bus 001 Device 005: ID 07d1:3c0a D-Link System 
Bus 001 Device 002: ID 07ab:fccd Freecom Technologies 
Bus 001 Device 003: ID 04a9:1714 Canon, Inc. MP160
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 045e:008c Microsoft Corp. Wireless Intellimouse Explorer 2.0
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
nico@nico-desktop:~$ lspci
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:0c.0 PCI bridge: nVidia Corporation nForce2 PCI Bridge (rev a3)
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:0b.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] (rev 40)
03:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
03:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
nico@nico-desktop:~$ lspci -nn | grep -i net
00:04.0 Ethernet controller [0200]: nVidia Corporation nForce2 Ethernet Controller [10de:0066] (rev a1)
02:01.0 Ethernet controller [0200]: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] [10b7:9201] (rev 40)
nico@nico-desktop:~$ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: nForce2 Ethernet Controller
       vendor: nVidia Corporation
       physical id: 4
       bus info: pci@0000:00:04.0
       logical name: eth1
       version: a1
       serial: 00:0e:a6:07:3d:3f
       size: 100MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full ip=192.168.0.199 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
       resources: irq:22 memory:ea086000-ea086fff ioport:e000(size=8)
  *-network
       description: Ethernet interface
       product: 3C920B-EMB Integrated Fast Ethernet Controller [Tornado]
       vendor: 3Com Corporation
       physical id: 1
       bus info: pci@0000:02:01.0
       logical name: eth0
       version: 40
       serial: 00:26:54:15:73:6c
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=3c59x duplex=half latency=32 link=no maxlatency=10 mingnt=10 multicast=yes port=MII speed=10MB/s
       resources: irq:21 ioport:b000(size=128) memory:e5000000-e500007f memory:60100000-6011ffff(prefetchable)
nico@nico-desktop:~$ lsmod
Module                  Size  Used by
isofs                  31620  1 
udf                    80900  0 
crc_itu_t               1852  1 udf
binfmt_misc             8356  1 
iptable_filter          3100  0 
ip_tables              11692  1 iptable_filter
x_tables               16544  1 ip_tables
snd_wavefront          37332  0 
snd_cs4236             29620  0 
snd_wss_lib            26012  2 snd_wavefront,snd_cs4236
snd_intel8x0           30168  2 
snd_opl3_lib           10396  2 snd_wavefront,snd_cs4236
snd_ac97_codec        101216  1 snd_intel8x0
snd_hwdep               7200  2 snd_wavefront,snd_opl3_lib
ac97_bus                1532  1 snd_ac97_codec
snd_pcm_oss            37920  0 
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  5 snd_cs4236,snd_wss_lib,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy           2656  0 
snd_mpu401              7016  0 
snd_mpu401_uart         6940  3 snd_wavefront,snd_cs4236,snd_mpu401
snd_seq_oss            28576  0 
snd_seq_midi            6432  0 
rt2800usb              37372  0 
snd_rawmidi            22208  3 snd_wavefront,snd_mpu401_uart,snd_seq_midi
rt2x00usb              11548  1 rt2800usb
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
rt2x00lib              29756  2 rt2800usb,rt2x00usb
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
led_class               4096  1 rt2x00lib
input_polldev           3716  1 rt2x00lib
snd_timer              22276  4 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
mac80211              181236  2 rt2x00usb,rt2x00lib
snd_seq_device          6920  6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
usblp                  12636  0 
cfg80211               93052  2 rt2x00lib,mac80211
ns558                   5404  0 
ppdev                   6688  0 
i2c_nforce2             6784  0 
snd                    59204  21 snd_wavefront,snd_cs4236,snd_wss_lib,snd_intel8x0,snd_opl3_lib,snd_ac97_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc          9156  3 snd_wss_lib,snd_intel8x0,snd_pcm
crc_ccitt               1852  1 rt2800usb
gameport               11368  2 ns558
soundcore               7264  1 snd
shpchp                 32272  0 
parport_pc             31940  1 
lp                      8964  0 
parport                35340  3 ppdev,parport_pc,lp
usbhid                 38208  0 
3c59x                  37604  0 
mii                     5212  1 3c59x
usb_storage            52576  2 
ohci1394               29900  0 
ieee1394               86596  1 ohci1394
forcedeth              54152  0 
nvidia_agp              6200  1 
agpgart                34988  1 nvidia_agp
floppy                 54916  0 
nico@nico-desktop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

nico@nico-desktop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:54:15:73:6c  
          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)
          Interruption:21 Adresse de base:0xc000 

eth1      Link encap:Ethernet  HWaddr 00:0e:a6:07:3d:3f  
          inet adr:192.168.0.199  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::20e:a6ff:fe07:3d3f/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:3163 erreurs:0 :0 overruns:0 frame:0
          TX packets:3268 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:2972236 (2.9 MB) Octets transmis:380821 (380.8 KB)
          Interruption:22 Adresse de base:0x6000 

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:16436  Metric:1
          Packets reçus:117 erreurs:0 :0 overruns:0 frame:0
          TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:13110 (13.1 KB) Octets transmis:13110 (13.1 KB)

nico@nico-desktop:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Interface doesn't support scanning.

nico@nico-desktop:~$ uname -r -m
2.6.31-15-generic i686
nico@nico-desktop:~$ cat  /etc/network/interfaces
auto lo
iface lo inet loopback

nico@nico-desktop:~$ nm-tool

NetworkManager Tool

State: connected

- Device: eth1  [Auto eth1] ----------------------------------------------------
  Type:              Wired
  Driver:            forcedeth
  State:             connected
  Default:           yes
  HW Address:        00:0E:A6:07:3D:3F

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.0.199
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.1

    DNS:             192.168.0.1


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            3c59x
  State:             unavailable
  Default:           no
  HW Address:        00:26:54:15:73:6C

  Capabilities:
    Carrier Detect:  yes
    Speed:           10 Mb/s

  Wired Properties
    Carrier:         off

Dernière modification par nicowonto (Le 25/12/2009, à 12:12)

Hors ligne

#2 Le 03/12/2009, à 14:29

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Salut tout le monde,

J'ai vraiment besoin d'installer cette clé wifi... aidez-moi svp...

Si vous avez besoin d'infos supplémentaires dites le moi... le fil qui passe dans toute la maison est assez gênant donc aidez moi...

Merci

Nico

Hors ligne

#3 Le 03/12/2009, à 17:26

p.pk1n

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Salut !

As-tu installé les headers du noyau ?
Pré-requis

    *
      ...
    *
      Avoir installé les sources du noyau correspondant à votre systéme (apt-get install linux-headers-…)

Le nom du paquet c'est :
linux-headers-la_version_de_ton_noyau-type_de_ton_noyau

@++

Dernière modification par p.pk1n (Le 03/12/2009, à 17:36)

Hors ligne

#4 Le 03/12/2009, à 18:10

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

c'est peut -être ça mon problème...

j'essaye ce que tu m'as dit...

nico@nico-desktop:~$ uname -r
2.6.31-15-generic
nico@nico-desktop:~$ apt-get install linux-headers-2.6.31-15-generic
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13: Permission non accordée)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Avez-vous les privilèges du superutilisateur ?

Il faut croire que je ne suis pas super utilisateur, mais comment on fait pour l'être ???

Merci pour ton aide en tout cas...

Hors ligne

#5 Le 03/12/2009, à 21:22

p.pk1n

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Grâce à sudo :
sudo apt-get install linux-headers-2.6.31-15-generic

Hors ligne

#6 Le 03/12/2009, à 21:28

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Voilà ce que ca donne, j'ai toujours le même message d'erreur...
Je fais surement une bêtise car je suis un débutant mais bon... faut m'aider

nico@nico-desktop:~$ sudo apt-get install linux-headers-2.6.31-15-generic
[sudo] password for nico: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
linux-headers-2.6.31-15-generic est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  ttf-devanagari-fonts libksane0 liblensfun-data ttf-punjabi-fonts
  ttf-sil-andika libcfitsio3 libkipi6 ttf-kannada-fonts ttf-dustin
  libboost-program-options1.38.0 libkdegames5 libgnet2.0-0 libkexiv2-7 libcln5
  kdeedu-kvtml-data kipi-plugins libakonadiprivate1 ttf-gujarati-fonts
  libqalculate4 libfli1 libsdl-ttf2.0-0 libmikmod2 ttf-telugu-fonts
  ttf-tamil-fonts libsdl-pango1 netpbm liblensfun0 libopenbabel3 libindi0
  libsdl-mixer1.2 kdepimlibs5 ttf-oriya-fonts libnetpbm10 libkdeedu4
  imagemagick ttf-bengali-fonts libnova-0.12-2 kdepimlibs-data ttf-sil-doulos
  libkdcraw7 ktuberling libboost-python1.38.0 libsmpeg0
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 10 non mis à jour.
nico@nico-desktop:~$ cd /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo make
make -C tools
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
gcc -g bin2h.c -o bin2h
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
  CC [M]  /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRequest’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1068: warning: unused variable ‘net_dev’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1282: warning: unused variable ‘pid_number’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1624: error: ‘struct net_device’ has no member named ‘open’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1625: error: ‘struct net_device’ has no member named ‘stop’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1626: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1627: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1633: error: ‘struct net_device’ has no member named ‘get_stats’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1667: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o] Erreur 1
make[1]: *** [_module_/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
make: *** [LINUX] Erreur 2
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$

Hors ligne

#7 Le 03/12/2009, à 23:28

p.pk1n

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Bah, c'était déjà installé.

Alors, chépa
hmm

Hors ligne

#8 Le 04/12/2009, à 19:36

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

ya personne qui peut m'aider... j'ai vraiment pas de chance avec les clés wifi, c'est la deuxième que j'achète et la deuxième que j'arrive pas à installer pourtant il me semble que je choisis des faciles à installer...

Nico

Hors ligne

#9 Le 04/12/2009, à 23:30

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Help Please

Hors ligne

#10 Le 05/12/2009, à 00:06

toutafai

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Bonsoir,

Le 1 er lien donnée par google.... http://ubuntuforums.org/showthread.php?t=1342435

allez un 2 em : http://ubuntuforums.org/showthread.php?t=1342593

Si ça marche pour eux, t'as plus qu'a....


Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).

Hors ligne

#11 Le 05/12/2009, à 14:06

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

désolé mais j'arrive tjs pas à l'installer... il me faut du simple en fr car j'ai vraiment du mal à comprendre...

je fais tout ce qui est dis mais je pense que ca déconne à partir du make et make install

Hors ligne

#12 Le 05/12/2009, à 19:22

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

personne a déjà eu un problème comme ca après un sudo make ??? car je refais et refais de long en large mais je trouve pas le problème et je fais toutes les manip demandées...

Aidez-moi... car c la deuxième carte usb wifi que j'achète et la deuxième que j'arrive pas à installer... je vais devoir encore aller l'échanger...

Voici le makefile je sais pas si ca peut vous aidez...

RT28xx_MODE = STA

TARGET = LINUX

CHIPSET = 2870

#RT28xx_DIR = home directory of RT28xx source code
RT28xx_DIR = $(shell pwd)
RTMP_SRC_DIR = $(RT28xx_DIR)/RT$(CHIPSET)

#PLATFORM: Target platform
PLATFORM = PC
#PLATFORM = 5VT
#PLATFORM = IKANOS_V160
#PLATFORM = IKANOS_V180
#PLATFORM = SIGMA
#PLATFORM = SIGMA_8622
#PLATFORM = INIC
#PLATFORM = STAR
#PLATFORM = IXP
#PLATFORM = INF_TWINPASS
#PLATFORM = INF_DANUBE
#PLATFORM = INF_AR9
#PLATFORM = BRCM_6358
#PLATFORM = INF_AMAZON_SE
#PLATFORM = CAVM_OCTEON
#PLATFORM = CMPC
#PLATFORM = RALINK_2880
#PLATFORM = RALINK_3052
#PLATFORM = SMDK


ifeq ($(PLATFORM),5VT)
LINUX_SRC = /project/stable/5vt/ralink-2860-sdk/linux-2.6.17
CROSS_COMPILE = /opt/crosstool/uClibc_v5te_le_gcc_4_1_1/bin/arm-linux-
endif

ifeq ($(PLATFORM),IKANOS_V160)
LINUX_SRC = /home/sample/projects/LX_2618_RG_5_3_00r4_SRC/linux-2.6.18
CROSS_COMPILE = mips-linux-
endif

ifeq ($(PLATFORM),IKANOS_V180)
LINUX_SRC = /home/sample/projects/LX_BSP_VX180_5_4_0r1_ALPHA_26DEC07/linux-2.6.18
CROSS_COMPILE = mips-linux-
endif

ifeq ($(PLATFORM),SIGMA)
LINUX_SRC = /root/sigma/smp86xx_kernel_source_2.7.172.0/linux-2.6.15
CROSS_COMPILE = /root/sigma/smp86xx_toolchain_2.7.172.0/build_mipsel_nofpu/staging_dir/bin/mipsel-linux-
endif

ifeq ($(PLATFORM),SIGMA_8622)
LINUX_SRC = /home/snowpin/armutils_2.5.120.1/build_arm/linux-2.4.22-em86xx
CROSS_COMPILE = /home/snowpin/armutils_2.5.120.1/toolchain/bin/arm-elf-
CROSS_COMPILE_INCLUDE = /home/snowpin/armutils_2.5.120.1/toolchain/lib/gcc-lib/arm-elf/2.95.3
endif

ifeq ($(PLATFORM),INIC)
UCOS_SRC = /opt/uCOS/iNIC_rt2880
CROSS_COMPILE = /usr/bin/mipsel-linux-
endif

ifeq ($(PLATFORM),STAR)
LINUX_SRC = /opt/star/kernel/linux-2.4.27-star
CROSS_COMPILE = /opt/star/tools/arm-linux/bin/arm-linux-
endif

ifeq ($(PLATFORM), RALINK_2880)
LINUX_SRC = /project/stable/RT288x/RT288x_SDK/source/linux-2.4.x
CROSS_COMPILE = /opt/buildroot-gdb/bin/mipsel-linux-
endif

ifeq ($(PLATFORM),RALINK_3052)
LINUX_SRC = /home/peter/ap_soc/SDK_3_3_0_0/RT288x_SDK/source/linux-2.6.21.x
CROSS_COMPILE = /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-
endif

ifeq ($(PLATFORM),PC)
# Linux 2.6
LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
#LINUX_SRC = /usr/src/linux-2.4
LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
CROSS_COMPILE = 
endif

ifeq ($(PLATFORM),IXP)
LINUX_SRC = /project/stable/Gmtek/snapgear-uclibc/linux-2.6.x
CROSS_COMPILE = arm-linux-
endif

ifeq ($(PLATFORM),INF_TWINPASS)
# Linux 2.6
#LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
LINUX_SRC = /project/stable/twinpass/release/2.0.1/source/kernel/opensource/linux-2.4.31/
CROSS_COMPILE = mips-linux-
endif

ifeq ($(PLATFORM),INF_DANUBE)
LINUX_SRC = /opt/danube/sdk/linux-2.6.16.x
CROSS_COMPILE = mips-linux-
ROOTDIR = /opt/danube/sdk
export ROOTDIR
endif

ifeq ($(PLATFORM),INF_AR9)
LINUX_SRC = /root/ar9/xR9_BSP1.2.2.0/source/kernel/opensource/linux-2.6.20/
CROSS_COMPILE = /root/ar9/ifx-lxdb26-1.0.2/gcc-3.4.4/toolchain-mips/bin/
endif

ifeq ($(PLATFORM),BRCM_6358)
LINUX_SRC = 
CROSS_COMPILE = 
endif

ifeq ($(PLATFORM),INF_AMAZON_SE)
# Linux 2.6
#LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
LINUX_SRC = /backup/ifx/3.6.2.2/source/kernel/opensource/linux-2.4.31
#CROSS_COMPILE = mips-linux-
#LINUX_SRC = /project/Infineon/3.6.2.2/source/kernel/opensource/linux-2.4.31
CROSS_COMPILE = /opt/uclibc-toolchain/ifx-lxdb-1-2-3-external/gcc-3.3.6/toolchain-mips/R0208V35/mips-linux-uclibc/bin/
endif

ifeq ($(PLATFORM),ST)
LINUX_SRC = /opt/STM/STLinux-2.2/devkit/sources/kernel/linux0039
CROSS_COMPILE = /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-
ARCH := sh
export ARCH
endif

ifeq ($(PLATFORM),CAVM_OCTEON)
OCTEON_ROOT = /usr/local/Cavium_Networks/OCTEON-SDK
LINUX_SRC = $(OCTEON_ROOT)/linux/kernel_2.6/linux
CROSS_COMPILE = mips64-octeon-linux-gnu-
endif

ifeq ($(PLATFORM),CMPC)
LINUX_SRC = /opt/fvt_11N_SDK_0807/fvt131x_SDK_11n/linux-2.6.17
CROSS_COMPILE =
endif

ifeq ($(PLATFORM),SMDK)
LINUX_SRC = /home/bhushan/itcenter/may28/linux-2.6-samsung
CROSS_COMPILE = /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-
endif

export RT28xx_DIR RT28xx_MODE LINUX_SRC CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE CHIPSET RTMP_SRC_DIR LINUX_SRC_MODULE TARGET

all: build_tools $(TARGET)


build_tools:
	make -C tools
	$(RT28xx_DIR)/tools/bin2h

test:
	make -C tools test

UCOS:
	make -C os/ucos/ MODE=$(RT28xx_MODE)
	echo $(RT28xx_MODE)


LINUX:
ifneq (,$(findstring 2.4,$(LINUX_SRC)))
	cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile
	make -C $(RT28xx_DIR)/os/linux/
	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
else
	cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile
	make  -C  $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
endif	

clean:
ifeq ($(TARGET), LINUX)
ifneq (,$(findstring 2.4,$(LINUX_SRC)))
	cp -f os/linux/Makefile.4 os/linux/Makefile
else
	cp -f os/linux/Makefile.6 os/linux/Makefile
endif
	make -C os/linux clean
	rm -rf os/linux/Makefile
endif	

uninstall:
ifeq ($(TARGET), LINUX)
ifneq (,$(findstring 2.4,$(LINUX_SRC)))
	make -C $(RT28xx_DIR)/os/linux -f Makefile.4 uninstall
else
	make -C $(RT28xx_DIR)/os/linux -f Makefile.6 uninstall
endif
endif

install:
ifeq ($(TARGET), LINUX)
ifneq (,$(findstring 2.4,$(LINUX_SRC)))
	make -C $(RT28xx_DIR)/os/linux -f Makefile.4 install
else
	make -C $(RT28xx_DIR)/os/linux -f Makefile.6 install
endif
endif

Dernière modification par nicowonto (Le 05/12/2009, à 19:23)

Hors ligne

#13 Le 05/12/2009, à 19:45

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

J'ai fait tout ce que tu viens de dire...

Je fais quoi maintenant ???

Merci pour ton aide...

Hors ligne

#14 Le 05/12/2009, à 19:54

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

oui il a bien téléchargé des trucs...

je refais tout alors...

je ne sais pas si c un problème mais le fichier qui est renseigné sur l'aide
http://doc.ubuntu-fr.org/dwa-140 
n'est plus accessible donc j'ai trouvé celui-ci... http://www.ralinktech.com/support.php?s=2 se nommant 2009_0820_RT2870_Linux_STA_V2.2.0.0.tar.bz2

Hors ligne

#15 Le 05/12/2009, à 19:56

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

je pense que je ne dois pas aller plus loin j'ai tjs les mêmes messages d'erreur...

nico@nico-desktop:~$ cd /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo gedit ./os/linux/config.mk
[sudo] password for nico: 
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo make
make -C tools
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
gcc -g bin2h.c -o bin2h
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.31-16-generic/build SUBDIRS=/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-16-generic »
  CC [M]  /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRequest’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1068: warning: unused variable ‘net_dev’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1282: warning: unused variable ‘pid_number’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1624: error: ‘struct net_device’ has no member named ‘open’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1625: error: ‘struct net_device’ has no member named ‘stop’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1626: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1627: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1633: error: ‘struct net_device’ has no member named ‘get_stats’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1667: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o] Erreur 1
make[1]: *** [_module_/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-16-generic »
make: *** [LINUX] Erreur 2
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ sudo make install
make -C /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux -f Makefile.6 install
mkdir: ne peut créer le répertoire `/etc/Wireless': Le fichier existe
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux »
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.31-16-generic/kernel/drivers/net/wireless/
install -m 644 -c rt2870sta.ko /lib/modules/2.6.31-16-generic/kernel/drivers/net/wireless/
install: ne peut évaluer `rt2870sta.ko': Aucun fichier ou dossier de ce type
make[1]: *** [install] Erreur 1
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux »
make: *** [install] Erreur 2
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$

Hors ligne

#16 Le 05/12/2009, à 21:02

toutafai

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

bonjour,

je suis pas un pro de la compilation, mais soit le téléchargement est pourri (fichier corrompu) soit il te manque des paquet.

pour la 2 em piste essaye ca (relié à internet via le bon vieux cable) :

sudo apt-get install linux-source* build-essential kernel-package

puis re essaye de lancer le make....


Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).

Hors ligne

#17 Le 05/12/2009, à 21:23

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Désolé mais ca change rien...

Merci quand même...

nico@nico-desktop:~$ sudo apt-get install linux-source* build-essential kernel-package
[sudo] password for nico: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note, sélectionne linux-source pour l'expression rationnelle « linux-source* »
Note, sélectionne linux-source-2.6.31 pour l'expression rationnelle « linux-source* »
Note, sélectionne linux-source-2.6 pour l'expression rationnelle « linux-source* »
build-essential est déjà la plus récente version disponible.
Les paquets supplémentaires suivants seront installés : 
  cvs gettext intltool-debian libmail-sendmail-perl libsys-hostname-long-perl
  linux-source linux-source-2.6.31 po-debconf
Paquets suggérés :
  gettext-doc libdb3-dev libncurses-dev docbook-utils xmlto libqt3-dev
  libmail-box-perl
Les NOUVEAUX paquets suivants seront installés :
  cvs gettext intltool-debian kernel-package libmail-sendmail-perl
  libsys-hostname-long-perl linux-source linux-source-2.6.31 po-debconf
0 mis à jour, 9 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 66,4Mo dans les archives.
Après cette opération, 76,6Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o
Réception de : 1 http://be.archive.ubuntu.com karmic/main cvs 1:1.12.13-12ubuntu1 [1685kB]
Réception de : 2 http://be.archive.ubuntu.com karmic/main gettext 0.17-8ubuntu2 [1732kB]
Réception de : 3 http://be.archive.ubuntu.com karmic/main intltool-debian 0.35.0+20060710.1 [31,6kB]                                                        
Réception de : 4 http://be.archive.ubuntu.com karmic/main po-debconf 1.0.16 [224kB]                                                                         
Réception de : 5 http://be.archive.ubuntu.com karmic/main kernel-package 11.015 [537kB]                                                                     
Réception de : 6 http://be.archive.ubuntu.com karmic/main libsys-hostname-long-perl 1.4-2 [11,4kB]                                                          
Réception de : 7 http://be.archive.ubuntu.com karmic/main libmail-sendmail-perl 0.79.16-1 [26,5kB]                                                          
Réception de : 8 http://be.archive.ubuntu.com karmic-updates/main linux-source-2.6.31 2.6.31-16.52 [62,2MB]                                                 
Réception de : 9 http://be.archive.ubuntu.com karmic-updates/main linux-source 2.6.31.16.29 [3270B]                                                         
66,4Mo réceptionnés en 2min 23s (464ko/s)                                                                                                                   
Préconfiguration des paquets...
Sélection du paquet cvs précédemment désélectionné.
(Lecture de la base de données... 126362 fichiers et répertoires déjà installés.)
Dépaquetage de cvs (à partir de .../cvs_1%3a1.12.13-12ubuntu1_i386.deb) ...
Sélection du paquet gettext précédemment désélectionné.
Dépaquetage de gettext (à partir de .../gettext_0.17-8ubuntu2_i386.deb) ...
Sélection du paquet intltool-debian précédemment désélectionné.
Dépaquetage de intltool-debian (à partir de .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Sélection du paquet po-debconf précédemment désélectionné.
Dépaquetage de po-debconf (à partir de .../po-debconf_1.0.16_all.deb) ...
Sélection du paquet kernel-package précédemment désélectionné.
Dépaquetage de kernel-package (à partir de .../kernel-package_11.015_all.deb) ...
Sélection du paquet libsys-hostname-long-perl précédemment désélectionné.
Dépaquetage de libsys-hostname-long-perl (à partir de .../libsys-hostname-long-perl_1.4-2_all.deb) ...
Sélection du paquet libmail-sendmail-perl précédemment désélectionné.
Dépaquetage de libmail-sendmail-perl (à partir de .../libmail-sendmail-perl_0.79.16-1_all.deb) ...
Sélection du paquet linux-source-2.6.31 précédemment désélectionné.
Dépaquetage de linux-source-2.6.31 (à partir de .../linux-source-2.6.31_2.6.31-16.52_all.deb) ...
Sélection du paquet linux-source précédemment désélectionné.
Dépaquetage de linux-source (à partir de .../linux-source_2.6.31.16.29_all.deb) ...
Traitement des actions différées (« triggers ») pour « man-db »...
Traitement des actions différées (« triggers ») pour « install-info »...
Traitement des actions différées (« triggers ») pour « doc-base »...
Processing 3 added doc-base file(s)...
Registering documents with scrollkeeper...
Paramétrage de cvs (1:1.12.13-12ubuntu1) ...
Ignoring install-info called from maintainer script
The package cvs should be rebuild with new debhelper to get trigger support
Ignoring install-info called from maintainer script
The package cvs should be rebuild with new debhelper to get trigger support

Paramétrage de gettext (0.17-8ubuntu2) ...

Paramétrage de intltool-debian (0.35.0+20060710.1) ...
Paramétrage de po-debconf (1.0.16) ...
Paramétrage de kernel-package (11.015) ...
Paramétrage de libsys-hostname-long-perl (1.4-2) ...
Paramétrage de libmail-sendmail-perl (0.79.16-1) ...
Paramétrage de linux-source-2.6.31 (2.6.31-16.52) ...
Paramétrage de linux-source (2.6.31.16.29) ...
Traitement des actions différées (« triggers ») pour « libc-bin »...
ldconfig deferred processing now taking place
nico@nico-desktop:~$ cd /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$ make
make -C tools
make[1]: entrant dans le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
gcc -g bin2h.c -o bin2h
make[1]: quittant le répertoire « /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools »
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.31-16-generic/build SUBDIRS=/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-16-generic »
  CC [M]  /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRequest’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1068: warning: unused variable ‘net_dev’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1282: warning: unused variable ‘pid_number’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1624: error: ‘struct net_device’ has no member named ‘open’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1625: error: ‘struct net_device’ has no member named ‘stop’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1626: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1627: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1633: error: ‘struct net_device’ has no member named ‘get_stats’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1667: error: ‘struct net_device’ has no member named ‘validate_addr’
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c: At top level:
/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.c:1720: fatal error: opening dependency file /home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/.rt_linux.o.d: Permission non accordée
compilation terminated.
make[2]: *** [/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../os/linux/rt_linux.o] Erreur 1
make[1]: *** [_module_/home/nico/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-16-generic »
make: *** [LINUX] Erreur 2
nico@nico-desktop:~/2009_0820_RT2870_Linux_STA_V2.2.0.0$

Hors ligne

#18 Le 06/12/2009, à 12:12

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Ya pas des ubuntiens du dimanche pour m'aider aujourd'hui ???

bonne fête de Saint-Nicolas à tous les belges...

Hors ligne

#19 Le 06/12/2009, à 12:39

sosroot

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

est ce que tu as suivi ce qui est dit dans le fichier README_STA?


Ubuntu karmica - XP
Netgear WG111V3 - Radeon 9000 Family - AMD ATHLON XP2200+

Hors ligne

#20 Le 07/12/2009, à 18:45

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Voià le readme-sta qui correspond il me semble à l'aide fournie dans la doc de la dwa-140 (je suis nul en anglais)


* 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 RT2870_Linux_STA_x.x.x.x.tgz
    go to "./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
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
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)

@> 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>
	    
@> 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

Hors ligne

#21 Le 07/12/2009, à 20:48

toutafai

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Bonsoir,

Normalement, il n'y a pas bersoin de compiler pour faire fonctionner ton wifi !!!

Fait un

lsmod

regarde bien tu dois voir une ligne
rt2870sta
et d'autre avec
rt2800usb
rt2x00usb
etc

Si oui, voit ici : http://forum.ubuntu-fr.org/viewtopic.php?id=363691 (c'est pas le meme clef, mais le meme chipset, donc cela devrait fonctionnner), fait les manipulation de mon post #6


Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).

Hors ligne

#22 Le 07/12/2009, à 21:42

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Voila ce que me renvoit lsmod...
J'ai fait les différentes commandes de l'autre topic mais toujours pas de wifi (ou alors je ne le vois pas... mais il se connecte tjs en filiaire et sur l'icone du filiaire il ne parle pas du wifi...)

Je mets également le code des différentes commandes de l'autre topic...

Merci pour ton aide en tout cas... j'espère y arriver un jour...

nico@nico-desktop:~$ lsmod
Module                  Size  Used by
binfmt_misc             8356  1 
lp                      8964  0 
snd_wavefront          37332  0 
snd_cs4236             29620  0 
snd_wss_lib            26012  2 snd_wavefront,snd_cs4236
snd_opl3_lib           10396  2 snd_wavefront,snd_cs4236
snd_hwdep               7200  2 snd_wavefront,snd_opl3_lib
snd_pcm_oss            37920  0 
snd_intel8x0           30168  2 
snd_ac97_codec        101216  1 snd_intel8x0
ac97_bus                1532  1 snd_ac97_codec
snd_seq_dummy           2656  0 
iptable_filter          3100  0 
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  5 snd_cs4236,snd_wss_lib,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_seq_oss            28576  0 
snd_seq_midi            6432  0 
ip_tables              11692  1 iptable_filter
x_tables               16544  1 ip_tables
ppdev                   6688  0 
ndiswrapper           185404  0 
snd_mpu401              7016  0 
snd_mpu401_uart         6940  3 snd_wavefront,snd_cs4236,snd_mpu401
ns558                   5404  0 
gameport               11368  2 ns558
snd_rawmidi            22208  3 snd_wavefront,snd_seq_midi,snd_mpu401_uart
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  4 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
snd_seq_device          6920  6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  21 snd_wavefront,snd_cs4236,snd_wss_lib,snd_opl3_lib,snd_hwdep,snd_pcm_oss,snd_intel8x0,snd_ac97_codec,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
parport_pc             31940  1 
parport                35340  3 lp,ppdev,parport_pc
i2c_nforce2             6784  0 
soundcore               7264  1 snd
snd_page_alloc          9156  3 snd_wss_lib,snd_intel8x0,snd_pcm
shpchp                 32272  0 
rt2870sta             488820  0 
usbhid                 38208  0 
radeon                636000  2 
ttm                    36212  1 radeon
drm                   159584  4 radeon,ttm
i2c_algo_bit            5760  1 radeon
3c59x                  37604  0 
mii                     5212  1 3c59x
usb_storage            52576  2 
ohci1394               29900  0 
ieee1394               86596  1 ohci1394
floppy                 54916  0 
forcedeth              54152  0 
nvidia_agp              6200  1 
agpgart                34988  3 ttm,drm,nvidia_agp
nico@nico-desktop:~$
nico@nico-desktop:~$ sudo ifconfig wlan0 down
[sudo] password for nico: 
wlan0: ERREUR en récupérant les signaux de l'interface: Aucun périphérique de ce type
nico@nico-desktop:~$ sudo modprobe -r rt2870sta 
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
nico@nico-desktop:~$ sudo modprobe rt2870sta
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
nico@nico-desktop:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          Ignoring unknown interface eth0=eth0.
                                                                         [ OK ]
nico@nico-desktop:~$ sudo restart network-manager
network-manager start/running, process 1733
nico@nico-desktop:~$

Hors ligne

#23 Le 07/12/2009, à 21:54

toutafai

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

C'est bon sauf que ca marche pas parce tu as en plus ndiswrapper et donc 2 modules (=pilote ou driver) qui "parle" en meme temps a ton wifi.... désactivons ndiswrapper :

edite ton fichier /etc/modules avec cette commande :

sudo gedit /etc/modules

met un # au début de chaque ligne(s) contenant ndiswrapper, enregistre les modifications, fermer, reboot et puis entre ces commandes :

sudo ifconfig wlan0 down #si tu as une erreur ici c'est pas grave
sudo modprobe -r rt2870sta 
sudo modprobe rt2870sta
sudo /etc/init.d/networking restart
sudo restart network-manager

attend un minutes que les reseaux wifi soient détecté, puis tente une connexion wifi avec network-manager.


Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).

Hors ligne

#24 Le 07/12/2009, à 22:03

nicowonto

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

Je crois pas que je dois le faire vu que dans mon  fichier modules y pas de ndiswrapper...


# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lpµ
rt2870sta

Hors ligne

#25 Le 07/12/2009, à 22:13

toutafai

Re : [RESOLU] instalation usb wifi d-link dwa-140 (je dois être assez nul

regarde si tu n'as pas un fichier "/etc/modules.conf" ?

Si oui, regarde dedans si tu vois pas un ligne "ndisrapper"

Si non soit tu désintalle ndiswrapper via synaptic (ou en ligne de commande si tu veux), soit tu peux interdire son chargement au démarage d'ubuntu en editant le fichier /etc/modprobe.d/blacklist avec cette commande

sudo gedit /etc/modprobe.d/blacklist

a la fin du fichier rajoute la ligne suivante :

blacklist ndiswrapper

enregistre, reboot, il ne devrais puis etre actif...

Dernière modification par toutafai (Le 07/12/2009, à 22:13)


Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).

Hors ligne