Linksys E4200 Can't connect with E3276 USB modem

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
czarekkwasny
DD-WRT Novice


Joined: 28 Jul 2014
Posts: 4

PostPosted: Mon Jul 28, 2014 10:26    Post subject: Linksys E4200 Can't connect with E3276 USB modem Reply with quote
Hello,

I've searched already for some answer but can't find any hint. I just installed vanilla dd-wrt firmware to try it with my LTE USB modem. I plugged the modem in USB port, found the mobile broadband options for WAN and configured it the same way I do for my PC (PIN, APN, dial number settings) and went to WAN Status but after clicking Connect it just refreshes the site with Login status: Disconnected. The diode blinks indicating 4G connectivity.

The firmware is:
Firmware: DD-WRT v24-sp2 (03/25/13) mega (build 21061)
dd-wrt.v24-21061_NEWD-2_K2.6_mega-nv60k.bin

Hardware:
Linksys E4200
Huawei E3276s-150

The status says something like:
Connection type 3G/UMTS and
Signal status: -40DBm

But those settings are the same regardless the modem is connected or not.

I ran the cat /proc/bus/usb/devices command and found the device is recognized:

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.24.111 ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:04.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.24.111 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:04.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=14fe Rev= 1.02
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

but couldn't find any hint as to what would've gone wrong.

I also have USB Core, Storage and automount options turned on, but it seems to make no difference.

I will be very thankful for any advice.


Last edited by czarekkwasny on Mon Jul 28, 2014 13:58; edited 1 time in total
Sponsor
czarekkwasny
DD-WRT Novice


Joined: 28 Jul 2014
Posts: 4

PostPosted: Mon Jul 28, 2014 12:24    Post subject: Reply with quote
Here's the log file i managed to catch:

http://czarekkwasny.com/forums/log.txt

I can't find however anything relating to the usb device... dmesg returned more info:

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
USB20H mdio control register : 0x8000000c
PCI: Setting latency timer of device 0000:00:04.1 to 64
ehci_hcd 0000:00:04.1: EHCI Host Controller
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: EHCI Fastpath: New EHCI driver starting
ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
USB20H mdio control register : 0x8000000c
PCI: Setting latency timer of device 0000:00:04.0 to 64
ohci_hcd 0000:00:04.0: OHCI Host Controller
ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:04.0: irq 5, io mem 0x18009000
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
scsi 1:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] Attached SCSI removable disk
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
device eth2 entered promiscuous mode
br0: port 3(eth2) entering learning state
br0: port 2(eth1) entering learning state
br0: port 1(vlan1) entering learning state
device vlan2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1.1
etherip: Ethernet over IPv4 tunneling driver
device vlan1 left promiscuous mode
br0: port 1(vlan1) entering disabled state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state

From one of the threads I read it should at least register ttyUSB device, which dmesg doesn't return any information about. Could that be the potential blocker?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7047

PostPosted: Mon Jul 28, 2014 16:54    Post subject: Reply with quote
E3276 doesn't work in build r21061, try

http://www.desipro.de/ddwrt/K26/r22000++/usb-ftp-samba3-dlna-nv60k-broadcom.bin
czarekkwasny
DD-WRT Novice


Joined: 28 Jul 2014
Posts: 4

PostPosted: Tue Jul 29, 2014 7:45    Post subject: Reply with quote
Thanks a lot for your answer LOM!

I tried the build you suggested unfortunately to no avail... But that gave me the hint to actually try some of the recent builds and I actually have had success with this one:

dd-wrt.v24-24461_NEWD-2_K3.x_mega-e4200.bin

Which apparently is dedicated to my router. It connects right after setting up the mobile options and filling up the necessary fields.

Thank you so much!

Now... Obviously the first thing was to test the bandwidth. Unfortunately I came to realize that despite 1gbps communication with the router connecting USB modem this way comes at a price of the performance. Here's the comparison:



In many cases I can barely get past 20mbps, whereas the same test with modem connected directly to PC yields almost 50mbps speed. So we are talking about double reduction of performance.

I should add that doing the same test on shared connection (PC -> Laptop) via router happens without 'performance penalty' so the slowdown happens in communication between the modem and the router itself.

Do you think there's anything I could do to bring the router performance closer to the PC? Or is it the chipset limitation? That's the option I'm most afraid of...

Czarek
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7047

PostPosted: Tue Jul 29, 2014 14:27    Post subject: Reply with quote
You will unfortunately not get much higher speed than around 20-25Mbps (router cpu speed dependent) from the E3276s-150 when using it in ppp dialup mode.

The dongle also has a high-speed direct ethernet interface capable of full LTE CAT4 speed but the driver is not integrated in dd-wrt yet.
It has recently been bug-fixed/improved in mainline linux kernels from 3.14 and up but there is currently no time-schedule for incorporating it in dd-wrt.
czarekkwasny
DD-WRT Novice


Joined: 28 Jul 2014
Posts: 4

PostPosted: Tue Jul 29, 2014 15:01    Post subject: Reply with quote
Thank you for the comprehensive explanation LOM. It makes perfect sense for me now.

I'm glad there's actually a prospect of making the stick work at full speed. I will be awaiting release of the dd-wrt with linux 3.14 kernel then. Until that happens I will stick with the available options.

Thank you guys for the great work and support!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum