Recommended by Nordic-vikings.net

Setting up a linux based backup server!

linuxbackup

You might remember me having a bit of a data loss here last year, in the aftermath of this i set up a dedicated backup server, this is in general a computer that holds backups of my files just in case i have a disk crash or something else that deletes my files. I choose Windows Server 08 for operating system since I was familiar with this and I wanted to try the os out on a different computer that our main server before switching, and so I did i set it up with the OS on one disk and two other disks in raid 5 and that worked nicely but after trying out Windows server for a while i decided to upgrade our main server to this and thus eliminating the need to have it on my backup server, don’t get me wrong it worked like a charm ther too but I’we always wanted to learn Linux but never had the time or opportunity to run in on a standalone computer, I’we always been stuck having it on a virtual computer or using my Raspberry PI but that never suited me really and the PI can’t run Ubuntu which is the distro I’d like to learn.

 

The idea comes to life. I decided to make a copy of my backup on my main computer and then wipe clean all disks and give Ubuntu a go, and so I did.

I installed Ubuntu Desktop 13.04 just because i would like the opportunity to connect a monitor, keyboard and mouse and use a GUI if I need to, this is in general a headless server, meaning that it’s just the box and no monitor is connected as it sits behind my couch  it would really make the misses cross if there was a monitor poking out behind it.

ubuntu1304splash

I did some research on setting up raid in Ubuntu and found this article on it I followed the instructions to the letter and almost got it working but the RAID failed to mount during boot/start-up of the computer and it turned out that I had used the space button to make, well space between the statements in the /etc/fstab file and you’re supposed to use Tab, so after this was fixed and it booted properly.
I wanted to get a daily status update from my backup server on the condition of the RAID, I did not have this in Windows so that’s one plus for Linux. I followed this instructions on getting that set up, note that once again either something got changed in an update or the author forgot to put in that you have to specify an email address by adding MAILADDR themail@youwantto.use in the /etc/mdadm.conf file.

It had taken me a fair bit of Googling and reading but at this point i had a Ubuntu based backup server with a RAID level 10 running with email status updates running. Since I’ve got Windows 8 on my main computer I would have to set up a Samba share on the Linux box, Samba share is the platform which all windows machines share files on. I installed samba and set it up according to these instructions but for some reason I was not able to get access to my shares on the Windows 8 machine at first I came across some others having what seemed like the same problem but they were having issues with older versions of samba and mine was the latest so that could not be the case for me, I had set up samba to require a username and password of an existing user when trying to get access to the files and got the prompt for it but no mater what i entered i got rejected claiming wrong password or username. After some fiddling around with different solutions I figured that I had to set the security option in /etc/samba/smb.conf file to user and enable password sync. Then I needed to add the following to the properties of the share in the same file:
force user = username
read only = no
create mask = 0777
folder mask =0777
guest ok = no

and finally I had to add the user to the Samba user list with the ‘smbpasswd -a username’ command, after that all was working as it should.

Synctoy

Now for the process of actually doing the backup. Earlier I have used and liked the Comodo Backup program but I stumbled upon a Microsoft app that does the same thing in general, It’s called SyncToy and is made by Microsoft and is compatible with XP, Vista, Windows 7 and 8 tho I have only tested it on Windows 8 Pro. It basically keeps pairs of folders synced in different ways and to make this work with my backup solution i Mapped the shared folder on my Linux box to a virtual drive in windows.

mapnetwork

Sounds like nerd talk right? Well that is the technical term for it in plain English it translates to I fooled my windows into thinking the folder on my backup server was a hard disk in the Windows machine, this is done by right clicking on the ‘My Computer’ icon and selecting ‘Map network drive’ up pops a window asking for the location of the network resource you want to map, this can be set in two ways, either you enter the IP address of the Linux machine or you enter it’s machine name. Using the machine name is usually the best as this does not change in case of a reboot were as the IP address can change if you haven’t set it to static, if you are following this tutorial you have not set it to static. Back to the mapping, in the address box enter ‘\\machine-name\share-name’ this depends on what you have set up during install of Linux and what you have called the share you set up earlier.Check the ‘Connect using different credentials’ box and enter the Username and Password when it prompts you for it, remember to check  remember me box.

When the network drive has been mounted all you have to do is set up a folder pair for each folder you want it to take backup of with the source folder to the left and the destination folder on the right. Since we are using this program to make a backup we don’t want the program to delete files on both ends if you mess up and delete a file or something on your main computer therefore we choose Contribute in the ‘What do you want to do?’ page and repeat for each folder you want and there you go.

All done

 

If you have a smart phone and want to be able to check up on the Linux server there is an app called Pc Monitor that will do that for you! to install it on your linux server you first have to get an account, follow these steps to make one. Then install Java which is done by running the following command in the terminal sudo apt-get install and then the versions listed here under open JDK, as these are subject to change as newer versions are developed I will leave the command for you to fill in. When Java is done installing do the following commands(everything between two ” ” you have to change to fit your computer):

cd /home/”username”

sudo wget http://www.mobilepcmonitor.com/download/pcmonitor.tar.gz

sudo -xvf pcmonitor.tar.gz

cd pcmonitor

sudo ./install

Then follow the setup and enter what you fell like changeing and then your Pc monitor Username and Password at the end and it should pop up in the app!

What happened to Qwiki.com??

 

Qwiki-search-engines-for-information

For those of you who remember qwiki it was; amazing, beautiful, creative, futuristic, awesome, and just almost perfect!

But what happened?
Suddenly they got locked up and removed search ability on their website. All the amazing “knowledge based” articles ALOT of people increased their knowledge on just disappeared, and they turned all blog’ish and ONLY for iphone.

I will never forget the demonstration they gave at TechCrunch in 2010. What was burned into my mind was that little clip they had from the movie “Wall-E” where the captain says “Define Earth” and get’s highly excited. That was my first reaction as well, and i believe im not alone.
That new and fun creative way of getting information and learn new things was so much easier with qwiki because it was in visuals and had an amazing voice engine. Many nights have gone by sitting in front of qwiki getting even more amazed article after article.

 

qwiki-iphone
We spoke to some of the iphone users out there who we know used to use the qwiki site the old way. They had all tried the new app, but got very dissapointed of the way they now operates in. They all reported back to us that they missed the old knowledge articles. The beautiful visual blogs that they could create was a great feature, but was not the reason they got the application. And why only for iphone? Will this be avalible on Android and windows phone?

 

So for those of you who don’t know what we’re talking about, take a look at this awesome presentation.

So, please Doug and Louis, if you read this;
Please let us have that amazing, and easy way of learning back again. It is deeply missed by ALOT of people.

Mad Catz C.Y.B.O.R.G V5 gaming keyboard

Cyborg V5

I play a lot of games, mostly first person shooter (FPS) but also car/driving games and it has bugged me that sometimes when I have e.g. Been crouched sneaking behind a barrel holding down more than one key and my keyboard messes up my commands and the crouch command is missed and my character stands up just in time to receive a shot in the head. I had to get me a proper gaming keyboard and here’s what i chose, read on to see if it’s something for you.

Read the rest of this entry »

Logitech Harmony Touch review

If you, like me have a tv/home cinema setup that consist of more than one device than you probably have the same problem I used to have too many remotes and to much hazel when changing between different modes, well those days are over.
Read the rest of this entry »

Ingress, the game

We have been testing the new alternate reality game (ARG) Ingress, and it is really addictive

The game is still under development and is in beta testing at the moment so we are unsure about how much we are allowed to say about it but the game in itself is really nice, and makes you think twice if you see anyone next to a monument with a Android phone. You get sort of a matrix feeling when you run around town hacking portals and linking them with others… We recently hosted a event on Google + where anyone in the Stavanger region in the resistance faction of Ingress could join and meet up for a attack on the enlightenment factions portals in the Stavanger area, so it is a great way to meet new people with a common interest…

Samsung Galaxy Tab 2 10.1 review

image

I just recently bought this tablet for my girlfriend and after using it myself for a while I really have come to like it. The tab 2 is a small upgrade from the tab 1 but it has all the features my girlfriend needs.

Read the rest of this entry »

Create your own Media Center from old computer parts

Have you ever had a dream about having a fancy Media Center in your living room attached to the big 50″ TV, but was really not sure on where to get one? Well do not fear, as this easy step-by-step tutorial shows you how easy it is to create one from scratch! This fancy Center also has a full featured Spotify module built into it as well as it’s being remote controlled using only an Android smart phone.

The box itself..

This is probably the second hardest thing to set up. What we will be needing first is the main building blocks of the machine. For this part you can use old computer parts if you like. This is NOT going to be a gaming PC so it doesn’t need to be all powerful. If you don’t have any spare parts, it means that we need to go out and do a bit of shopping.

“It’s cheaper to build one, than buy one!”

 

What we need:

  • Motherboard (with integrated audio and video output)
  • Power Supply (PSU)
  • Processor (CPU)
  • Memory (RAM)
  • Hard drive
  • Case (to put everything in)
  • Optical Drive like DVD rom or Blu-ray rom (Optional)
  • Cooling paste (optional)
  • Bluetooth radio or Remote Control antenna (USB)

If you do not have sound and video integrated into the motherboard you will be needing:

  • Sound card
  • Graphic card (GPU card)

After digging through our spare parts we only had a Power supply and a hard drive, so we had to do a little bit of shopping. To minimize the volume inside the box we got a motherboard with integrated sound card and video card. By doing this, we increase the amount of air flow inside the box and prevent the hardware from overheating.

The motherboard’s sound card had a built in S/PDIF module which is most known as an optical audio connector to be able to transfer high definition/5.1/7.1 audio to your home theater. This is an easy way to turn on surround sound instead of using 6 or 8 single cables that you need to connect to an external box before entering the home theater system. Also the built-in video card had a HDMI connector which makes it easy to connect the media center to your fancy big TV without using an adapter plug. If you do not have a home theater sound system, the HDMI cable is also built to transfer sound to your TV.

The last thing that is worth mentioning is the box itself. When you think about what computer parts are stored in we often think about a gray ugly computer box, and we DO NOT want that standing in our lovely living room. A neat trick is to go out and buy a box called HTPC. These boxes are available in various discrete shapes and will be a life saver when it comes to avoiding conflicts with the rest of your family. Also make sure that the box you get has good ventilation.

“The less heat you get, the quieter it gets!”

 

Let’s Build..!!

Make sure that you are using an anti-static wrist band to avoid damage to the hardware.

Now, the first thing we need to do is to clear out everything that may be in the way. The HTPC box usually has a metal bar that goes from one end to the other at the top of the box. This could be an idea to remove before we start, as this will only be in the way. The reason this is mounted in the box is because it support the structure, and prevent it from bending/twisting. Once this is removed we place the motherboard into it. Make sure that you use safety screws if there isn’t installed any rubber points on the bottom of the box to prevent the metal of the hardware to get in contact with the metal of the box.

The next thing we install is the processor (CPU). This goes into the socket of the motherboard. This computer chip will only fit one way, so DO NOT use force if t won’t fall into place right away. Remember to lock the socket with the socket “key” handle.

Now we install the hard drive. If you have more than one hard drive, we strongly suggests that there is room for airflow between the drives to prevent overheating. Make sure that the hard drive is mounted properly to minimize the vibrations on the disk. This may increase the life time of it! This also applies to the optical drive if you choose to install one of these as well.. By mounting it properly you may reduce the noise from it when it spins, and we sure want to make it as quiet as possible.

After installing the hard drive(s) and optical drive (if we choose to have one of these), we install the memory chips (RAM). These will also fit one way only, so avoid using the force. You may need to push a bit to slide them into place, but just remember to be careful.

Now comes the tiny stuff. What we do now is to connect the front panel to the motherboard. These are the small connectors that is built into the box and leads to the back of the front panel buttons. Make sure to consult with the hardware manual as these tends to be different from each motherboard manufacturer. Also we want to make sure that the connectors are inserted in the correct way, as a reverted connection may cause problems starting up or even shutting down the machine.

After completing the front panel connectors we install the power supply. Make sure that you mount it properly to avoid vibrations from the spinning fan inside. Connect  the main power cable to the mother board (it’s the biggest of them all). then connect any additional power cables. There should be at least 2 more of them, but it depends on the brand of the motherboard. After doing this, you provide power to the hard drive and optical drive.

Now it’s time to attach the CPU cooler. The process may vary depending on the brand you are using. This should be documented in the user manual. Now everything should be in place, and we can close the box.

 

Software Systems

Now it’s time to choose which operating system we want. In this guide we tried out both Windows 7 and Ubuntu Linux 11.10. Both have their pros and cons, let’s have a look..

Windows 7

Pros:

  • Very easy to use to set up and configure.
  • Usually has all the drivers needed to run the hardware. (In our case, we manage to get the surround sound 5.1 to work)
  • Very few things to configure.

Cons:

  • Slow startup.
  • Use a bit of resources.
  • Not open source ware, and cost a lot of money as we do not recommend the “Starter edition”.

 

Ubuntu Linux 11.xx

Pros:

  • FREE!! As it is an open source ware.
  • Very fast startup.
  • The ability to set the Media Center as a stand alone session without loading the desktop. (Very useful as this reduce loading time and startup time)

Cons:

  • Could be hard to configure as some things needs to be configured through the terminal. (Thou it looks really cool setting it up)
  • Lack of device drivers. (These could in some cases be hard to track down, like the support for optical audio connection S-PDIF which will provide us with 5.1 surround sound)
  • Lack of Bluetooth remote control software.

 

 

Windows 7

Finally, we decided to go for Windows 7. We will post the Ubuntu version later i think..

Since the system is clean and with no system on it, we should now install the operating system. Usually this would be installed using a DVD disc using the DVD-ROM. Since we here at NV.net didn’t mount one, we had to look for other options to install the OS. A quicker way is if you have the OS on a USB stick. The OS doesn’t usually come out on sticks, but there is an easy way to create one if you have the Windows files on a disc.

“It’s not illegal if you do this for personal purpose. As long as you have a legal product key you have nothing to worry about!”

If you need to install using the USB and don’t have the USB OS stick, you should head use another computer and download the ImageWriter application “IMGburn“. This is a Freeware application and free to use. Once installed, you should insert the Windows 7 disc and start up IMGburn. What we want to do now is to create a image file of the Windows DVD, and make is as an ISO file. Save it someplace nice that you will be able to remember (NOT on the desktop). Once this is done we are ready to create the USB OS stick. To do this we need the application “Windows 7 USB/DVD Download Tool”. This is an official application by Microsoft and will make the creation very easy. Install it, and run it! Now select the ISO image file we just created, and click next to get to “step 2″. Agree the term and follow the instructions. Once it’s done, you will have a fully working booting USB stick with Windows 7 on it.

Bring the USB stick over to the media center and plug it into one of the USB connectors. Here’s a tip!:

You may need to hit the selected BIOS button during startup to enter the computers BIOS. Go to BOOT section and select the USB as first boot device. If you plugged it in before turning it on it should list it. Select it and save the new BIOS setting.

Here’s another trick that took us a while to figure out. If it won’t boot from the USB, it may be because the motherboard only allow one of the USB ports to be bootable. Try to change the USB stick to another connection port to find the bootable port.

When this is found remember it for later use. Now install the OS as normal and install all the updates.. We recommend that during the installation splits the HDD in two, leaving about 100 GB to the OS files, and the rest to the media resource.

When the OS is ready, make sure that the graphic card driver has been installed. Now we need to make sure that the media center will be able to play all kinds of media files. If you have a favorite codec pack, go get it and install it. If not we recommend the “K-Lite Mega Codec Pack” (Standard or FULL).

The next step is to set up the media center to store any media file that is being pushed to it. There is three ways of doing this.

  1. Set up a lite ftp server to manage the files on the system.
  2. Set up shared drives/folders which is accessed from main household computer.
  3. Simply just drop the whole thing and instead map up the main computer as a network drive so that you stream media directly from this one.

We prefer option number one. Option one and two will make it possible to play media without relying on other computers in the house. Imagine the traffic going through the router when one family member is using skype, another member is downloading full speed on P2P, and the third is playing online on PS3/XBOX, and you trying to stream play a 1080p video on 15 GB over the network. Who will suffer the most?

Well.. YOU! (to make it even worse, the computer you stream from is at the moment being used to run Battle Field 3)

Feel free to use any FTP server application. We tried using “Golden FTP Server“, as this comes as a free version and is quite lite. We closed down the open for all option and set up one logon account as this is the only account you are allowed to create in the free version. Then we mapped up the area that involves in the media resource (in our case Drive D:\resources\). A tip here is to check the IP address the media center has received and set it as static. This way you won’t have the router changing the IP address each time you reboot, forcing you to track it down to update your media library. Make sure that you add a shortcut to the startup folder on the start menu to have it activated all the time.

 

Set up a remote control

If you choose to be using an IR receiver/remote control antenna, this section should be fairly easy as you only need to plug in the USB.

Should you choose to use your Android smart phone, we can recommend the application Unified remote. What you need to do is to go to the market and download it. Then click here to download the receiver server. Set it up on the media center and make sure it auto starts with windows. Then set it up on your Android to be able to communicate with the media center.

 

It’s Time to choose a Media Center

There is several media center systems available for us to use. Especially if you run Windows 7. We have tried most of them and narrowed it down to two. Here is the list of the ones we tested (We only tested the free ones):

The ones we found most useful for windows was MediaPortal, but XBMC could also be an option for this OS. For Ubuntu we found XBMC most useful.

Boxee was good too, but found this one a bit messy once you started it. One thing that Boxee had that the others didn’t have was the ability to enjoy TV series on demand. But once you start up the series database, it analyses which country your IP address comes from, and you will be stuck with only weird unknown TV series. After suspecting that the IP address had to be from either US or Canada, we tried setting up a proxy that gave us a US IP address. This worked like a charm!. YAY you may think, but unfortunately no. Almost 99% of these free proxy’s are to slow to be able to stream series on demand, and you will be left with alot of buffering pauses during the show. We know there are some paid proxy services out there to provide us with the speed we need, but we do not see the point in this right now.

In this tutorial, we choose to use MediaPortal as this proved us with the best experience.

We went to their homepage and downloaded the software. After the installation is done, you need to configure the software. This is done by clicking on the start menu, and then find it in the programs section. In the MediaPortal folder you will see the actual software and an entry called MediaPortal Configuration. Start this one and set it up. It’s important that you set up the location of the music, pictures, and video files. What you also should do after the import of files is to run the video scan to identify all the video files. Make sure that you use the English “IMDB.com” as the german version is set as startup. Be adviced that the scanner doesn’t always match the correct movie, but it will be at least 90% accurate. (If you have those files titled correctly without all those “_” characters.)

Now is also the time to build in Spotify if this is a feature you want. Click here to download the build. Make sure you save the configuration and quit the configure application. Now install the file you just downloaded. After the installation, you should open up the configuration again and set up your Spotify account that should be used with the Media Center. Go to the plug-in section and look for “Rockstar”. click configure and find the box where it says username and password.

 

Now you should be all set up. To make it start up automatically, just put the Media Portal shortcut in the startup folder of the start menu. This should make the application start on it’s own when the computer starts.

We have not checked if it’s possible to build in Netflix, but we will assume that this is possible as Netflix uses the Silverlight feature. This is one of the reasons why it won’t work on Linux. (YET)

Enjoy!

© 2012 Nordic Vikings

Raspberry PI, what a treat!

When we first heard of this little credit card size computer our jaws dropped and we were ready to throw our money into the hands of anyone selling it, of cause we were too late so the first batch slipped by us and we got stuck in the queue that formed as the developers ran into delivery difficulties and CE marking problems but finally it has arrived and what a treat it is

 

Read the rest of this entry »

Android 4.1 on Samsung Galaxy S2

The brilliant minds over at the XDA forum have ported the new Android 4.1 Jelly Bean to the Samsung Galaxy S2 through the CyanogenMod CM10

Read the rest of this entry »

Building

We’re currently in process of building a new water cooling system, want to see the progress? Attend our event on Google plus called “build new Watercooling” and see the progress live…. If there is enough interest in it we will do a live hangout during building as well, if you’re interested let us know on here, on our Facebook wall or our Google + wall!

Reviewers' Choice. Kitchen Converter for Android