OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Change keymap on console
« previous next »
  • Print
Pages: [1]

Author Topic: Change keymap on console  (Read 8247 times)

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Change keymap on console
« 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
Logged

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Re: Change keymap on console
« Reply #1 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Change keymap on console
« Reply #2 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
Logged

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Re: Change keymap on console
« Reply #3 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Change keymap on console
« Reply #4 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Change keymap on console
 

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