Raspberry Pi OS (64 bit) - release : 24-03-15
apt install hostapd dnsmasq
hostapd.conf
removed #! - it was creating errors “hw_mode = “g #!” not recognized”
# Lines marked with #! Were modified from the example config
interface=wlan0 #!
driver=nl80211 #!
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=netsim4 #!
country_code=CH #!
hw_mode=g #!
channel=1 #!
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=-1
fragm_threshold=-1
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2 #!
wpa_passphrase=Patriotic-Minute-Salary-Fruit #!
wpa_key_mgmt=WPA-PSK #!
dnsmasq.conf
interface=wlan0
#interface=enx58ef68b4deea
# eth0, eth1, wlan0
interface=eth1
#interface=enx58ef68b4e7ce
dhcp-range=192.168.130.50,192.168.130.150,255.255.255.0,720h
dhcp-range=192.168.131.50,192.168.131.150,255.255.255.0,720h
dhcp-range=192.168.132.50,192.168.132.150,255.255.255.0,720h
log-queries
log-dhcp
/etc/network/interfaces
auto wlan0
iface wlan0 inet static
address 192.168.132.1
netmask 255.255.255.0
# auto enx58ef68b4deea
# iface enx58ef68b4deea inet static
# address 192.168.131.1
# netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 192.168.131.1
netmask 255.255.255.0
# auto enx58ef68b4e7ce
# iface enx58ef68b4e7ce inet static
# address 192.168.130.1
# netmask 255.255.255.
The WiFi was available but no internet.