Thursday, April 15, 2010

Using Airtel's Mobile office Internet in Linux

About Mobile office service:
Stay connected to the internet, and access your e-mail anywhere, anytime while on the move. Now you can access official mail, refer to sites for information on your phone or on your laptop with your mobile as a modem.
Mobile office has the following features:




  • Access the Internet anytime, anywhere (across all Airtel circles in India)

  • No airtime charges.

  • Cheaper than connecting through land line. 

  • A minimal monthly subscription fee. 

To avail of this service all you need is a GPRS enabled phone and a laptop and you are ready to log on to the World Wide Web. To access the Internet anywhere in India, you would need National Roaming on your SIM.

To avail this service in your Linux you just need Wvdial and configure your "/etc/wvdial.conf" file using the following configuration:

[Dialer Defaults] 
Stupid Mode = on
Modem = /dev/ttyACM0
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
#INIT5 = AT+CGDCONT=1,"IP","internet"
INIT5 = AT+CGDCONT=1,"IP","airtelgprs.com"
Phone = *99***1#
#Phone= *99#
Username = none
Password = none
ISDN = 0
Modem Type = Analog Modem
Auto Reconnect = on
Carrier Check = no
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP

and you con connect your phone as "com port " and then dial using:
sudo wvdial
once the connection is made just enjoy internet but if something goes wrong and connection is terminated then you may not be able to connect until you restart your computer or you can change

Modem = /dev/ttyACM0

to

Modem = /dev/ttyACM1

I hope this tutorial will connect you to the world anytime any where.

Thursday, April 1, 2010

Controlling mouse pointer using Keyboard

If your keyboard doesn't function properly then you get an option of on-screen keyboard in all the Operating Systems, but if your mouse doesn't work, then what?? In this case we have a functionality of controlling mouse pointer using Keyboard. Yes, It sounds crazy and is cumbersome too, but it can be helpful in emergency cases.

So here we go with the keyboard shortcuts for this purpose.

First of all get to know which part of the keyboard operates for mouse pointer.


Enabling Mouse control through the keyboard-->> [ALT + LEFT SHIFT + Num Lock]

'/' -->> Select or Activate LEFT CLICK

'*' -->> Select or Activate MIDDLE CLICK

'-' -->> Select or Activate RIGHT CLICK

'5' -->> Uses the Selected or Activated key

'4' -->> Move LEFT

'6' -->> Move RIGHT

'8' -->> Move UP

'2' -->> Move DOWN

'1' -->> Move LEFT DOWN

'7' -->> Move LEFT UP

'3' -->> Move RIGHT DOWN

'9' -->> Move RIGHT UP

'0' -->> Lock DRAG

'.' -->> Release DRAG

'+' -->> Double Click

Information may be helpful for those who are unaware of this functionality which is supported on all operating systems.
[PS: In Linux we can use mouseemu tool to emulate the same thing]