söndag 3 april 2011

DLNA server on FreeBSD 8.2 Using serviio

With a network ready TV(Samsung LE-B655) and a NAS based on FreeBSD 8.2 I really needed to get DLNA working.

After searching the "net" for DLNA servers I ended up with going to /usr/ports/net/serviio and made an "make install clean".

After alot of dependencies was installed I finally added the magic words to rc.conf:
serviio_enable="YES"
serviio_args="-Dserviio.remoteHost=yo.ur.local.ip" #change to your IP

and fired serviio up.

OK. It started?! Now what? Well, this is the ceavat of serviio. You need a GUI. So download Serviio from http://www.serviio.org/download and install it on a client (I choosed Ubuntu 10.10) and start serviio-console.sh.

That did not work for me. I needed to add this line
-Dserviio.remoteHost=your.ser.ver.IP"

at the end of the "JAVA_OPTS" line in the serviio-console.sh.
Then the console started and found my serviio server. From the console it is straight forward to add paths for your media.

I tested it with XBMC in ubuntu 10.10 and it worked great. I can browse the content served by the Serviio server. Going to test it tomorrow on the TV.

Happy surfing!

fredag 18 mars 2011

Upgrading from FreeBSD 8.1 to FreeBSD 8.2

Took the giant leap from 8.1 to 8.2 this evening.

Simple as 1,2,3,4.

# freebsd-update upgrade -r 8.2-RELEASE
During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.

# freebsd-update install
The system must be rebooted with the newly installed kernel before continuing.

# shutdown -r now
After rebooting, freebsd-update needs to be run again to install the new userland components:

# freebsd-update install
At this point, users of systems being upgraded from FreeBSD 7.4-RELEASE or earlier will be prompted by freebsd-update to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries.

After updating installed third-party applications (and again, only if freebsd-update printed a message indicating that this was necessary), run freebsd-update again so that it can delete the old (no longer used) system libraries:

# freebsd-update install
Finally, reboot into 8.2-RELEASE:

# shutdown -r now

Info taken directly from http://www.freebsd.org/releases/8.2R/announce.html

söndag 9 januari 2011

FreeBSD 8.X as wireless accesspoint with H55ITX-C-E

Got my Zotac H55ITX-C-E working as an AP using FreeBSD 8.

Follow http://www.freebsd.org/doc/handbook/network-wireless.html#NETWORK-WIRELESS-AP and you are done.

Only problem isthat the hostapd must encounter a false password if using WPA2 first and then a good password before it will work. So something is wrong in my config. But hey, it works.

tisdag 23 november 2010

fredag 19 november 2010

Wireless on Zotac H55ITX-C-E with FreeBSD

Got the wireless card to work at last.

Read on http://forums.freebsd.org/showpost.php?p=55365&postcount=60.
Get the source with git
* git clone git://repo.or.cz/ralink_drivers/rt2860_fbsd8.git
* Then "make" and kldload rt3860.ko

Done.
Of course you have to search for the wireless AP and so on. But this recognizes the card.

måndag 15 november 2010

How the h*ll do you get a 4096B sector disk to work with FreeBSD

To get a 4096B sector disk(WD 1TB 10EARS) to work with FreeBSD... follow
http://forums.freebsd.org/showpost.php?p=76148&postcount=38

Hint to ALL Western Digital Engineers. THINK before you code. Or at least provide info for us non windows people.

lördag 13 november 2010

Yeaa! A new NAS in the house...

So the delivery man came on Friday with my bits and pieces.
Build the NAS on Friday evening. Started by installing Ubuntu 10.10 64-bit. Everything worked except the wireless network card. But after a quick googlea and installation of Ubuntu 10.10 32-bit everything worked.

Next step is to install FreeBSD 8.1 and start the fun part.

Adding som pictures of the beast: