• [^] # Re: wifi sous debian

    Posté par . En réponse au message Passerelle. Évalué à 2.

    Merci encore pour l'aide, en étant connecté à internet avec un câble , la commande ifconfig - a donne :


    eth0 Link encap:Ethernet HWaddr 00:40:d0:66:d8:a0
    inet adr:192.168.0.11 Bcast:192.168.0.255 Masque:255.255.255.0
    adr inet6: fe80::240:d0ff:fe66:d8a0/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:19486 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13647 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    RX bytes:24837407 (23.6 MiB) TX bytes:1417903 (1.3 MiB)
    Interruption:10 Adresse de base:0xa100

    eth2 Link encap:Ethernet HWaddr 00:0e:35:91:56:50
    adr inet6: fe80::20e:35ff:fe91:5650/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:72950 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16022 errors:0 dropped:0 overruns:0 carrier:1
    collisions:0 lg file transmission:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interruption:10 Mémoire:d0001000-d0001fff

    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
    RX packets:902 errors:0 dropped:0 overruns:0 frame:0
    TX packets:902 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:0
    RX bytes:65572 (64.0 KiB) TX bytes:65572 (64.0 KiB)


    D'autre part,il s'agit d'une clé WPA, ainsi la fichier /etc/network/interfaces est :


    # 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
    address 127.0.0.1
    netmask 255.0.0.0

    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp

    iface eth2 inet dhcp
    wireless-essid *nom_de_la_connexion*
    wireless-key s:*clé_WPA_en_clair*

    auto eth2

    Jellyroll