USB 4G dongle interface to BBB with debian image

Hi,

I am using beagle Bone Black with debian 4.4.30-ti-r64 kernel image. I have tried both Wvdial and network manager for the internet connection by interfacing 4G USB dongle to the Beagle Bone Black. The following are the test results and it will show one type of modem working with wvdial and another type is not. I am looking for a solution to interface any 4G modem of any service provider to BBB for the internet connection.

Modem (EAN: 6934933083851) is working with Wvdial & network manager.

Modem (HUAWEI E3372h-607) is only working with network manager.

Modem (MF833T LTE) is not working in both ways.

Method 1: WVDial

apt-get install wvdial

vi /etc/wvdial.conf

[Dialer Defaults]

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Stupid Mode = on

Modem Type = Analog Modem

Baud = 9600

New PPPD = yes

Modem = /dev/ttyUSB1

ISDN = 0

Phone = *99#

Password = airtel

Username = airtel

Auto Reconnect = on

Dial Attempts = 0

wvdial

Method 2 : Network manager

installing network manager

apt-get install network-manager

listing connected devices

nmcli device

adding network details for network manager

nmcli c add type gsm ifname ttyUSB1 con-name Airtel apn airtelgprs.com

Initiate Connection

nmcli con up Airtel

Regards,

NK

  1. Try to connect modem to windows 10 machine. If you see RNDIS device in device manager and it can automatically set up connection - its a good sign.

  2. On linux machine try to switch modem to RNDIS or QMI mode (RNDIS is preferred). Don’t use dial method to connect the network in 3G-4G modems, it will slow you down. Let the modem handle the connection itself an startup (RNDIS).

четверг, 3 сентября 2020 г. в 12:17:33 UTC+3, Niresh: