Thursday, September 6, 2012

Raspberry Pi - Setup Windows NAS storage using SAMBA server

Easy steps to Setup Windows NAS storage using SAMBA server on  Raspberry Pi
  1. Connect pi using putty or other similar tool 
  2. Now lets make sure system is up to date using 
    • sudo apt-get update
  3. Connect your external HDD to Raspberry Pi. Execute following command and look for 
    • pi@raspbmc:~$ sudo fdisk -l
    • Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
    • 4 heads, 16 sectors/track, 121008 cylinders, total 7744512 sectors
    • ...........................................................
    • ...........................................................
    • Sector size (logical/physical): 512 bytes / 512 bytes
    • I/O size (minimum/optimal): 512 bytes / 512 bytes
    • Disk identifier: 0x00186eb3

    •    Device Boot      Start         End      Blocks   Id  System
    • /dev/sda1              63  1953520064   976760001    c  W95 FAT32 (LBA)
  4. Let's create following directory 
    • sudo mkdir /mnt/hdd_tb
  5. Edit following file and add last line
    • sudo vi /etc/fstab
    • proc            /proc           proc    defaults         0       0
    • devpts          /dev/pts        devpts  defaults        0       0
    • /dev/mmcblk0p1  /boot           vfat    defaults         0       0
    • /dev/mmcblk0p2  none            swap    sw               0       0
    • /dev/mmcblk0p3  /               ext4    defaults,noatime 0       0
    • /dev/sda1       /mnt/hdd_tb     vfat    defaults         0       0
  6. Mount the HDD
    • sudo mount -a
  7. List the hdd contents
    • ls /mnt/hdd_tb
  8. Now install SAMBA
    • sudo apt-get install samba
    • sudo apt-get install samba-common-bin
  9. Edit smb.conf based on your need using following command. There are many tutorials available online.
    •  sudo vi /etc/samba/smb.conf
    • [usb]
    • comment = USB Share
    • path = /mnt/hdd_tb
    • read only = No
    • create mask = 0777
    • directory mask = 0777
    • guest only = Yesguest ok = Yes
  10. Start SAMBA service
    • sudo service samba restart
  11. Access the files using 
    • \\<IP ADDREES>\usb

Sunday, July 1, 2012

XBMC as DLNA/UPnP Digital Media renderer (DMR)

XBMC can be easily configured as DLNA/UPnP  Digital Media renderer (DMR).

Digital Media Renderer (DMR): These devices play content received from a digital media controller (DMC), which will find content from a digital media server (DMS).


Examples :
DMR : PC / laptop with XBMC running
DMC : Your smart phone - Android and iphone has many applications so it can be used as DMC
DMS : NAS or PC/Laptop with DLNA server running. There are many free DLNA servers are available like serviio, PS3 media server, Twonly, etc

http://www.youtube.com/watch?v=Q3Fl1JO3Elg

Configuration: 
Start XBMC --> Settings --> Network --> Allow Control of XBMC via UPnP
That's it - you're done. Open DMC app on your smart phone and enjoy....

  

Sunday, June 24, 2012

Raspberry Pi alternatives


Raspberry Pi  has created endless focus and possibilities for small, inexpensive computers, Fortunately, it's not alone in the marketplace. Here are few alternatives that offer power as well as comfort to your wallet.





BeagleBoard

It is from Texas Instruments and provides a highly flexible development platform. However, at $150 and lot more expensive than the $35 Raspberry Pi B.

VIA APC

Taiwanese VIA Technologies announced it will begin selling its Android-based APC system in July 2012 at price around $49, However, extra cash buys you more USB slots, RAM and many other goodies. You can register on their website to get latest information on release date and price.

Intel NUC

Although it's also why above $35 Raspberry Pi's price range at $100, Intel's Next Unit of Computing packs on some beefy hardware with ability to mighty Windows. It is not yet available and expected release in the latter half of 2012.

MK802

At price tag of $74, the MK802 is Android-based mini system. It is very compact and looks amazing. Unfortunately like the Raspberry Pi, the MK802 is currently out of stock :(

Thursday, May 17, 2012

Windows DLNA player / renderer / client

The Digital Living Network Alliance (DLNA) is a non-profit organization established by Sony in mid 2003. It is responsible for defining interoperability guidelines to enable sharing of digital media between consumer devices such as computers, printers, cameras, cell phones, and other multimedia devices.

There are many DLNA servers available in market both in paid and freeware segments. However, there are very few DLNA player/renderer/client (DMR) which can be remotely managed by your smart phone. So if your PC/laptop is hooked up with speakers then from your mobile phone (as remote) you can play any music/video/photos.
  1. XBMCHow to configure & YouTube
  2. Twonky Media Manager : Video & Audio
  3. Foobar2000 supports via the Foo_UPnP plugin: only Audio - Freeware
  4. Samsung All Share :  Video & Audio - Freeware


Monday, April 9, 2012

Ubuntu share internet via ethernet

Recently I tried setting up the laptop computer in my home to share its wireless Internet connection via Ethernet to my Playstation 3.
Let me explain : I'm using wifi on my laptop and connected to VPN to login into specific region. I also want my Playstation 3 to connect to VPN to access few region specific content.

You may have your old computer which doesn't support wifi and you want to hook up into your home network.

Step 1: Open and Edit Network Connections



Step 2: Go to IPv4 Settings - Method : Shared to other computers




Step 2: Go to IPv6 Settings - Method : Ignore



That's it : Now connect both the devices using ethernet cable and you're done!

Screenshot or Region Capture in Ubuntu (Snagit)

Snagit is really nice software for windows which lets you capture sections of a screen, entire webpages or your full screen view. If you’re running Ubuntu then unfortunately Snagit is not available for you. However, there is an alternative of Snagit called "GIMP"



Open Gimp and go to File>Aquire>Screenshot


From this screen you can take a screenshot, capture a region or capture a selected window. Moreover, what is very helpful  is the ability to set a delay in seconds.



Sunday, March 25, 2012

How to block website in Windows/Linux (Ubuntu)

Windows



To access the hosts file in Windows you can use the following command in the Run Line to open notepad and the file.
notepad c:\windows\system32\drivers\etc\hosts



Add the line as shown in the below image. You may add one line for each website you'd like to block.  


That's it! - Very simple :) 




Linux (Ubuntu)
In Ubuntu and most Linux distributions - one can edit the hosts file directly in the terminal. Host file is in the root of the drive. In order to edit the file you will need to open it as root which is why we use sudo here. You can use any editor to edit this file.
Add the line as shown in the below image. You may add one line for each website you'd like to block.  

That's it! - Very simple :) 



Thursday, March 15, 2012

WIFI Hotspot in Ubuntu 11.10


WIFI hotspot enables your device to acts like an access point where other devices with wirless connectivity can join the particular network and enjoying the surfing.
Ubuntu 11.10 has easy way to turn your computer into WIFI hotspot.

Let's get started.

Go to the network setting>> Wireless. You will see the following screen in your Computer.
Click on Use as Hotspot. That's it. Default SSID name “UBUNTU”.


You can change it go to configure as per your need.

To create your own connection name change your feild in
1. To Enable security in your Hotspot click on
2 as show in above diagram. To change your SSID change your feild in
3. To cloned your MAC address of your device give Mac address in feild

Don't forget to configure wireless security by selecting different security mode and  password.



Sunday, February 26, 2012

PS3 : Jailbreak 4.11


Jailbreak PS3 4.11 is a file manager that will lets you  to play homebrew PS3 games and as well for game backup into the system hard drive without the need of having the CD/DVD. Jailbreak ps3 4.11 will bypass the security check using a exploit which occurs with USB devices that allows the execution of certain codes breaking the barrier.

Pros of Jailbreaking 
  1. Backup your Games
  2. Save a lot of Money
  3. Run Homebrew Apps and Games
Cons of Jailbreaking 
  1. Void your Warranty
  2. No Access Play Station Network (PSN)
  3. No Online Multiplayer Access
  4. Forced to stay on Older Firmware for Unknown Period or forever