Hi, Ive been trying to setup a raspberry pi 3 b+ running raspberry pi os lite (32-bit) to stream an access point I can connect to without wifi. I dont know how to set this up from scratch so I have followed tutorials online. I went through roughly 4-5 tutorials and had to restart before I found this one from adafruit:
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software
I managed to have it give a signal that I can connect to from my phone, but it doesnt fully connect. From some more reading online, it seems that something is wrong with DHCP and it doesnt assign my devices and ip and as a result it cannot connect. I have followed the exact instructions and here are my files:
/etc/dhcpcd.conf:
static ip_address=192.168.4.1/24
nohook wpa_supplicant```
/etc/sysctl.d/routed-ap.conf:
```# Enable IPv4 routing
net.ipv4.ip_forward=1```
This file is all comments, except this at the end of the file - /etc/dnsmasq.conf:
```interface=wlan0 # Listening interface
dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h
# Pool of IP addresses served via DHCP
domain=wlan # Local wireless DNS domain
address=/gw.wlan/192.168.4.1
# Alias for this router```
This is the only file I really changed with the ssid and pass, aswell as the channed and hw_mode - /etc/hostapd/hostapd.conf:
```country_code=US
interface=wlan0
ssid=printer
hw_mode=g
channel=8
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
If you would like me to provide any sort of other files or logs, I would be more than happy to. I appreciate any help or suggestions :)