Tuesday, December 2, 2014

Installing rtl8723be driver for a working wifi

Hey All,

If you own one of those latest Laptops and especially from Lenovo, there are chances that you have Realtek Network controller....

To check the driver your laptop needs:

Issue the command: lspci and grep for Network
lspci | grep Network

If the above command output is:

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b723

Then follow the below procedure of installation:

1. First download the file given in the below link:

2. Extract the zip file

3. cd rtl8723be

4. Inside the folder issue these commands:

-> make
-> sudo make install
-> sudo modprobe rtl8723be

5. Your wifi access points should be now visible for login/auto internet.

Thanks and hope this helps you - pitch in your comments.

Ananth S Gouri

Monday, December 1, 2014

Creating a screencast in Linux

Hey All....

This post explains how to create video tutorials or a screencast in Debian based distributions.

You have too many softwares on the OSS world. But this procedure seems to be the apt way of creation.

You require these to be installed before quickly going through this post:

1. audacity
2. avidemux
3. kazam

Install 1, 2 and 3 using synaptic package manager or with the commands

1. sudo apt-get install audacity
2. sudo apt-get install avidemux
3. sudo apt-get install kazam

Steps to follow:

1. Start kazam from the run mode: 

Disable both Sound from microphone and Sound from speakers
Next capture the full screen, or the window or the area you want to cover.

Save the file in your videos - rename the file from the default kazam system.date timing nomenclature.

2. Simultaneously start audacity and speak along while the video recording / screen recording is taking place. Save your file as mp3.

[Connect your mic and make sure your mic settings are selected in the dropdown of the audacity. ]

How to create a clear Audio file?

You need a good mic first. No matter the quality - there seems to be many a times noises like hiss, buzz or background noises.

To remove these noise:

Copy the original mp3 - duplicate it to not to lose the original file.

Copy the noise part of your audio and select Effect -> Noise Removal tool: from the top pane of audacity and click the button - Get Noise Profile

Then again Ctrl + A to the whole audio clip and again select Effect -> Noise Removal -> and click ok.

Save the new file next to your video file.

3. Last part is to blend both into 1 single piece.

This is where avidemux comes into picture.

1. Open the video first as input
2. Next open the audio in mp3 format as output
3. Save the project as either avi / mpeg format

That's it ! Go test your video !

Let me know your thoughts about screencast creation!

Ananth S Gouri

Installing Knoppix on a VM

Hey All..

Download Knoppix by Klaus Knopper at knoppix.net for a price or for free at knoppix.org

Knoppix is a Live CD with loads of software in it.

Burn the iso image downloaded to a DVD/CD appropriately.

Install Virtualbox / VMWare player for your Linux / Windows distributions.

Virtualbox can be found for your OS at virtualbox.org

Now... What is it there to install an OS onto a VM(virtual machine)? What is the specialty of it or the big deal in it?

Installing OSes on a VM will allow you to discover more types of distributions.

We learn a lot of things in the process of installation.

Now coming back... Why knoppix?

1. For me its one of the fav distributions of all times.
2. Its huge - consists of so many softwares in it..
3. Its interesting.

Select type of OS as Linux 2.6

Use the DVD burnt earlier or the iso image would do (run as live cd option)

Create a VDI file of around 32 GB min.

Now run the Live CD and allow the OS to load.

Once the OS is fully loaded...

Dont use the Knoppix flash installer tool present on the Desktop but use the menu -> traverse to Knoppix and Install Knoppix to HD software.

Create the file system using gparted tool, format the VDI to reiserfs filesystem.

Allow for the installation to complete..

Hope this was interesting. !

let me know if you face any challenges in between - I shall demonstrate this with snapshots!

Thanks, Tc,
Ananth The Geek!

You want to write a diary on Linux???

Hey All.... Its been a while since I am blogging...

But here you go... crisp and clear post...

If you want to keep a dairy - but as a software on Linux...

Here it is..

1. Lifeograph
2. rednotebook

The best 2 softwares I found interesting enough to keep you writing for a while. !

Installation is via synaptic for Debian based distributions.

Ubuntu has a ppa for both.

Let me know if you find difficulties in installing them, I shall let you know the procedure next time.

Ananth The Geek

Tuesday, December 18, 2012

How to - execute shell scripts on your Android phone

Hi All,

This post explains how to run simple shell scripts on your android phone...

Assume we have a script that generates odd numbers b/w 1 to 10

Here is the script:

echo $i

while [ $i -lt 9 ]
       i=`echo $(($i+2))`
       echo $i

Type this content onto a shell (a text file with a .sh extension) using an App called TextEdit written by Paul Mach.

Save the file (test.sh) in your external sd card root folder.

Then you need a shell to run this script.

Download an app called Terminal Emulator from the Google Play store.

So we are set to run our script...


1. Open the emulator
2. Give the below commands:

     cd sdcard
     cd external_sd
     sh test.sh

3. If there are any errors, you can fix them using the TextEdit once more. Save it and re-run!!


1. This procedure will work for both rooted and not-rooted phones.
2. The script uses echo command instead of expr command.
3. Since the phone I used to run this script is not rooted - I had to save my files to the card.

Hope you enjoyed scripting on your Android,
Ananth G S

Friday, December 14, 2012

Start-up sound of Nimblex on Debian 5 using Sun Virtualbox

Hi All,

Was playing around my Lenny trying to tweak some of the things that I used to do in the past.....

I installed Nimblex on my old laptop which was on Debian 5. Of course I did not want to touch the god (Debian) - so only used Virtualbox (older version and not the new one from Oracle)

I fell in love with the start up sound of Nimblex. So I wanted to get the same sound to my Debian 6 on my other laptop.

So heres what I did....

1. First enable sound (Direct OSS or Direct ALSA) on Virtualbox
2. i.e take sound from host OS.
3. Open the terminal and run the command to copy the sound startup file.

Alt F2 (Run prompt)

Type gnome-terminal

Then as su-

cp /usr/share/sounds/startup/startup.ogg . 

I copied the startup file to the current directory (~ of Debian 5)


cp startup.ogg /share/ (I had shared a folder in Virtualbox)

Press Left Control key to go back to the host OS (Debian 5 from Nimblex)

cp /share/startup.ogg/ /media/sdb1/ (Copy the shared file to my pen drive)

Now finally on my other laptop (running Debian 6)

Issue the command -

cp /media/sdb1/startup.ogg /usr/share/sounds/

Last enable login sounds in Debian 6.

Hope you too can manipulate your startup-sound files in your distros from these simple commands...

Tc ,
Ananth S Gouri

fdisk - you can lose your disk

Hi All,

fdisk is a command line partition tool for *nix systems.

The fdisk tool is the default tool even till today in many UNIX and LINUX distributions. For ex: freebsd, netbsd, openbsd and Slackware till 12.0 versions.

Ok so what is the big deal using fdisk?

Though fdisk is a wonderful tool - but if the user does not know its options - the probability of losing all the data or even the full partitions of the disk is very high.

One such problem this post discusses is:

fdisk shows the size of all partitions by default in bytes.

If a user plans to install a new distro onto a partition - first thing after backup of data is to know its exact size.

But knowing the partition size in a hard disk when the tool shows in bytes is a pain....

Trying to understand 100 GB is how much of bytes could be simple but indeed calculation to that extent is not required. Also when the user want to resize that 100Gb into 40 GB 2 partitions - then doing everything wrt bytes is a task better not to attempt!!!


By pressing Z key in fdisk - fdisk toggles b/w different file sizes. So after bytes, the same partition is shown wrt KB, MB and GB when Z key is used (3 times)

Hope this helped :)

Thanks & enjoy,
Ananth S Gouri