Reliance Plug2Surf in Linux.

List of Softwares required:

  1. wvdial
  2. usb-modeswitch
  3. usb-modeswitch-data

You can download all these files from the debian/ubuntu repository.

techmaniack@home:# lsusb

Bus 006 Device 003: ID 19d2:fff5 ONDA Communication S.p.A.

techmaniack@home:# usb_modeswitch -v 0x19d2 -p 0xfff5

techmaniack@home:# usb_modeswitch -v 0x19d2 -p 0xfff5 -a usbserial

techmaniack@home:# usb_modeswitch -v 0x19d2 -p 0xfff5

// Unplug and Replug the device:

techmaniack@home:# lsusb

Bus 006 Device 005: ID 19d2:fffe ONDA Communication S.p.A.

techmaniack@home:# usb_modeswitch -v 0x19d2 -p 0xfffe

–Now, the system will recognize the device as a CDMA modem.

techmaniack@home:# sudo wvdialconf

–this should make a wvdial.conf in the /etc folder

you have to edit 3 entrie from the config file:




techmaniack@home:# sudo nano /etc/wvdial.conf



phone #777

username 9371******

password 9371******

–Note : username and password should be the same

techmaniack@home:# sudo wvdial
Now this should connect you to the internet…

For more info, read the source

How to shutdown without sudo password…

In order to shutdown from command line, you are requested to be either root or using sudo, such as

sudo shutdown -h now

With sudo, you need to type your password. Sometimes it will be more convenient to us if we are able to shutdown without sudo (or i must say without sudo password?).

The answer is yes, there are two ways to do that (Any other ways available?)

1. Adding suid mode to /sbin/shutdown
2. Modify /etc/sudoers with visudo

1. Adding suid mode to /sbin/shutdown

By adding suid mode to shutdown command, you are allowing regular user to run shutdown command as root.

sudo chmod u+s /sbin/shutdown

Now you can run shutdown without needing sudo.(more on chmod coming soon)

2. Modify /etc/sudoers with visudo

This seems to be proper way to allow a command to run as root from specified users without needing to type password.

sudo visudo

By running visudo, it leads to edit /etc/sudoers.

Adding the line below to that file, assume techmaniack is the user that is to be allowed to shutdown without password.

techmaniack ALL = NOPASSWD: /sbin/shutdown

For ubuntu, usually the default user is in the %admin group. Therefore, you can also allow all users from the %admin group to shutdown without password.

%admin ALL = NOPASSWD: /sbin/shutdown

In fact, you still need sudo to shutdown, but this time you do not need to specified password.

sudo shutdown -h now

One more not a very bright idea to do so is to add the following line in /etc/sudoers file

techmaniack ALL=(ALL) NOPASSWD: ALL

this will allow the user ‘techmaniack’ to execute all commands without needing to enter the sudo password.

best selling iPad app by 2 Indian grads…

It is good to know that 2 Indian students pursuing Electrical engineering at Stanford University have developed theĀ  ultimate feedreader (“pulse”) for the ipad, priced at $3.99, has been downloaded by more than 30,000 iPad users and the number is still counting. Their app has bagged about 60,000,00INR in the first week itself. This year, the device is expected to sell six million units. By next week, they hope to release the same app for the iPhone. The size of the iPhone app market is estimated to be about $3 billion. There are 50 million active iPhones out there.

read more