I say goodbye to wordpress. New blog: http://allroot.blogspot.com/
December 3, 2006
November 22, 2006
Palm Z22 @ OpenBSD
after attaching palm z22 to openbsd based laptop i got the following lines in dmesg:
uvisor0 at uhub1 port 2 uvisor0: Palm, Inc. Palm Handheld, rev 1.10/1.00, addr 3 uvisor0: init failed, TIMEOUT
device initialization failed and ucom(4) device is not created. attached patch for uvisor(4) driver is a hack for work with palm z22 device. after patch:
uvisor0 at uhub1 port 2 uvisor0: Palm, Inc. Palm Handheld, rev 1.10/1.00, addr 3 ucom0 at uvisor0 portno 0, sync
November 13, 2006
HP LaserJet network printers and lpd(8)
Work for me with HP LaserJet 1300n/1320n. Add the following lines to your /etc/printcap file:
lp|hp1300:\ :lp=:rm=printer_ip_address:rp=text:lf=/var/log/lpd-errs:\ :sd=/var/spool/output:mx#0:sh:
Now you can print using lpr(1) command.
November 7, 2006
NEW: devel/pecl-bcompiler
At work we use bcompiler from pecl, but pecl-bcompiler still not in FreeBSD ports tree.
October 23, 2006
October 20, 2006
nat gateway for small office network
Tonight i replace old FreeBSD based NAT gateway to OpenBSD based NAT gateway and firewall. This short note about pf configuration.
I use Celeron 500 with two network cards (vr0 and vr1). Here is configuration steps:
- buy more beer and pizza!
- install openbsd
- set net.inet.ip.forwarding value to “1”. add string net.inet.ip.forwarding=1 to /etc/sysctl.conf file
- activate pf. add pf=YES line to /etc/rc.conf.local file
- 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 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
- macros
- load config file. pfctl -f /etc/pf.conf
- check pf configuration. pfctl -f /etc/pf.conf
…and read “The OpenBSD Packet Filter”.
October 18, 2006
October 12, 2006
October 10, 2006
Button status control via sensor framework
Added sensor framework support to acpibtn(4) driver.
% dmesg | grep acpibtn acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB % sysctl hw.sensors hw.sensors.0=acpibtn0, button status, Off hw.sensors.1=acpibtn1, button status, Off
October 9, 2006
Helloween in Moscow
Yesterday i was in Tochka club at Hellowen concert (part of the “Keeper Of The Seven Keys: The Legacy. Worldtour 2005/2006”).
I was too many drunk -> no reports.