gimpe »
06 August 2010 »
In NexentaStor »
Get: VirtualBox-3.1.6-59338-SunOS.tar.gz
Get: VBoz.zip
Unzip and RENAME python-lib-3.1.8.tar.bz2 TO python-lib.tar.bz2
Put everything in the same dir.
VirtualBox-3.1.6-59338-SunOS.tar.gz
solaris-lib.tar.bz2
sunwvbox-1.0-20100217.diff.gz
python-lib.tar.bz2
And now:
# add required packages
aptitude install alien g11n-minimal-uiu8 lib64gcc1 lib64stdc++6 lib64z1 libfontconfig1 libfreetype6 libgcc1 libice6 libpng12-0 libsm6 libstdc++6 libxau6 libxdmcp6 libxmuu1 libxrender1 python python-dev sunwcsl sunwcslr sunwlibm zlib1g
# untar & prepare VirtualBox
tar -xzf VirtualBox-3.1.6-59338-SunOS.tar.gz
alien -d -s -c --reloc_root=/ VirtualBox-3.1.6-SunOS-r59338.pkg
# patch it
gzip -d -c sunwvbox-1.0-20100217.diff.gz | patch -p0
# build it
cd sunwvbox-1.0
./debian/rules binary
# install the .deb package
cd ..
dpkg -i sunwvbox_1.0-1_solaris-i386.deb
That’s it! Many thanks to Ernst Gill!
SOURCES:
http://www.nexenta.org/boards/1/topics/142
Continue reading...
Tags: FreeNAS, nexentastor, Solaris, VirtualBox, VM
gimpe »
25 July 2010 »
In VirtualBox, bash, tips »
# change VirtualBox disk and machine default location
VBoxManage setproperty hdfolder /volumes/data/vbox
VBoxManage setproperty machinefolder /volumes/data/vbox
# create a VM
VBoxManage createvm --name "U10.4-base" --ostype Ubuntu --register
# add some ram, network card, DVD-ROM
VBoxManage modifyvm "U10.4-base" --memory 128 --acpi on --boot1 dvd --nic1 bridged
# create a HDD
VBoxManage createhd --filename U10.4-base.vdi --size 10000 --register
# attach storage controllers to it
VBoxManage storagectl "U10.4-base" --name "IDE Controller" --add ide
VBoxManage storageattach "U10.4-base" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium none
# remove .iso
VBoxManage closemedium dvd /volumes/data/exchange/mini-ubuntu-10.04-server-i386.iso
# start VM
VBoxHeadless --startvm "U10.4-base"
# stop VM (requires package acpid)
VBoxManage controlvm "U10.4-base" acpipowerbutton
# view VM information
VBoxManage showvminfo "U10.4-base"
Continue reading...
Tags: tips, VirtualBox, VM
gimpe »
24 July 2010 »
In NexentaStor »
Install required packages
aptitude install libssl-dev libcurl4-openssl-dev intltool
Install libevent
wget http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz
tar -xzf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable
./configure
make && make install
Install Transmission
wget http://mirrors.m0k.org/transmission/files/transmission-2.01.tar.bz2
tar -xjf transmission-2.01.tar.bz2
cd transmission-2.01
./configure LIBEVENT_LIBS="-L/usr/local/lib -levent"
make && make install
Continue reading...
Tags: FreeNAS, NenxentaStor, torrent, Transmission
gimpe »
07 May 2010 »
In Uncategorized, htpc »
- Edit /etc/default/grub and add:
GRUB_CMDLINE_LINUX="usbcore.autosuspend=-1"
- Run
update-grub
- Edit /etc/crontab add:
@reboot root echo -n USB0 > /proc/acpi/wakeup
- Plug the USB Receiver into the lowest port under the PS/2 connector
- Reboot
I am using Ubuntu 9.10 and XBMC 9.11.
SOURCE: http://www.minimyth.org/forum/viewtopic.php?f=6&t=2524
Continue reading...
Tags: htpc, Ubuntu, usb, XBMC
gimpe »
19 February 2010 »
In linux, network, tips »
Here’s a procedure I found on taesch.com to ping a Ubuntu machine by the hostname from a Windows PC:
- sudo vi /etc/nsswitch.conf
hosts: files wins dns
- sudo aptitude install winbind
- sudo aptitude install samba
SOURCE: http://taesch.com/my-digital-life/cant-ping-ubuntu-hostname-from-windows-xp-setup-winbind
Continue reading...
Tags: linux, network, tips
gimpe »
19 January 2010 »
In Uncategorized »
The Acer EasyStore H340 comes with 1 x 1TB HDD and room for three more drives (SATA-II). A low power Atom 230, 2 GB of Ram and an internal 256M flash storage to install FreeNAS 64 bits. This comes in a nice 7.9″ (200mm) W x 7.1″ (180mm) D x 8.3″ (212mm) H casing.

I am curious to see if the Atom 230 is enough horsepower for ZFS, anybody tried it?
SOURCE: HappyBison.com
Continue reading...
gimpe »
18 December 2009 »
In FreeNAS, tips »
Using FreeNAS 0.7 Khasadar (revision 4919) with CIFS/SMB Authentication Anonymous, I changed the Guest account for but it is not actually applying it to the configuration, it is a trivial bug and here’s a small dirty workaround.
1 – Create an excutable file containing this:
#!/bin/sh
# find and replace 'ftp' by 'transmission'
sed -i. 's/ftp/transmission/g' /etc/rc.d/samba
# restart samba to use the new config
/etc/rc.d/samba restart
2 – Go in System|Advanced|Command scripts and add an entry for your script in “PostInit”
For those who are interested, I am doing this because my network is not accessible from the outside and I didn’t want to bother with user privileges. I am using my FreeNAS box to share media files downloaded using Transmission and I wanted everybody to be able to access/modify/delete them, so I change the guest account to be “transmission” :)
Continue reading...
Tags: tips
gimpe »
07 November 2009 »
In Uncategorized »
I wrote this script because I never found a Transmission remote GUI that permits to start downloading a torrent in a specific directory.
Continue reading...
gimpe »
13 October 2009 »
In FreeNAS »
I’m writing a note to myself as I don’t have a UPS yet :)
The Port value can be set to “auto” as metionned here: http://jonathanbrown.me/my-freenas-project-part-5-the-config
Found another rerefence that confirms this:
- For newhidups: “auto” or whatever value as newhidups automagically probe for USB UPS.
SOURCE: http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt
Continue reading...
Tags: FreeNAS
gimpe »
20 September 2009 »
In FreeNAS, htpc, hype, linux, network »
Given that I spent time and money on my FeeNAS node, I want to maximize its usage, so when a friend told me that I can use PXE and NFS to boot a diskless computer from the network, I thought it was the perfect opportunity to try somehing new and activate some more services under FreeNAS!
Continue reading...
Tags: FreeNAS, htpc, linux, network