# Wireless Login Assistant Currently at our hotel, we're required to login to the wireless portal once per 24 hour period In order for our network to work correctly, I have the WAN port of our gateway connected to an ASUS consumer-grade router in wireless repeater mode, connected to the hotel wireless network. This script will basically do the following: * Reboot the router (this is basically to buy time. If duplicate MACs are present, blockage) * Bring down the @Wireless connection * Assign the MAC address from the ASUS router 2.4ghz radio to local wifi adapter * Bring up wireless on ESAconnect network * Curl two endpoints to simulate logging in * Bring down ESAconnect * Bring up @Wireless This happens once per 24 hours, controlled by systemd timers. Backup of ASUS router config stored in the git as well, in case it gets hacked (not super secure) # Notes 2.4ghz MAC 30:85:A9:6B:C6:F8 5ghz MAC 30:85:A9:6B:C6:FC