Wifi désactivé

Tags: #<Tag:0x00007fe4cdf07120>

Bonjour,
j’ai un pc acheté chez anyware (censé être linux compatible, donc ><) et j’ai un souci avec le wifi dont je n’arrive pas à me dépêtrer.

Le PC était livré avec Ubuntu pré-installé, le wifi marchait bien, jusqu’à une mise à jour du wifi => plus de wifi, je n’ai pas retrouvé comment le remettre en route et comme Ubuntu me lassait sur pas mal de points, je suis repassée à Debian.

Donc une installation tout fraîche de Debian en Stretch, avec XFCE et… pas plus de wifi. J’ai fini par installé pleins de firmware (free, non-free) et là, durant cette session d’installation intensive… j’ai eu du wifi.

Mais je l’ai perdu au redémarrage.

En regardant dans les logs, j’ai repéré un truc bizarre dans /var/log/syslog (log complet ici : https://framabin.org/?10295946a394a2f0#D9pIBN404T7tKA1/OpE2IpDYm4V/P3cpnSf/VAF2m0Y= )

Oct 27 15:53:04 debian kernel: [ 2.422591] r8169 0000:01:00.1 enp1s0f1: renamed from eth0 Oct 27 15:53:07 debian NetworkManager[523]: <info> [1509112387.1453] devices added (path: /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.1/net/enp1s0f1, iface: enp1s0f1) Oct 27 15:53:07 debian NetworkManager[523]: <info> [1509112387.1453] device added (path: /sys/devices/pci0000:00/0000:00:13.0/0000:01:00.1/net/enp1s0f1, iface: enp1s0f1): no ifupdown configuration found. Oct 27 15:53:07 debian NetworkManager[523]: <info> [1509112387.7730] manager: (enp1s0f1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2) Oct 27 15:53:07 debian NetworkManager[523]: <info> [1509112387.7771] device (enp1s0f1): state change: unmanaged -> unavailable (reason 'managed') [10 20 2] Oct 27 15:53:07 debian kernel: [ 19.486653] IPv6: ADDRCONF(NETDEV_UP): enp1s0f1: link is not ready Oct 27 15:53:07 debian kernel: [ 19.562623] r8169 0000:01:00.1: firmware: direct-loading firmware rtl_nic/rtl8411-2.fw Oct 27 15:53:07 debian kernel: [ 19.582349] r8169 0000:01:00.1 enp1s0f1: link down Oct 27 15:53:07 debian kernel: [ 19.582432] IPv6: ADDRCONF(NETDEV_UP): enp1s0f1: link is not ready

Donc le firmware me renomme enp1s0f1 en eth0 puis fait des choses sur enp1s0f1 et ensuite ne retrouve pas ce enp1s0f1 ce qui semble un peu logique vu qu’il l’a renommé ?

Je ne vois pas comment avoir le wifi…

Pour info :

lspci -k -nn | grep -A 3 -i net 

01:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI     Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:0955]
Kernel driver in use: r8169
Kernel modules: r8169 

L’ordinateur a un module bluetooth (dont je n’ai pas besoin…) et quand le wifi n’est plus détecté,

sudo rfkill list 

0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

Si quelqu’un a une idée, je prends… Merci.

Oct 27 15:53:04 debian kernel: [ 2.422591] r8169 0000:01:00.1 enp1s0f1: renamed from eth0

c’est l’inverse c’est la liaison filaire (ethernet) eth0 qui est nommée enp1s0f1 conformément aux règles de nommage
l e nom de la liaison wifi commence par w


ifconfig
enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 98:4b:e1:c6:c4:7b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Boucle locale)
        RX packets 307  bytes 26018 (25.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 307  bytes 26018 (25.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1492
        inet 192.168.1.68  netmask 255.255.255.0  broadcast 192.168.1.255
        ether cc:52:af:5a:a2:b5  txqueuelen 1000  (Ethernet)
        RX packets 4212  bytes 4051253 (3.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3350  bytes 511960 (499.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Dans tout ce que tu listes il n’y a pas de wifi

Voici ce que ça sort quand il y a du wifi => Network controller

root@debian:/# lspci -k -nn | grep -A 3 -i net 
03:00.0 Network controller [0280]: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
	Subsystem: Hewlett-Packard Company BCM4313 802.11bgn Wireless Network Adapter [103c:1483]
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:1443]
	Kernel driver in use: r8169
	Kernel modules: r8169

est-ce une antenne usb que tu utilises, dans ce cas

lsusb