Change keymap on console

Started by bringha, April 19, 2017, 02:07:12 PM

Previous topic - Next topic
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

/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

# echo 'keymap="de"' >> /etc/rc.conf

Should automatically apply on reboot, or:

# /etc/rc.d/syscons onestart


Cheers,
Franco

Hallo Franco,

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

and executed


/etc/rc.d/syscons onestart
Configuring vt: keymap blanktime.


keyboard is still US

Rebooted. Unfortunately still US  :-\

Br br

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