Page 1 of 1

[Solved] 3G Modem not working

PostPosted: May 9th, '14, 15:47
by su35
Hi,
About 3-4 years back I availed a 3G connection. Back then I was using Lubuntu 11.04. The 3G modem worked without any issues and I was able to connect to the Internet using Network Manager.

Later I decided to use DSL so I just stopped recharging my 3G account coz it was prepaid.

Now I have decided to use 3G again but problem is when I plug in the modem Network Manager shows as an extra device under ethernet. The name that appears is "System wwp0s2f1u6i1". When I try to edit it it appears as if its a ethernet device.

When I do Add>Mobile Broadband>Create .....the "Create a connection for this mobile broadband device" is grayed out saying "any device".

I remember that is how I used to configure the connection.

Code: Select all
$ lsusb
Bus 002 Device 006: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)


What is going wrong ?

Re: 3G Modem not working

PostPosted: May 9th, '14, 16:04
by doktor5000
Seems you're using networkmanager. Please provide the output of the following commands as root

Code: Select all
journalctl -b -u NetworkManager --no-pager -a
systemctl status network.service -a
systemctl status ModemManager -a
journalctl -b -u ModemManager --no-pager -a
ifconfig -a

Re: 3G Modem not working

PostPosted: May 9th, '14, 16:17
by su35
Code: Select all
# journalctl -b -u NetworkManager --no-pager -a
-- Logs begin at Fri 2014-05-09 15:44:06 IST, end at Fri 2014-05-09 19:43:04 IST. --
May 09 19:26:56 localhost systemd[1]: Starting Network Manager...
May 09 19:26:57 localhost NetworkManager[803]: <info> NetworkManager (version 0.9.8.8) is starting...
May 09 19:26:57 localhost NetworkManager[803]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
May 09 19:26:57 localhost NetworkManager[803]: <info> WEXT support is enabled
May 09 19:26:57 localhost NetworkManager[803]: ifcfg-rh: Acquired D-Bus service com.redhat.ifcfgrh1
May 09 19:26:57 localhost NetworkManager[803]: <info> Loaded plugin ifcfg-rh: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
May 09 19:26:58 localhost NetworkManager[803]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-enp0s7 ...
May 09 19:26:58 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System enp0s7'
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u6i1 ...
May 09 19:26:58 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:26:58 localhost NetworkManager[803]: read_mac_address: assertion '*error == NULL' failed
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh:     warning: Unable to discover MAC address: ioctl error
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System wwp0s2f1u6i1'
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1 ...
May 09 19:26:58 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System wwp0s2f1u5i1'
May 09 19:26:58 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
May 09 19:26:58 localhost NetworkManager[803]: <info> monitoring kernel firmware directory '/lib/firmware'.
May 09 19:26:58 localhost systemd[1]: Started Network Manager.
May 09 19:26:58 localhost NetworkManager[803]: <info> WiFi enabled by radio killswitch; enabled by state file
May 09 19:26:58 localhost NetworkManager[803]: <info> WWAN enabled by radio killswitch; enabled by state file
May 09 19:26:58 localhost NetworkManager[803]: <info> WiMAX enabled by radio killswitch; enabled by state file
May 09 19:26:58 localhost NetworkManager[803]: <info> Networking is enabled by state file
May 09 19:26:58 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): carrier is OFF
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): new Ethernet device (driver: 'forcedeth' ifindex: 3)
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): exported as /org/freedesktop/NetworkManager/Devices/0
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): bringing up device.
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): preparing device.
May 09 19:26:58 localhost NetworkManager[803]: <info> (enp0s7): deactivating device (reason 'managed') [2]
May 09 19:26:58 localhost NetworkManager[803]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 09 19:26:58 localhost NetworkManager[803]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 09 19:26:58 localhost NetworkManager[803]: <warn> Couldn't get managed objects: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
May 09 19:26:59 localhost NetworkManager[803]: <warn> connection /org/freedesktop/NetworkManager/Settings/2 failed to activate: (2) Device not managed by NetworkManager or unavailable
May 09 19:27:00 localhost NetworkManager[803]: <warn> connection /org/freedesktop/NetworkManager/Settings/0 failed to activate: (2) Device not managed by NetworkManager or unavailable
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): carrier now ON (device state 20)
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
May 09 19:29:53 localhost NetworkManager[803]: <info> Auto-activating connection 'System wwp0s2f1u6i1'.
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) starting connection 'System wwp0s2f1u6i1'
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 09 19:29:53 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTING
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) scheduled...
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) started...
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) scheduled...
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) complete.
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) starting...
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): device state change: prepare -> config (reason 'none') [40 50 0]
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) successful.
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) scheduled.
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) complete.
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) started...
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): device state change: config -> ip-config (reason 'none') [50 70 0]
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 09 19:29:53 localhost NetworkManager[803]: <info> dhclient started with pid 4527
May 09 19:29:53 localhost dhclient[4527]: Internet Systems Consortium DHCP Client 4.2.5-P1
May 09 19:29:53 localhost dhclient[4527]: Copyright 2004-2013 Internet Systems Consortium.
May 09 19:29:53 localhost dhclient[4527]: All rights reserved.
May 09 19:29:53 localhost dhclient[4527]: For info, please visit https://www.isc.org/software/dhcp/
May 09 19:29:53 localhost dhclient[4527]:
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) complete.
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed nbi -> preinit
May 09 19:29:53 localhost dhclient[4527]: Listening on LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:29:53 localhost dhclient[4527]: Sending on   LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:29:53 localhost dhclient[4527]: Sending on   Socket/fallback
May 09 19:29:53 localhost dhclient[4527]: DHCPDISCOVER on enp0s7 to 255.255.255.255 port 67 interval 6
May 09 19:29:53 localhost dhclient[4527]: DHCPREQUEST on enp0s7 to 255.255.255.255 port 67
May 09 19:29:53 localhost dhclient[4527]: DHCPOFFER from 192.168.1.1
May 09 19:29:53 localhost dhclient[4527]: DHCPACK from 192.168.1.1
May 09 19:29:53 localhost dhclient[4527]: bound to 192.168.1.2 -- renewal in 1521 seconds.
May 09 19:29:53 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed preinit -> bound
May 09 19:29:53 localhost NetworkManager[803]: <info>   address 192.168.1.2
May 09 19:29:53 localhost NetworkManager[803]: <info>   prefix 24 (255.255.255.0)
May 09 19:29:53 localhost NetworkManager[803]: <info>   gateway 192.168.1.1
May 09 19:29:53 localhost NetworkManager[803]: <info>   hostname 'localhost'
May 09 19:29:53 localhost NetworkManager[803]: <info>   nameserver '192.168.1.1'
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May 09 19:29:53 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) started...
May 09 19:29:54 localhost NetworkManager[803]: <info> (enp0s7): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
May 09 19:29:54 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) complete.
May 09 19:29:54 localhost NetworkManager[803]: <info> (enp0s7): device state change: secondaries -> activated (reason 'none') [90 100 0]
May 09 19:29:54 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTED_GLOBAL
May 09 19:29:54 localhost NetworkManager[803]: <info> Policy set 'System wwp0s2f1u6i1' (enp0s7) as default for IPv4 routing and DNS.
May 09 19:29:54 localhost NetworkManager[803]: <info> Writing DNS information to /sbin/resolvconf
May 09 19:29:54 localhost NetworkManager[803]: <info> Activation (enp0s7) successful, device activated.
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): disconnecting for new activation request.
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): device state change: activated -> disconnected (reason 'none') [100 30 0]
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): deactivating device (reason 'none') [0]
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): canceled DHCP transaction, DHCP client pid 4527
May 09 19:36:51 localhost NetworkManager[803]: <info> Removing DNS information from /sbin/resolvconf
May 09 19:36:51 localhost NetworkManager[803]: <info> NetworkManager state is now DISCONNECTED
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) starting connection 'System wwp0s2f1u6i1'
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 09 19:36:51 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTING
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) scheduled...
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) started...
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) scheduled...
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) complete.
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) starting...
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): device state change: prepare -> config (reason 'none') [40 50 0]
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) successful.
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) scheduled.
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) complete.
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) started...
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): device state change: config -> ip-config (reason 'none') [50 70 0]
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 09 19:36:51 localhost NetworkManager[803]: <info> dhclient started with pid 4975
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) complete.
May 09 19:36:51 localhost dhclient[4975]: Internet Systems Consortium DHCP Client 4.2.5-P1
May 09 19:36:51 localhost dhclient[4975]: Copyright 2004-2013 Internet Systems Consortium.
May 09 19:36:51 localhost dhclient[4975]: All rights reserved.
May 09 19:36:51 localhost dhclient[4975]: For info, please visit https://www.isc.org/software/dhcp/
May 09 19:36:51 localhost dhclient[4975]:
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed nbi -> preinit
May 09 19:36:51 localhost dhclient[4975]: Listening on LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:36:51 localhost dhclient[4975]: Sending on   LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:36:51 localhost dhclient[4975]: Sending on   Socket/fallback
May 09 19:36:51 localhost dhclient[4975]: DHCPREQUEST on enp0s7 to 255.255.255.255 port 67
May 09 19:36:51 localhost dhclient[4975]: DHCPACK from 192.168.1.1
May 09 19:36:51 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed preinit -> reboot
May 09 19:36:51 localhost NetworkManager[803]: <info>   address 192.168.1.2
May 09 19:36:51 localhost NetworkManager[803]: <info>   prefix 24 (255.255.255.0)
May 09 19:36:51 localhost NetworkManager[803]: <info>   gateway 192.168.1.1
May 09 19:36:51 localhost NetworkManager[803]: <info>   hostname 'localhost'
May 09 19:36:51 localhost NetworkManager[803]: <info>   nameserver '192.168.1.1'
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May 09 19:36:51 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) started...
May 09 19:36:51 localhost dhclient[4975]: bound to 192.168.1.2 -- renewal in 1688 seconds.
May 09 19:36:52 localhost NetworkManager[803]: <info> (enp0s7): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
May 09 19:36:52 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) complete.
May 09 19:36:52 localhost NetworkManager[803]: <info> (enp0s7): device state change: secondaries -> activated (reason 'none') [90 100 0]
May 09 19:36:52 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTED_GLOBAL
May 09 19:36:52 localhost NetworkManager[803]: <info> Policy set 'System wwp0s2f1u6i1' (enp0s7) as default for IPv4 routing and DNS.
May 09 19:36:52 localhost NetworkManager[803]: <info> Writing DNS information to /sbin/resolvconf
May 09 19:36:52 localhost NetworkManager[803]: <info> Activation (enp0s7) successful, device activated.
May 09 19:37:22 localhost NetworkManager[803]: <info> (enp0s7): carrier now OFF (device state 100, deferring action for 4 seconds)
May 09 19:37:27 localhost NetworkManager[803]: <info> (enp0s7): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]
May 09 19:37:27 localhost NetworkManager[803]: <info> (enp0s7): deactivating device (reason 'carrier-changed') [40]
May 09 19:37:27 localhost NetworkManager[803]: <info> (enp0s7): canceled DHCP transaction, DHCP client pid 4975
May 09 19:37:27 localhost NetworkManager[803]: <info> Removing DNS information from /sbin/resolvconf
May 09 19:37:27 localhost NetworkManager[803]: <info> NetworkManager state is now DISCONNECTED
May 09 19:37:56 localhost NetworkManager[803]: ifcfg-rh: removed /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1.
May 09 19:38:00 localhost NetworkManager[803]: ifcfg-rh: removed /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u6i1.
May 09 19:38:46 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1 ...
May 09 19:38:46 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:38:46 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System wwp0s2f1u5i1'
May 09 19:38:46 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:39:45 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:39:46 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:39:46 localhost NetworkManager[803]: ifcfg-rh: removed /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1.
May 09 19:39:46 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1 ...
May 09 19:39:46 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:39:46 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System wwp0s2f1u5i1'
May 09 19:39:46 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:40:56 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:40:57 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:40:57 localhost NetworkManager[803]: ifcfg-rh: removed /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1.
May 09 19:40:57 localhost NetworkManager[803]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wwp0s2f1u5i1 ...
May 09 19:40:57 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:40:57 localhost NetworkManager[803]: ifcfg-rh:     read connection 'System wwp0s2f1u5i1'
May 09 19:40:57 localhost NetworkManager[803]: <warn> failed to allocate link cache: (-10) Operation not supported
May 09 19:41:39 localhost NetworkManager[803]: keyfile: removed /etc/NetworkManager/system-connections/Airtel Default 1.
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): carrier now ON (device state 20)
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
May 09 19:42:24 localhost NetworkManager[803]: <info> Auto-activating connection 'System enp0s7'.
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) starting connection 'System enp0s7'
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 09 19:42:24 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTING
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) scheduled...
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) started...
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) scheduled...
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 1 of 5 (Device Prepare) complete.
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) starting...
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): device state change: prepare -> config (reason 'none') [40 50 0]
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) successful.
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) scheduled.
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 2 of 5 (Device Configure) complete.
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) started...
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): device state change: config -> ip-config (reason 'none') [50 70 0]
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 09 19:42:24 localhost NetworkManager[803]: <info> dhclient started with pid 6237
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 3 of 5 (IP Configure Start) complete.
May 09 19:42:24 localhost dhclient[6237]: Internet Systems Consortium DHCP Client 4.2.5-P1
May 09 19:42:24 localhost dhclient[6237]: Copyright 2004-2013 Internet Systems Consortium.
May 09 19:42:24 localhost dhclient[6237]: All rights reserved.
May 09 19:42:24 localhost dhclient[6237]: For info, please visit https://www.isc.org/software/dhcp/
May 09 19:42:24 localhost dhclient[6237]:
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed nbi -> preinit
May 09 19:42:24 localhost dhclient[6237]: Listening on LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:42:24 localhost dhclient[6237]: Sending on   LPF/enp0s7/40:61:86:bd:3c:a2
May 09 19:42:24 localhost dhclient[6237]: Sending on   Socket/fallback
May 09 19:42:24 localhost dhclient[6237]: DHCPREQUEST on enp0s7 to 255.255.255.255 port 67
May 09 19:42:24 localhost dhclient[6237]: DHCPACK from 192.168.1.1
May 09 19:42:24 localhost dhclient[6237]: bound to 192.168.1.2 -- renewal in 1594 seconds.
May 09 19:42:24 localhost NetworkManager[803]: <info> (enp0s7): DHCPv4 state changed preinit -> reboot
May 09 19:42:24 localhost NetworkManager[803]: <info>   address 192.168.1.2
May 09 19:42:24 localhost NetworkManager[803]: <info>   prefix 24 (255.255.255.0)
May 09 19:42:24 localhost NetworkManager[803]: <info>   gateway 192.168.1.1
May 09 19:42:24 localhost NetworkManager[803]: <info>   hostname 'localhost'
May 09 19:42:24 localhost NetworkManager[803]: <info>   nameserver '192.168.1.1'
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May 09 19:42:24 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) started...
May 09 19:42:25 localhost NetworkManager[803]: <info> (enp0s7): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
May 09 19:42:25 localhost NetworkManager[803]: <info> Activation (enp0s7) Stage 5 of 5 (IPv4 Commit) complete.
May 09 19:42:25 localhost NetworkManager[803]: <info> (enp0s7): device state change: secondaries -> activated (reason 'none') [90 100 0]
May 09 19:42:25 localhost NetworkManager[803]: <info> NetworkManager state is now CONNECTED_GLOBAL
May 09 19:42:25 localhost NetworkManager[803]: <info> Policy set 'System enp0s7' (enp0s7) as default for IPv4 routing and DNS.
May 09 19:42:25 localhost NetworkManager[803]: <info> Writing DNS information to /sbin/resolvconf
May 09 19:42:25 localhost NetworkManager[803]: <info> Activation (enp0s7) successful, device activated.




Code: Select all
# systemctl status network.service -a
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Fri 2014-05-09 19:27:00 IST; 17min ago
  Process: 927 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

May 09 19:26:59 localhost network[927]: Bringing up interface enp0s7:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
May 09 19:26:59 localhost network[927]: [FAILED]
May 09 19:26:59 localhost network[927]: Bringing up interface wwp0s2f1u5i1:  Error: No suitable device found: no device found for connection 'System wwp0s2f1u5i1'.
May 09 19:26:59 localhost network[927]: [FAILED]
May 09 19:27:00 localhost network[927]: Bringing up interface wwp0s2f1u6i1:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
May 09 19:27:00 localhost network[927]: [FAILED]
May 09 19:27:00 localhost systemd-sysctl[1372]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
May 09 19:27:00 localhost systemd[1]: network.service: control process exited, code=exited status=1
May 09 19:27:00 localhost systemd[1]: Failed to start LSB: Bring up/down networking.
May 09 19:27:00 localhost systemd[1]: Unit network.service entered failed state.



Code: Select all
# systemctl status ModemManager -a
ModemManager.service - Modem Manager
   Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; disabled)
   Active: inactive (dead)



Code: Select all
# journalctl -b -u ModemManager --no-pager -a
-- Logs begin at Fri 2014-05-09 15:44:06 IST, end at Fri 2014-05-09 19:44:10 IST



Code: Select all
# ifconfig -a
enp0s7    Link encap:Ethernet  HWaddr 40:61:86:BD:3C:A2 
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::4261:86ff:febd:3ca2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2835617 (2.7 MiB)  TX bytes:290012 (283.2 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:452 errors:0 dropped:0 overruns:0 frame:0
          TX packets:452 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:35060 (34.2 KiB)  TX bytes:35060 (34.2 KiB)

wwp0s2f1u5i1 Link encap:Ethernet  HWaddr 02:50:F3:00:00:00 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Re: 3G Modem not working

PostPosted: May 9th, '14, 16:34
by linuxero
Can help you if using network manager, but this might be similar to this: viewtopic.php?f=8&t=3424

Re: 3G Modem not working

PostPosted: May 9th, '14, 17:03
by doktor5000
Please try again after
Code: Select all
systemctl start ModemManager
as root

Re: 3G Modem not working

PostPosted: May 9th, '14, 17:09
by su35
doktor5000 wrote:Please try again after
Code: Select all
systemctl start ModemManager
as root


It worked. Now NM detects the modem but since my sim card has expired I am not able to connect.

Once I install a new sim I dont think there will be any issue.

One question, will
Code: Select all
systemctl start ModemManager
make the changes permanent ?

Re: 3G Modem not working

PostPosted: May 9th, '14, 17:15
by doktor5000
su35 wrote:One question, will
Code: Select all
systemctl start ModemManager
make the changes permanent ?

No, it will only start modemmanager. To enable it to automatically start at boot, run

Code: Select all
systemctl enable ModemManager


Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks