Problem with Huawei 3G modem

Problem with Huawei 3G modem

Postby chomee » Oct 10th, '11, 23:01

Hi, I've got a problem with connecting via Huawei 3g modem.

The modem is detected fine and works when connection is created via mcc. However on subsequent unplug/plug it won't reconnect.

The problem is that it needs to connect via ppp, but udev/ifplugd tries to start cdc_ether (wwan0) instead.

When I manually run ifup ppp0 it works just fine - ppp0 was configured correctly via mcc. wwan0 is not used for anything afaict. Also, ppp0 isn't listed in draknetcenter.

What do I need to add to make udev start ppp upon detecting this particular modem?

Is there a way to make sure correct ttyUSB is used (modem registers ttyUSB[012], and 0 works)?

Thanks in advance!
chomee
 
Posts: 7
Joined: Oct 8th, '11, 20:37

[SOLVED] Problem with Huawei 3G modem

Postby chomee » Oct 10th, '11, 23:40

OK, found what works for me, so posting here in case anybody else needs it.

Created new udev rules file, 80-huawei.rules with content:

Code: Select all
SUBSYSTEM=="usb-serial", ACTION=="add", DRIVERS=="?*", ATTRS{modalias}=="usb:v12D1p1436d0000dcEFdsc02dp01icFFiscFFipFF", RUN+="/bin/sleep 15", RUN+="/sbin/ifup ppp0"


this is slightly unclean as I have no idea how to make sure correct tty is called, but since I expect this modem to be the only usb-serial device ever to be connected to this laptop, it may stay like this...
chomee
 
Posts: 7
Joined: Oct 8th, '11, 20:37

Re: Problem with Huawei 3G modem

Postby ferri » Oct 11th, '11, 16:46

What type of huawei modem do you have?

I have usb mobile modem huawei E1750. But I do not manage to work it via MCC.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: Problem with Huawei 3G modem

Postby chomee » Oct 12th, '11, 22:33

Mine is Huawei E173

If MCC managed to recognise it (but not connect) you may be able to try to connect manually. I've seen that particular modem mentioned in SuSE forums, maybe someone there got it to work.
chomee
 
Posts: 7
Joined: Oct 8th, '11, 20:37

Re: Problem with Huawei 3G modem

Postby chepa653 » Nov 25th, '11, 12:44

I have the same problem, connecting via Network Manager wants PIN and then just Show Message:"No sim card found".
So I'd like to try start modem manualy from this tutorial https://wiki.archlinux.org/index.php/USB_3G_Modem
chepa653
 
Posts: 1
Joined: Nov 25th, '11, 12:41

Re: Problem with Huawei 3G modem

Postby graydee » Apr 9th, '12, 17:28

Hi I have the same modem, however it is not detected at all so I can not even attempt to configure it manually at all. I am a total novice with Mageia so any step by step hints/tips would be appreciated....
graydee
 
Posts: 15
Joined: Apr 8th, '12, 12:35

Re: Problem with Huawei 3G modem

Postby graydee » Apr 9th, '12, 17:42

I think that this may work viewtopic.php?f=25&t=1276 I will keep you posted.
graydee
 
Posts: 15
Joined: Apr 8th, '12, 12:35

Re: Problem with Huawei 3G modem

Postby FreeOwl » Apr 13th, '21, 13:37

chepa653 wrote:I have the same problem, connecting via Network Manager wants PIN and then just Show Message:"No sim card found".

I have the same problem.
PC: Gigabyte S1080
OS: Mageia 8
Code: Select all
# uname -a
Linux s1080 5.10.27-desktop-1.mga8 #1 SMP Wed Mar 31 00:59:56 UTC 2021 i686 i686 i386 GNU/Linux

Modem Huawei EM770W
Code: Select all
# lsusb
Bus 003 Device 004: ID 12d1:1404 Huawei Technologies Co., Ltd. EM770W miniPCI WCDMA Modem

[root@s1080 ~]# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [huawei] EM770W
[root@s1080 ~]# mmcli -m 0
-----------------------------
General  |         dbus path: /org/freedesktop/ModemManager1/Modem/0
|         device id: 91c0b946a92aaca130edfbb57cfc7eeddfcb0c76
-----------------------------
Hardware |      manufacturer: huawei
|             model: EM770W
| firmware revision: 11.126.10.80.00
|         supported: gsm-umts
|           current: gsm-umts
|      equipment id: 357030021538604
-----------------------------
System   |            device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
|           drivers: option1
|            plugin: huawei
|      primary port: ttyUSB2
|             ports: ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (at), ttyUSB4 (at)
-----------------------------
Status   |    unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
|             state: disabled
|       power state: on
|    signal quality: 0% (cached)
-----------------------------
Modes    |         supported: allowed: 2g, 3g; preferred: none
|                    allowed: 2g, 3g; preferred: 2g
|                    allowed: 2g, 3g; preferred: 3g
|                    allowed: 2g; preferred: none
|                    allowed: 3g; preferred: none
|           current: allowed: 2g, 3g; preferred: 3g
-----------------------------
IP       |         supported: ipv4, ipv6
-----------------------------
3GPP     |              imei: 357030021538777
-----------------------------
SIM      |         dbus path: /org/freedesktop/ModemManager1/SIM/0


It works great on windows.

please advise me how to make it work?
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57

Re: Problem with Huawei 3G modem

Postby doktor5000 » Apr 13th, '21, 22:36

Please open a separate thread, keep in mind this one is over 9 years old ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with Huawei 3G modem

Postby FreeOwl » Apr 14th, '21, 08:44

doktor5000 wrote:Please open a separate thread, keep in mind this one is over 9 years old ...

ok
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron