Compiling transmission 2.22 on opensolaris b134

April 4th, 2011

Might work on other versions to?
3 issues
gtk issue but not relevant for me so I turned it off, I only use the daemon.
libevent is to old
and required to use the -std=c99 flag but this is called differently -xc99

I probably installed sunstudio12.1 to but this has been some time ago …

first make libevent more recent:
wget http://www.monkey.org/~provos/libevent-2.0.10-stable.tar.gz
tar xvfz libevent-2.0.10-stable.tar.gz
cd libevent-2.0.10-stable
./configure
make
pfexec make install

cd ../
wget transmission
cd transmission

./configure –enable-daemon LIBEVENT_CFLAGS=”-I/usr/local/include” LIBEVENT_LIBS=”-L/usr/local/lib -levent” –disable-nls –disable-gtk CFLAGS=”-xc99″
make
pfexec make install

run as
transmission-deamon

config files are in ~/.config/transmission this is linked there ~/.config/transmission-deamon

dslinestats Perl script 3d vrml zyxel linux device

March 25th, 2011

In order to compare the linestats over time I put together a small script that reads the dsllinestats output from a zyxel modem.
Modems known to produce compatible output
p-2812hnu-f1
p-2601hn-f1 firmware BLV.6

Usage:
put the script on a machine that understand perl ;) make a directory called dslinestats
dump every statistics run in a separate file
name the files smartly, they produce the label ;)
run “perl makeprettywrlgraphs.pl” in the directory where you made the dslinestats directory.
Open your dslinestats.wrl with your favorite vrml viewer.

TODO:
Put in some sanity checks, for now the script works when you are careful. If you do not follow the correct procedure I have no clue what will happen.

Place the camera at a sane position.
Add some reference axis.
Finetune position labels.
Finetune colors.
Compress vrml file.
Add some more comments for documentation.

Ze file:
makeprettywrlgraphspl

Start Slide Show with PicLens Lite PicLens

limited states for the ipfilter

March 13th, 2011

not cool
http://letsgetdugg.com/2009/10/23/solaris-ipfilter-optimization/
pfexec nano /usr/kernel/drv/ipf.conf
add :
fr_statemax=24500 fr_statesize=35000;
so the file reads :
name=”ipf” parent=”pseudo” instance=0; fr_statemax=24500 fr_statesize=35000;
pfexec devfsadm -i ipf
pfexec ipf -T list | grep fr_state
pfexec svcadm disable ipfilter
pfexec /usr/sbin/ipf -T fr_statemax=24500,fr_statesize=35000
pfexec svcadm enable ipfilter

solaris zfs disk recovery with zfs send recv

February 27th, 2011

format
fdisk 100% solaris
type auto configure
label
volname cfactank
verify
partition
modify
all free hog slice 3
slice 0 50gb
rest 0
rename slice 3 home

label
q
q

zpool create -f -o failmode=continue -R /a -m legacy rpool c9t2d0s0
installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c9t2d0s0
zpool create cfactank c9t2d0s3
zpool attach rpool c9t1d0s0 c9t0d0s0
zpool attach rpool c9t1d0s3 c9t0d0s3

if zpool import does not give any results use the dir that the dev/dsk/c9t2d0s3 refers to like so
zpool import -d /devices/pci@0,0/pci1043,9999@e/
rest as above afterwards…. one can detach the disk one by one and then attach them as above with the /dev/dsk name to make it look pretty again

http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery

using a samsung clp-610nd printer on Solaris with foo2qpdl

February 24th, 2011

There are 3 possibilities for this driver.
foo2qpdl splix and the linux driver from samsung self.
I tried the foo2qpdl download from http://foo2zjs.rkkda.com/ aka http://foo2qpdl.rkkda.com/
install gcc ucb and groff, gawk with the package manager … for the rest follow the guide in the INSTALL file.
For the 610 the color still needs to be adjusted and there was glitch on the bottom of the page.

solaris scan server with sane

February 20th, 2011

First just install image/scanner/xsane
check if you scan on the desktop

configure saned
is very anyoing so droped this idea …. for sanatwain support

The new Bathroom radiator

January 29th, 2011

even with a blurry background effect ;)Almost done with it…. just need to fix the holes in the wall from the old radiator ;)

While tying to get the air out of the continuos pipe which is fairly tricky considering the 30 meters or so water column afterwards from the hose of the floor heating and the fairly restrictive water temperature valve.

I also decided to take a good look at our red probably 24 year old expansion tank, I had a hunch that it was not performing 100%. After almost dropping it, 19 liters of water is heavy when you do not know the exact moment the last thread disengages, I added some air, lo and behold it was not really leaking and the rubber diaphragm started to show itself at the water inlet. Not knowing for sure if my air-pressure meter was registering the 0,5bar and the needle planted at zero I did not dare to add to much pressure. Now i know to be a bit more daring and live with 8,5liters of air deficiency….Which is a big improvement over the 28 liter deficiency it had before. All in all a fruitful day.

Here are some more pictures for proof.the towels fit;) finished

p.s. Sorry mom, you probably did not need to buy a new expansion tank just using the fietspomp might have fixed it ;)

Start Slide Show with PicLens Lite PicLens

Half of the new bathroom radiator

January 21st, 2011

Give me some time ;) 6m of 22mm dunwandige gegalvaniseerde gelaste precisiepijp volgens DIN 2394 also called cv-pijp ;) and a bender….

Then you en up with this.

Start Slide Show with PicLens Lite PicLens

scroll wheel muis is veranderd in volumeknop

January 11th, 2011

Yep een nieuwe functie, sinds vanochtend.
Gisteren op de macbook zelf gewerkt(dus zonder usb muis en keyboard) en is automatisch snow leopard geupdate. En verder heb ik zover als ik weet geen muis instellingen veranderd.

Wat is er gebeurd? Ik heb geen idee, maar toen ik vanochtend achter mijn bureau plaatsnam met een trust wireless keyboard, muis en een groter scherm met mijn macbook dicht. Had ik dus een extra volume knop.
Ik heb het net met een andere usbdraadmuis geprobeerd en die scrolt wel normaal.

Het scrollen op het trackpad gaat als vanouds. Ik heb zelfs de macbook opnieuw opgestart omdat ik in de geluid settings muis settings en keyboard shortcuts niets terug kon vinden.
In itunes zie ik geen setting en ook in frontrow weinig wat hier mee te maken kan hebben.

Welke …… heeft een plist of kext aangepast en waar o waar kan ik het weer terug zetten naar gewoon scrollen.

Inmiddels het probleem gevonden….. Ik had het toetsenbord een tijdje op mijn muis liggen en daar zit een multimedia knopje op dat als je langer dan 5 sec indrukt dit vervelende gedrag vertoont. Als ze nu de andere knopjes op de muis nu normaal hadden laten werken…… onder osx…

Updating old windows mobile phones

December 28th, 2010

It is a disaster …… there are a millions of roms and which is which and what does what ???????
And you could be worse off if you do not have a backup ;). if you are running anything from version 6 and above install microsoft myphone and backup your phone! outlook backup is also nice….

There is first …. the official read for the versions on wiki:
http://en.wikipedia.org/wiki/Windows_Mobile
Which will give you a primer on the versions. Remember to add to that page the fact that individual phone makers also have different builds.

Then there are the leaked development builds from microsoft of which you can find an overview here:
http://forum.xda-developers.com/showthread.php?t=650783

Now to make things complicated you also need to figure out which hardware drivers are the best for your phone aka the radio versions…. And related wifi does not work if you have a usb activesync session going on…
For the prophet aka spv m600 they say it is 2.19.21

And then of course if you want another skin on your phone like for instance manila. or call it sense or…. cdigiclock seems to be nice

After all this you need to find the actual one for your phone or get a kitchen and cook it yourself ;)

p.s. as a final note …….. It worked one time with me to update on win7 32bit just use xp it just works every time… it has been mentioned that xp mode also works I did not bother since there was a xp machine standing next to me

Start Slide Show with PicLens Lite PicLens