Tata Photon – get rid of the ugly dialer.

Thankfully, and obviously the installation is too simple. Its windows we are talkng about!

But then again, its windows we are talking about. So, there is no option of autoconnect. And I hate the default dialer provided by Photon. It sucks. So a few tweaks, that are kind of a must, at least for me:

My Device: Tata Photon Olive VME101

1. Disable the dialer’s autorun on windows startup through its settings.

2. Use rasdial to connect, via batch files. rasdial is the dialup utility for windows.

Make the following two batch files and use them via a desktop shortcut or anything:

connect.bat —> rasdial “TATA HSIA” internet internet

The parameters are: connection name, username, password. You may also provide phone number via: /phone:#777, but its not needed.

disconnect.bat —>  rasdial /disconnect

3. Still a restart causes the drivers to unload and the device is detected as a storage device instead of a usb modem. Hence, to fix that, I wrote another batch file whose shortcut lies in the user startup folder so that it gets executed on every windows login.
autostart.bat
start /d C:\Windows\system32 devcon disable *DEV_001C*
start /d “C:\Program Files\TATA Photon+\Olive\VME101\Drivers” OliveDcService.exe
  start helps us in executing commands simultaneously in different command windows.
The first command is to disbale my wifi on startup. You can use this gude for the same: http://wlanbook.com/disabling-wireless-startup-shutdown/
The second command load the drivers for my Photon device which establish it as a usb modem. For your device, check in your dialer’s installation folder.

That’s it!

Two things:

  • Still its not exactly autorun on plug-in like xubuntu, but its quite close. I plug my device and use executor to connect to internet via a hotkey instead of the batch files. Simple and elegant!
  • Probably copying the driver startup exe (OliveDcService) somewhere else and uninstalling the dialer would also work. But haven;t tried yet. If someone does, do post in the comments.

I am figuring a way out to autorun a command on a non-storage device plug-in. If I find one, will definitely let it out in the open.

Till then, ciao!

Advertisements