[SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?

Started by Maurice, March 10, 2021, 01:51:48 PM

Previous topic - Next topic
March 10, 2021, 01:51:48 PM Last Edit: March 10, 2021, 07:50:18 PM by Maurice
When connecting via ssh, I'm now directly presented with the command prompt. No more menu which shows interface information, allows a config restore etc.

Anyone else seeing this? Is this the firmware UI rework mentioned in the release notes?

Cheers

Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

I just updated and get the normal console
2x 23.7 VMs & CARP, 4x 2.1GHz, 8GB
Cisco L3 switch, ESXi, VDS, vmxnet3
DoT, Chrony, HAProxy + NAXSI, Suricata
VPN: IPSec, OpenVPN, Wireguard
MultiWAN: Fiber 500/500Mbit dual stack + 4G failover

--
Available for private support.
Did my answer help you? Feel free to click [applaud] to the left

Quote from: Maurice on March 10, 2021, 01:51:48 PM
When connecting via ssh, I'm now directly presented with the command prompt. No more menu which shows interface information, allows a config restore etc.
See screenshot ;)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thanks @pmhausen, but the screenshot looks exactly like my own configuration. Launching /usr/local/sbin/opnsense-shell manually works. Weird.
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

No intentional changes, if at all. If "su" doesn't bring up the console it might be related to

https://github.com/opnsense/core/commit/bcb7c2689


Cheers,
Franco

Going to System / Access / Users / root and saving fixed it. I didn't change anything and nothing changed in the config.xml. :o

(I saw the same behavior when using the local VGA console and echo $shell told me that it was actually running /bin/csh.)

Cheers

Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Need to keep an eye on this. I haven't seen similar things but then again my root user is not allowed to use SSH in the first place.


Cheers,
Franco

I haven't seen anything like this before either. To be honest, I've never paid much attention to the user configuration. This particular installation is several years old and has been upgraded a gazillion times. And there has always been only the default root user.

The VGA console wasn't even password protected ::) and did show the same behavior after the recent update.

Weird, but no worries, works again!
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

March 15, 2021, 08:09:03 AM #8 Last Edit: March 15, 2021, 08:11:48 AM by CraigS
Hi,

I can confirm the same issue on OPNsense 21.1.2-amd64 with 8x servers.

Launching /usr/local/sbin/opnsense-shell manually works fine.

I also confirmed Maurice fix to go into root user and hit save which worked.

Regards,
Craig

I've recently observed this issue again (and fixed it the same way). I have a working hypothesis that this might be triggered by performing a reboot via Web interface while the same user is connected via ssh. Sounds weird, I know. Could very well be a coincidence.
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Best to raise a ticket now, although I'm unsure what to look for yet.


Cheers,
Franco

Quote from: Maurice on March 10, 2021, 07:49:29 PM
Going to System / Access / Users / root and saving fixed it. I didn't change anything and nothing changed in the config.xml. :o

(I saw the same behavior when using the local VGA console and echo $shell told me that it was actually running /bin/csh.)

Cheers

Maurice
I'm experiencing the same problem and saving the root user did not make any difference.

For what it's worth, I noticed that the most recent update before this happened was that the SSH package was reinstalled.

While playing with the new installer I noticed this too:

https://github.com/opnsense/core/commit/3f3ebd968

# opnsense-patch 3f3ebd968

Suffice to say this was development version problem only.

> I can confirm the same issue on OPNsense 21.1.2-amd64 with 8x servers.

I really doubt this and see no other version numbers to consolidate the claim... The business edition images based on 21.1.4 also worked fine in this regard while testing those last week. ;)


Cheers,
Franco