Re: ftp.fr mirror is going down

2014-06-13 Thread Sime Ramov
On Thu, 12 Jun 2014 23:50:53 +0200, Antoine Jacoutot
ajacou...@bsdfrog.org wrote:
 Thank you!

No, thank *you* for all your work, the mirror (using it),
ports/packages, mtier openup stuff etc...

Also, Jon Lajoie :)



Re: OpenBSD 5.5 support for hw crypto in OpenSSL

2014-06-09 Thread Sime Ramov
On Mon, 9 Jun 2014 21:40:16 +0200, wessels wessels...@gmail.com wrote:
 Suggestions how to get this (acceleration) working again? Should it be
 invoked differently?

Is `sysctl kern.usercrypto` enabled?



Re: hp microserver n40l dmesg

2012-02-02 Thread Sime Ramov
 seems to work okay so far though I haven't pushed it yet; nice and
 quiet (fairly slow large fan), pity about the lack of rs232 though.

It is a nicely built machine indeed, N36L over here, used as a general
purpose desktop workstation.



Quotas and DUIDs

2012-02-01 Thread Sime Ramov
What is the latest status on this? Latest info I could find is a patch
on dev list from September last year. Snapshot from few days ago is
still affected, e.g:

quotacheck -a
quotacheck: 6fa46c18fccf6125.h: No such file or directory
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
ffs: 6fa46c18fccf6125.h (/home)

Is there maybe a workaround until the source gets patched?



OpenBSD related jobs?

2012-01-14 Thread Sime Ramov
OpenBSD is so far above and beyond anything else out there that I am
having a hard time using other systems.

I would *love* to work for an OpenBSD-centric company, either part-time,
or full-time, preferably from home.

Feel free to email me at s...@ramov.com for further details, if you're
interested. Thanks,

-Sime



Short adsuck guide (local resolver setup)

2011-12-05 Thread Sime Ramov
http://ramov.com/doc/adsuck.html

Let me know if you notice anything amiss.

-Sime



Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
I just wrote this document outlining the steps I do to keep up
with -current:

http://ramov.com/writing/obsd-current.html

Hope someone finds it useful.

More of an end-user method as there is no source code involved.



Re: Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
* Marc Espie es...@nerim.net [2011-12-03 20:36+0100]:
 Bad advice. As discussed with Antoine, sysmerge should be run
 *after* the update, not before, even though you may have to reboot
 an extra time.

Thanks for pointing that out, fixed.



Re: Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
* Marc Espie es...@nerim.net [2011-12-03 20:36+0100]:
 As discussed with Antoine, sysmerge should be run *after* the update,
 not before, even though you may have to reboot an extra time.

I am not sure about one more thing. Do I select etc.tgz and xetc.tgz
file sets when upgrading? Or do I de-select them and then run `sysmerge`
after reboot? Or having them selected/de-selected doesn't make a
difference in the end?



Re: Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
* Antoine Jacoutot ajacou...@bsdfrog.org [2011-12-03 23:12+0100]:
 You cannot select etc.tgz and xetc.tgz when upgrading.

Ah, missed that. I usually do a full install on desktops so I don't pay
much attention to file sets.

Shouldn't then net result be effectively the same whether one runs
`sysmerge` before or after upgrade?



Re: Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
* Marc Espie es...@nerim.net [2011-12-03 23:10+0100]:
 Duh, are you smarter than update ? why do you think it doesn't
 select them ?

Have I said that anywhere? I was asking for a clarification.



Re: Easy way to follow -current, a write-up

2011-12-03 Thread Sime Ramov
* Ingo Schwarze schwa...@usta.de [2011-12-04 00:15+0100]:
 That sounds strange, especially on desktops; after reinstall, you have
 to install all packages from scratch, and desktops typically need lots
 of packages.

What I was trying to say is that I generally install all sets (do a full
install) on desktops so I usually don't pay much attention on them,
which is why I haven't noticed they are not user selectable during
upgrade. Nothing about packages or reinstalling.



Re: Narcicism?

2011-12-01 Thread Sime Ramov
Hi,

* John Tate j...@johntate.org [2011-12-02 02:25+1100]:
 I'm 24 years old. I was a Linux hacker since I was 13. I am a bit of a
 guru and do my own Kerberos and such on an all BSD/Linux network. I am
 the guru sort of guy, I know a hell of a lot but I'm still connecting
 it and in that sense still learning.

Now I know who I'm gonna call when I get guru meditation.



Something similar to Soekris boards, for server applications

2011-11-30 Thread Sime Ramov
Hello, I am looking for something in the spirit of Soekris boards, but
more suited for server applications, e.g. for hosting Django apps.

Current net6501 is maxed out at 2 GB of RAM and 1.6 Ghz *single-core*
(two threads) atom.

The reason I am considering Soekris is because dedicated servers are
often underused and idling. Few GB of memory, anemic processor and SSD
gets one a surprisingly long way, especially with properly chosen stack
and caching.

So the general idea is: one Django app = one Soekris board. This is much
better than virtualization (bare metal forever) or putting more apps on
a big server.

Some apps would run great on this, but a more powerful CPU and more
memory would be needed for more demanding workloads.

Any recommendations for similar, but a bit more powerful and versatile
hardware (think one app = one hardware device)? Thanks.



Re: Something similar to Soekris boards, for server applications

2011-11-30 Thread Sime Ramov
* Christiano F. Haesbaert haesba...@haesbaert.org [2011-11-30 14:39-0200]:
 You may consider the new AMD E-350, the fusion ones, they're very
 low-power and might suit you. They're very, very cheap, I've never
 used them, but sounds a better alternative than the atom.

Fusion stuff is consumer tech. Other than AMD embedded stuff (which
isn't so bad) I am not sure is there a good fit currently for what
I'm after.



Re: Something similar to Soekris boards, for server applications

2011-11-30 Thread Sime Ramov
Hi,

* Jason Crawford ja...@purebsd.net [2011-11-30 12:27-0500]:
 Maybe look at this:
 http://www.newegg.com/Product/Product.aspx?Item=N82E16816101364

I know about that one, it's not bad but I would like to fit two boards
in 1U. Which is exactly what kerberos.si is doing for Soekris with
their housings.

Supermicro is also having interesting Pentium based offerings.

I am hoping there is something more aking to this[1], but a bit more
powerfull than net6501.

[1]: http://kerberos.si/ENG/Soekris19.htm




Re: Recommended working IDE

2011-11-19 Thread Sime Ramov
* John Tate j...@johntate.org [2011-11-19 12:51+1100]:
 Is there an IDE that works? What is it?

nvi, ksh.



Re: gkrellm and uuid's for filesystems

2011-11-19 Thread Sime Ramov
* John Tate j...@johntate.org [2011-11-19 11:46+1100]:
 Also, where do I get started on learning to make ports?

http://openbsd.org/faq/ports/index.html.

I have a hard time understanding you were unable to find docs on this.



Re: systat colors?

2011-11-10 Thread Sime Ramov
* Ted Unangst t...@tedunangst.com [2011-11-10 16:41-0500]:
 No, nor will they. colorized utilities are not particularly welcome.

Amen to that. When I first started using OpenBSD I immediately noticed
how colorless everything is. With time, I got this realization that I
actually prefer things monochrome. A terminal, OpenBSD and nvi -- what
more could one ask for? :)



Re: bootstrap.pl

2011-11-01 Thread Sime Ramov
* Ingo Schwarze schwa...@usta.de [2011-11-01 14:12+0100]:
 You are reinventing parts of site50.tgz, install.site, and
 rc.firsttime(8), but in a way that requires more manual labour.

Yep, you are right, forgot about those, thanks!

 Parts seem to be missing here to edit mailer.conf(5) and
 rc.conf.local(8) to disable sendmail(8) and enable smtpd(8);

Those are handled with syncing etc files from the storage volume. But I
agree it is a bad solution, so I am going to redone the whole thing with
site50.tgz etc.

 but note that smtpd(8) is still not officially supported for
 production as far as i know - even though it may be getting close.

This is for my personal workstation, it just relays to a smarthost.

Thanks for the tips!



herbstluftwm

2011-11-01 Thread Sime Ramov
http://wwwcip.cs.fau.de/~re06huxa/herbstluftwm/

I find it extremely good and it has just replaced ratpoison as my
WM. Maybe it will be a good match for someone else too (it is
virtually unknown).

Here's a patch for it to compile on OpenBSD (you'll need `gmake` and
`asciidoc`):


diff --git a/Makefile b/Makefile
index 1412745..bf5c224 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ tar: doc
 
 doc/%.1: doc/%.txt
$(call colorecho,DOC,$@)
-   @a2x -f manpage -a herbstluftwmversion=herbstluftwm $(VERSION) -a 
date=`date +%Y-%m-%d` $
+   @a2x.py -f manpage -a herbstluftwmversion=herbstluftwm $(VERSION) -a 
date=`date +%Y-%m-%d` $
 
 doc/%.html: doc/%.txt
$(call colorecho,DOC,$@)
diff --git a/config.mk b/config.mk
index 93a3c9a..e7abf05 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,7 @@ X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
 
 INCS = -Isrc/ -I/usr/include -I${X11INC}  `pkg-config --cflags glib-2.0`
-LIBS = -L/usr/lib -lrt -lc -L${X11LIB} -lX11 `pkg-config --libs glib-2.0`
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs glib-2.0`
 
 # FLAGS
 LD = gcc



Re: herbstluftwm

2011-11-01 Thread Sime Ramov
Also, forgot that default autostart file needs some adjustments in order
to work in other shells (it is a bash script). I just removed brackets
in function names and commented tag stuff to work with ksh.



bootstrap.pl

2011-10-31 Thread Sime Ramov
I've got tired of setting up my system after clean installs of -current
so I wrote this simple script which I pipe to perl immediately after
first boot.

Maybe someone finds it useful.


#!/usr/bin/perl
# Usage: ftp -o - -V http://dl.ramov.com/bootstrap.pl | perl -

use 5.010;
use strict;
use warnings;

die This script must be run as root.\n unless $ eq 0;

my $arch = qx/machine/;
chomp $arch;

$ENV{PKG_PATH} = http://obsd.si/pub/OpenBSD/snapshots/packages/$arch/;;

sub install_packages {
   my @packages = qw/
 ImageMagick--
 adsuck
 antiword
 autocutsel
 btpd
 cantarell-fonts
 droid-fonts
 dtach
 fdm
 git
 gtk2-rezlooks-engine
 inconsolata-font
 ledger
 mercurial
 mpg123
 mplayer
 mupdf
 mutt-1.5.21p0v0
 p5-Text-Autoformat
 p5-ack
 p7zip-rar
 perltidy
 pngcrush
 ratpoison
 rxvt-unicode
 unclutter
 vorbis-tools
 w3m--
 xcursor-dmz
 xxxterm
 /;

   foreach (@packages) { system('pkg_add', $_); }
}

sub mount_raid {
   use List::Util qw/first/;

   my $DUID = (split(':', first {/duid/} qx/disklabel -n sd3/))[1];

   chomp $DUID;
   $DUID =~ s/^\s+|\s+$//;

   open my $fstab_fh, '', '/etc/fstab' or die $!;
   print {$fstab_fh} $DUID.a /storage ffs rw,nodev,nosuid,softdep 1 2\n;
   close($fstab_fh);

   mkdir '/storage' or die $!;
   system('mount', '/storage');
}

sub configure_system {
   system('sh', '/storage/src/etc/bootstrap.sh');

   system('pkill', 'sendmail');
   system('newaliases');
   system('/usr/libexec/smtpd/makemap', '/etc/mail/secrets');
   system('smtpd');

   system('sh', '/storage/src/dotfiles/bootstrap.sh');
}

say 'Installing packages.';
install_packages();
print Done.\n\n;

say 'Mounting RAID storage.';
mount_raid();
print Done.\n\n;

say 'Configuring system';
configure_system();
say 'Done.';



Re: bootstrap.pl

2011-10-31 Thread Sime Ramov
For completeness sake, first one is for files in /etc and /var/adsuck
and the second one for my home dotfiles:

$ cat src/etc/bootstrap.sh   
#/bin/sh

rsync \
-av \
--exclude 'bootstrap.sh' \
/storage/src/etc /

cp resolv.conf /var/adsuck/files/

$ cat src/dotfiles/bootstrap.sh 
 
#/bin/sh

rsync \
-av \
--exclude 'bootstrap.sh' \
/storage/src/dotfiles/ /home/sramov/



Re: Multi-byte nvi

2011-10-29 Thread Sime Ramov
* Marc Espie es...@nerim.net [2011-10-29T10:53+0200]:
 You should read undeadly, in particular the 3rd part of the
 hackathon report.

Missed that, thanks!



Re: Multi-byte nvi

2011-10-29 Thread Sime Ramov
* patsy open...@ethernull.org [2011-10-28T23:57+]:
 Check the latest post on http://undeadly.org (naddy@'s report)

Nice to know this is on the radar, about the only thing I miss
occasionally.



Re: Pointers on starting X, then run browser and when it quits, automatically shutdown the computer X

2011-10-29 Thread Sime Ramov
* Tito Mari Francis Escaqo titomarifran...@gmail.com [2011-10-29T17:50+0800]:
 My idea is for the whole system to run off a Live CD, but I'm quite
 lost how to start the X windowing system, then the web browser and
 then automatically shutdown the whole system after quitting web
 browser.

As for the browser starting when X is started, this would do:

echo exec firefox  ~/.xinitrc

When you quit Firefox, X will terminate, too. Your other requirements
are a bit trickier though.



Multi-byte nvi

2011-10-28 Thread Sime Ramov
Since OpenBSD libc now supports multi-byte characters, are there any
forthcoming plans to bring this support to nvi?

There is no editor in base which supports it and I don't want to install
or use vim.



Multiple smarthost relays with smptd

2011-10-21 Thread Sime Ramov
I am trying to set up forwarding to two remote SMTP servers. Not at the
same time obviously, but depending on the from line (personal and work
address and accompanying outgoing servers).

Secrets file:

smtp1.example.com u...@example.com:pass
smtp2.example.org u...@example.org:pass

smtpd.conf:

accept for all relay via smtp1.example.com tls auth secrets
accept for all relay via smtp2.example.org tls auth secrets

The problem is, first smarthost is always used. Envelope senders are
properly set.

Is there a way to make this work?



Suspend not working on HP MicroServer N36L

2011-10-18 Thread Sime Ramov
Here's dmesg[1] on -current.

`apmd` is loaded with the '-C' option and that appears to be working.

~]$ apm
Battery state: absent, 0% remaining, unknown life estimate
A/C adapter state: not known
Performance adjustment mode: cool running (800 MHz)

CPU is scaled up and down as required. But when I enter `zzz` I just get
'Suspending system...' printed and that's it.

Any pointers?

[1]: https://gist.github.com/1295103



Re: Suspend not working on HP MicroServer N36L

2011-10-18 Thread Sime Ramov
* David Coppa dco...@gmail.com [2011-10-18T12:34+0200]:
 You can help by making a tarball with files generated by:

 sudo acpidump -o HP_MicroServer_N36L

 and putting it somewhere on the net, so acpi experts can have a look.

Here it is:

http://dl.ramov.com/acpidump.tgz



Re: openbsd web site design proposals (from HOTO write bad docs)

2005-11-28 Thread Sime Ramov
On 13:28 Mon 28 Nov, [EMAIL PROTECTED] wrote:
 They welcome contributers.
 You are not a contributor.

And it won't become one because of all the people on this mailing lists
with such attitude.
-- 
http://coastaldisturbance.com/



Re: Newbie Q: freeBSD vs openBSD

2005-11-27 Thread Sime Ramov
On 15:57 Sun 27 Nov, Sanjay Arora wrote:
 Now, some quick question...which BSD flavour to try first...thrust is on
 easy to install  learn for a newbie.

Try FreeBSD first. Than the others...

 Second, which would be more suited to a production web/mail server with
 djbdns, apache, php, perl  postgreSQL and qmail MTA (all with
 respective web-GUI administration tools...if any), with most thrust on
 security  minimal install issues.

OpenBSD.



Re: HOTO Write bad documentation

2005-11-27 Thread Sime Ramov
On 14:55 Sun 27 Nov, frantisek holop wrote:
 your page is unreadable at 800x600

 :)

I know, it's personal site (well, just splash at this moment), and I
decided for 1024x768.

But I was talking about *code*. Offcourse that I would design OpenBSD
site totaly different... It's about code philosophy, I can make complex
layouts with few or no divs using advanced knowledge of CSS ;)
-- 
http://coastaldisturbance.com/



Re: HOTO Write bad documentation

2005-11-27 Thread Sime Ramov
On 14:46 Sun 27 Nov, Simon Morgan wrote:
 time soon. I have a sneaking suspicion that the only people who
 keep raising this are i know what's best HTML programmers who
 have nothing interesting or worthwhile to contribute or discuss but
 feel the overwhelming need to nitpick, bitch and moan regardless.

Hey there man, calm down.

Many programmers write code and think that it's the only thing that
matters. Well, web site of the product is also very important. Also,
*every* contribution is welcome, so in this case, you can shut the f*uck
up.
-- 
http://coastaldisturbance.com/



Firefox Thunderbird GTK2?

2005-11-26 Thread Sime Ramov

Hello,

On OpenBSD Firefox and Thunderbird packages/ports are GTK1.x, how can I 
get them or compile them so that they use GTK2.x.x? Thanks.




UTF-8 terminal emulator and fonts

2005-11-26 Thread Sime Ramov

Hello,

Where can I find utf-8 capable terminal emulator, similar to aterm? It 
must have proper utf-8 support.


Also, is there any utf-8 fonts available in ports/packages?

I want to use mostly console apps (mutt, vim, slrn, etc) but I can't 
because I need proper utf-8 support for email, web pages etc...