For some reason Network manager detects my modem but does not connect it. After adding udev rules nothing happened. Finally I ran across this script called Sakis3G which claimed to be a script working for multiple devices. It worked.
Configuration for Sakis3G
Connect the modem to USB
Download Sakis3G. Choose the i386 version.
chmod +x sakis3g ./sakis3g --interactive
Choose action for Sakis3G script: Connect with 3G Modem category: USB device USB device: Huawei mobile Interface: Interface #0 Select APN: Internet (for Idea 3G) Username: u (anything will do) Password: p (anything will do)
Finally it says E173 connected to Idea
Connection Info
Connection Information Interface: P-t-P (ppp0) Connected since: 2012-12-02 11:02 Kilobytes received: 1634 Kilobytes sent: 194 Network ID: 40419 Operator name: !dea APN: internet internet Modem: E173 Modem type: USB Kernel driver: option Device: /dev/ttyUSB0 IP Address: 1.187.159.6 Subnet Mask: 255.255.255.255 Peer IP Address: 10.64.64.64 Default route(s): 10.64.64.64
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.