
Connect to the internet at Linux startup sudo vi /etc/network/interfacesĪdd the following lines at the bottom of the file: auto ppp0 In my case it’s /dev/ttyUSB0: ln -s /dev/ttyUSB0 /dev/modem 5. I solved it by creating a symbolic link, where /dev/ttyUSBx is found in the /etc/nf file. –> Cannot open /dev/modem: No such file or directory NOTE: If you for some reason get this error: Output: Caught signal 15: Attempting to exit gracefully.

To manually disconnect you can kill the process id in my case 2841 sudo kill 2841 Lets try connect to the internet manually sudo wvdial & Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0įor “Username” use your 3G dongle 10 digit phone nrįor “Baud” use the baud rate the config created for you, in my case it was 9600 4. Modify config content so it looks like this: Open up /etc/nf in your favorite text editor sudo vi /etc/nf If the driver is already installed, it makes the storage device disappear and a new device, mainly composite with modem ports, shows up.” 3. Create the wvdial config fileĬreate a default wvdial config by running this command: wvdialconf /etc/nf When plugged in for the first time, they act like a flash storage and start installing the Windows driver from there. In my case the Verizon Novatel USB720 does not support that lucky me 🙂 These codes are needed if your modem comes up as USB storage as default, then you have to use usb_modeswitch to manually change it back to modem mode. The “1410” is called the vendor code and “2110” is the product/model nr. In the terminal enter: lsusbįind the output that shows the name of the 3G Modem: Bus 001 Device 005: ID 1410:2110 Novatel Wireless Ovation U720/MCD3000 The modem should show a solid green led light when connected. Plug in the 3G modem to one of the USB ports on the Raspberry Pi. To install the software open terminal and type: sudo apt-get update sudo apt-get install ppp wvdial Raspberry Pi 2 Model B running Raspbian Jessie OS.Also my IoT device don’t need 4G speed (~100 Mbps) compared to 3G (~14.4 Mbps) because it will send very small data when communicating. Since most 4G models costs around $40 I decided to use the legacy 3G modem which I found people selling for $10. My project was to create an Internet of Things (IoT) device using Raspberry Pi and a Wireless dongle that would cost about $50. So now I am writing this user guide and hope someone can benefit from it. I have been googling a lot and combined several user guides to make it work.

It’s not like on Windows where you can use VZ Manager to connect to the wireless network.

Setting up a Raspberry Pi with a 3G/4G modem is challenging on Linux.
