OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?  (Read 3576 times)

Maurice

  • Sr. Member
  • ****
  • Posts: 497
  • Karma: 54
    • View Profile
[SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« 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.

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

Cheers

Maurice
« Last Edit: March 10, 2021, 07:50:18 pm by Maurice »
Logged

sorano

  • Full Member
  • ***
  • Posts: 112
  • Karma: 17
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #1 on: March 10, 2021, 02:40:04 pm »
I just updated and get the normal console
Logged
2x OPNsense 23.1 VM's in HA, 4x 2.10GHz, 8GB
ESXi 7.0 vSAN, VDS, vmxnet3 & VLAN
DoT, Chrony, HAProxy, Suricata, Zenarmor
VPN: IPSec, OpenVPN, Wireguard
MultiWAN: 500/500Mbit Fiber + 4G failover

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

pmhausen

  • Hero Member
  • *****
  • Posts: 2764
  • Karma: 251
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #2 on: March 10, 2021, 02:52:04 pm »
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 ;)
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Maurice

  • Sr. Member
  • ****
  • Posts: 497
  • Karma: 54
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #3 on: March 10, 2021, 03:49:17 pm »
Thanks @pmhausen, but the screenshot looks exactly like my own configuration. Launching /usr/local/sbin/opnsense-shell manually works. Weird.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #4 on: March 10, 2021, 04:10:01 pm »
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
Logged

Maurice

  • Sr. Member
  • ****
  • Posts: 497
  • Karma: 54
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #5 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #6 on: March 10, 2021, 07:52:20 pm »
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
Logged

Maurice

  • Sr. Member
  • ****
  • Posts: 497
  • Karma: 54
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #7 on: March 10, 2021, 08:09:08 pm »
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!
Logged

CraigS

  • Newbie
  • *
  • Posts: 25
  • Karma: 2
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #8 on: March 15, 2021, 08:09:03 am »
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
« Last Edit: March 15, 2021, 08:11:48 am by CraigS »
Logged

Maurice

  • Sr. Member
  • ****
  • Posts: 497
  • Karma: 54
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #9 on: April 07, 2021, 12:52:10 pm »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #10 on: April 07, 2021, 01:28:53 pm »
Best to raise a ticket now, although I'm unsure what to look for yet.


Cheers,
Franco
Logged

bimmerdriver

  • Full Member
  • ***
  • Posts: 153
  • Karma: 14
    • View Profile
Re: Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #11 on: April 07, 2021, 04:12:39 pm »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
« Reply #12 on: April 13, 2021, 02:10:52 pm »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • [SOLVED] Console menu gone in 21.1.3 / 21.7.a_159?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2