Problem with 4G modem -- 'ip-config-unavailable'



Hi. I'm trying to connect to internet using my E3276 4G modem. But I cannot 'cause of strange error -- 'ip-config-unavailable'. Modem works well under Windows, when using official "connect manager" software. Here's output of 'NetworkManager --no-daemon' command. Output is generated with last, downloaded from git repo and compiled from sources (last commit is 47d8db5) version of NM. I've also tested with 0.9.8.0 and 0.9.6.4 versions, but result is the same.

lt-NetworkManager[30907]: <info> Activation (ttyUSB2) starting connection 'Megafon RUS 3'
lt-NetworkManager[30907]: <info> (ttyUSB2): device state change: disconnected -> prepare (reason 'none') [30 40 0]
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled...
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started...
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete.
lt-NetworkManager[30907]: <info> WWAN now enabled by management service
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 2 of 5 (Device Configure) scheduled...
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 2 of 5 (Device Configure) starting...
lt-NetworkManager[30907]: <info> (ttyUSB2): device state change: prepare -> config (reason 'none') [40 50 0]
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 2 of 5 (Device Configure) successful.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 3 of 5 (IP Configure Start) scheduled.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 2 of 5 (Device Configure) complete.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 3 of 5 (IP Configure Start) started...
lt-NetworkManager[30907]: <info> (ttyUSB2): device state change: config -> ip-config (reason 'none') [50 70 0]
lt-NetworkManager[30907]: <info> starting PPP connection
lt-NetworkManager[30907]: <info> pppd started with pid 30956
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 3 of 5 (IP Configure Start) complete.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv6 Configure Timeout) started...
Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv6 Configure Timeout) complete.
** Message: nm-ppp-plugin: (plugin_init): initializing
** Message: nm-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
Removed stale lock on ttyUSB2 (pid 2724)
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
lt-NetworkManager[30907]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
** Message: nm-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate'
** Message: nm-ppp-plugin: (get_credentials): passwd-hook, requesting credentials...
** Message: nm-ppp-plugin: (get_credentials): got credentials from NetworkManager
CHAP authentication succeeded: Welcome!!
CHAP authentication succeeded
** Message: nm-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
Modem hangup
** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
** Message: nm-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
Connection terminated.
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv4 Configure Timeout) started...
lt-NetworkManager[30907]: <info> (ttyUSB2): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
lt-NetworkManager[30907]: <warn> Activation (ttyUSB2) failed for connection 'Megafon RUS 3'
lt-NetworkManager[30907]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv4 Configure Timeout) complete.
lt-NetworkManager[30907]: <info> (ttyUSB2): device state change: failed -> disconnected (reason 'none') [120 30 0]
lt-NetworkManager[30907]: <info> (ttyUSB2): deactivating device (reason 'none') [0]
** Message: nm-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
** Message: nm-ppp-plugin: (nm_exit_notify): cleaning up


N.B. I've done some hacking and re-compiling on 0.9.8.0 version and figured out, that function, that actually outputs the error is 'nm_device_activate_ip4_config_timeout' in 'nm-device.c' file, and one of it's lines is notably different in very last (commit 47d8db5) and 0.9.8.0 versions:
comm. 47d8db5:

if ((priv->ip4_state == IP_DONE) && (priv->ip4_config == NULL)) {

ver. 0.9.8.0

if ((priv->ip6_state == IP_DONE) && (priv->ip6_config == NULL)) {

Hope this will help. Thanks in advance!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]