Monday, December 11, 2006

drinkathon 2k6b

Announcement at events page
Discussion at Undeadly

This event was started at Friday's evening and ended at Saturday's night. We start drinking at bar "Bavarius" and after some beer go to the night club, called "Hungry Duck".

Many good peoples come to this meeting.

Thursday, December 7, 2006

reflection of the sun

Reflection of the sun
On the stained glass
Yet another one
Day with smoked grass

Monday, December 4, 2006

audacious port for openbsd

And, finally, it's done. Audacious media player port for openbsd.

Sunday, December 3, 2006

updated: x11/ion

While I was in psychedelic trip, I become maintainer of x11/ion port in OpenBSD ;)

Friday, December 1, 2006

strange psychedelic trip

Today.. acidless trip. Absinthe hallucinogenic effects compounded with placebo effect by sonapax. Smoking legalized Salvia divinorum open doors of perception.

Small trip report:

  1. Creativity becomes apparent, natural brain filter is bypassed, some confusing of the senses;
  2. Strong visual effects: fractal images seen everywhere, everything looking curved, objects morphing into other objects, closed eye hallucinations become 3 dimensional.
  3. Time becomes meaningless.
  4. Extra sensory perceptions and abilities.
  5. Merging with space, other objects or the universe.

Psychedelic art was born after trip:

I'm not forgot about psychedelic electronic effects in music and for deposit of good trip listening the following kings of psychedelic rock:

  1. Jefferson Airplane - Volunteers
  2. Jefferson Airplane - Surrealistic Pillow
  3. Pink Floyd - The Piper at the Gates of Dawn
  4. Pink Floyd - A Saucerful of Secrets
  5. Syd Barrett - The Madcap Laughs
  6. Syd Barrett - Barrett

Wednesday, November 29, 2006

temp sensors and mrtg

Temperature monitoring using openbsd's sensor framework and mrtg.

  1. Locate sensors on main board:
    $ dmesg | grep lm
    lm0 at isa0 port 0x290/8: LM79
  2. Locate number of CPU temperature sensor:
    $ sysctl hw.sensors | grep temp
    hw.sensors.7=lm0, Temp1, temp, 36.00 degC / 96.80 degF
  3. Write a simple script for passing temperature to mrtg:
    #!/bin/sh
    sysctl hw.sensors.7 | awk '{ print $4 }'
    sysctl hw.sensors.7 | awk '{ print $4 }'
  4. Add the following lines to your mrtg config:
    Target[Temp1]: `/root/temp.sh`
    MaxBytes[Temp1]: 70
    Options[Temp1]: gauge, noinfo, nopercent
    YLegend[Temp1]: Celsius
    LegendI[Temp1]: Temp
    LegendO[Temp1]: Temp
    Title[Temp1]: CPU temp
    ShortLegend[Temp1]: C
    PageTop[Temp1]: <h1>CPU temp</h1>
  5. Have fun!

Sunday, November 26, 2006

asus wl-500g premium

i got one wl-500g router for my home:

  • 1 wan ethernet
  • 4 lan ethernet
  • 2 usb
  • wi-fi
here is uname string:
Linux 1 2.4.20 #46 Thu May 25 22:40:57 MSD 2006 mips unknown
some of cpuinfo:
system type : Broadcom BCM947XX
cpu model : BCM3302 V0.6
BogoMIPS : 262.96
wait instruction : no
microsecond timers : yes
tlb_entries : 32
many nice features of this router can be used in custom firmware.

Saturday, November 25, 2006

going to new blogger

after some months of blogging @ wordpress.com I'm here. ;)
so, best posts from old blog will be merged here soon.

Wednesday, November 22, 2006

palm z22

I was bought new toy: Palm Zire 22. It is a Samsung 200MHz ARM processor based PDA with 32MB RAM (20MB accessible) and color 160×160 touchscreen display. Its weight is only 96g.

Nice PDA for typically tasks of most users.

Friday, October 20, 2006

pf based nat gateway for office network

Tonight i replace old FreeBSD based NAT gateway to OpenBSD based NAT gateway and firewall. This is short article about pf configuration.

I use Intel Celeron 500MHz based server with two network cards (vr0 and vr1). Here is configuration steps:

  1. buy more beer and pizza!
  2. install openbsd
  3. set net.inet.ip.forwarding sysctl value to “1” and add string net.inet.ip.forwarding=1 to /etc/sysctl.conf file
  4. activate pf. add pf=YES line to /etc/rc.conf.local file
  5. let’s edit /etc/pf.conf file:
    # macros
    ext_if="vr0"
    int_if="vr1"

    # options
    set block-policy return
    set loginterface $ext_if
    set skip on lo

    # scrub
    scrub in

    # network address translation (NAT)
    nat on $ext_if from !($ext_if) to any -> ($ext_if)

    #filter
    block in
    pass out keep state
    antispoof quick for { lo $int_if }
    pass quick on $int_if
  6. load config file. pfctl -f /etc/pf.conf
…and read “The OpenBSD Packet Filter”.