So was it by the advice of any of the above responses that you accomplished this? Or did it just happen?
“Eureka!” is only the right word if you get so excited at having your net back that you shout it while running naked through the streets (preferably while dripping wet). I wouldn’t want to be doing that at this time of year (assuming you are in the Northern Hemisphere).
I notice when losing my internet connection on my phone, sometimes turning airplane mode on and off will reestablish a connection with the network. At other times, yeah, my first instinct is to reboot it, because that will solve your technical problems more often than not.