When you attach the tata photon+ dongle, you might notice that this was identified as a mass storage device instead of a usb modem.
Well, the reason for this is explained in this blog post here.
Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the “ZeroCD” feature.
On Debian, this is not needed, since the driver is included as a Linux kernel module, such as “usbserial”. However, the device still shows up as “usb-storage” by default. usb-modeswitch solves that issue by sending the command which actually performs the switching of the device from “usb-storage” to “usbserial”.
Make sure you have installed these two packages.
Now run the following commands.
sudo touch 12d1\:1505
Now copy the contents below to the newly created file 12d1\:1505
Type ‘sudo usb_modeswitch -I -W -c 12d1:1505’ (You may have to run this every time you connect and disconnect the modem)
Now, once open the network manager you can add the new device identified as tata huawei modem
use the username and password as ‘internet’