J'ai un problème très bizarre...
- Lorsque j'éteins/redémarre mon rasp correctement (avec halt/reboot), hostapd me met une erreur : Starting advanced IEEE 802.11 management: hostapdioctl[SIOCSIWMODE]: Invalid argument. Et impossible de le redémarrer.
- Lorsque je l'éteins de manière brutale avec la prise secteur, hostapd redémarre correctement et je peux connecter mon Téléphone en wifi.
Voila mon projet : Créer un répéteur wifi avec 2 interfaces Wlan.
Wlan0 : wifi du pi3
Wlan1 Hostapd : Clef wifi => https://fr.aliexpress.com/item/5dB-150M ... 61860.html
/etc/network/interfaces.conf
Code: Select all
iface eth0 inet manual
allow-hotplug wlan1
iface wlan1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
up iptables-restore < /etc/iptables.ipv4.nat
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid NETGEAR
Code: Select all
interface=wlan1
ssid=monAP
channel=11
#bridge=br0
# WPA and WPA2 configuration
wpa=3
wpa_passphrase=motdepasse
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
# Hardware configuration
driver=rtl871xdrv
hw_mode=g
device_name=RTL8192CU
manufacturer=Realtek