Wednesday, June 26, 2013

How to Install rtl8192cu based Wifi on the Beaglebone Black (BBB)

How to Install  rtl8192cu based Wifi on the Beaglebone Black (BBB)

$opkg update
$opkg install kernel-dev
$opkg install kernel-headers

Now reboot Your System

Run the Following Commands
$ ln -s /usr/src/kernel /lib/modules/$(uname -r)/build
$ cd ~
$ git clone git://
$ cd rtl8192cu_beaglebone

Now Install the rtl8192cu  driver

$mv 8192cu.ko /lib/modules/$(uname -r)
$depmod -a
$cd /etc/modules-load.d
$echo "8192cu" > rtl8192cu-vendor.conf

Blacklist the old RealTek wifi drivers

$cd /etc/modprobe.d
$echo "install rtl8192cu /bin/false" >wifi_blacklist.conf
$echo "install rtl8192c_common /bin/false" >>wifi_blacklist.conf
$echo "install rtlwifi /bin/false" >>wifi_blacklist.conf

Edit /var/lib/connman/settings and enable WIFI




Encrypt your passphrase

$ wpa_passphrase YourSSID YourPassphrase

Edit /var/lib/connman/wifi.config and set it to the following


Plug in your WIFI adaptor and reboot

$shutdown -r 0

Sources :

Tuesday, June 18, 2013

How to Convert Document Formats in Ubuntu / Debian Linux : unoconv

unoconv converts between any document format that OpenOffice understands.

It supports  document formats like Open Document Format (.odt), MS Word (.doc), MS Office Open/MS OOXML (.xml),LaTeX 2e (.ltx), pdf, HTML, XHTML, RTF, Docbook (.xml), and more.

 It also supports image files JPG, BMP,  GIF, PNG and more
 unoconv supports Spreadsheet file formats also

unoconv is written in python. It needs a recent LibreOffice or OpenOffice with UNO bindings.

It Supports OpenOffice on Linux, Windows and MacOSX

How to install unoconv in ubuntu / debian Linux

$ sudo apt-get install unoconv


it is a command line utility. read man page for more details

    unoconv -f pdf your-document.odt
    unoconv -f doc your-document.odt
    unoconv -f xsl your-spreadsheet.csv
    unoconv -f jpg your-image.png

Monday, June 10, 2013

How to instal Python 2.6 in ubuntu 12.04 and Ubuntu 13.04

 According to "Python 2.6 is no longer available for install". Some legacy software that runs only on Python 2.6.

 You can use the following


How to install PPA:
sudo add-apt-repository ppa:fkrull/deadsnakes

Run Update:
sudo apt-get update

Install your flavor:
sudo apt-get install python2.6 python2.6-dev

Sunday, June 9, 2013

How to Install and Test Beaglebone black in Ubuntu / Debian Linux

The Use and working of Beaglebone Black is very simple. You need only BBB and a USB cable (Supplied with BBB). In Ubuntu / Debian Linux you just download this file Download here and install it.

How to install downloaded file.

Open a terminal and type the following

$ chmod 755
$ ./

This script will create a new file called 73-beaglebone.rules in /etc/udev/rules.d/

 Now  Plug your BBB to Ubuntu System through the USB Cable

Now BBB establish an adhoc Network Connection through USB

After a short time check the connectivity

The BBB will have an IP address, so using Chrome or Firefox (not Internet Explorer) connect to the URL (Chrome or chromium Browser)

Now You can see a web page served by BBB.
Top of the web page you can see the serial number of your board

Now Open a terminal and type

$ ssh root@

Now it will prompt a security warning  type 'yes' or click on 'yes'

Now it will ask for PASSWORD.  There is no password so press Enter

Saturday, June 8, 2013

Tools / Commands for monitoring Memory Usage in ubuntu / Debian

Tools / Commands for monitoring  Memory Usage in ubuntu / Debian

 free - Display amount of free and used memory in the system.

 watch -n 5 free -m   -  Real time memory usge
 vmstat - Report virtual memory statistics
 top - Show top processes and memory usage
 htop - interactive process/memory usage viewer
 cat /proc/meminfo Show memory size and usage.

 gnome-system-monitor — Graphical tool for viewing process/memory/network usage