Partage
  • Partager sur Facebook
  • Partager sur Twitter

problème carte wifi debian 8

network controller BCM4313 sur HP 6465b

Sujet résolu
    4 mai 2018 à 23:54:59

    Bonsoir,

    ma connection wifi ne fonctionne plus depuis quelques jours:

    # lspci | grep Wireless  
    
    03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
    
    # iwconfig
    
    eth0      no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:off/any 
              Mode:Managed  Access Point: Not-Associated   Tx-Power=30 dBm  
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
             
    lo        no wireless extensions
    
    

    .
    # ifconfig wlan0
    
    wlan0     Link encap:Ethernet  HWaddr 20:10:7a:1b:8d:ae 
              inet adr:192.168.1.100  Bcast:192.168.1.255  Masque:255.255.255.0
              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)
    
    
    


    # ping -I wlan0 8.8.8.8
    
    PING 8.8.8.8 (8.8.8.8) from 192.168.1.100 wlan0: 56(84) bytes of data.
    From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
    From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
    


    mais au démarrage du système je vois passer un truc étrange: netfilter failed, donc si je fais

    # dmesg | grep wlan0
    
    [ 3407.357223] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3430.566042] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3445.666072] iptables denied: IN=wlan0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=4056 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53
    [ 3941.365822] iptables denied: IN=wlan0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=25859 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53
    [ 4452.973629] iptables denied: IN=wlan0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=42830 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53 
    # rfkill list
    0: hp-wifi: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    1: hp-bluetooth: Bluetooth
    	Soft blocked: no
    	Hard blocked: yes
    5: phy2: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    

    quelqu'un à déjà rencontrer ce problème?

    • Partager sur Facebook
    • Partager sur Twitter
    Anonyme
      5 mai 2018 à 12:15:03

      Bonjour,

      Peux-tu montrer le contenu du fichier /etc/network/interfaces pour wlan0, et aussi la sortie de la commande iptables -L.

      Tu te connectes à une box? Qu'utilises tu comme logiciel pour gérer la WiFi sur Debian ? Network-Manager ?

      • Partager sur Facebook
      • Partager sur Twitter
        11 mai 2018 à 22:14:59

        Bonsoir ShaWaTK,

        merci pour ta réponse, voici le fichier interfaces pour wlan0:

        ~$ sudo interfaces
        wlan0 Link encap:Ethernet HWaddr 20:10:7a:1b:8d:ae inet adr:192.168.1.100 Bcast:192.168.1.255 Masque:255.255.255.0 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)
        ~$ sudo iptables -L
        Chain INPUT (policy ACCEPT)
        target     prot opt source               destination         
        ACCEPT     udp  --  anywhere             anywhere             udp dpt:ntp
        ACCEPT     all  --  anywhere             anywhere            
        REJECT     all  --  anywhere             loopback/8           reject-with icmp-port-unreachable
        ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
        ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http
        ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https
        ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:ssh
        ACCEPT     udp  --  anywhere             anywhere             udp dpt:ntp
        ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
        LOG        all  --  anywhere             anywhere             limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
        REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable
        
        Chain FORWARD (policy ACCEPT)
        target     prot opt source               destination         
        REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable
        
        Chain OUTPUT (policy ACCEPT)
        target     prot opt source               destination         
        ACCEPT     udp  --  anywhere             anywhere             udp spt:ntp
        ACCEPT     udp  --  anywhere             anywhere             udp spt:ntp
        ACCEPT     all  --  anywhere             anywhere 


        je passe par une box swisscom pour la connection à internet et network-manager pour la config de la carte wifi.



        • Partager sur Facebook
        • Partager sur Twitter
          12 mai 2018 à 0:08:37

          Bonjour,

          Je pourrais avoir la réponse de la commande :

          route -n

          -
          Edité par TheoB 12 mai 2018 à 0:09:27

          • Partager sur Facebook
          • Partager sur Twitter
            12 mai 2018 à 23:13:44

            Bonsoir TheoB,

            voici le résultat:

            ~$ !sudo
            sudo route -n
            Table de routage IP du noyau
            Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
            0.0.0.0         192.168.1.1     0.0.0.0         UG    1024   0        0 eth0
            169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
            192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
            192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0


            merci pour votre aide

            • Partager sur Facebook
            • Partager sur Twitter
              13 mai 2018 à 1:09:44

              Bonjour,

              Ton adresse de passerelle par défaut est bien 192.168.1.1 ?

              • Partager sur Facebook
              • Partager sur Twitter
              Anonyme
                13 mai 2018 à 3:08:45

                Bonsoir,

                Sur les route, on voit que c'est eth0 qui est utilisé et non wlan0.

                Sinon, tu n'as pas posté la sortie du fichier /etc/network/interfaces mais la sortie de la commande ifconfig. Peux-tu poster la sortie du fichier /etc/NetworkManager/NetworkManager,conf aussi.

                As-tu essayé en désactivant ton pare-feu?

                • Partager sur Facebook
                • Partager sur Twitter
                  15 mai 2018 à 12:57:06

                  Bonjour,

                  oui, ma passerelle par défaut est bien 192.168.1.1.

                  ~$ sudo 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
                  
                  auto wlan0
                  iface wlan0 inet static
                  address 192.168.1.100
                  mask 255.255.255.0
                  
                  ~$ sudo cat /etc/NetworkManager/NetworkManager.conf 
                  [main]
                  plugins=ifupdown,keyfile
                  
                  [ifupdown]
                  managed=false
                  

                  même si je flush iptables,

                  ~$ sudo iptables -L
                  Chain INPUT (policy ACCEPT)
                  target     prot opt source               destination         
                  
                  Chain FORWARD (policy ACCEPT)
                  target     prot opt source               destination         
                  
                  Chain OUTPUT (policy ACCEPT)
                  target     prot opt source               destination   

                  le wifi ne fonctionne toujours pas.

                  ~$ ping -I wlan0 8.8.8.8
                  PING 8.8.8.8 (8.8.8.8) from 192.168.1.100 wlan0: 56(84) bytes of data.
                  From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
                  From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
                  From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
                  ^C
                  --- 8.8.8.8 ping statistics ---
                  6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5031ms
                  pipe 3
                  




                  • Partager sur Facebook
                  • Partager sur Twitter
                  Anonyme
                    15 mai 2018 à 13:48:13

                    Salut,

                    Par hasard, la WiFi n'aurait pas cessé de fonctionner depuis que tu as modifié le fichier interfaces ? ;) Network Manager ne gère plus l'interface WiFi. Et ifupdown ne peut pas se connecter à un réseau WiFi tout seul.

                    Donc soit tu installes wpa_supplicant, et configure le tout pour te connecter à ton WiFi.

                    Soit tu enlèves toutes informations relatives à wlan0 dans le fichier interfaces (le plus simple).

                    Fini par redémarrer tout ce qui faut pour que la nouvelle conf soit prise en compte ( en redémarrant les services associés, ifup@wlan0 ou NetworkManager selon le cas devrait le faire; au pire redémarre la machine).

                    Doc debian:

                    https://wiki.debian.org/fr/NetworkManager

                    https://wiki.debian.org/fr/WiFi/HowToUse

                    Toujours utiliser la doc officielle quand tu souhaites configurer et modifier des choses sur Debian.

                    -
                    Edité par Anonyme 15 mai 2018 à 15:50:15

                    • Partager sur Facebook
                    • Partager sur Twitter
                      18 mai 2018 à 22:48:40

                      nickel sa fonctionne à nouveau

                      j'ai suivis la doc Debian pour NetwokManager comme conseillé par  ShaWaTK

                      merci à tous le monde pour votre aide.

                      • Partager sur Facebook
                      • Partager sur Twitter

                      problème carte wifi debian 8

                      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
                      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
                      • Editeur
                      • Markdown