The output must be created when the device is connected to the network socket and the problem is existent. If you create the output when the device is connected to another network connection, this does not help to diagnose the problem concerning your connection.
Please follow these steps:
If your wifi router is connected correctly and the configuration is ok but the Internet connection is not working, please provide screenshots of your router's configuration.
In order to create these, open the router's configuration website. The address is printed on the back of router or can be found in the manual. The configuration website likely has one of the following addresses:
If the admin password has not been changed, the default one is printed on the back of the wifi router.
If you have changed and forgot the login credentials to your wifi router, you need to restore the factory default. Instructions on how to do that can be found in the manual.