[SOLVED] Unable to connect to 3G USB Modem

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
justletitgo4ever

[SOLVED] Unable to connect to 3G USB Modem

Post by justletitgo4ever »

Hi all,

I have just installed Linux Mint Xfce 19 on my old ASUS EeePC. When I plug in my PROLINK PHS300 USB 3G Modem, the modem is detected and the LED on the modem turn yellow. My network manager actually did automatically show my mobile carrier
(U Mobile) under Mobile Broadband, but it is grey out and not able to select!

Here is the screenshot with the red rectangle showing my mobile carrier: https://1drv.ms/u/s!Aur-YjWuHG2AgZNY32abG5wM6ZEAXQ

The below is some command I run and its output.

Code: Select all

lsusb
Bus 001 Device 002: ID 04f2:b26f Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 19d2:1253 ZTE WCDMA Technologies MSM 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code: Select all

usb_modeswitch -v 0x19d2 -p 0x1253 
Look for default devices ...
 Found devices in default mode (1)
Access device 006 on bus 001
Error opening the device. Abort

Code: Select all

dmesg
[  291.500134] usb 1-2: New USB device found, idVendor=19d2, idProduct=1253
[  291.500152] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[  291.500163] usb 1-2: Product: HSPA WCDMA Technologies MSM
[  291.500174] usb 1-2: Manufacturer: HSPA,Incorporated
[  291.500184] usb 1-2: SerialNumber: 1234567890ABCDEF
[  291.593339] option 1-2:1.0: GSM modem (1-port) converter detected
[  291.594359] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[  291.595784] option 1-2:1.1: GSM modem (1-port) converter detected
[  291.598985] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[  291.600404] option 1-2:1.2: GSM modem (1-port) converter detected
[  291.601233] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[  291.602482] option 1-2:1.3: GSM modem (1-port) converter detected
[  291.603219] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
[  291.603725] usb-storage 1-2:1.4: USB Mass Storage device detected
[  291.604140] scsi host4: usb-storage 1-2:1.4
[  292.609095] scsi 4:0:0:0: Direct-Access     HSPA     MMC Storage      2.31 PQ: 0 ANSI: 2
[  292.610556] sd 4:0:0:0: Attached scsi generic sg1 type 0
[  292.620833] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Anyone have any idea how to fix this problem ? Thanks in advance and happy new year! :wink:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
justletitgo4ever

Re: Unable to connect to 3G USB Modem

Post by justletitgo4ever »

Get connected by using wvdial. Here is the config I am using for Malaysia U Mobile.

/etc/wvdial.conf

Code: Select all

[Dialer Defaults]
Phone = *99#
Stupid Mode = 1
Dial Command = ATDT

[Dialer umobile]
Modem = /dev/ttyUSB3
Baud = 9600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
APN = my3g
Username = none
Password = none

Steps:-
1) Boot up Linux
2) Plug in USB modem and wait for yellow LED on
3) open terminal and run

Code: Select all

sudo wvdial umobile
wvdial output should be like this if connected

Code: Select all

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Jan  1 23:55:01 2019
--> Pid of pppd: 1487
--> Using interface ppp0
--> pppd: [10][12]�  [08]� 
--> pppd: [10][12]�  [08]� 
--> pppd: [10][12]�  [08]� 
--> pppd: [10][12]�  [08]� 
--> pppd: [10][12]�  [08]� 
--> local  IP address 100.100.55.79
--> pppd: [10][12]�  [08]� 
--> remote IP address 10.64.64.64
--> pppd: [10][12]�  [08]� 
--> primary   DNS address 123.136.113.66
--> pppd: [10][12]�  [08]� 
--> secondary DNS address 123.136.100.2
--> pppd: [10][12]�  [08]� 

Good luck!!! :lol:
justletitgo4ever

Re: [SOLVED] Unable to connect to 3G USB Modem

Post by justletitgo4ever »

Anyone know how to get Network Manager work for this? wvdial can connect but it still will be nicer if can get Network Manager to work! Any help greatly appreciated! :wink:
suntopper

Re: [SOLVED] Unable to connect to 3G USB Modem

Post by suntopper »

Hi, I'm a total newbie to Linux but I found this in another post on a Ubuntu forum (thanks pomsky) when looking for a way to delete a connection in network manager. Just open terminal and type "nm-connection-editor" (without quotes naturally). That will open a window and you can hit the "+" to add a new connection. It will then run a wizard which I assume is what Mint network manager should be doing. When you are done the new connection will show up in network manager. Worked for my 551l usb modem taking the defaults.
Locked

Return to “Networking”