Re: keyboard layout 6.1 obsd

2017-08-17 Thread Matias Moreno Meringer
I use an US keyboard with dead keys in X. In order to make it work, I have
the following statement in my ~/.xinitrc:

setxkbmap -layout us -variant altgr-intl

Test it with layout br for your case; it should work.


On Thu, Aug 17, 2017 at 11:07 AM, Friedrich Locke  wrote:

> Hi folks,
>
> i have just installed obsd 6.1 amd64. My keyboard is set as "br" in
> /etc/kbdtype and it is working 100% on the console.
>
> But when i start xenodm, it is not working for "br" ! Do you know where i
> should set X to start it working with "br" keyboards.
>
> Thanks in advance.
>


/etc/daily warning

2015-07-08 Thread Matias Moreno Meringer
Hello.

Since I add a partition to use as altroot, I am getting the following
when daily script runs.

Running security(8):
disklabel: warning, partition a: size % cylinder-size != 0

/etc/daily contains the following:
CHECKFILESYSTEMS=1
VERBOSESTATUS=1
ROOTBACKUP=1

These are the related partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:  21014640  4.2BSD   2048 163841 # /
  l:  2152224141214320  4.2BSD   2048 163841

(I know that using a partition in the same disk for altroot is not the
best approach, but I don't have a spare disk to use).

Could this message being produced because a size != l size?
If not, what is causing that warning?

Thanks in advance,
mmm
--



Re: System BOOT (and load) Read-Only File System

2015-06-04 Thread Matias Moreno Meringer
Max Power wrotes:
 Last night I turned off the server, all ok.
 This morning I turned on the server (OpenBSD 5.7 amd64) and the system
 loads read-only file system... I can not even settle with fsck (just
 because the file system is read-only). A tip, thanks.


fsck -nf should help you to debug in those cases were the FS is ro. boot
bsd.rd to fix it.

mmm
--




Setup a RAID

2014-03-19 Thread Matias Moreno Meringer
Hi!

Have a 5.4 currently installed in sd0 and want to build a softraid1 to use
the disk in conjunction with a secondary sd1.

I know a way to build the raid at installation point, but not sure how to
do it after the installation without reinstalling. Is possible?

Thanks,
Matias.-



Re: Setup a RAID

2014-03-19 Thread Matias Moreno Meringer
On Wed, Mar 19, 2014 at 10:48 AM, Josh Grosse j...@jggimi.homeip.netwrote:

 On 2014-03-19 09:31, Matias Moreno Meringer wrote:

 Hi!

 Have a 5.4 currently installed in sd0 and want to build a softraid1 to use
 the disk in conjunction with a secondary sd1.

 I know a way to build the raid at installation point, but not sure how to
 do it after the installation without reinstalling. Is possible?


 You cannot convert an existing FFS filesystem into a softraid(4) array
 without backup and restore steps, because the array stores its metadata in
 the leading sectors.  The FFS filesystem within a RAID virtual sd(4) device
 has a different LBA starting sector on the backing storage.


Get it. Thanks.-



Locale

2012-12-30 Thread Matias Moreno Meringer
Hi there.

I use mutt in a xterm to check my emails. I speak spanish, so have a
lot of emails in that language. Problem is because mutt doesn't
display regional character properly, neither others console based
applications (like emacs).

Can you point me to the right doc to check? Did a few searches, but
didn't find anything useful.

Tried to export some locale's variables, but without any luck.

Thanks in advance,
Matias.-
--



Re: Locale

2012-12-30 Thread Matias Moreno Meringer
Peter Hessler wrotes:
 export LC_CTYPE=en_US.UTF-8
 
 in my .xinitrc / .xsession tells programs To Do The Right Thing.
 
 Of course, not everything supports UTF8, so your milage may vary.

Was able to fix the problems exporting LC_CTYPE to es_ES.ISO8859-15. I
don't use X at all, so append it to ~/.profile.

I tried to export locale's variables to fix it, but wasn't able to get
it work. Problem was because I didn' know what names Openbsd uses for
locales. With your help, was able to find their definition in
/usr/share/locale (duh!).

Now it works fine for me.

Thanks for the help, Peter.

Regards,
Matias.-
--