OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: bringha on April 19, 2017, 02:07:12 pm

Title: Change keymap on console
Post by: bringha on April 19, 2017, 02:07:12 pm
Hello all,

there is a known way how to change the keymap setting for the console in FreeBSD. This can obviously not 1:1 applied in opnsense, as /etc/login.conf is overwritten with each reboot. Selecting German in GUI does not affect keymaps in console !?

How can I use a german keyboard with the console then which survives reboot?

Thanks for your help

Br br
Title: Re: Change keymap on console
Post by: bringha on April 22, 2017, 03:23:20 pm
/push upward

Does anybody have an idea, where to change the login.conf (template) so that I have a german keyboard layout on the console as default?

It seems to be that with every reboot, an /etc/ login.conf is generated by script (using a template?).

Any hint is highly appreciated

Br br
Title: Re: Change keymap on console
Post by: franco on April 24, 2017, 02:42:24 pm
# echo 'keymap="de"' >> /etc/rc.conf

Should automatically apply on reboot, or:

# /etc/rc.d/syscons onestart


Cheers,
Franco
Title: Re: Change keymap on console
Post by: bringha on April 24, 2017, 07:36:00 pm
Hallo Franco,

thanks for your reply. Changed my /etc/rc.conf (which contained before a keymap='german.iso' into keymap='de'

and executed

Code: [Select]
/etc/rc.d/syscons onestart
Configuring vt: keymap blanktime.

keyboard is still US

Rebooted. Unfortunately still US  :-\

Br br
Title: Re: Change keymap on console
Post by: franco on April 24, 2017, 07:47:08 pm
This works from here, but with vt / VGA console setting. Another UEFI / vt issue in FreeBSD here? :/

Can anybody else confirm or deny?


Cheers,
Franco