If you visit any page in your browser while connected to the network, you should be redirected to piratebox.lan, yes. What happens if you try to visit a random page? What error message do you get?
You can try to see if the dns resolution is working properly, try to
ping piratebox.lan
ping google.com
both should resolve to 192.168.77.1
You can try to see if the dns resolution is working properly, try to
ping piratebox.lan
ping google.com
both should resolve to 192.168.77.1