Tagged: Linux RSS

  • Vinod Surendran 8:16 am on September 10, 2011 Permalink | Reply
    Tags: Linux, Scripts   

    Asianet dataline Autologin Script for linux 

    I had created one simple script to make it easy to login using asianet dataline without using any browser.

    Requirements 

    1. Curl (http://bit.ly/bH7jSK)

    Tested on Ubuntu


     

    #!/bin/bash

    #####################################################################################################

    #ASIANET DATALINE AUTOLOGGER SCRIPT

    #BY VINOD SURENDRAN
    #(SMARTVINU@GMAIL.COM)

    #####################################################################################################

    # Set your consumer Id
    customer=TV7000
    # Set your Password
    password=mypassword

    #####################################################################################################
    ######### DONT EDIT BELOW ##########################################################################
    #####################################################################################################

    if [ -n "`ifconfig | grep -A 1 wlan0 | grep "inet addr"`" ];
    then
    echo “Going to connect ….”
    echo “Getting server URL … ”
    targetUrl=`curl -v http://www.google.com 2>&1 | grep “Location:”|awk {‘print $3′} | cut -d? -f1`
    echo “Got targetUrl as $targetUrl”
    echo $targetUrl | grep “mwcp”
    if [ $? -ne 0 ]; then
    echo “Seems like you are logged in.”
    echo “Preparing to logout”
    curl https://myaccount.adlkerala.com/login.php –data “username=${customer}&pass=${password}” -c tempCookie
    curl https://myaccount.adlkerala.com/disconn.php –data “confirm=1″ -b tempCookie
    echo “Logged out.”
    rm -f tempCookie
    echo “Getting server URL … ”
    targetUrl=`curl -v http://www.google.com 2>&1 | grep “Location:”|awk {‘print $3′} | cut -d? -f1`
    echo “Got targetUrl as $targetUrl”
    fi;

    curl $targetUrl –data “auth_user=$customer&auth_pass=$password&accept=Login” &> /dev/null

    echo “Connected :)
    SKIP=0
    while true

    do
    echo “Waiting … ”
    COUNT=0
    if [ $SKIP -eq 0 ]; then
    while true
    do
    sleep 1
    echo -ne \\b\\b\\b\\b\\\b$COUNT
    COUNT=`echo $COUNT + 1 | bc `
    if [ $COUNT -gt 250 ]; then
    break;
    fi;
    done
    fi;
    echo
    echo “Sending alive … ”
    curl $targetUrl –data “alive=y&un=$customer”
    if [ $? -eq 0 ]; then
    echo “done”
    else
    echo “failed.retrying … ”
    fi;

    done

    else

    echo “Wifi not connected”;

    fi

     
  • Vinod Surendran 4:20 am on May 7, 2010 Permalink | Reply
    Tags: evdo, Linux, modem, , ,   

    Linux Driver for BSNL Evdo 


    EVDO Client on Ubuntu 10.04

    EVDO Client on Ubuntu 10.04

    In most sites and forum i found some tedious steps to make the evdo work in linux. lot of scripts.

    Making evdo workable in linux is very simple …
    Goto http://www.ztemt.com/ennewzte/service/ziliao.action

    and there download the appropriate version, install it.
    Now you are having the dialer with you . Input the username and password in the options / setting window of the dialog , then click on connect button .. Bingoo ..

     
    • burning virus 12:02 pm on June 25, 2010 Permalink

      I just can’t believe i spent the whole day, tweaking things to start evdo. wvdail, reinstalled ubuntu 2 times as of experimenting i did.
      And it turns out they have software for this!!! thanks anyways.

    • Camel 11:57 am on June 27, 2010 Permalink

      Coooooool man……………. i just installed Linux and was bothered EVDo linux driver and configuration. U saved my day PAL….. good work …….

    • harsh 2:41 pm on July 14, 2010 Permalink

      I tried to install the driver you suggested but after installation it doesnt open any dialogue box and doesnt respond at all.kindly suggest the right process in steps to run the operations

    • vinod 5:52 am on July 19, 2010 Permalink

      do start the application from the terminal and see what is the ouput in the terminal

    • jeffy 5:36 am on August 26, 2010 Permalink

      i appreciate ur effort but not workin with me..using ubuntu 10.04,no dialer version found. soi used previous available one..application got installed,detects my modem,but doesnt connect…says serial port error ,kill ppp so..pls give a solution

    • harry 9:15 pm on November 27, 2010 Permalink

      hello Vinod ,

      it saves a lot of time, do u know how to configure adhoc network on ubuntu,
      so that i can connect evdo internet to my nokia n95 too

    • prateek 6:48 am on October 22, 2011 Permalink

      please tell me how to use BSNL EVDO Rev A Model:UE100 in linux
      it is mfd by prithvisolutions.com
      their manual show it support mac & linux (ubuntu) but it dont have any driver or help how to install it on linux.

  • Vinod Surendran 11:29 pm on May 1, 2010 Permalink | Reply
    Tags: Linux,   

    Ubuntu 10.04 is here 

    The latest release of ubuntu is here. Get it from http://www.ubuntu.com

     
  • Vinod Surendran 1:10 am on December 25, 2009 Permalink | Reply
    Tags: chrome, google, Linux   

    Finally its here 

    Now google chrome is available in linux flavours also ..

    Get your copies at http://www.google.com/chrome/

    A new competitor for firefox in linux

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel