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/02/2012, à 21:44

Gibus13

Difficultés d'installation carte wifi Tenda W322P+ V2.0

Bonjour,

J'essaye d'installer une carte wifi Tanda W322P+ V2.0. Un pilote Linux est livré avec la carte. J'ai copié le dossier puis je l'ai décompressé. Ensuite j'ai fait un make et un make install. Je ne retrouve pas le drivers par la suite et je ne sais pas s'il faut blacklister les autres pilotes. Quelqu'un pourrait-il me donner un coup de main SVP ?
Voici ce que retourne le terminal pour certaines commandes :

durand@durand-Auckland:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
durand@durand-Auckland:~$ lsusb
Bus 002 Device 002: ID 045e:0745 Microsoft Corp. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
durand@durand-Auckland:~$ lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
04:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
04:08.0 Network controller: RaLink Device 3062
durand@durand-Auckland:~$ lspci -nn | grep -i net
00:14.0 Bridge [0680]: nVidia Corporation MCP51 Ethernet Controller [10de:0269] (rev a3)
04:08.0 Network controller [0280]: RaLink Device [1814:3062]
durand@durand-Auckland:~$ sudo lshw -C network
[sudo] password for durand: 
  *-network DISABLED      
       description: Wireless interface
       product: RaLink
       vendor: RaLink
       physical id: 8
       bus info: pci@0000:04:08.0
       logical name: wlan1
       version: 00
       serial: c8:3a:35:c6:c1:fc
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=2.6.35-22-generic firmware=N/A latency=32 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 memory:fdbe0000-fdbeffff
durand@durand-Auckland:~$ lsmod
Module                  Size  Used by
rt2870sta             405890  0 
nls_iso8859_1           3261  0 
nls_cp437               4931  0 
vfat                    9201  0 
fat                    48240  1 vfat
parport_pc             26058  0 
ppdev                   5556  0 
snd_hda_codec_realtek   217980  1 
binfmt_misc             6599  1 
nvidia               9329739  38 
snd_hda_intel          22107  2 
arc4                    1165  2 
snd_hda_codec          87552  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5040  1 snd_hda_codec
snd_pcm                71475  2 snd_hda_intel,snd_hda_codec
rt2800pci               8565  0 
rt2800lib              28897  1 rt2800pci
snd_seq_midi            4588  0 
rt2x00usb               9779  1 rt2800lib
rt2x00pci               6029  1 rt2800pci
crc_ccitt               1351  2 rt2870sta,rt2800pci
rt2x00lib              27275  4 rt2800pci,rt2800lib,rt2x00usb,rt2x00pci
snd_rawmidi            17783  1 snd_seq_midi
led_class               2633  1 rt2x00lib
snd_seq_midi_event      6047  1 snd_seq_midi
mac80211              231541  3 rt2x00usb,rt2x00pci,rt2x00lib
snd_seq                47174  2 snd_seq_midi,snd_seq_midi_event
snd_timer              19067  2 snd_pcm,snd_seq
snd_seq_device          5744  3 snd_seq_midi,snd_rawmidi,snd_seq
cfg80211              144470  2 rt2x00lib,mac80211
snd                    49006  13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore                880  1 snd
k8temp                  3132  0 
lp                      7342  0 
snd_page_alloc          7120  2 snd_hda_intel,snd_pcm
eeprom_93cx6            1345  1 rt2800pci
joydev                  8735  0 
agpgart                32011  1 nvidia
i2c_nforce2             5179  0 
parport                31492  3 parport_pc,ppdev,lp
usb_storage            40172  0 
firewire_ohci          21106  0 
usbhid                 36882  0 
hid                    67742  1 usbhid
btrfs                 489451  0 
firewire_core          46643  1 firewire_ohci
sata_nv                19420  0 
zlib_deflate           19266  1 btrfs
forcedeth              49433  0 
crc_itu_t               1383  1 firewire_core
pata_amd                8746  2 
floppy                 54311  0 
crc32c                  2531  1 
libcrc32c                887  1 btrfs
durand@durand-Auckland:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
durand@durand-Auckland:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:17:31:d9:84:a4  
          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:20 Adresse de base:0xa000 

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:8 erreurs:0 :0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:480 (480.0 B) Octets transmis:480 (480.0 B)
durand@durand-Auckland:~$ sudo iwlist scan
[sudo] password for durand: 
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan1     Interface doesn't support scanning : Network is down
durand@durand-Auckland:~$ uname -r -m 
2.6.35-22-generic i686
durand@durand-Auckland:~$ cat  /etc/network/interfaces
auto lo
iface lo inet loopback
durand@durand-Auckland:~$ nm-tool

NetworkManager Tool

State: disconnected

- Device: wlan1 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2800pci
  State:             disconnected
  Default:           no
  HW Address:        C8:3A:35:C6:C1:FC

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            forcedeth
  State:             unavailable
  Default:           no
  HW Address:        00:17:31:D9:84:A4

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off
durand@durand-Auckland:~$ sudo rfkill list
[sudo] password for durand: 
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

Hors ligne

#2 Le 03/02/2012, à 23:49

Gibus13

Re : Difficultés d'installation carte wifi Tenda W322P+ V2.0

J'ai cherché dans le CD d'installation du pilote et j'ai trouvé les instructions ci-dessous, par contre je ne maitrise pas suffisamment bien l'anglais pour les comprendre. Une bonne volonté pour m'aider ?

1> $tar -xvzf RT3562_Linux_STA_x.x.x.x.tgz
    go to "./RT3562_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 RT2860STA.dat  /etc/Wireless/RT2860STA/RT2860STA.dat       
   
6> load driver, go to "os/linux/" directory.
    #[kernel 2.4]
    #    $/sbin/insmod rt3562sta.o
    #    $/sbin/ifconfig ra0 inet YOUR_IP up
       
    #[kernel 2.6]
    #    $/sbin/insmod rt3562sta.ko
    #    $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver   
    $/sbin/ifconfig ra0 down
    $/sbin/rmmod rt3562sta

Hors ligne