Unfortunately, no. And those commands wouldn't do anything on a player that's not set up completely. So you have to complete the setup.
Let's look at your network issue. First, what model Roku do you have? I'm looking to see if it's a single or dual band wireless device. We then need to look at your network and determine what channel(s) are being used in your router for the wireless radios. Roku devices only support channels 1-11 in the 2.4 GHz band, and the non-DFS channels in the 5 GHz band.
Is your router controlled by your ISP, or do you have full control of its settings? Many ISPs have been reaching out and disabling the 2.4 GHz radio in the routers they control, and don't advise their customers. Why they'd do something so stupid I can't say, but it's been documented as happening. By default, the routers also assign the wireless radio channels automatically. At times, they might change the channel without you knowing, and if they change to a channel unsupported by Roku then you lose connection.
You can determine the channel(s) your Roku uses by either logging into the router and checking it there, or often devices that are connected will show that information in a status window. My iPhone doesn't show it, but another connected Roku would, and possibly some other connected device.