pense-bête de bruno sanchiz

Accueil > Linux > en cas de problème > WIFI problème

WIFI problème

Publié le 29 août 2015, dernière mise-à-jour le 4 novembre 2023, 11 visites, 23643 visites totales.

  • Si la wifi se coupe : mettre REGDOMAIN=FR dans /etc/default/crda
    • en une ligne :
    • fichiers liés : cat /usr/share/zoneinfo/zone.tab et /usr/share/zoneinfo/zone1970.tab

  • Reason : 3=DEAUTH_LEAVING
    • problème wifi : dmesg ; /var/log/messages... donnent ce code Reason : 3=DEAUTH_LEAVING

https://bbs.archlinux.org/viewtopic.php?id=164279


  • conflits wicd ; netcfg ;dhcpd ;networkmanager
    • ps aux |egrep -i 'wicd|netcfg|dhcpd|networkmanager|net'
    • systemctl stop dhcpcd ; systemctl disable dhcpcd
  • bloquer ou débloquer ipv6
    • disable ipv6 (add ipv6.disable=1 to kernel boot options)
    • touch /etc/sysctl.d/disableipv6.conf && sed "s/^\(.*\)$/#\1/" -i /etc/sysctl.d/disableipv6.conf && echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.d/disableipv6.conf && echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.d/disableipv6.conf && echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.d/disableipv6.conf && echo "le fichier /etc/sysctl.d/disableipv6.conf est changé" && echo "maintenant il faut redemarrer la machine"

# Voici comment empêcher l’IPV6 sur un debian d’après https://www.techrepublic.com/article/how-to-disable-ipv6-on-linux/

# echo net.ipv6.conf.all.disable_ipv6 = 1 > /etc/sysctl.d/disableipv6.conf
# echo net.ipv6.conf.default.disable_ipv6 = 1 >> /etc/sysctl.d/disableipv6.conf
# echo net.ipv6.conf.lo.disable_ipv6 = 1 >> /etc/sysctl.d/disableipv6.conf

  • turn off power saving (iw wlp1s0 set power_save off)
  • don’t require a ca_cert for network manager
  • rfkill list ; rfkill unblock wlan0

ne pas oublier chmod +x /etc/pm/sleep.d/wakenet.sh

[bruno sanchiz]