@zbmnl
You can't. You need a remote.
A couple of things that will help you understand why. No device has an IP address until it's connected to a network. No network, no IP address. So there is no IP address to get in your situation.
If it is a Roku stick, or a Roku TV, you can get a Roku Voice Remote from Walmart, Best Buy, or other such places today, if they're in stock. Those stores, and other stores, carry them. They're $20. There is a $30 version as well.
If it's neither a stick nor a Roku TV, you can get a cheap universal remote, or a Roku Simple Remote ($15), or still go with a Voice Remote ($20) or Voice Remote Pro ($30). If you go the universal route, just make sure it supports Roku. Most do these days, but verify. It'll be on the box.
DBDukes
Roku Community Streaming Expert
Note: I am not a Roku employee.
If this post solves your problem please help others find this answer and click "Accept as Solution."