Changing Ubuntu’s password

It’s important to choose a safe and secure password for any machine, but sometimes it’s not so easy to remember the password for a long time, which sometimes tend to remove the OS and reinstall. Why to make the process such difficult when you can change the password without making much moderation.

For a fresh start – reboot the machine.

Hold shift key to get into GRUB, for a dual booted version they automatically get into GRUB.

Select your version of Ubuntu image and press E to edit the image.

Find the line starting with Linux and at the end of the line type this command ->

rw init=/bin/bash 

Then press F10 or ctrl + x to save the changes and boot OS, if it comes as a blank page with a blinking underscore then do redo the above procedures carefully.

Hope it worked till now!

Now you get into root mode and type

$passwd <your username>

System will prompt to enter your new password. Enter a valid and easy_to_remember password and save the change.

Reboot the system, and congratulations you are back to Ubuntu 🙂


Installing LAMP server on ubuntu

LAMP is a open source web server to set up websites. It is used to get access to website locally. It include Linux, Apache, Mysql and PHP/Python/Perl.

How to setup a lamp server ?

Installing LAMP is not a difficult task, you just need to copy some codes to your terminal and here it is.

Installing LAMP on ubuntu

Installing Apache

$ sudo apt-get install apache2

To check whether apache is installed or not, you can type http://localhost/ on your address bar and you will be redirected to an apache page.

Installing MySQL

$ sudo apt-get install mysql-server

Installing PHP

$ sudo apt-get install php5 libapache2-mod-php5

Restarting apache

$ sudo /etc/init.d/apache2 restart

Try again to check your localhost

Also you can check about php

$ php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'


If you have successfully completed all of these, then congratulations you have installed LAMP in your pc.




” Always hope for the best and work for the worst “

WiFi issue for rtl8723be Drivers

*** This method is only applicable to rtl8723be drivers and for Ubuntu users ***

Greeting Folks

Recently I was having an issue with my laptop which supports rtl8723be driver. It was not getting connected to WiFi network. Then I searched a lot and got a solution for it, although it is not permanent but still it will work for two lines of code 🙂

For continuing this process you must do the following things :

First of all go to bios setup and then follow –

System configuration -> Boot option -> Secure boot -> Disable

Then you need to install rtlwifi-linux-firmware, open your terminal and follow these codes

$ sudo add-apt-repository ppa:hanipouspilot/rtlwifi
$ sudo apt-get update
$ sudo apt-get install rtlwifi-new-dkms linux-firmware

*set your country code( like for India – IN )

$ sudo iw reg set 'your country code'

Do restart your computer once the country code is set

$ sudo iw reg set IN

Now go to the given link and download or clone the zip file from Github. Also extract that file in your home terminal.

Follow these codes :

$ sudo apt-get install linux-headers-$(uname -r) gcc g++ build-essential dkms git 
 (try to install one by one)
$ sudo reboot
$ cd rtlwifi_new-rock.new_btcoex
$ make
$ sudo make install
$ sudo modprobe -rv rtl8723be

Now copy these following code in your terminal

$ sudo modprobe -v rtl8723be ant_sel=2
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be

Now your system will be okay with WiFi.

To make it permanent follow these codes :

$ echo "options rtl8723be ant_sel=2 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf


Hope it worked 🙂

If any problem occurred then please do a comment.





Source :

” It’s all fun and games until you lose your WiFi signal “

Google Summer of Code Meet Up In Delhi (2016)

A GSoC meet up was held in Delhi @Codingblock, Pitampura. More than 400 students applied to attend this session but unfortunately only 100 were selected to attend it ( one of them was me 😛 ). Session started at 03:00 pm till 06:00 pm with lot of talks.

First talk was from Shiven Mian ( GSoC 2016, FOSSASIA ), he gave a brief explanation about GSoC program and also discussed about various organizations. Then he started showing about his GSoC project and described his proposal and ideas to implement. Though he was having only 6 months experience but still he is a contributor to FOSSASIA and his mentor was a co-founder of FOSSASIA : Mario Behling.

In between there was a video conference with Mario Behling, it was one of the best session among all and got some tips to contribute to open source as well as FOSSASIA. He interacted with all of us and asked about our interest to contribute and guided us accordingly.

Second talk  was from Arnav Gupta ( GSoC 2015 & 2016, FOSSASIA ), he explained about version control system , pull requests , GIT and many more. He shared all his experience in FOSSASIA and how he get into summer of code program.

Third talk was from Harshit Dwivedi ( GSoC 2016, FOSSASIA ), he too shared his experience and some tips to use gitter and other open chat sessions. He also showed his well did proposal ( personally it was one of the best proposal I have ever seen 🙂 ) and his contributions to FOSSASIA.

Fourth talk was about FOSSASIA’s new application developed by Manan Wason (GSoC 2015 & 2016, FOSSASIA ) and Harshit Dwivedi, there project was to build an app as an open event project. Some more talk sessions from Rakesh Verma, Aayush Arora, Aditya Vyas and Saptak Sengupta.

At last, there was an interactive session but unfortunately due to lack of time and long distance I couldn’t attend that. missed :'(.

Really it was a great session and good experience with these GSoCer fellows.





“Don’t just think of contributing , start contributing (</>)”

#dgplug Sessions ( based on linux )

Recently a linux users group from Durgapur is conducting a new program on IRC free chatnode #dgplug. Basically this program is for 3 months and there motto is to increase the number of linux developer and making them a pro in this line.

Every year this program starts in the month of June. This time it started on 19th June 2016.

First day it was an introduction session. Later on it started with introduction to terminal and bash. Then we got to know about oh-my-zsh also many other terminal codes. They also started  Python session from the basic level.

This session will improve our mail etiquette and it will also help us to get familiar with IRC chatnodes.  🙂

Till now there are nearly 100 users and everyday it increases, if anyone is interested then register in IRC and start following #dgplug freenode.




” Happy Coding  </> ; “

Switching to zsh from bash

Terminal ( a more common word ‘bash’ ) is very common in the world of linux.

What is zsh ?

The Z shell (zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. It improves the ability of bash i.e built in shell in linux; it makes a shell   more interactive using more than 140 themes.

Installing zsh –

Things to be required to before migrating

  1. Any linux disro
  2. Installed git ( $sudo apt-get install git )
  3. Installed curl or wget ( $sudo apt-get install curl or wget )
  4. Installed zsh latest version ( $sudo apt-get install zsh )

Installing oh my zsh –

via curl : $sh -c "$(curl -fsSL"
via wget : $sh -c "$(wget -O -)"

For manual installation –

First we need to clone the repository :
$git clone git:// ~/.oh-my-zsh
Creating a new zsh file for configuration :
$cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Finally for changing your shell :
$chsh -s /bin/zsh
For upgrading oh my zsh manually :
For executing bash while using zsh :
$exec bash
$exec zsh

Further we can configure it in ~/.zshrc file.




How to prepare for GSoC ?

GSoC ( Google Summer of Code ) is a platform for developers as well as coders to show their  skills and to give new ideas for different organizations to improve their data and presentation of data. For getting a GSoC we really need to work hard and spend more time in computers and its applications. There are some initial steps which you need to take care.

  • You need to know to chat in IRC Cloud. For this you need to register at IRC Cloud
  • Once you have registered in IRC then start using it. Ask good questions, be in touch to everyone and also go through IRC netiquettes
  • Now you have to learn to use GIT. Go through Git Introduction
  • Create your own blog. It will help you a lot to learn new things.
  • Be more active in technical stuffs.

Then next step in to choose an organization in GSoC page. It is your choice to choose an organization. Only choose that organization in which you find your interest.

Now register in that in that organization read their documentation and make yourself busy with that organization. Starting learning how to contribute to that organization also how to fix bugs. This will help you in your proposal selection time as mentor will be able to know you more and chances of getting selected is more.

After doing that go through the ideas list of that organization and select a good project of your choice. Contact your mentors about that project in IRC and check whether they have sufficient time to help you and be more friendly to your mentor and ask him good questions.

GSoC program is of 3 months so you need to work according to it. Firstly start writing proposal to about that project within the given time and make sure that the main content is there in your proposal and also give more ideas you have.

Once your proposal is selected start doing your project for next 2 month.

If you get a chance to win then you will be getting a price money of  $ 5500 and Google goodies and obviously a certificate. Anyway price not only the target participating in GSoC itself is also a great achievement.

The starting point of all achievement is desire.








Hope you got some idea about GSoC and other little stuffs. For more Please Subscribe.