Asus WL-500GPV2 + Huawei e3276 usb modem: is there any hope?

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


Joined: 30 Apr 2016
Posts: 1

PostPosted: Sat Apr 30, 2016 14:20    Post subject: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any hope? Reply with quote
Hello everyone,

I've recently bought Asus WL-500G Premium V2 router, as it seems to be well supported by dd-wrt, and has 2 USB ports. I'm trying to set it up to use my LTE modem and share the connection.

Unfortunately, I can't get dd-wrt to spawn /dev/ttyUSB* (or any tty) devices with it. My question is - is it even theoretically possible to get it to work with v24, and if it's not, is there any build I should use? After going through the forum it seems that k26 should work much better, but people get bricked devices on WL-500GpV2 with it.

Below I'm pasting general info:
- router: Asus WL-500G Premium V2
- dd-wrt: v24-sp2 (08/07/10) mega - build 14896 (the highest supported build for that from what I found)
- usb modem: Huawei e3276 (recognized with ID 12d1:14fe)

What I did so far:
- I flashed without trouble, using the wiki tutorial, and mega image
- I enabled ssh, jffs, ipkg and usb
- I installed packages for libusb, lsusb and usb_modeswitch (manually, by copying packages, as I don't have a net connection on the router)
- I managed to switch the modem from 12d1:14fe device ID to 12d1:1506 (that seems to be the modem mode, and that's how I use it from my laptop)
- I loaded acm.o module according to the guide on the wiki (https://www.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection ), but didn't get any result (/dev/ttyACM* should show up, but it doesn't)
- I loaded usbserial.o module (that's what I figure is needed for ttyUSB), with no results either
- I tried randomly other illogical things, with no result (putting/taking out sd card, rebooting, different usb-modeswitch configs)

System info:
Code:
root@DD-WRT:/opt/confs# uname -a
Linux DD-WRT 2.4.37 #13201 Sat Aug 7 02:24:26 CEST 2010 mips unknown
root@DD-WRT:/opt/confs# lsmod
Module                  Size  Used by
usbserial              26444   0 (unused)
hid                    19796   0 (unused)
scanner                13356   0 (unused)
acm                     6492   0 (unused)
etherip                 5104   0 (unused)
ip_nat_pptp             2560   0 (unused)
ip_conntrack_pptp       3036   1
ip_nat_proto_gre        1664   0 (unused)
ip_conntrack_proto_gre    2584   0 [ip_nat_pptp ip_conntrack_pptp]
jffs2                  97848   1
vfat                   12544   1
fat                    38880   0 [vfat]
ext3                   76932   0
jbd                    58280   0 [ext3]
ext2                   43976   0
usb-storage            40344   1
sd_mod                 13092   2
scsi_mod              101488   5 [usb-storage sd_mod]
usb-ohci               20352   0 (unused)
ehci-hcd               22060   0 (unused)
usbcore                84576   1 [usbserial hid scanner acm usb-storage usb-ohci ehci-hcd]
switch-robo             5356   0 (unused)
switch-core             6352   0 [switch-robo]



Initially, when plugged in:

Code:
root@DD-WRT:/# dmesg | tail
hub.c: new USB device 00:03.1-1.2, assigned address 16
  Vendor: HUAWEI    Model: Mass Storage      Rev: 2.31
  Type:   CD-ROM                             ANSI SCSI revision: 02
USB device connected to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 16
Unable to connect USB device to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 16
SCSI device sdb: 1995776 512-byte hdwr sectors (1022 MB)
sdb: Write Protect is off
 /dev/scsi/host1/bus0/target0/lun0: p1

root@DD-WRT:/# lsusb
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp.
Bus 001 Device 009: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
[b]Bus 001 Device 016: ID 12d1:14fe Huawei Technologies Co., Ltd.[/b]

root@DD-WRT:/#  cat 2.conf ## usb_modeswitch
DefaultVendor= 0x12d1
DefaultProduct=0x14fe

CheckSuccess=20

MessageContent="55534243123456780000000000000011062000000101000100000000000000"
MessageEndpoint=0x01
root@DD-WRT:/# root@DD-WRT:/opt/confs# usb_modeswitch -c 2.conf

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 0.9.5 (C) Josua Dietze 2008
 * Works with libusb 0.1.12 and probably other versions

Looking for default devices
 Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
 OK, driver found ("usb-storage")
 OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
 OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

root@DD-WRT:/opt/confs# dmesg | tail
USB device disconnected from the SCSI subsystem
usb.c: USB disconnect on device 00:03.1-1.2 address 16
USB device disconnected from the SCSI subsystem
hub.c: new USB device 00:03.1-1.2, assigned address 17
  Vendor: HUAWEI    Model: TF CARD Storage   Rev: 2.31
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
SCSI device sdb: 1995776 512-byte hdwr sectors (1022 MB)
sdb: Write Protect is off
 /dev/scsi/host3/bus0/target0/lun0: p1
USB device connected to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 17

root@DD-WRT:/opt/confs# lsusb
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp.
Bus 001 Device 009: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
Bus 001 Device 017: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

root@DD-WRT:/dev# find /dev/ -name 'tty*'
/dev/tty

# I even tried removing and loading modules:
root@DD-WRT:/opt/modules# rmmod usbserial
root@DD-WRT:/opt/modules# rmmod acm
root@DD-WRT:/opt/modules# insmod usb/serial/usbserial.o
root@DD-WRT:/opt/modules# insmod usb/acm.o

root@DD-WRT:/opt/modules# dmesg | tail
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 17
usb.c: deregistering driver acm
usbserial.c: USB Serial deregistering driver Generic
usb.c: deregistering driver serial
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters


Right now I'm a little stuck. I've spent a while googling/going through the forum, but even despite these 2 devices are quite common, I didn't find anyone writing about a similar setup, or similar issue. I'd greatly appreciate any advice/hints. It's not a matter of life and death, but it's buggering me. If I succeed I can create a guide/wiki article from my notes.

Thanks for reading and help.
Sponsor
stalonge
DD-WRT Guru


Joined: 21 Jul 2006
Posts: 1898
Location: Fortaleza Ce Brazil

PostPosted: Sun May 01, 2016 9:43    Post subject: Reply with quote
Try a build prior to 286**

for example ..

ftp://ftp.dd-wrt.com/betas/2015/12-24-2015-r28598/


it will work ..

I have here a WZR1750 .. which i have same problem if i use version after 29600 .. Something done in the code broke usb modem Huawei ..

Very Happy Very Happy

_________________
DDwrt ...it rocks ....

1 R7800 54420 AP Wireguard webserver JFFS SAMBA FTP usb HD Mesh
1 R7800 54420 Cli Mesh
1 WZR1750 54389 AP Webserver Samba Wireguard
1 TP link Archer C7v5 54420 Cli Mesh
1 DD x86_64 48296 Gateway Samba Ftp Webserver
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 7:58    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
You can manually create the ttyACM0 device file with this (since the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0

jreare wrote:
Hello everyone,

System info:
[code]root@DD-WRT:/opt/confs# uname -a
Linux DD-WRT 2.4.37 #13201 Sat Aug 7 02:24:26 CEST 2010 mips unknown
root@DD-WRT:/opt/confs# lsmod
Module Size Used by
usbserial 26444 0 (unused)
hid 19796 0 (unused)
scanner 13356 0 (unused)
acm 6492 0 (unused)

Thanks for reading and help.

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Jul 09, 2016 9:08    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
tou.manokat@gmail.com wrote:
You can manually create the ttyACM0 device file with this (since the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0



Why?
cdc_acm will create the ttyACM device(s) as soon as it binds to a usb interface that should be driven by it.
If cdc_acm is loaded but no devices generated then it won't help to create them manually, they will not be connected to a usb interface on the dongle.
Completely useless..

_________________
Kernel panic: Aiee, killing interrupt handler!
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 12:54    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
I have been dealing with RocketPort ® Universal Multi Serial 32-Port cards, http://www.comtrol.com/rocketport-multi-port-serial-cards/rocketport-universal-pci/rocketport-universal-pci-32 for a very long time now. At the offices, we run many serial Epson dot matrix printers, Label printers and a few dumb terminals. In the past we also had used Computone multi serial cards.

Sometimes it does happen, when the character special files are not created automatically at the time the modules are loaded, in which case, I need to create the character special files by hand.

LOM wrote:
tou.manokat@gmail.com wrote:
You can manually create the ttyACM0 device file with this (since the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0



Why?
cdc_acm will create the ttyACM device(s) as soon as it binds to a usb interface that should be driven by it.
If cdc_acm is loaded but no devices generated then it won't help to create them manually, they will not be connected to a usb interface on the dongle.
Completely useless..

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 13:03    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
To create the character special files manually, you need to identify the driver major and device minor numbers, this way:

# cat /proc/devices | grep -i "tty"

It may show something like this:

4 tty
4 ttyS
5 /dev/tty
188 ttyACM

The number 188 is the driver major number. The tty directory contains information about all of the currently loaded tty drivers.

cat /proc/tty/driver/usbserial

It may show something like this:

[root@server dev]# cat /proc/tty/driver/usbserial

0: module:option name:"GSM modem (1-port)" vendor:12d1 product:1436 num_ports:1 port:0 path:usb-0000:00:1a.7-3
1: module:option name:"GSM modem (1-port)" vendor:12d1 product:1436 num_ports:1 port:0 path:usb-0000:00:1a.7-3
2: module:option name:"GSM modem (1-port)" vendor:12d1 product:1436 num_ports:1 port:0 path:usb-0000:00:1a.7-3

The first digit is your minor number:

0, 1 and 2. So we can now create the character special files this way.


mknod /dev/ttyACM0 c 188 0
mknod /dev/ttyACM1 c 188 1
mknod /dev/ttyACM2 c 188 2
chmod 660 /dev/ttyACM*

or just do chmod 777 /dev/ttyACM* to guarantee that there wont be permission problem down the road.


However, if # cat /proc/devices | grep -i "tty" shows this:

4 tty
4 ttyS
5 /dev/tty
188 ttyUSB

mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
mknod /dev/ttyUSB2 c 188 2
chmod 777 /dev/ttyUSB*

And in case the PPP still reference to ttyACM*, create symbolic links:

ln -s /dev/ttyUSB0 /dev/ttyACM0
ln -s /dev/ttyUSB1 /dev/ttyACM1
ln -s /dev/ttyUSB2 /dev/ttyACM2


jreare wrote:
Hello everyone,

I've recently bought Asus WL-500G Premium V2 router, as it seems to be well supported by dd-wrt, and has 2 USB ports. I'm trying to set it up to use my LTE modem and share the connection.

Unfortunately, I can't get dd-wrt to spawn /dev/ttyUSB* (or any tty) devices with it. My question is - is it even theoretically possible to get it to work with v24, and if it's not, is there any build I should use? After going through the forum it seems that k26 should work much better, but people get bricked devices on WL-500GpV2 with it.

Below I'm pasting general info:
- router: Asus WL-500G Premium V2
- dd-wrt: v24-sp2 (08/07/10) mega - build 14896 (the highest supported build for that from what I found)
- usb modem: Huawei e3276 (recognized with ID 12d1:14fe)

What I did so far:
- I flashed without trouble, using the wiki tutorial, and mega image
- I enabled ssh, jffs, ipkg and usb
- I installed packages for libusb, lsusb and usb_modeswitch (manually, by copying packages, as I don't have a net connection on the router)
- I managed to switch the modem from 12d1:14fe device ID to 12d1:1506 (that seems to be the modem mode, and that's how I use it from my laptop)
- I loaded acm.o module according to the guide on the wiki (https://www.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection ), but didn't get any result (/dev/ttyACM* should show up, but it doesn't)
- I loaded usbserial.o module (that's what I figure is needed for ttyUSB), with no results either
- I tried randomly other illogical things, with no result (putting/taking out sd card, rebooting, different usb-modeswitch configs)

System info:
Code:
root@DD-WRT:/opt/confs# uname -a
Linux DD-WRT 2.4.37 #13201 Sat Aug 7 02:24:26 CEST 2010 mips unknown
root@DD-WRT:/opt/confs# lsmod
Module                  Size  Used by
usbserial              26444   0 (unused)
hid                    19796   0 (unused)
scanner                13356   0 (unused)
acm                     6492   0 (unused)
etherip                 5104   0 (unused)
ip_nat_pptp             2560   0 (unused)
ip_conntrack_pptp       3036   1
ip_nat_proto_gre        1664   0 (unused)
ip_conntrack_proto_gre    2584   0 [ip_nat_pptp ip_conntrack_pptp]
jffs2                  97848   1
vfat                   12544   1
fat                    38880   0 [vfat]
ext3                   76932   0
jbd                    58280   0 [ext3]
ext2                   43976   0
usb-storage            40344   1
sd_mod                 13092   2
scsi_mod              101488   5 [usb-storage sd_mod]
usb-ohci               20352   0 (unused)
ehci-hcd               22060   0 (unused)
usbcore                84576   1 [usbserial hid scanner acm usb-storage usb-ohci ehci-hcd]
switch-robo             5356   0 (unused)
switch-core             6352   0 [switch-robo]



Initially, when plugged in:

Code:
root@DD-WRT:/# dmesg | tail
hub.c: new USB device 00:03.1-1.2, assigned address 16
  Vendor: HUAWEI    Model: Mass Storage      Rev: 2.31
  Type:   CD-ROM                             ANSI SCSI revision: 02
USB device connected to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 16
Unable to connect USB device to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 16
SCSI device sdb: 1995776 512-byte hdwr sectors (1022 MB)
sdb: Write Protect is off
 /dev/scsi/host1/bus0/target0/lun0: p1

root@DD-WRT:/# lsusb
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp.
Bus 001 Device 009: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
[b]Bus 001 Device 016: ID 12d1:14fe Huawei Technologies Co., Ltd.[/b]

root@DD-WRT:/#  cat 2.conf ## usb_modeswitch
DefaultVendor= 0x12d1
DefaultProduct=0x14fe

CheckSuccess=20

MessageContent="55534243123456780000000000000011062000000101000100000000000000"
MessageEndpoint=0x01
root@DD-WRT:/# root@DD-WRT:/opt/confs# usb_modeswitch -c 2.conf

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 0.9.5 (C) Josua Dietze 2008
 * Works with libusb 0.1.12 and probably other versions

Looking for default devices
 Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
 OK, driver found ("usb-storage")
 OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
 OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

root@DD-WRT:/opt/confs# dmesg | tail
USB device disconnected from the SCSI subsystem
usb.c: USB disconnect on device 00:03.1-1.2 address 16
USB device disconnected from the SCSI subsystem
hub.c: new USB device 00:03.1-1.2, assigned address 17
  Vendor: HUAWEI    Model: TF CARD Storage   Rev: 2.31
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
SCSI device sdb: 1995776 512-byte hdwr sectors (1022 MB)
sdb: Write Protect is off
 /dev/scsi/host3/bus0/target0/lun0: p1
USB device connected to the SCSI subsystem
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 17

root@DD-WRT:/opt/confs# lsusb
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp.
Bus 001 Device 009: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
Bus 001 Device 017: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

root@DD-WRT:/dev# find /dev/ -name 'tty*'
/dev/tty

# I even tried removing and loading modules:
root@DD-WRT:/opt/modules# rmmod usbserial
root@DD-WRT:/opt/modules# rmmod acm
root@DD-WRT:/opt/modules# insmod usb/serial/usbserial.o
root@DD-WRT:/opt/modules# insmod usb/acm.o

root@DD-WRT:/opt/modules# dmesg | tail
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 17
usb.c: deregistering driver acm
usbserial.c: USB Serial deregistering driver Generic
usb.c: deregistering driver serial
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters


Right now I'm a little stuck. I've spent a while googling/going through the forum, but even despite these 2 devices are quite common, I didn't find anyone writing about a similar setup, or similar issue. I'd greatly appreciate any advice/hints. It's not a matter of life and death, but it's buggering me. If I succeed I can create a guide/wiki article from my notes.

Thanks for reading and help.

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Jul 09, 2016 15:33    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
tou.manokat@gmail.com wrote:

Sometimes it does happen, when the character special files are not created automatically at the time the modules are loaded, in which case, I need to create the character special files by hand.



It is not the loading of a driver module that creates device nodes, it is a successful binding of the driver to the hardware that creates them.
Creating them manually means that they will be hanging in the air with no connection to the hardware.

All of this is moot anyway since E3276 is not a dongle with cdc_acm interfaces so you can not get the cdc_acm driver to bind to it. Your manually created ttyACM device nodes will be a dead end road.

_________________
Kernel panic: Aiee, killing interrupt handler!
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Jul 09, 2016 15:49    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
jreare wrote:


Asus WL-500GPV2 + Huawei e3276 usb modem: is there any hope?


No, the drivers needed for E3276 were never in Linux 2.4

_________________
Kernel panic: Aiee, killing interrupt handler!
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 17:00    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
LOM wrote:
tou.manokat@gmail.com wrote:

Sometimes it does happen, when the character special files are not created automatically at the time the modules are loaded, in which case, I need to create the character special files by hand.



It is not the loading of a driver module that creates device nodes, it is a successful binding of the driver to the hardware that creates them.
Creating them manually means that they will be hanging in the air with no connection to the hardware.

All of this is moot anyway since E3276 is not a dongle with cdc_acm interfaces so you can not get the cdc_acm driver to bind to it. Your manually created ttyACM device nodes will be a dead end road.


Not all GSM pieces of hardware perform analog functions to exchange raw data via abstract control model (ACM), some GSM devices use software only USB stack, of course with additional constraints put onto the CPU. So, the hardware for those using software only USB stack would not bind to cdc_acm, and would not create the nodes. Some HUAWEI GSM dongles do this, like E1691.

"it is a successful binding of the driver to the hardware that creates them." Of course, it is Device Driver Development 101.

That is why I put the prerequisite, that the device should at least show up in "/proc/devices" as 188 ttyACM or 188 ttyUSB. If it does not show up there, then there is no point in moving ahead.

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 19:09    Post subject: Re: Asus WL-500GPV2 + Huawei e3276 usb modem: is there any h Reply with quote
You might want to flash a newer DD-WRT build. 14896 is just too old, and was compiled from 2.4 sources.

Upgrade to newer firmware and edit the device set in PPPDaemon option file. Change "/dev/usb/acm/0" to "/dev/ttyUSB0":

sed -i -e 's/\/dev\/usb\/acm\/0/\/dev\/ttyUSB0/g' /jffs/etc/ppp/peers/isp

jreare wrote:
Hello everyone,

Right now I'm a little stuck. I've spent a while googling/going through the forum, but even despite these 2 devices are quite common, I didn't find anyone writing about a similar setup, or similar issue. I'd greatly appreciate any advice/hints. It's not a matter of life and death, but it's buggering me. If I succeed I can create a guide/wiki article from my notes.

Thanks for reading and help.

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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