• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Keymap, bash aliases ++

Scheduled Pinned Locked Moved General pfSense Questions
8 Posts 3 Posters 5.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    bushtor
    last edited by Apr 23, 2006, 10:01 PM

    Hi,

    I have some minor questions which I have not yet found a solution for in the wiki / docs.  Thanks a lot if somebody can fill in the blanks ;-)

    I need to assign a national keyboard.  In which config file should I add keymap="mykeyboard.iso" ?

    I want to create some bash aliases, like alias dir='ls -lf –color=auto' in which config file should I put these ?

    How do I apply changes manually made in config.xml (or dhcpserver.xml) to the pfsense engine ?

    regards

    Tor

    1 Reply Last reply Reply Quote 0
    • B
      billm
      last edited by Apr 24, 2006, 1:48 AM

      @bushtor:

      Hi,

      I have some minor questions which I have not yet found a solution for in the wiki / docs.  Thanks a lot if somebody can fill in the blanks ;-)

      I need to assign a national keyboard.  In which config file should I add keymap="mykeyboard.iso" ?

      I want to create some bash aliases, like alias dir='ls -lf –color=auto' in which config file should I put these ?

      Uhh, we don't install bash, only tcsh and ksh.  Also, isn't –color a linux-ism?  FreeBSD 'ls' doesn't have that option.

      @bushtor:

      How do I apply changes manually made in config.xml (or dhcpserver.xml) to the pfsense engine ?

      Restore config.

      –Bill

      pfSense core developer
      blog - http://www.ucsecurity.com/
      twitter - billmarquette

      1 Reply Last reply Reply Quote 0
      • B
        bushtor
        last edited by Apr 24, 2006, 6:32 AM

        Thanks a lot for the restore config tip

        As of the alias I just asked in which config file I can put commandline alias assignments, or does not this distro support such 'features'?

        I would also be very glad to know where I can put 'keymap=' assignments to have national keyboard layouts.  The 'select keyboard layout' in the installer seems to be broken.

        regards

        Tor

        1 Reply Last reply Reply Quote 0
        • B
          billm
          last edited by Apr 24, 2006, 11:00 PM

          @bushtor:

          Thanks a lot for the restore config tip

          As of the alias I just asked in which config file I can put commandline alias assignments, or does not this distro support such 'features'?

          Same place you would if you were logging in as root I 'spose.  Either way, you'd need to understand tcsh (the default shell), or install bash.  We don't "support" either - we provide the shell as it's a commonly asked for feature that people like to have for troubleshooting - if you're tall enough to ride, you should be tall enough to understand.

          @bushtor:

          I would also be very glad to know where I can put 'keymap=' assignments to have national keyboard layouts.  The 'select keyboard layout' in the installer seems to be broken.

          I believe that option was pulled immediately after beta 3 as it didn't work quite right.

          –Bill

          pfSense core developer
          blog - http://www.ucsecurity.com/
          twitter - billmarquette

          1 Reply Last reply Reply Quote 0
          • B
            bushtor
            last edited by Apr 25, 2006, 1:36 PM

            So this means that pfsense has NO WAY to run user commands during boot, not for shell alias assignments and not for keymaps.  Strange, even good ol' DOS had that …

            Tor

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by Apr 25, 2006, 6:03 PM

              You can do some command via hidden config.xml commands: http://faq.pfsense.com/index.php?action=artikel&cat=10&id=38&artlang=en&highlight=hidden

              However, pfSense is not dos. If you prefer dos use it  :P

              Also keep in mind that we are pretty far at the end of the release cycle for v1.0 and we don't implement features atm for this version. Maybe the keymap thing will be added with 1.1 as we'll support multilanguage too in the near future and keymap then is obviously needed.

              1 Reply Last reply Reply Quote 0
              • B
                bushtor
                last edited by Apr 25, 2006, 9:22 PM

                Hoba

                Thanks a lot for your comments

                @hoba:

                You can do some command via hidden config.xml commands: http://faq.pfsense.com/index.php?action=artikel&cat=10&id=38&artlang=en&highlight=hidden
                .

                OK I'll play a bit with that..  The reason for my original post is that I've always had the impression that *ix oses were configurable using text files in every possible way, so it really cameas a surprise to me that it wasn't possible to assign national keyboards the freebsd way with pfsense.

                However, pfSense is not dos. If you prefer dos use it  :P

                No, I didn't mean to say that I preferred dos, see above.  I'm very impressed with pfsense and I wish you all luck in developing it (and myself the ability to understand how to make the most out of it ;-)

                Also keep in mind that we are pretty far at the end of the release cycle for v1.0 and we don't implement features atm for this version. Maybe the keymap thing will be added with 1.1 as we'll support multilanguage too in the near future and keymap then is obviously needed
                .

                Soory, by no means I meant to request this as a feature, I just thought the possibilities existed in the freebsd engine…

                Tor

                1 Reply Last reply Reply Quote 0
                • B
                  billm
                  last edited by Apr 25, 2006, 11:04 PM

                  It does.  This isn't FreeBSD, it's pfSense.

                  pfSense core developer
                  blog - http://www.ucsecurity.com/
                  twitter - billmarquette

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received