In Jubilife tv station, go to the third floor, and you should see a guy and a girl right next to each other. The guy asks you two questions, they should be something like what do you think of tv. Answer everyone(s) happy. The second question answer wifi connection.
But you need one gym badge, and to have teamed up with dawn/lucas so you can go north of Jubilife.