• /etc/systemd/system/webra1n.service

    [Service]
    Description=Webra1n
    After=network.target
    Restart=always
    StandardInput=tty
    TTYPath=/dev/tty2
    TTYReset=yes
    TTYVHangup=yes
    ExecStart=checkra1n -w 0.0.0.0 80
    
    [Install]
    WantedBy=multi-user.target
    
  • Enable hotspot from the guide

    Setting up a Raspberry Pi as a routed wireless access point