Backup ‘/etc/resolv.conf’ and replace it with a link to ‘/var/run/ppp/resolv.conf’.
Code:
# mv /etc/resolv.conf /etc/resolv.conf-orig
# ln –s /var/run/ppp/resolv.conf /etc
Shutdown any alternative network devices used.
Add the following lines to this file "/etc/usb_modeswitch.conf"
Code:
# Your 3G Modem Details
DefaultVendor= <Enter_Vendor_ID>
DefaultProduct= <Enter_Product_ID>
TargetVendor= <Enter_Vendor_ID>
TargetProduct= <Enter_Product_ID>
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000" // this is for MTS Huawei 3G Modem. You have to search for the MessageContent for your 3G Modem or ask your 3G ISP.
Added the following lines to this file "/etc/udev/rules.d/72-huawei.rules"
Code:
ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="/usr/bin/usb_modeswitch"
Run the following command from the terminal BEFORE_YOU_INSERT_THE_3G_MODEM:
Code:
# modprobe usbserial vendor=0x12d1 product=0x140b
Execute the wvdial command
Press ‘CTRL+C’ TO_STOP_THE_CONNECTION and do not forget to restore your original ‘resolv.conf’ file afterward.
I am marking this post as SOLVED.