Help can not access the GUI any more!

Hello,

When making changes to my network and general qui settings I made a mistake. With the very ugly result that I can not access the gui any more.

The good thing is that I do have:

  • admin ssh access and
  • I do have a very recent config backup

However I have no idea how I could use one of those two to either restore the recent config or to modify network settings & GUI IP-settings via ssh.

So, I really really hope there is a way out of this other than a fresh install. Probably followed by adding keyfiles etc.

Do you have a spare monitor, keyboard and does your nas have a gpu?
If yes you can connect the monitor and keyboard to your nas and use the menu options that get displayed to reconfigure your network settings.

I do have all of that. But do I get a usefull menu during the boot sequence?

Not during the boot sequence, after truenas is fully booted.
It will show a menu with options 1-10 (i believe) and option 1 or 2 is to reconfigure your network adapter.

During the boot sequence really doesn’t matter (unless there’s a problem with it, which we don’t have any reason to believe at this point). Once the system boots, it gives you a console menu that you can use to reconfigure the network settings.

can I also modify the gui address?

I was doing a complex action trying to replace my netwerk card with a better one. So I placed both in the system and tried to migrate settings from one card to the other one, which is drama especially give the fact that you can not have the same defs on both cards and the stupid thing only has one gate way, so I tried to setup IPV6 as second gateway …

Use the console options. It will present 9 options with the first 3 dealing with networks with the main ones 1 and 2. There the networking issue can likely be fixed. Option 5 I think will reset the Truenas configuration file to defaults. Kind of a nuclear option I think.

Careful with that if your pools are encrypted.

I do have encrypted pools :frowning: However I had too !!!

No other option with the knowledge I had at that moment. Perhaps there was … not sure. I tried a lot before going to defaults.

So, back to defaults and noticed that the system got a IP address of one of the vlans in the network trunk. Using that vlan I could use the default login and upload the backup config to the NAS.

For more info about this read my just written thread related to jumbo frames.

1 Like