My office computer is offline

I work from home a few days a week. I have Teamviewer set up so I can access my office desktop from home. Usually, there isn't an issue. Today though, my office desktop is showing offline. I have to drive to the office today to connect it to the internet (I don't know why it's offline-I always leave my office desktop running). What information do I need moving forward so that I can connect my office desktop without having to drive to the office to do so?