Connect a Raspberry Pi to a Huawei 3G Modem to allow Internet access
Motivation
As part of the project to create a stand-alone Twitter Appliance, I needed to connect a Raspberry Pi to a 3G network.
System Design
The design is simple: An existing 3G modem is connected to the Raspberry via a USB connection. I already own a Huawei E5756s mobile broadband modem connected to Three UK, and as this also has a USB connection, it was the obvious one to use for this.
Installing the modem
Installing the modem required that the Raspberry Pi recognise the modem as such. Unfortunately, out of the box, the E5756 is detected as a hard disk by Raspbian. This is because the modem has a hidden disk partition that contains the Windows driver.
Plug the modem into one of the USB ports.
In a terminal session, run the command