I've tried Fathis's Script but it didn't work, I get this error message:

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 No devices in default mode found. Nothing to do. Bye.

lsusb finds the modem:

Bus 002 Device 007: ID 12d1:14c3 Huawei Technologies Co., Ltd.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/889878

Title:
  Huawei E398 dongle problem and not possible to choose 4G

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  system  does not connect Huawei E398 dongle to network. Network is not
  the problem.

  Also in mobile broadband configuraiton there is not possible to choose
  4G / LTE network in use.

  ----------------syslog------
  Nov 13 17:45:08 ipari kernel: [15763.460071] usb 1-4: new high speed USB 
device number 7 using ehci_hcd
  Nov 13 17:45:08 ipari kernel: [15763.602984] scsi8 : usb-storage 1-4:1.0
  Nov 13 17:45:08 ipari mtp-probe: checking bus 1, device 7: 
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4"
  Nov 13 17:45:08 ipari mtp-probe: bus: 1, device: 7 was not an MTP device
  Nov 13 17:45:09 ipari kernel: [15764.609004] scsi 8:0:0:0: CD-ROM            
HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
  Nov 13 17:45:09 ipari kernel: [15764.617588] sr1: scsi-1 drive
  Nov 13 17:45:09 ipari kernel: [15764.617805] sr 8:0:0:0: Attached scsi CD-ROM 
sr1
  Nov 13 17:45:09 ipari kernel: [15764.618038] sr 8:0:0:0: Attached scsi 
generic sg2 type 5
  Nov 13 17:45:09 ipari usb_modeswitch: switching 12d1:1505 (Huawei 
Technologies: HUAWEI Mobile)
  Nov 13 17:45:09 ipari kernel: [15764.650763] usb 1-4: USB disconnect, device 
number 7
  Nov 13 17:45:17 ipari kernel: [15773.160067] usb 1-4: new high speed USB 
device number 8 using ehci_hcd
  Nov 13 17:45:17 ipari mtp-probe: checking bus 1, device 8: 
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4"
  Nov 13 17:45:17 ipari kernel: [15773.297734] option 1-4:1.0: GSM modem 
(1-port) converter detected
  Nov 13 17:45:17 ipari kernel: [15773.297897] usb 1-4: GSM modem (1-port) 
converter now attached to ttyUSB0
  Nov 13 17:45:17 ipari kernel: [15773.302129] scsi9 : usb-storage 1-4:1.5
  Nov 13 17:45:17 ipari kernel: [15773.303679] scsi10 : usb-storage 1-4:1.6
  Nov 13 17:45:17 ipari mtp-probe: bus: 1, device: 8 was not an MTP device
  Nov 13 17:45:18 ipari modem-manager[860]: <info>  (ttyUSB0) opening serial 
port...
  Nov 13 17:45:18 ipari kernel: [15774.306731] scsi 9:0:0:0: CD-ROM            
HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
  Nov 13 17:45:18 ipari kernel: [15774.316819] scsi 10:0:0:0: Direct-Access     
HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
  Nov 13 17:45:18 ipari kernel: [15774.319534] sr1: scsi-1 drive
  Nov 13 17:45:18 ipari kernel: [15774.319781] sr 9:0:0:0: Attached scsi CD-ROM 
sr1
  Nov 13 17:45:18 ipari kernel: [15774.319915] sr 9:0:0:0: Attached scsi 
generic sg2 type 5
  Nov 13 17:45:18 ipari kernel: [15774.321068] sd 10:0:0:0: Attached scsi 
generic sg3 type 0
  Nov 13 17:45:18 ipari kernel: [15774.324307] sd 10:0:0:0: [sdb] Attached SCSI 
removable disk
  Nov 13 17:45:20 ipari kernel: [15776.389259] ISO 9660 Extensions: Microsoft 
Joliet Level 1
  Nov 13 17:45:20 ipari kernel: [15776.390768] ISOFS: changing to secondary root
  Nov 13 17:45:27 ipari modem-manager[860]: <info>  (ttyUSB0) closing serial 
port...
  Nov 13 17:45:27 ipari modem-manager[860]: <info>  (ttyUSB0) serial port closed
  Nov 13 17:45:27 ipari modem-manager[860]: <info>  (ttyUSB0) opening serial 
port...
  Nov 13 17:45:27 ipari modem-manager[860]: <info>  (Huawei): GSM modem 
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4 claimed port ttyUSB0
  Nov 13 17:45:28 ipari modem-manager[860]: <info>  (ttyUSB0) closing serial 
port...
  Nov 13 17:45:28 ipari modem-manager[860]: <info>  (ttyUSB0) serial port closed
  Nov 13 17:45:28 ipari NetworkManager[877]: <warn> (ttyUSB0): failed to look 
up interface index
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> WWAN now disabled by 
management service
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): new GSM/UMTS 
device (driver: 'option1' ifindex: 0)
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): exported as 
/org/freedesktop/NetworkManager/Devices/4
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): now managed
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): device state 
change: unmanaged -> unavailable (reason 'managed') [10 20 2]
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): deactivating 
device (reason 'managed') [2]
  Nov 13 17:45:28 ipari NetworkManager[877]: nm_system_iface_flush_routes: 
assertion `ifindex > 0' failed
  Nov 13 17:45:28 ipari NetworkManager[877]: nm_system_iface_flush_addresses: 
assertion `ifindex > 0' failed
  Nov 13 17:45:28 ipari NetworkManager[877]: <info> (ttyUSB0): device state 
change: unavailable -> disconnected (reason 'none') [20 30 0]
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> Activation (ttyUSB0) 
starting connection 'HUIHAI_INTERNET'
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> (ttyUSB0): device state 
change: disconnected -> prepare (reason 'none') [30 40 0]
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> Activation (ttyUSB0) Stage 
1 of 5 (Device Prepare) scheduled...
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> Activation (ttyUSB0) Stage 
1 of 5 (Device Prepare) started...
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> Activation (ttyUSB0) Stage 
1 of 5 (Device Prepare) complete.
  Nov 13 17:45:52 ipari modem-manager[860]: <info>  (ttyUSB0) opening serial 
port...
  Nov 13 17:45:52 ipari modem-manager[860]: <info>  Modem 
/org/freedesktop/ModemManager/Modems/2: state changed (disabled -> enabling)
  Nov 13 17:45:52 ipari modem-manager[860]: Invalid error code: 303
  Nov 13 17:45:52 ipari modem-manager[860]: <info>  Modem 
/org/freedesktop/ModemManager/Modems/2: state changed (enabling -> enabled)
  Nov 13 17:45:52 ipari NetworkManager[877]: <info> WWAN now enabled by 
management service
  Nov 13 17:45:52 ipari modem-manager[860]: <info>  Modem 
/org/freedesktop/ModemManager/Modems/2: state changed (enabled -> searching)
  Nov 13 17:46:01 ipari CRON[12311]: (nobody) CMD (if [ -x /usr/bin/php5 ] && [ 
-f /usr/share/serverstats/update.php ]; then /usr/bin/php5 
/usr/share/serverstats/update.php > /dev/null; fi)
  Nov 13 17:46:52 ipari NetworkManager[877]: <warn> GSM connection failed: (32) 
Network timeout
  Nov 13 17:46:52 ipari NetworkManager[877]: <info> (ttyUSB0): device state 
change: prepare -> failed (reason 'unknown') [40 120 1]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/889878/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to