Keymap, bash aliases ++
-
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
-
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.
How do I apply changes manually made in config.xml (or dhcpserver.xml) to the pfsense engine ?
Restore config.
–Bill
-
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
-
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.
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
-
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
-
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.
-
Hoba
Thanks a lot for your comments
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
-
It does. This isn't FreeBSD, it's pfSense.