mtchang / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

LTE Huawei E3276s problem #1011

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. My LTE Huawei E3276s - 150 does not work with RT-N56U.
2. Plus (Poland) is my GSM-operator.
3. Router does not make connection.
4. Asus firmware -  version 3.4.3.6-069
5. E3276 firmware - 21.192.03.00.69

Please help.

Original issue reported on code.google.com by lech.ste...@gmail.com on 30 Sep 2013 at 9:03

GoogleCodeExporter commented 9 years ago
Was wondering if this issue has a solution?

Hope the following entries from the log helps!

----------------------------------------------------------------------------
Jan  1 09:05:37 kernel: usb 1-2: new high-speed USB device number 3 using 
rt3xxx-ehci
Jan  1 09:05:37 kernel: usb 1-2: New USB device found, idVendor=12d1, 
idProduct=157c
Jan  1 09:05:37 kernel: usb 1-2: Product: HUAWEI Mobile
Jan  1 09:05:37 kernel: usb 1-2: Manufacturer: HUAWEI Technology
Jan  1 09:05:37 kernel: usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
Jan  1 09:05:37 kernel: scsi2 : usb-storage 1-2:1.0
Jan  1 09:05:37 kernel: scsi3 : usb-storage 1-2:1.1
Jan  1 09:05:40 kernel: scsi 2:0:0:0: CD-ROM            HUAWEI   Mass Storage   
  2.31 PQ: 0 ANSI: 2
Jan  1 09:05:40 kernel: scsi 3:0:0:0: Direct-Access     HUAWEI   TF CARD 
Storage  2.31 PQ: 0 ANSI: 2
Jan  1 09:05:40 kernel: scsi 2:0:0:0: Attached scsi generic sg0 type 5
Jan  1 09:05:40 kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
Jan  1 09:05:40 kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Jan  1 09:05:40 usb_modeswitch: no rule for device 12d1:157c
----------------------------------------------------------------------------

Original comment by noxie2...@gmail.com on 6 Oct 2013 at 6:34

GoogleCodeExporter commented 9 years ago
I have also been struggling with this issue. Same RT-N56U firmware, same USB 
modem. With newest ASUS firmware the connection is successful, but with custom 
firmware the USB modem seems to find network, but it does not actually connect 
(according to led lights).

Original comment by jko...@gmail.com on 12 Oct 2013 at 9:34

GoogleCodeExporter commented 9 years ago
Just to update, I managed to resolve my problem by adding the specific file for 
my device product ID which is not included in the firmware build and rebuild 
"my own" version of the firmware based on the source code provided.

Original comment by noxie2...@gmail.com on 13 Oct 2013 at 12:45

GoogleCodeExporter commented 9 years ago
Unfortunately, my router with the latest, original ASUS firmware does not
work, as was the custom.
With both seems to find network, but it does not actually connect.
Did you use some special settings?
LS

Original comment by lech.ste...@gmail.com on 14 Oct 2013 at 11:24

GoogleCodeExporter commented 9 years ago
I did not use any special settings. Set the USB modem to Auto, and then just 
enter details you get from your ISP. And you could also try turning off SIM 
card PIN auth.

Original comment by jko...@gmail.com on 14 Oct 2013 at 11:34

GoogleCodeExporter commented 9 years ago
Hi,

I'm not sure, I'm able to rebuild source code, but can you tell me what is
that "specific file", what does it contain and where did you add it (what
folder?).
Or is it possible to add "your own" binaries somewhere in net.

Regards LS

Original comment by lech.ste...@gmail.com on 14 Oct 2013 at 11:54

GoogleCodeExporter commented 9 years ago
Is usb_modeswitch performed after first device init?

After insert modem to USB port, зlease get:

1) syslog
2) output command cat /proc/bus/usb/devices

Original comment by andy.pad...@gmail.com on 19 Oct 2013 at 5:53

GoogleCodeExporter commented 9 years ago
Modem Type must be set as "NDIS: LTE and other"

Original comment by andy.pad...@gmail.com on 19 Oct 2013 at 6:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

As per my post on #1, my product ID for my E3276s-150 is 157c instead of the 
one you had a modswitch rule created for, thus, when the modem is inserted into 
the router it attempted to run modswitch but no rules found ("usb_modeswitch: 
no rule for device 12d1:157c"), so it don't connects.

What i've done is to create a file named as "12d1:157c" in the modswitch 
directory in the firmware with the content same as "12d1:14fe", and have the 
firmware recompiled and loaded into the router.

And the modem now works with NDIS on the router and successfully had it 
modswitched to "12d1:1506".

Original comment by noxie2...@gmail.com on 20 Oct 2013 at 2:13

GoogleCodeExporter commented 9 years ago
OK. I will add the new rule to git.

NOTE: You can create any usb_modeswitch rule w/o rebuild firmware. Simple copy 
new file, e.g. 12d1:157c to /etc/storage. "rc" logic check rules in 
/etc/storage first.

Original comment by andy.pad...@gmail.com on 20 Oct 2013 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by andy.pad...@gmail.com on 21 Oct 2013 at 12:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
So basically on 3.4.3.6-069, login to router via ssh and:
cp /etc_ro/usb_modeswitch.d/12d1:156a /etc/storage/12d1:157c

Reinsert dongle and problem solved. This survives router reboots but obviously 
not firmware updates.

Original comment by mjde...@gmail.com on 21 Oct 2013 at 2:15

GoogleCodeExporter commented 9 years ago
I come to notice an issue, not sure if it's a bug.

There are times that I noticed that the connection is already disconnected but 
there don't seemed to be reconnecting.

Please advise. Thanks

Original comment by noxie2...@gmail.com on 22 Oct 2013 at 6:41

GoogleCodeExporter commented 9 years ago
Unfortunately my modem doesn't work. I get ver. ...071 and it is the same
problem.

Original comment by lech.ste...@gmail.com on 27 Oct 2013 at 5:09

GoogleCodeExporter commented 9 years ago
Hi,

I have another version:
Oct 27 19:17:21 usb_modeswitch: no rule for device 12d1:1506
Could you add it?

Best regards
LS

All log:

Oct 27 19:16:34 wan: perform manual connect
Oct 27 19:16:34 stop_wan(): raise DHCP release event
Oct 27 19:16:35 kernel: eth3: ===> VirtualIF_close
Oct 27 19:16:35 RT-N56U: Hardware NAT/Routing: Enabled, IPoE/PPPoE offload
[WAN]<->[LAN/WLAN]
Oct 27 19:16:35 RT-N56U: Hardware NAT/Routing: IPv4 UDP flow offload - OFF
Oct 27 19:16:35 RT-N56U: Hardware NAT/Routing: IPv6 routes offload - OFF
Oct 27 19:16:35 kernel: eth3: ===> VirtualIF_open
Oct 27 19:16:35 DHCP WAN Client: starting on eth3 ...
Oct 27 19:17:03 kernel: usb 1-2: USB disconnect, device number 10
Oct 27 19:17:14 kernel: usb 1-2: new high-speed USB device number 11 using
rt3xxx-ehci
Oct 27 19:17:15 kernel: usb 1-2: New USB device found, idVendor=12d1,
idProduct=14fe
Oct 27 19:17:15 kernel: usb 1-2: Product: HUAWEI Mobile
Oct 27 19:17:15 kernel: usb 1-2: Manufacturer: HUAWEI Technology
Oct 27 19:17:15 kernel: scsi18 : usb-storage 1-2:1.0
Oct 27 19:17:15 kernel: scsi19 : usb-storage 1-2:1.1
Oct 27 19:17:18 kernel: scsi 18:0:0:0: CD-ROM            HUAWEI   Mass
Storage     2.31 PQ: 0 ANSI: 2
Oct 27 19:17:18 kernel: scsi 18:0:0:0: Attached scsi generic sg0 type 5
Oct 27 19:17:18 kernel: scsi 19:0:0:0: Direct-Access     HUAWEI   TF CARD
Storage  2.31 PQ: 0 ANSI: 2
Oct 27 19:17:18 kernel: sd 19:0:0:0: Attached scsi generic sg1 type 0
Oct 27 19:17:18 kernel: sd 19:0:0:0: [sda] Attached SCSI removable disk
Oct 27 19:17:18 usb_modeswitch: switching device 12d1:14fe on 001/011
Oct 27 19:17:18 kernel: usb 1-2: USB disconnect, device number 11
Oct 27 19:17:18 kernel: usb 1-2: new high-speed USB device number 12 using
rt3xxx-ehci
Oct 27 19:17:18 kernel: usb 1-2: New USB device found, idVendor=12d1,
idProduct=1506
Oct 27 19:17:18 kernel: usb 1-2: Product: HUAWEI Mobile
Oct 27 19:17:18 kernel: usb 1-2: Manufacturer: HUAWEI Technology
Oct 27 19:17:18 kernel: scsi20 : usb-storage 1-2:1.2
Oct 27 19:17:18 kernel: scsi21 : usb-storage 1-2:1.3
Oct 27 19:17:21 kernel: scsi 20:0:0:0: CD-ROM            HUAWEI   Mass
Storage     2.31 PQ: 0 ANSI: 2
Oct 27 19:17:21 kernel: scsi 20:0:0:0: Attached scsi generic sg0 type 5
Oct 27 19:17:21 kernel: scsi 21:0:0:0: Direct-Access     HUAWEI   TF CARD
Storage  2.31 PQ: 0 ANSI: 2
Oct 27 19:17:21 kernel: sd 21:0:0:0: Attached scsi generic sg1 type 0
Oct 27 19:17:21 kernel: sd 21:0:0:0: [sda] Attached SCSI removable disk
Oct 27 19:17:21 usb_modeswitch: no rule for device 12d1:1506
Oct 27 19:17:48 stop_wan(): raise DHCP release event
Oct 27 19:17:49 kernel: eth3: ===> VirtualIF_close
Oct 27 19:17:49 kernel: usbcore: registered new interface driver cdc_ether
Oct 27 19:17:49 kernel: usbcore: registered new interface driver rndis_host
Oct 27 19:17:49 kernel: usbcore: registered new interface driver cdc_wdm
Oct 27 19:17:49 kernel: usbcore: registered new interface driver qmi_wwan
Oct 27 19:17:49 kernel: usb 1-2: MAC-Address: 0c:5b:8f:27:9a:64
Oct 27 19:17:49 kernel: cdc_ncm 1-2:1.1: wwan0: register 'cdc_ncm' at
usb-rt3xxx-ehci-2, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64
Oct 27 19:17:49 kernel: usbcore: registered new interface driver cdc_ncm
Oct 27 19:17:49 kernel: usbcore: registered new interface driver cdc_mbim
Oct 27 19:17:49 kernel: usbcore: registered new interface driver sierra_net
Oct 27 19:17:49 kernel: usbcore: registered new interface driver usbserial
Oct 27 19:17:49 kernel: usbcore: registered new interface driver
usbserial_generic
Oct 27 19:17:49 kernel: USB Serial support registered for generic
Oct 27 19:17:49 kernel: usbserial: USB Serial Driver core
Oct 27 19:17:50 kernel: usbcore: registered new interface driver option
Oct 27 19:17:50 kernel: USB Serial support registered for GSM modem (1-port)
Oct 27 19:17:50 kernel: option 1-2:1.0: GSM modem (1-port) converter
detected
Oct 27 19:17:50 kernel: usb 1-2: GSM modem (1-port) converter now attached
to ttyUSB0
Oct 27 19:17:50 kernel: usbcore: registered new interface driver sierra
Oct 27 19:17:50 kernel: USB Serial support registered for Sierra USB modem
Oct 27 19:17:52 RT-N56U: Hardware NAT/Routing: Enabled, IPoE/PPPoE offload
[WAN]<->[LAN/WLAN]
Oct 27 19:17:52 RT-N56U: Hardware NAT/Routing: IPv4 UDP flow offload - OFF
Oct 27 19:17:52 RT-N56U: Hardware NAT/Routing: IPv6 routes offload - OFF
Oct 27 19:17:52 kernel: eth3: ===> VirtualIF_open
Oct 27 19:17:52 kernel: ADDRCONF(NETDEV_UP): wwan0: link is not ready
Oct 27 19:17:54 comgt: ERROR: NDISDUP ERROR!
Oct 27 19:17:54 DHCP WAN Client: starting on wwan0 ...

Original comment by lech.ste...@gmail.com on 27 Oct 2013 at 6:27

GoogleCodeExporter commented 9 years ago
Hi #17,

12d1:1506 is correct, and from your log, I see that your huawei modem is 
recognized as a modem already.

If it doesn't connect, I supposed it's other issue causing it.

Original comment by noxie2...@gmail.com on 31 Oct 2013 at 6:38

GoogleCodeExporter commented 9 years ago
Hi, i have exactly the same problem that #17 with E3276. ERROR:NDISDUP ERROR! 
Modem flashes green twice with 2sec delay so its on, but not looking for 
network. It worked before i hotplugged modem once. Tried to flash firmware to 
n56 again many times, and tried factory defaults, nothing seems to help. Any 
ideas? 
Firmware im using is newest 072.

Original comment by ossi.mal...@gmail.com on 20 Nov 2013 at 8:42

GoogleCodeExporter commented 9 years ago
i suggest you update the firmware of your Huawei E3276, sometimes, the firmware 
has compability problem with router. 

http://www.4gltemall.com/huawei-e3276-4g-lte-surfstick.html

Original comment by sa...@4gltemall.com on 29 Jul 2014 at 7:59