The message content depends on the firmware of your E3531, so honesty, the above might not work and you'll have to experiment/research to find a message that does :-(
No let's make a file containing our switch mode instructions.
12d1:1001 with 3x virtual serial ports. Let's get started by downloading and installing usb-modeswitch: sudo apt-get install usb-modeswitch We need to switch our E3531 mode from 12d1:14dc to modem mode i.e. We'll be wanting to access it as tty/USBx Next, let's switch it to a serial modem so we can send AT commands to get out SMS messages in lower connectivity scenarios. Then you can go along to settings and enter your carrier information. So once you get connect, you are all ready to access the internet using PPP via eth1! That was all quite easy! Then you'll get the home html file giving your status: Now we can use the Huawei HiLink to set everything up to connect to our carrier. It's in HiLink-CDC-Ethernet mode! That's supposed to be the default state for the E3531 so you don't need to worry about it being stuck in mass storage mode like the E303. Hopefully you'll get the following:Īs you can see we got ID 12d1:14dc so that's great. Let's connect the E3531 to the USB port on the pi! Now run the 'lsusb' command to list usb devices attached to pi. The E3531 will then have the following ID in this case: 12d1:14dc, with 12d1 being the vendor ID, and 14dc being the HiLink CDC-Ethernet model/mode ID. Then we can change it to serial modem if we want later on. So first of all let's get started by setting this as HiLink CDC-Ether mode for PPP via eth2 over 2G/3G to connect to the internet. These dongles are really low-cost compared to HATs! This one was only £21! USING THE HUAWEI E3531 USB DONGLE FOR ELEPHANT DETECTION DEVICE MOBILE CONNECTIVITYĮarlier we looked at setting up the Huawei E303 USB dongle for mobile connectivity. Here we'll look at setting up the E3531 model in two modes.