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 17/11/2009, à 14:23

Jamay

2 carte wifi sur le même ordi. [RESOLU]

Bonjour à tous.

J'ai deux carte wifi sur mon PC (une USB et une PCI).
Je voudrais me connecter avec une sur le réseau de ma résidence et avec l'autre je voudrais créer un point d'accès afin de pouvoir partager ma connexions pour le pc de ma copine et mon mediacenter.

J'arrive à me connecter a mon réseau de résidence sans problème avec l'une ou l'autre des cartes.
La où je bloque c'est pour créer le point d'accès.

J'ai suivis ce tuto (http://capof-space.org/?p=317) mais je bloque direct pour mettre ma deuxième carte en mode ad-hoc.
J'obtiens ceci :

jamay@jamay-desktop:~$ sudo iwconfig wlan0 mode ad-hoc
[sudo] password for jamay: 
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Device or resource busy.

Merci d'avance pour votre aide.

Et voici les infos demander pour poster

[b]jamay@jamay-desktop:~$ cat /etc/lsb-release[/b]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

[b]jamay@jamay-desktop:~$ lsusb[/b]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 04f2:0230 Chicony Electronics Co., Ltd 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0ace:1215 ZyDAS WLA-54L WiFi
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 11c5:0521  
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1486:2535

[b]jamay@jamay-desktop:~$ lspci[/b]
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (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
01:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600]
01:00.1 Display controller: ATI Technologies Inc RV530 [Radeon X1600] (Secondary)
05:06.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
05:06.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
05:06.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
05:08.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

[b]jamay@jamay-desktop:~$ lspci -nn | grep -i net[/b]
00:0a.0 Bridge [0680]: nVidia Corporation CK804 Ethernet Controller [10de:0057] (rev a3)
05:08.0 Ethernet controller [0200]: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter [168c:0013] (rev 01)

[b]jamay@jamay-desktop:~$ sudo lshw -C network[/b]
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Abandon

[b]jamay@jamay-desktop:~$ lsmod[/b]
Module                  Size  Used by
binfmt_misc            10220  1 
snd_intel8x0           36872  2 
snd_ac97_codec        125720  1 snd_intel8x0
ac97_bus                2176  1 snd_ac97_codec
snd_pcm_oss            44704  0 
snd_mixer_oss          18976  1 snd_pcm_oss
snd_pcm                93160  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
iptable_filter          3872  0 
snd_seq_dummy           3460  0 
snd_seq_oss            33440  0 
snd_seq_midi            8192  0 
ip_tables              21200  1 iptable_filter
snd_rawmidi            27360  1 snd_seq_midi
x_tables               25832  1 ip_tables
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
snd_seq                60608  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
arc4                    2144  4 
snd_timer              26992  2 snd_pcm,snd_seq
snd_seq_device          8308  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
zd1211rw               52520  0 
ecb                     3296  4 
snd                    77096  14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               9088  1 snd
i2c_nforce2             8168  0 
ath5k                 136680  0 
mac80211              210104  2 zd1211rw,ath5k
led_class               5256  1 ath5k
ath                    10304  1 ath5k
cfg80211              109144  4 zd1211rw,ath5k,mac80211,ath
snd_page_alloc         10928  2 snd_intel8x0,snd_pcm
k8temp                  5504  0 
amd64_edac_mod         26688  0 
asus_atk0110            9472  0 
edac_core              48876  1 amd64_edac_mod
ppdev                   8232  0 
lp                     11908  0 
psmouse                57124  0 
serio_raw               6596  0 
parport_pc             37352  1 
parport                40528  3 ppdev,lp,parport_pc
usbhid                 43968  0 
radeon                684512  2 
ttm                    43056  1 radeon
drm                   193856  4 radeon,ttm
i2c_algo_bit            7076  1 radeon
ohci1394               33780  0 
ieee1394              100896  1 ohci1394
forcedeth              61292  0 
usb_storage            65952  0

[b]jamay@jamay-desktop:~$ iwconfig[/b]
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:"Wifirst-MirabeauK-7"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:03:52:DC:7D:B0   
          Bit Rate=48 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=41/70  Signal level=-69 dBm  Noise level=-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wmaster1  no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Frequency:2.432 GHz  
          Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[b]jamay@jamay-desktop:~$ iwconfig[/b]
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:"Wifirst-MirabeauK-7"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:03:52:DC:7D:B0   
          Bit Rate=48 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=41/70  Signal level=-69 dBm  Noise level=-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wmaster1  no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Frequency:2.432 GHz  
          Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[b]jamay@jamay-desktop:~$ ifconfig[/b]
eth0      Link encap:Ethernet  HWaddr 00:15:f2:dd:7e:31  
          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:23 Adresse de base:0x4000 

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:4 erreurs:0 :0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:240 (240.0 B) Octets transmis:240 (240.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:11:e2:06:19:b9  
          adr inet6: fe80::211:e2ff:fe06:19b9/64 Scope:Lien
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:7393 erreurs:0 :0 overruns:0 frame:0
          TX packets:4404 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:3828360 (3.8 MB) Octets transmis:755884 (755.8 KB)

wlan1     Link encap:Ethernet  HWaddr 00:1b:11:14:d5:71  
          inet adr:10.188.47.19  Bcast:10.188.255.255  Masque:255.255.0.0
          adr inet6: fe80::21b:11ff:fe14:d571/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:30053 erreurs:0 :0 overruns:0 frame:0
          TX packets:17164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:26702746 (26.7 MB) Octets transmis:2874851 (2.8 MB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-11-14-D5-71-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  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)

wmaster1  Link encap:UNSPEC  HWaddr 00-11-E2-06-19-B9-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  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)

[b]sudo iwlist scan[/b]
Je capte une bonne quinzaine de réseaux sans fils que je n'ai pas remis car là n'est pas le problème à me connecter avec eux

[b]jamay@jamay-desktop:~$ uname -r -m [/b]
2.6.31-14-generic x86_64

[b]jamay@jamay-desktop:~$ cat  /etc/network/interfaces[/b]
auto lo
iface lo inet loopback

[b]jamay@jamay-desktop:~$ nm-tool[/b]

NetworkManager Tool

State: connected

- Device: wlan0 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            zd1211rw
  State:             disconnected
  Default:           no
  HW Address:        00:11:E2:06:19:B9

  Capabilities:

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

  Wireless Access Points 
    freephonie:      Infra, 92:45:82:B0:F6:9F, Freq 2472 MHz, Rate 48 Mb/s, Strength 17 WEP
    NEUF_2BEC:       Infra, 00:17:33:D8:2B:ED, Freq 2462 MHz, Rate 54 Mb/s, Strength 11 WPA
    freephonie:      Infra, E6:A6:53:55:50:03, Freq 2472 MHz, Rate 48 Mb/s, Strength 16 WEP
    Wifirst-MirabeauK-6: Infra, 00:03:52:DC:80:70, Freq 2442 MHz, Rate 54 Mb/s, Strength 9
    Wifirst-MirabeauK-15: Infra, 00:03:52:DC:7C:90, Freq 2447 MHz, Rate 54 Mb/s, Strength 16
    FreeWifi:        Infra, E6:A6:53:55:50:02, Freq 2472 MHz, Rate 54 Mb/s, Strength 15
    FreeWifi:        Infra, 92:45:82:B0:F6:9E, Freq 2472 MHz, Rate 54 Mb/s, Strength 19
    Wifirst-MirabeauK-8: Infra, 00:03:52:DC:8D:D0, Freq 2422 MHz, Rate 54 Mb/s, Strength 18
    Wifirst-MirabeauK-4: Infra, 00:03:52:DC:81:E0, Freq 2457 MHz, Rate 54 Mb/s, Strength 20
    freephonie:      Infra, E6:A6:53:55:50:03, Freq 2472 MHz, Rate 54 Mb/s, Strength 15 WPA Enterprise
    freebox_CHITH:   Infra, E6:A6:53:55:50:00, Freq 2472 MHz, Rate 54 Mb/s, Strength 15 WPA
    freephonie:      Infra, 92:45:82:B0:F6:9F, Freq 2472 MHz, Rate 54 Mb/s, Strength 18 WPA Enterprise
    Wifirst-MirabeauK-7: Infra, 00:03:52:DC:7D:B0, Freq 2432 MHz, Rate 54 Mb/s, Strength 24


- Device: wlan1  [Auto Wifirst-MirabeauK-7] ------------------------------------
  Type:              802.11 WiFi
  Driver:            ath5k
  State:             connected
  Default:           yes
  HW Address:        00:1B:11:14:D5:71

  Capabilities:
    Speed:           48 Mb/s

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

  Wireless Access Points (* = current AP)
    Wifirst-MirabeauK-6: Infra, 00:03:52:DC:80:70, Freq 2442 MHz, Rate 54 Mb/s, Strength 24
    NEUF_DDE8:       Infra, 00:17:33:BF:DD:E9, Freq 2462 MHz, Rate 54 Mb/s, Strength 28 WPA
    FreeWifi:        Infra, 92:45:82:B0:F6:9E, Freq 2472 MHz, Rate 54 Mb/s, Strength 25
    freephonie:      Infra, 92:45:82:B0:F6:9F, Freq 2472 MHz, Rate 54 Mb/s, Strength 28 WPA Enterprise
    FreeWifi:        Infra, E6:A6:53:55:50:02, Freq 2472 MHz, Rate 54 Mb/s, Strength 42
    freebox_CHITH:   Infra, E6:A6:53:55:50:00, Freq 2472 MHz, Rate 54 Mb/s, Strength 45 WPA
    freephonie:      Infra, E6:A6:53:55:50:03, Freq 2472 MHz, Rate 54 Mb/s, Strength 42 WPA Enterprise
    Wifirst-MirabeauK-8: Infra, 00:03:52:DC:8D:D0, Freq 2422 MHz, Rate 54 Mb/s, Strength 40
    *Wifirst-MirabeauK-7: Infra, 00:03:52:DC:7D:B0, Freq 2432 MHz, Rate 54 Mb/s, Strength 52
    Wifirst-MirabeauK-15: Infra, 00:03:52:DC:7C:90, Freq 2447 MHz, Rate 54 Mb/s, Strength 31
    Wifirst-MirabeauK-4: Infra, 00:03:52:DC:81:E0, Freq 2457 MHz, Rate 54 Mb/s, Strength 51

  IPv4 Settings:
    Address:         10.188.47.19
    Prefix:          16 (255.255.0.0)
    Gateway:         10.188.0.1

    DNS:             10.188.0.1


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            forcedeth
  State:             unavailable
  Default:           no
  HW Address:        00:15:F2:DD:7E:31

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off

Dernière modification par Jamay (Le 17/11/2009, à 17:10)

Hors ligne

#2 Le 17/11/2009, à 17:13

Jamay

Re : 2 carte wifi sur le même ordi. [RESOLU]

En fait y avait pas de problème...
Suffisait de créer un réseau sans fils et choisir la carte désirée

Hors ligne

#3 Le 17/11/2009, à 18:14

Grünt

Re : 2 carte wifi sur le même ordi. [RESOLU]

Pour info, y me semble qu'il fallait éteindre la carte avant de la passer en mode ap.

sudo ifconfig wlan0 down

Red flashing lights. I bet they mean something.

Hors ligne