Console setup not working

Description

Hello,
I'm using TrueNAS core 12 (stable release) and I've de-selected "show text console without password prompt" in System -> Advanced, because I want to protect my system from unauthorized access. Today I tried to log in to the console in order to setup LACP channel, unfortunately I can't get console menu.

I read the documentation and did the same as it mention "you can access the Console Setup menu from within the TrueNAS® GUI by typing /etc/netcli from Shell." without success. I also tried to run netcli.sh but I'm just getting a login banner, and when I try to log in I've got loggin incorect.

Check this conversation: https://www.truenas.com/community/threads/there-is-no-way-to-get-console-setup-working.88510/

I tried to change my password which another one which doesn't include underscore, but this doesn't resolved the issue.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

William Gryzbowski 
November 19, 2020 at 6:07 PM

I agree, however for feature requests we ask users to create a Suggestion ticket so it can gather interest (voted up) from community.

Thanks!

KpuCko 
November 19, 2020 at 5:00 PM

Yep, we can assume it is working as expected.

Maybe as feature request, we can highlight the things I mentioned above, so let's recap:

  • if you have access to console of the server, you will get access to the OS

  • there is no easy way to take over the interface IP address, in case of lagg or bridge

  • there is no way to create bridge from the console based menu

William Gryzbowski 
November 19, 2020 at 4:33 PM

I guess i should close this ticket as behaves as intended then.

Let me know if I missed something.

KpuCko 
November 12, 2020 at 4:22 PM

So, you was right about selecting the option, I've tested that, and the console menu appeared immediately on the console.

Then I was able to set-up lagg interface. I will leave it as it is, which means, if I try to log in to the server via console, I directly got the menu, but if I use SSH I have to put my credentials, and no menu at all.

So this sounds logic, and if we can assume that, physical access to the server is monitored and restricted, this can be considered as secured option.

Maybe I'm a little bit confused because I know how pfSense do it, when the checkbox is selected, you have to enter credentials, to be able to access the menu, no matter you are in the console or via SSH.

KpuCko 
November 12, 2020 at 10:49 AM

Another thing appeared, I tried to create lagg interface by using web GUI, but without success. Let me explain you a bit more.

I have IP address like 192.168.0.12 which is set to my first interface. My second interface is plugged in, but unused, no IP address set.

So I decided to create lagg interface and assign second interface to this lag, when I tried to set IP address 192.168.0.24, I've got an error which says the IP address 192.168.0.0/24 is already in use, which is true, but I expect this configuration to be transferred from the first interface, and assign it to the lag interface. I've selected 192.168.0.24 just to avoid "address already in use" but it's looks like I cannot use the same network.

I did the same tests on my virtual machine which uses the last version of FreeNAS, and there I don't have such problem. I was able to create lagg interface in it.

So what do you think, is this is a bug or expected behavior? Because if it's expected this means, I have to use another VLAN, then access the box through it, then configure the rest of the interfaces in the vlan I want and remove this vlan. Which is a  bit over-complicating the things from my point of view.

Behaves as Intended

Details

Assignee

Reporter

Labels

Impact

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created November 4, 2020 at 1:01 PM
Updated July 1, 2022 at 5:00 PM
Resolved November 19, 2020 at 4:33 PM