Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Huawei 4g dongle (E3372-325) trouble connecting [SOLVED]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Pulie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Wed May 05, 2004 7:24 am
Location: Finland

Huawei 4g dongle (E3372-325) trouble connecting [SOLVED]

  • Quote

Post by Pulie » Thu May 25, 2023 11:31 am

Hi, my new modem Huawei / Brovi E3372-325 doesn't correctly switch or something
else is wrong. I read couple of good forums about udev-rules and
usb_modeswitch confings and I managed to get the device from CDROM state to
modem-state. Im not sure is this the correct mode. Atleast it doesn't
connect.

lsusb

Code: Select all

Bus 003 Device 007: ID 12d1:155e Huawei Technologies Co., Ltd. Mobile

When connected to usb, the leds flashes red and green. Signaling it has no
connection and apparently has, since green light should be always on if
properly connected. It gives three interfaces.

dmesg

Code: Select all

[ 2085.767199] usb 1-6: USB disconnect, device number 35
[ 2086.084430] usb 1-6: new high-speed USB device number 36 using xhci_hcd
[ 2086.304245] usb 1-6: New USB device found, idVendor=12d1, idProduct=155e, bcdDevice= 1.02
[ 2086.304249] usb 1-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2086.304250] usb 1-6: Product: Mobile
[ 2086.304251] usb 1-6: Manufacturer: Mobile
[ 2086.304252] usb 1-6: SerialNumber: 123456789ABCD
[ 2086.349258] option 1-6:1.0: GSM modem (1-port) converter detected
[ 2086.349343] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB0
[ 2086.352254] option 1-6:1.1: GSM modem (1-port) converter detected
[ 2086.352313] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB1
[ 2086.352365] option 1-6:1.2: GSM modem (1-port) converter detected
[ 2086.352405] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB2
[ 2086.413230] cdc_ncm 1-6:1.3: MAC-Address: 4a:9c:6f:bc:d2:8e
[ 2086.413375] cdc_ncm 1-6:1.3 wwan2: register 'cdc_ncm' at usb-0000:01:00.0-6, Mobile Broadband Network Device, 4a:9c:6f:bc:d2:8e
[ 2086.440608] cdc_ncm 1-6:1.3 wwp1s0f0u6i3: renamed from wwan2
None of these work. First one gives carrier but doesn't like ppp and just tries to connect several times and dies. Second interface hangs with sending ATZ, third just doesn't register at all.

Code: Select all

 # wvdial
--> 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.
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu May 25 13:58:59 2023
--> Pid of pppd: 6022
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
I tried with dhcpcd, but it doesn't recognise any working interfaces

Code: Select all

 # dhcpcd wwan0
dhcpcd-9.4.1 starting
DUID 00:04:03:c0:02:18:04:4d:05:65:57:06:9c:07:00:08:00:09
wwan0: waiting for carrier
wwan0: carrier acquired
wwan0: IAID 00:00:00:02
wwan0: waiting for 3rd party to configure IP address
timed out
dhcpcd exited
I upgraded it's firmware with other pc, but I read somewhere even never was available. I don't know if this is the issue here.
I read this is HiLink or something and needs dhcp to connect, but I can't do that either.





Does anyone else have this modem or a working configuration for it?


Code: Select all

ifconfig -a
enp3s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:c0:4d:65:57:9c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 1000  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wwan0: flags=144<POINTOPOINT,NOARP>  mtu 1500
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wwan1: flags=144<POINTOPOINT,NOARP>  mtu 1500
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wwp1s0f0u6i3: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether ea:d2:26:fc:87:02  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Last edited by Pulie on Tue Jun 20, 2023 12:43 am, edited 4 times in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56102
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu May 25, 2023 4:25 pm

Pulie,

The first interface is usually for the datalink.
One of the others is for link monitoring.

Code: Select all

 # wvdial
--> 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.
CONNECT
--> Carrier detected.  Starting PPP immediately. 
You normally need a username and password before ppp will work.
For some services, its a fake and the same for everyone but it normally there.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Pulie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Wed May 05, 2004 7:24 am
Location: Finland

  • Quote

Post by Pulie » Thu May 25, 2023 5:21 pm

Thanks for repply NeddySeagoon,

I used wvdial for years with Huawei 3G E367, and it worked well. Our service provider just dropped 3G so I had to purchase this new 4G stick. The old one works now just in 2G-mode, so i need to figure out how this new one works. I never had to put any passes and works fine with default wvdial.conf.

The new stick works well with my other pc, without putting any passes. I see the default was no username and six characters, but don't know else.
Top
Pulie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Wed May 05, 2004 7:24 am
Location: Finland

  • Quote

Post by Pulie » Thu May 25, 2023 7:20 pm

Allright, I got it working with one line added to wvdial.conf

Code: Select all

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP"
Password = 0000
New PPPD = Yes
Phone = *99#
Idle Seconds = 0
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 9600
Auto DNS = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Username = 0000

Code: Select all

Init3 = AT+CGDCONT=1,"IP" 
So, here is my new wvdial.conf and here is the line. ;)



Thanks!
Top
Pulie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Wed May 05, 2004 7:24 am
Location: Finland

  • Quote

Post by Pulie » Sun Jun 18, 2023 9:30 am

This modem is still causing trouble. I got a new sim-card and the problem came back. So wvdial just keeps trying to connect with no success.

Code: Select all

--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
I can't even boot with it working, i first needed to unplug and plug it to another usb-slot. Now even that doesn't work. Tried to change the user/pass, but it doesn't make much difference.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic