Raspberry Pi Wireless Device Power Off

I use my device as headless as a home server and as a jump box. From past quite some time I was noticing that my Raspberry Pi was not accessible over the network after some period of in-activity. And since it is headless, the only way to get the network back was either take out the USB Wireless adapter or Reboot the Pi (through the power switch). I chose to take out the adapter and reseat it. However, this was causing my RPi to reboot also, may be because in the process the power connector was getting disturbed. I will revisit this point later.

In order to switch off the power saving for my wireless device I tried

$ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not permitted.

I am using NetGear USB wireless adapter and it load the kernel module 8192cu. Checking

$ cat /sys/module/8192cu/parameters/rtw_power_mgnt 
1

I realized that the power saving is still on (1 indicates minimum power saving). So I created a module config file as below to permanently set the power saving to 0 and rebooted the RPi.

$ sudo vi /etc/modprobe.d/8192cu.conf 
# Disable the power management during boot - Ajitabh
options 8192cu rtw_power_mgnt=0
$ sudo reboot

Checking again confirmed that the power management has been disabled.

$ cat /sys/module/8192cu/parameters/rtw_power_mgnt 
0
Posted in FLOSS, RaspberryPi | Tagged | Leave a comment

The Eagle Has Landed by Jack Higgins

The Eagle Has Landed Book CoverThe Eagle Has Landed is a second world war fiction written by Jack Higgins. The author has done some historical research and tried to present the story as if it has already happened. The plot is towards the end of second world war when Hitler was desperate for a victory and big blow to the allies. He wanted abduction or assassination of Winston Churchill.  The action was planned by Himmler and executed by the paratroopers of Germany. However, things started to go wrong and Churchill was saved.

I have read second world war fiction after a long long time and really liked it. The language and writing style are simple and there is no unnecessary descriptions anywhere. The story moves very fast and is able to continuously build the interest of the readers.

Posted in Book Reviews | Tagged , , | 1 Comment

Temple by Matthew Reilly

Book Cover of Temple by Matthew ReillyThis book is a real page turner, from the first page itself I was finding it difficult to resist finishing this in one go. I have read almost all of the books by Matthew Reilly and this is the best so far. Reilly has written quite a good number of books which can be classified under historical fiction. Temple is one such book where the author has taken a plot based on the fictions historical account of of Incan empire. He has beautifully fitted Nazis (or Neo Nazis) into the plot along with some of the elements causing civil unrest in the USA.

In this book along with Spanish, Incan, American and Germans, there is one special being also. This special being is an animal from the Cat family and is called Rapa.

This is an action packed book and a very fast paced. Happy Reading.

Posted in Book Reviews | Tagged , , | Leave a comment

Business Doctors by Sameer Kamat

business doctors book coverBusiness Doctors is a debut book by Sameer Kamat, who is the founder of a top MBA admissions consulting firm and also writes about book publishing in India.

The story line is uniquely based around using the principles of management in underworld. Yes you read it right, “underworld”.

For the folks in the underworld, the illegal work they do is business for them. And like every business there are ups and downs there also. While the business is on a downside it  may need help from business consultants, who are supposed to indicate the gaps in processes, people and revenue lines and potentially suggest remedial action items.

This book revolves around WFB a.k.a Woody Family Business which is running from three generations and is now seriously impacted by the recession and entry of new players (or so the boss thinks). He called in a consultant Schneider to help him revive his business. Schneider understands the business and presents the gaps in the same and also help Mr Woody hire appropriate talent by helping them in breaking the jail and thus spending 6 million dollars in the process. Angie, wife of Mr Woody played a very important part in all this action.

Overall the storyline was one of a kind, with a simple writing style and keeps the reader interested throughout. There was a place where I felt the sentence had a typo (don’t remember the page number though, but a grammar check in word processing software should pick that up). And I must say the climax was something which came as a little surprise to me. While the author has taken his time for various phases in the story line, the last 20 or so pages demanded a little bit more and the climax could have been wrapped up nicely. I was feeling that something was missing when the book came to a sudden end. The cover design and fonts could have been a little better and catchy.

Disclaimer – I received a review copy from the author and my review is not biased by that fact.

Posted in Book Reviews | Tagged , , | Leave a comment

The Treasure of Kafur

The Treasure of Kafur Book Cover The treasure of Kafur is the second published book of the author. However it was the first one written (as per the notes at the end of the book). This is an historical fiction book based on the time of Mughal Emperor Akbar. Malik Kafur looted treasures during his raids to the Southern India, while he was in the army of Alauddin Khilji. The plot in this book is based on the riches looted during Kafur’s raid and which was hidden somewhere.

The story revolves around a young man Datta who along with his grandmother Ambu is aware of the location of Kafur’s hidden treasure. His grandmother was abducted by a warlord of the South who wanted to conquer the Mughal empire. Datta successfully made alliance with Akbar and together they fought the battle.

The is a simple, yet gripping story. The language is very simple. The starting of the book was quite good. It slows down for couple of chapters after the initial one and then picks up the pace. There are no unnecessary details given anywhere, yet the reader does not feel (s)he is missing anything.

I enjoyed this book and finished it late last night. Looking forward to the next book from the author.

Disclaimer – I received a review copy from the author and my review is not biased by that fact.

Posted in Book Reviews | Tagged , , | Leave a comment