Probleme de connexion wifi

La pitence et le buchet !! -  
Bonjour,

J'ai des problemes pour me connecter a internet par wifi, je n'y arrive pas !!
Quand je tape dhclient j'obtient l'erreur :

No DHCPOFFERS received.
No working leases in persistent database - sleeping.

A quoi est-ce du ?

iwlist scanning
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:18:E7:45:B5:99
ESSID:"Livebox-0E71"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=75/100 Signal level=-47 dBm Noise level=-95 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000021c11c9538

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key: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

Est-ce normal qu'il n'y ai pas de essid a la derniere commande?

Merci de votre aide (je suis sous debian).
Configuration: Linux
Mozilla 1.9.0.12

15 réponses

  • Votes
  • Date
  • Date décroissante
  1. Salut,

    Que donne la commande :
    cat /etc/network/interfaces

    et la commande
    cat /etc/wpa_supplicant/wpa_supplicant.conf
    1. ***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
      allow-hotplug eth0
      iface eth0 inet dhcp

      auto lo
      iface lo inet loopback

      # carte wifi avec ip attribuée par dhcp
      auto wlan0
      wireless_mode Managed
      wireless-essid Livebox-0E71
      wireless-key 0x***************************** (jai remplacé)

      ***cat /etc/wpa_supplicant/wpa_supplicant.conf

      ctrl_interface=/var/run/wpa_supplicant
      eapol_version=1
      ap_scan=1
      fast_reauth=1

      network={
      ssid="Livebox-0E71"
      scan_ssid=1
      proto=WPA
      key_mgmt=WPA-PSK
      psk=0x******************************* (jai la aussi remplacé)
      priority=5
      }
      1. Alors dans ton etc/network/interfaces
        il va falloir mettre ça plutot

        auto wlan0
        iface wlan0 inet dhcp
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

        à la place de
        auto wlan0
        wireless_mode Managed
        wireless-essid Livebox-0E71
        wireless-key 0x***************************** (jai remplacé)

        Une fois la modification faite, relance ton interface
        su -
        pass
        /etc/init.d/networking restart (et pense à lancer le mode association de ta livebox)

        Pour une aide plus complète :
        https://forums.commentcamarche.net/forum/affich-37604408-configurer-le-wifi-sous-linux-debian

        Elle est fonctionnelle pour debian :)
        1. J'obtient ca ca =( en faisant

          ***/etc/init.d/networking restart

          Reconfiguring network interfaces.../etc/network/interfaces:12: interface lo declared allow-auto twice
          ifdown: couldn't read interfaces file "/etc/network/interfaces"
          /etc/network/interfaces:12: interface lo declared allow-auto twice
          ifup: couldn't read interfaces file "/etc/network/interfaces"
          failed.

          J'ai deja ete sur la page que tu a mit en lien mais je n'ai pas reussi a me connecter au wifi,meme en appliquant tout a la letrre !!
          1. ***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
            allow-hotplug eth0
            iface eth0 inet dhcp

            auto lo
            iface lo inet loopback

            auto wlan0
            iface wlan0 inet dhcp
            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
            1. jai fai la modification

              *** /etc/init.d/networking restart

              Reconfiguring network interfaces.../etc/network/interfaces:12: interface lo declared allow-auto twice
              ifdown: couldn't read interfaces file "/etc/network/interfaces"
              /etc/network/interfaces:12: interface lo declared allow-auto twice
              ifup: couldn't read interfaces file "/etc/network/interfaces"
              failed.
              1. J'ai remodifier :

                # 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-hotplug wlan0
                iface wlan0 inet dhcp
                wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

                Et cette fois je vois ca en executant : /etc/init.d/networking restart
                Reconfiguring network interfaces...done.

                Je fait quoi maintenant ?? Et est-ce bon ?
                1. Deja quand je tape iwconfig je remarque que je n'est pas de points d'acces associé. Je fait comment pour l'associer a ma livebox?
                  1. je l'ai fait je sais pas combien de fois, pendant que la led clignotais j'ai fait iwconfig dhclient ifup et des trucs comme ca mais ca n'a rien associer.
                    1. Pourquoi ya marquer ethernet a wlan0 ?? O_o

                      if config

                      ifconfig
                      eth0 Link encap:Ethernet HWaddr 00:a0:d1:bb:58:ee
                      inet adr:192.168.1.11 Bcast:192.168.1.255 Masque:255.255.255.0
                      adr inet6: fe80::2a0:d1ff:febb:58ee/64 Scope:Lien
                      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                      RX packets:64278 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:46763 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 lg file transmission:1000
                      RX bytes:84406364 (80.4 MiB) TX bytes:5333423 (5.0 MiB)
                      Interruption:18 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
                      RX packets:89 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 lg file transmission:0
                      RX bytes:7494 (7.3 KiB) TX bytes:7494 (7.3 KiB)

                      wlan0 Link encap:Ethernet HWaddr 00:11:f5:17:14:da
                      UP BROADCAST MULTICAST MTU:1500 Metric:1
                      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 lg file transmission:1000
                      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

                      wlan0:avahi Link encap:Ethernet HWaddr 00:11:f5:17:14:da
                      inet adr:169.254.6.211 Bcast:169.254.255.255 Masque:255.255.0.0
                      UP BROADCAST MULTICAST MTU:1500 Metric:1

                      wmaster0 Link encap:UNSPEC HWaddr 00-11-F5-17-14-DA-65-74-00-00-00-00-00-00-00-00
                      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 lg file transmission:1000
                      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
                      1. Je recherche comme un fou depuis ce matin je trouve rien ca menerve c'est frustrant :'( Personne ne pourait m'eclairer, a default de pouvoir m'aider?
                        1. S'il vous plait j'aimerais bien reussir d'enfin resoudre ce probleme