I'm aware there are related questions to this problem but none of them have solved my issue so far.
I'm trying to set up a wifi access point with my pi 4B. I'm following this guide exactly: https://raspberrypi-guide.github.io/networking/create-wireless-access-point (I've also tried the updated version of enabling hostapd, without unmasking the service).
I have the bridge set up and working. I have also assigned it a static ip along with wlan0. When the ethernet cable is plugged in though, neither ip's come up as being up on the network. When I take out the ethernet cable, wlan0's ip is up and I can ssh into it like normal. At no point does the ssid for the access point appear on my phone. I've tried setting a static ip to eth0 as well but there's no change in behavior.
Here are all the related questions I've tried for solutions to show what I've already tried:
Connection on Raspberry/Ubuntu as Access Point Wifi > Ethernet > Internet not going through
Strange wifi/ethernet behaviour when plugging in/out ethernet cable
Ethernet Blocks Internet of Wifi Access Point
Using Raspberry Pi as Wireless Access Point means I cannot SSH to it
EDIT:
I just found a typo in my hostapd.conf which was stopping hostapd from launching. Now the access point successfully starts up and I can connect to it. However, neither of the static IPs I assigned show up on the network, and I don't see any new IP that may have been assigned to eth0, so I still can't access the pi. Worse, before if I unplugged eth0, wlan0's IP would appear. Now this is no longer the case.
EDIT 2:
Adding info about my network from the comments and my configuration files:
I have a home router which the pi is plugged into via eth0, as well as connected to via wlan0. Here is my dhcpcd.conf describing the static IPs given to interfaces:
interface wlan0
static ip_address=192.168.1.2/24
static router=192.168.1.254
static domain_name_servers=192.168.1.254
nohook wpa_supplicant
interface br0
static ip_address=192.168.1.3/24
static router=192.168.1.254
static domain_name_servers=192.168.1.254
I have a desktop connected to ethernet on the same network which I've been trying to connect to the pi through, but no addresses (the static ones or otherwise) come up as connected devices on the network via nmap.
For clarification like to be able to connect to the pi via ssh and other services through eth0, and bridge wifi connections from devices like my laptop or my phone from wlan0 to eth0 in order to boost my network's wifi range.
Here is my hostapd.conf:
interface=wlan0
bridge=br0
hw_mode=g
channel=7
country_code=GB
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ssid=<SSID>
wpa_passphrase=<PASSWD>
wlan0
is connected to some access point instead of providing one. Is this correct? Do you want to use the same interface to connect to your existing AP and providing an AP? Is the ethernet cable connected to your router? Did you use the wired network before trying to set up the AP? – Bodo Mar 15 '23 at 17:50