How to setup Static and DHCP simultaneously for different connections automatically?

March 26, 2024, 05:49

starsalt

Hi hi, i just tried setting up 2 diff AP's but since the Address ranges for them are different idk how to setup Static for one and DHCP for the other. (using wpa_sup) i used DHCPD before for just my home net but idk how to apply it for a specific AP as seen in the attached picture (1.static for my home router 2. dhcp for mobile hotspot)

starsalt

oops nvm got it. looks like it just needed 1 line to check if the ranges match

starsalt

Confirmed that it autoconnects now 🙂 and does not use the static ip if it's a diff network