Hello,
Here is some news , and some hours to get this f...... wifi get working as i wish .
Bridge Eth0 to wlan0 , with dhcp and dns working
# nano /etc/default/hostapd
DAEMON_CONF="/etc/hostapd.conf"
# nano /etc/network/interfaces
# This file intentionally left blank # # All interfaces are handled by network-manager, use nmtui or nmcli on # server/headless images or the "Network Manager" GUI on desktop images auto lo br0 iface lo inet loopback # wireless wlan0 allow-hotplug wlan0 iface wlan0 inet manual # eth0 connected to the ISP router allow-hotplug eth0 iface eth0 inet manual # Setup bridge iface br0 inet dhcp bridge_ports wlan0 eth0
# Lance le processus hostapd après l'initialisation des périphériques wlan0 et br0 post-up /usr/sbin/hostapd -B /etc/hostapd.conf
# nano /etc/NetworkManager/NetworkManager.conf
[main] plugins=ifupdown,keyfile
[ifupdown] managed=true
[keyfile] hostname=**YourHostName**
nano /etc/hostapd/hostapd.conf
# Nom du spot Wi-Fi ssid=**YourSSID** wpa_passphrase=**YourPassWord** wpa=2 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP rsn_pairwise=CCMP# interface wlan du Wi-Fi interface=wlan0 bridge=br0 # Wi-Fi ouvert, pas d'authentification ! =0 1 auth_algs=3 # nl80211 avec tous les drivers Linux mac80211 driver=nl80211# mode Wi-Fi (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g) hw_mode=g # canal de fréquence Wi-Fi (1-14) channel=6 logger_stdout=-1 logger_stdout_level=2 # Maximum number of stations allowed in station table (255) max_num_sta=5 # Beacon interval in kus (1.024 ms) =50 beacon_int=100 # DTIM (delivery trafic information message) dtim_period=2 # RTS/CTS threshold; 2347 = disabled (default) rts_threshold=2347 # Fragmentation threshold; 2346 = disabled (default) fragm_threshold=2346 # code pay country_code=FR #disassoc_low_ack=1 ieee80211d=1 ieee80211n=1 #ht_capab=[HT40+][sHORT-GI-40][RX-STBC1][DSSS_CCK-40][MAX-AMSDU-3839] require_ht=0 wmm_enabled=1 utf8_ssid=1
## Accept all MAC address ### macaddr_acl=0
# nano /etc/sysctl.conf
net.ipv4.ip_forward = 1
sudo sysctl -p /etc/sysctl.conf
Remember to install all package with : apt-get --reinstall install xxxxx
Help Sources :
https://www.cyberciti.biz/faq/debian-ubuntu-linux-setting-wireless-access-point/
http://antoine-schellenberger.com/linux/2014/12/14/tips_hostapd_bridge.html
If can help , i will edit on demand.