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 11/04/2013, à 17:48

sdelporte

pbs, configuration WPA/WPA2

Bonjour,

J'ai monté un serveur sur Ubuntu 12.04 server pour créer un serveur de donnée.
Ce serveur doit être en wifi (en lan aucun pbs), cependant malgré mes efforts il ne se connecte pas alors qu"un autre linux (un raspi) se connecte lui sans problème avec le même dongle wifi : TP-LINK TL-WN725N.
Donc si vous pouviez m'aiguiller, voici les commandes diagnostiques : 
cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"

lsusb :

Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 003 Device 002: ID 05af:0408 Jing-Mold Enterprise Co., Ltd
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lspci :

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
01:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)

lspci -nn | grep -i net :

01:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)

lspci -k :

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
        Subsystem: ASUSTeK Computer Inc. Device 836d
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
        Subsystem: ASUSTeK Computer Inc. Device 836d
        Kernel driver in use: i915
        Kernel modules: i915
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
        Subsystem: ASUSTeK Computer Inc. Device 8445
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard
        Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard
        Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard
        Kernel driver in use: uhci_hcd
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard
        Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM,P5LD2-VM Mainboard
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
        Kernel driver in use: lpc_ich
        Kernel modules: leds-ss4200, lpc_ich, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
        Kernel driver in use: ata_piix
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
        Subsystem: ASUSTeK Computer Inc. P5KPL-VM Motherboard
        Kernel driver in use: ata_piix
01:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)
        Subsystem: ASUSTeK Computer Inc. Device 847e
        Kernel driver in use: atl1c
        Kernel modules: atl1c

sudo lshw -C network :

  *-network
       description: Ethernet interface
       product: AR8151 v2.0 Gigabit Ethernet
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: c0
       serial: 54:04:a6:95:84:98
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.0-NAPI duplex=full ip=192.168.1.28 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:43 memory:febc0000-febfffff ioport:ec00(size=128)
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:3
       logical name: wlan1
       serial: 64:70:02:29:2e:22
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu driverversion=3.5.0-17-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11bgn

lsmod :

Module                  Size  Used by
arc4                   12529  2
rtl8192cu              67616  0
rtl8192c_common        48779  1 rtl8192cu
rtlwifi                74705  1 rtl8192cu
mac80211              539908  3 rtl8192cu,rtl8192c_common,rtlwifi
coretemp               13400  0
kvm_intel             132759  0
gpio_ich               13383  0
kvm                   414070  1 kvm_intel
cfg80211              206566  2 rtlwifi,mac80211
hid_generic            12493  0
microcode              22803  0
snd_hda_codec_realtek    77876  1
psmouse                95552  0
serio_raw              13215  0
lpc_ich                17061  0
i915                  520519  1
drm_kms_helper         46784  1 i915
asus_atk0110           17646  0
drm                   275528  2 i915,drm_kms_helper
i2c_algo_bit           13413  1 i915
snd_hda_intel          33491  0
video                  19335  1 i915
snd_hda_codec         134212  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm                96580  2 snd_hda_intel,snd_hda_codec
snd_timer              29425  1 snd_pcm
snd                    78734  6 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              15047  1 snd
snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
mac_hid                13205  0
lp                     17759  0
parport                46345  1 lp
usbhid                 46947  0
hid                   100366  2 hid_generic,usbhid
raid10                 47874  0
raid456                61584  0
async_pq               13084  1 raid456
async_xor              12879  2 raid456,async_pq
xor                    17152  1 async_xor
async_memcpy           12602  1 raid456
async_raid6_recov      12776  1 raid456
atl1c                  41101  0
raid6_pq               97103  2 async_pq,async_raid6_recov
async_tx               13349  5 raid456,async_pq,async_xor,async_memcpy,async_raid6_recov
raid1                  35232  1
raid0                  17188  0
multipath              13145  0
linear                 12894  0

iwconfig :

wlan1     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off

eth0      no wireless extensions.

lo        no wireless extensions.

ifconfig
Sur cette commande eth0 est connecté ( c'est pour le copier/coller des commandes depuis SSH) mais lors de mes essais wifi il ne l'est pas (et je n'ai pas d'adresse IP affecté wlan1)

eth0      Link encap:Ethernet  HWaddr 54:04:a6:95:84:98
          inet adr:192.168.1.28  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::5604:a6ff:fe95:8498/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:1322 erreurs:0 :0 overruns:0 frame:0
          TX packets:303 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 lg file transmission:1000
          Octets reçus:125654 (125.6 KB) Octets transmis:44280 (44.2 KB)

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:156 erreurs:0 :0 overruns:0 frame:0
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          Octets reçus:11776 (11.7 KB) Octets transmis:11776 (11.7 KB)

wlan1     Link encap:Ethernet  HWaddr 64:70:02:29:2e:22
          adr inet6: fe80::6670:2ff:fe29:2e22/64 Scope:Lien
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:126 erreurs:0 :0 overruns:0 frame:0
          TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:22382 (22.3 KB) Octets transmis:36242 (36.2 KB)

sudo iwlist scan
Ici on voit bien que je n'ai aucun SSID

wlan1     No scan results

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

uname -r -m

3.5.0-17-generic x86_64

cat  /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# add seb 11/04/2013 WIFI network interface
auto wlan1
allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Meme si ce n'est pas demandé je vous met le fichier de conf WPA (j'ai juste mis des XXXX à la place de ma clès)
cat /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant

ap_scan=1

network={
        ssid="Livebox-9e38"
        psk="XXXXXXXXXX"  
        proto=WPA RSN
        key_mgmt=WPA-PSK
        group=CCMP TKIP
}

NM-tools, n'est pas installé, car je n'ai pas d'interface graphique c'est un serveur pour faire du RAID5 pas une station de travail smile
sudo rfkill list la commande n'est pas trouvé chez moi

Voila vous avez tous, je vous remercie d'avance pour votre patience.

Cordialement,

Hors ligne