Call me (USA Free)

Ping your blog, website, or RSS feed for Free
Showing posts with label Bash Script. Show all posts
Showing posts with label Bash Script. Show all posts

How to install non detecting USB modems in Ubuntu (e.g. iBall 3.5G Connect or Visiontek 82GH)

Leave a Comment

Step by step instructions (Tested on Ubuntu 14.04 64 bit)



We will add the screenshots soon.

Step : 1

Open command terminal (short key ctrl+alt+t) and enter below command.

lsusb


Note all the device showing in the result list

Step : 2

Plug your pain in the ass USB modem and run the above command again

lsusb


Compare the result with previous list and note the new USB device listed.

Bus 004 Device 002: ID 05c6:f000 Qualcom, Inc.



so in my case
vendor=0x05c6 product=0xf000


Step : 3

Open up Disk Utilities software and select your USB dongle storage device and click on the eject button.

Step : 4

Again run the command

lsusb


and not the change in product number

Bus 004 Device 002: ID 05c6:0016 Qualcom, Inc.


so,
vendor=0x05c6 product=0x0016


Step : 5

Now we need to add the serial USB driver for this device as a module in linux kernel, for the we have to add it to

/etc/modules


Open new command terminal and type below command

sudo nano /etc/modules




Step : 6

Paste the vendor ID and product ID you had noted from step 4 like below

usbserial vendor=0x05c6 product=0x0016


use shortcut ctrl+o to save the changes and ctrl+x to exit from nano command line text editor.

Step : 7

Download this script to downloads folder

http://dl.dropboxusercontent.com/u/21041454/sakis3g.gz


extract it.

Step : 8

Move the script sakis3g to /usr/bin using below command

sudo mv Downloads/sakis3g /usr/bin


Step : 9

Chenge current directory to /usr/bin using

cd /usr/bin/


Step : 10

Make this script as executable with below command;

sudo chmod a+x sakis3g


Step : 11

Run the script

sudo ./sakis3g


and follow the onscreen instructions.

input your network name as user name and password (note must, anything)

It should connect to your network now.

Recommended

Also you may need to add a dns server IP to resolve the website domains, for that just run this
command

sudo nano /etc/resolvconf/resolv.conf.d/head



and add this line to it

nameserver 8.8.8.8


Again use shortcut ctrl+o to save the changes and ctrl+x to exit from nano command line text editor.

then update the setup using below commands.

sudo resolvconf -u

sudo service network-manager restart


or reboot your computer (recommended)

Optional

Use network monitor software to view the status.

You  can also create a desktop shorcut for sakis3g using their setup wizard, then you can use it with clicking on the icon. But you need to install one more package named gksu for working using.

sudo apt-get install gksu

You can also install below software for know the balance data and receiving messages (optional)

http://in.archive.ubuntu.com/ubuntu/pool/universe/m/modem-manager-gui/modem-manager-gui_0.0.16-2_amd64.deb


Download it downloads folder and run

cd


sudo dpkg -i modem-manager-gui_0.0.16-2_amd64.deb



if you are using a different architect than 64bit then download the apropriate version of it.

Feel free to ask me any questions.

Cheers!




Read More

[Updated] Download Six Malayala Manorama magazines for free, using simple bash script in ubuntu.

28 comments


Available magazines to download using this script.
1. Fast Track
Language : Malayalam
Manorama Fasttrack is a complete automobile magazine in Malayalam from the Malayala Manorama Group

2. Karshaka Sree
Language : Malayalam
The monthly that updates the small time farmer on how to continuously improve his produce. Valuable tips are provided on farming methods enriched with research support on scientific irrigation and agriculture to improve returns from the cultivable land.

3. Sambadyam
Language : Malayalam
Sambadyam is a new personal finance magazine in Malayalam from the Malayala Manorama group. Recently Malayala Manorama Sambadyam has become a monthly. The magazine covers features on all aspects of personal finance – including stocks, mutual funds, insurance, and a regular column on Income Tax

4. Vanitha
Language : Malayalam
Vanitha is an Indian magazine published fortnightly by the Malayala Manorama group. Although its name translates to "woman" in Malayalam, it includes articles on a variety of topics, and is not strictly a women's magazine.

5. The Man
Language : English
6. The Week
Language : English
The Week is an Indian weekly newsmagazine published by The Malayala Manorama Co. Ltd. According to the Audit Bureau of Circulations,[4] it is the largest selling English newsmagazine in India.
Windows Users :  Follow these instructions to run this script on Micro$oft windows systems. (if you have doubts on how to run this script on your windows PC, make a comment.)


For Gnu/Linux Operating Systems

1. Download the script from here


2. Right click on the downloaded file "MMMagazinesDownload.sh" and select properties from the menu.

3. Go to the permission tab and tick "Allow executing file as program" and close the window.


4. Double click on the file and select "Run in Terminal"

 5. Select the appropriate magazine and go for your tea, as per your interne speed it will automatically download all the files to your desktop in a folder with magazine name and date.


7. Enjoy reading and contribute to FOSS development!

Read More

[Not Working] Download The Hindu news paper for free with a simple bash script.

66 comments


Duration US Dollar (US$) Indian Rupees (Rs.)
1 Month (30 days) 4.5 FREE 175.00 FREE
 
 The Hindu ePaper: Read online edition of The Hindu daily newspaper exactly as it appears on Print for free.

Available Hindu epaper editions via this trick are
-------------------------------------------------
0. Chennai
1. Hyderabad
2. Delhi
3. Bangalore
4. Kochi
-------------------------------------------------
 
    
   The Hindu is an English-language Indian daily newspaper founded and continuously published from Chennai since 1878. According to the Indian Readership Survey in 2012 it is the third most widely read English newspaper in India (after the Times of India and Hindustan Times) with a readership of 2.2 million people.[3] The Hindu has its largest base of circulation in southern India, especially in the states of Tamil Nadu and Kerala and it is also the most widely read English daily in Tamil Nadu and Kerala. Headquartered at Chennai (formerly called Madras), The Hindu was published weekly when it was launched in 1878, and started publishing daily in 1889.

  

In this trick I will share you how to download Hindu news paper from their website for free. We can by pass their login service using a simple bash script. This bash script natively worked on any  GNU/Linux system like Ubuntu and Fedora.

[Updated] Option for selecting the date of news paper added in the script. So, now you can download previous version without any tweaks.

Steps 

Use this user name and password for login

User name: danialjose@gmail.com
Password : 9846745412
 


 1. Download the script.

Download

Windows users follow these instructions, Click Here

2. Right click on the downloaded file "The_Hindu_Delhi.sh" and select properties from the menu.

3. Go to the permission tab and tick "Allow executing file as program" and close the window.

4. Double click on the file and select "Run in Terminal"

 5. Select the appropriate edition and go for your tea, as per your interne speed it will automatically download all the files in one "PDF" file. Here I want to read "Cochin" edition so i typed "4" and select the date also [Updated]
   
Hindu epaper editions are
-------------------------------------------------
0. Chennai
1. Hyderabad
2. Delhi
3. Bangalore
4. Kochi
-------------------------------------------------
Enter edition you wish to selec[0-4]: 4
Thanks.
-----  Year ?(eg-2013)         : 2013
-----  Month ?(eg- 05 for may) : 02
-----  Date ?(eg-01,02..)      : 01
Estimating number of pages in Kochi edition
Searching for Page 001
ok.. page 001 exists
Searching for Page 002


6. All downloaded pages are saved on your desktop in a folder called "hindu_Edition_Date". After finishing downloads it will automatically merge all PDF files in to one.

7. Enjoy reading and contribute to FOSS development!

Credits go to the orginal creator of this trick Ishan Karve. 
He also created a Simple Script to Download epaper from Indian Express 
and Mid-Day



Read More