No wireless interface found !!!!
Bonjour à vous,
Je rencontre un problème depuis un moment que je n'arrive pas à solutionner, j'ai passer pas mal de temps à chercher des solutions, tester des configs sans résultat.
J'a un raspberry 4 sous Buster 10 à jour.
Maintenant à chaque redémarrage de mon horloge numérique DIY AWTRIXX perte de connexion de celle-ci à internet (connexion en WIFI), pour que cela refonctionnne je dois soit, redémarrer le Raspberry ou faire sudo service dhcpcd restart, et cela tous les jours !!!!!
Lorsque que je fais sudo service dhcpcd restart, j'ai l'icône du WIFI qui apparaît mais juste 1-2 minute ensuite elle disparaît et j'ai "No wireless interface found".
Pendant plus d'1 an cela à bien fonctionner ???
je ne sais plus quoi faire, j'ai inverser les raspberry pareil
Voici les fichiers config que j'ai :
J'ai fixer l'IP du LAN .253 et du WIFI .252 depuis mon routeur Ubiquiti
quand l'icône disparait je le vois aussi disparaitre dans l'interface de suivi Ubiquiti.
Merci d'avance pour vos lumières
sudo nano /etc/network/interfaces
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
/etc/dhcpcd.conf
/etc/dhcpcd.conf
# created by deCONZ
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid
# Persist interface configuration when dhcpcd exits.
persistent
# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private
# Custom static IP address for eth0.
interface eth0
static routers=10.1.1.1
static domain_name_servers=10.1.1.1
static domain_search=10.1.1.1
noipv6
interface wlan0
noipv6
static routers=10.1.1.1
static domain_name_servers=10.1.1.1
static domain_search=10.1.1.1
SSID MON-ssid
static ip_address=10.1.1.252/24
sudo nano /etc/systemd/system/dhcpcd.service.d/wait.conf
[Service]
ExecStart=
ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w
service --status-all
[ - ] alsa-utils
[ - ] apache-htcacheclean
[ - ] apache2
[ - ] apparmor
[ + ] avahi-daemon
[ + ] bandwidthd
[ + ] bluetooth
[ - ] console-setup.sh
[ + ] cron
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ + ] dhcpcd
[ + ] docker
[ - ] dphys-swapfile
[ - ] fake-hwclock
[ - ] fio
[ - ] hwclock.sh
[ - ] keyboard-setup.sh
[ + ] kmod
[ + ] lightdm
[ - ] mongodb
[ + ] network-manager
[ - ] networking
[ - ] nfs-common
[ - ] paxctld
[ - ] plymouth
[ - ] plymouth-log
[ - ] pppd-dns
[ + ] procps
[ + ] raspi-config
[ ? ] rng-tools
[ + ] rpcbind
[ - ] rsync
[ + ] rsyslog
[ - ] saned
[ + ] ssh
[ - ] sudo
[ + ] triggerhappy
[ + ] udev
[ + ] unattended-upgrades
[ ? ] unifi
[ - ] x11-common
sudo systemctl status dhcpcd.service
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/dhcpcd.service.d
└─wait.conf
Active: active (running) since Sun 2022-09-25 12:33:55 CEST; 21min ago
Process: 24909 ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w (code=exited, status=0/SUCCESS)
Main PID: 24951 (dhcpcd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/dhcpcd.service
└─24951 /sbin/dhcpcd -q -w
sept. 25 12:34:05 RPI-CVTRD1 dhcpcd[24951]: wlan0: adding default route via 10.1.1.1
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: pid 25257 deleted IP address 10.1.1.252/24
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: deleting route to 10.1.1.0/24
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: deleting default route via 10.1.1.1
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: probing address 10.1.1.252/24
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: carrier lost
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: carrier acquired
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: unknown option: SSID
sept. 25 12:34:26 RPI-CVTRD1 dhcpcd[24951]: wlan0: probing address 10.1.1.252/24
sept. 25 12:34:27 RPI-CVTRD1 dhcpcd[24951]: wlan0: carrier lost