← Back to team overview

desktop-packages team mailing list archive

[Bug 1198283] Re: Huawei E3276 will not recognized correctly

 

The apn setting is taken from the settings I used with an earlier
Huawei modem (E392) that did work on this computer.

I have indeed tried the present modem on a windows machine to verify
that it worked at all. I just tested again, and managed to get a 4G
network connection using online.telia.se. I also removed the PIN, but
could not find any settings to restrict the connection to any
particular type of network on the windows network manager that Huawei
supplies.

Retesting earlier suggestions after that test on windows brings up
somewhat different responses from the script and a steady blue light
(not blinking) from the modem, but no working internet connection, and
no wwan0 interfae visible as far as I can see:

$ ./huawei-4g-linux.pl
Huawei 4g modem (E3276 and possibly others) script by Janhouse (Janis Jansons).

Opening device: /dev/ttyUSB0
> ATZ
> OK
> ATZ
> OK
> ATQ0 V1 E1 S0=0
> OK
> AT^NDISDUP=1,1,"online.telia.se"
> OK
> ^NDISSTAT:1,,,"IPV4"
> AT^DHCP?
> ^DHCP: 31B54E4E,FCFFFFFF,32B54E4E,32B54E4E,12C743C3,13C743C3,150000000,150000000
> OK
warn, dhcpcd will not work correctly unless run as root
err, wwan0: open `/var/run/dhcpcd-wwan0.pid': Permission denied
Hexadecimal number > 0xffffffff non-portable at ./huawei-4g-linux.pl line 73.
' ignored at ./huawei-4g-linux.pl line 73.
Hexadecimal number > 0xffffffff non-portable at ./huawei-4g-linux.pl line 73.

You can close this script now or you can keep it open to monitor the
link quality.

Link quality:
> AT+CSQ
> +CSQ: 19,99
> OK
> AT+COPS?
> +COPS: 0,0,"Telia",7
> OK
Link quality:
> AT+CSQ
> +CSQ: 18,99
> OK
> AT+COPS?
> +COPS: 0,0,"Telia",7
> OK
^C
Closing...
$$ ifconfig
eth0      Link encap:Ethernet  HWaddr 5c:9a:d8:ea:7a:17  
          UP 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)
          Interrupt:17 Memory:e2700000-e2720000 

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:48236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48236 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12295946 (12.2 MB)  TX bytes:12295946 (12.2 MB)

wlan0     Link encap:Ethernet  HWaddr a0:88:b4:b7:3b:8c  
          inet addr:192.168.0.154  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a288:b4ff:feb7:3b8c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:526328 errors:0 dropped:0 overruns:0 frame:0
          TX packets:846132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:115640447 (115.6 MB)  TX bytes:1189924701 (1.1 GB)

bmelinden@apis:~/bin/4g-connect-linux-master$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 5c:9a:d8:ea:7a:17 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether a0:88:b4:b7:3b:8c brd ff:ff:ff:ff:ff:ff

$ sudo ./huawei-4g-linux.pl
[sudo] password for bmelinden: 
Huawei 4g modem (E3276 and possibly others) script by Janhouse (Janis Jansons).

Opening device: /dev/ttyUSB0
> ATZ
> OK
> ATZ
> OK
> ATQ0 V1 E1 S0=0
> OK
> AT^NDISDUP=1,1,"online.telia.se"
> OK
> AT^DHCP?
> ^DHCP: 31B54E4E,FCFFFFFF,32B54E4E,32B54E4E,12C743C3,13C743C3,150000000,150000000
> OK
err, wwan0: ioctl SIOCGIFHWADDR: No such device
Hexadecimal number > 0xffffffff non-portable at ./huawei-4g-linux.pl line 73.
' ignored at ./huawei-4g-linux.pl line 73.
Hexadecimal number > 0xffffffff non-portable at ./huawei-4g-linux.pl line 73.

You can close this script now or you can keep it open to monitor the
link quality.

Link quality:
> AT+CSQ
> +CSQ: 18,99
> OK
> AT+COPS?
> +COPS: 0,0,"Telia",7
> OK
^C
Closing...
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 5c:9a:d8:ea:7a:17  
          UP 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)
          Interrupt:17 Memory:e2700000-e2720000 

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:48236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48236 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12295946 (12.2 MB)  TX bytes:12295946 (12.2 MB)

wlan0     Link encap:Ethernet  HWaddr a0:88:b4:b7:3b:8c  
          inet addr:192.168.0.154  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a288:b4ff:feb7:3b8c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:526650 errors:0 dropped:0 overruns:0 frame:0
          TX packets:846421 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:115679845 (115.6 MB)  TX bytes:1189951539 (1.1 GB)

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 5c:9a:d8:ea:7a:17 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether a0:88:b4:b7:3b:8c brd ff:ff:ff:ff:ff:ff

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

Title:
  Huawei E3276 will not recognized correctly

Status in modemmanager package in Ubuntu:
  Triaged

Bug description:
  Hello,
  My Huawei LTE Stick (E3276) will not recognized correctly on Ubuntu 13.04 (Same problem on my Workstation).

  
  How to Reproduce:

  1.) Plug in the Huawei E3276 Stick to the USB Port

  2.) Now should appear the PIN-Request but only a Errormessage appears:
  "Unable to open a folder for Mobile Partner: Error when getting
  information for file '/media/michael/Mobile Partner': No such file or
  directory"

  
  In the syslog i had found following lines (i hope it helps):

  Jul  5 19:16:32 michael-X201EP udisksd[2421]: Mounted /dev/sr0 at /media/michael/Mobile Partner on behalf of uid 1001
  Jul  5 19:16:32 michael-X201EP usb_modeswitch[2820]: usb_modeswitch: switched to 12d1:1506 on 3/3
  Jul  5 19:16:37 michael-X201EP signond[3024]: ../../../../src/signond/signondaemon.cpp 360 init Failed to SUID root. Secure storage will not be available. 
  Jul  5 19:16:40 michael-X201EP modem-manager[1085]: <info>  (ttyUSB0) closing serial port...
  Jul  5 19:16:40 michael-X201EP modem-manager[1085]: <info>  (ttyUSB0) serial port closed
  Jul  5 19:16:41 michael-X201EP modem-manager[1085]: <info>  (Huawei): GSM modem /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2 claimed port ttyUSB0
  Jul  5 19:16:41 michael-X201EP modem-manager[1085]: <error> Failed to organize modem ports: (0) Failed to find primary port.
  Jul  5 19:16:41 michael-X201EP modem-manager[1085]: marshal_object: assertion `g_variant_is_object_path (path)' failed
  Jul  5 19:16:41 michael-X201EP modem-manager[1085]: failed to marshal parameter 1 for signal DeviceRemoved
  Jul  5 19:17:01 michael-X201EP CRON[3192]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

  
  As Workaround i had try'd this Script: "https://github.com/Janhouse/4g-connect-linux/blob/master/huawei-4g-linux.pl"; and it works! :)

  
  Thank you and
  best regards,

  michael

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: modemmanager 0.6.0.0.really-0ubuntu5
  Uname: Linux 3.9.0-030900rc8-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.2
  Architecture: amd64
  Date: Fri Jul  5 19:19:25 2013
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-annan-standard-precise-amd64-20130106-0
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-03-28 (99 days ago)
  InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130106-02:29
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: modemmanager
  UpgradeStatus: Upgraded to raring on 2013-04-26 (70 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1198283/+subscriptions