• zte 3g usb modem connects though sakis 3g but not through network manager


    I have a zte 3g usb modem (19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636).
    When I insert it in the usb slot of my laptop, system asks me for pin and after I enter it the red led on the dongle becomes green but I cannot connect to the network using network manager.
    I tried sakis3g and the connection was succesfull.
    I want to connect using network manager. Is this possible?

  • @pntzamilis said:

    …I want to connect using network manager. Is this possible?

    Yes, sure.

    I can’t check that right now, as for about a month I have no usb 3g modems. But until then they worked with Network Manager and without a problem in Antergos-Mate, Cinnamon, Gnome, Kde. For ages, and without any need for sakis 3g, wicd or similar.

    In order usb 3g modems to work with Network Manager two services must be up and running, independently from a DE in use:

    • NetworkManager
    • ModemManager

    Both must be:

    • loaded
    • enabled
    • active
    • running

    Connection configuration depends on DE in use, but seems like you don’t arrive up to that point.

    So, the first thing to do is to check the status of two services. The expected output looks like:

    • for NetworkManager
      $ systemctl status NetworkManager
      ● NetworkManager.service - Network Manager
       Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
       Active: active (running) since Sun 2015-10-25 11:48:46 MSK; 10min ago
      Main PID: 417 (NetworkManager)
       CGroup: /system.slice/NetworkManager.service
               ├─417 /usr/bin/NetworkManager --no-daemon
               └─612 /usr/bin/dhclient -d -q -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-wlp4s0.pid -lf /var/lib/NetworkManager/dhclient-4aed607c-72a2-4446-bf4a-...
      
      Oct 25 11:48:52 alexark.net NetworkManager[417]:   (wlp4s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
      Oct 25 11:48:52 alexark.net NetworkManager[417]:   (wlp4s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
      Oct 25 11:48:52 alexark.net NetworkManager[417]:   (wlp4s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
      Oct 25 11:48:52 alexark.net NetworkManager[417]:   NetworkManager state is now CONNECTED_LOCAL
      ...
      $ 
      
    • for ModemManager
      $ systemctl status ModemManager
      ● ModemManager.service - Modem Manager
       Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; enabled; vendor preset: disabled)
       Active: active (running) since Sun 2015-10-25 11:48:47 MSK; 11min ago
       Main PID: 418 (ModemManager)
       CGroup: /system.slice/ModemManager.service
               └─418 /usr/bin/ModemManager
      
      Oct 25 11:48:44 alexark.net systemd[1]: Starting Modem Manager...
      Oct 25 11:48:45 alexark.net ModemManager[418]:   ModemManager (version 1.4.12) starting in system bus...
      Oct 25 11:48:47 alexark.net systemd[1]: Started Modem Manager.
      Oct 25 11:48:49 alexark.net ModemManager[418]:   Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0': not supported by any plugin
      Oct 25 11:48:49 alexark.net ModemManager[418]:   Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.3/0000:05:00.1': not supported by any plugin
      $ 
      
  • here is my report:

    $ systemctl status NetworkManager
    ● NetworkManager.service - Network Manager
    Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
    Active: active (running) since Κυρ 2015-10-25 20:30:50 EET; 4h 6min ago
    Main PID: 265 (NetworkManager)
    CGroup: /system.slice/NetworkManager.service
    ├─265 /usr/bin/NetworkManager --no-daemon
    ├─334 /usr/bin/dhclient -d -q -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-enp2s0.pid -lf /v…
    └─513 /usr/bin/dhclient -d -q -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-wlp19s0.pid -lf /…

    Οκτ 25 20:31:06 thinkpad NetworkManager[265]: (wlp19s0): DHCPv6 client pid 575 exited with status 0
    Οκτ 25 20:31:06 thinkpad NetworkManager[265]: (wlp19s0): DHCPv6 state changed bound -> done
    Οκτ 26 00:36:15 thinkpad NetworkManager[265]: (ttyUSB1): cannot enable/disable modem: locked
    Οκτ 26 00:36:15 thinkpad NetworkManager[265]: (ttyUSB1): new Broadband device (carrier: UNKNOWN, driver: 'o…x: 0)
    Οκτ 26 00:36:15 thinkpad NetworkManager[265]: (ttyUSB1): device state change: unmanaged -> unavailable (rea…20 2]
    Οκτ 26 00:36:15 thinkpad NetworkManager[265]: (ttyUSB1): modem state 'locked’
    Οκτ 26 00:36:15 thinkpad NetworkManager[265]: (ttyUSB1): device state change: unavailable -> disconnected (…30 0]
    Οκτ 26 00:36:25 thinkpad NetworkManager[265]: (ttyUSB1): modem state changed, ‘locked’ --> ‘disabled’ (reas…nown)
    Οκτ 26 00:36:25 thinkpad NetworkManager[265]: (ttyUSB1): modem state changed, ‘disabled’ --> ‘enabling’ (re…ence)
    Οκτ 26 00:36:26 thinkpad NetworkManager[265]: (ttyUSB1): modem state changed, ‘enabling’ --> ‘registered’ (…sted)
    Hint: Some lines were ellipsized, use -l to show in full.

    $ systemctl status ModemManager
    ● ModemManager.service - Modem Manager
    Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; enabled; vendor preset: disabled)
    Active: active (running) since Κυρ 2015-10-25 20:30:54 EET; 4h 7min ago
    Main PID: 261 (ModemManager)
    CGroup: /system.slice/ModemManager.service
    └─261 /usr/bin/ModemManager

    Οκτ 26 00:36:24 thinkpad ModemManager[261]: (ttyUSB1): port attributes not fully set
    Οκτ 26 00:36:24 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (lo…zing)
    Οκτ 26 00:36:24 thinkpad ModemManager[261]: (ttyUSB1): port attributes not fully set
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (in…bled)
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (di…ling)
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: (ttyUSB1): port attributes not fully set
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: (ttyUSB2): port attributes not fully set
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration…ring)
    Οκτ 26 00:36:25 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration…home)
    Οκτ 26 00:36:26 thinkpad ModemManager[261]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (en…ered)
    Hint: Some lines were ellipsized, use -l to show in full.

  • @pntzamilis said:

    OK, both outputs look quite well. Both services are in correct state. In the state, which allows usb 3g modems to be detected, activated and work normally.

    So the problem apparently lies somewhere else. And is not related to NetworkManager and ModemManager services.

    When I insert it in the usb slot of my laptop, system asks me for pin and after I enter it the red led on the dongle becomes green…

    That is a good sign.

    …but I cannot connect to the network using network manager.

    This description is too generic. Could you describe what happens in more details?

    • What DE are you using?

    • Is it an old or recent Antergos installation? “Old” means some monthts ago or older.

    • After the led had gone green, do you wait a minute or two, before looking at the available mobile providers list?

    • Do you see any mobile providers, available at your current geographical location? Does the list full or empty?

    • Does your mobile provider present in it?

    • If your mobile provider is present in the list, have you defined a mobile broadband connection with it?

    • Does your mobile provider connection require a password or not?

    • If a password is required, have you entered it correctly? All modern connection editors permit to visualize the password.

    Don’t limit yourself to these questions. Simply describe, in max details you can, what do you mean with “I cannot connect to the network”.

3g usb modem1 Posts 4Views 947
Log in to reply