Nothing is free in life. I would advise buying the goods or services of the bar/restaurant before asking for wifi.

(because, yes, I witnessed this.....millenials...)