My Huawei E3131h 3G dongle is not recognized by my RT-AC56U. I'm using FW 376.47
I've managed to get it recognized as a generic Huawei dongle using this:
After this, dual wan worked perfectly.
I've even added this in a script to run automatically. However, it is hard to figure out when to run it because the dongle could be plugged in and out. What I have now is a background process which tries to switch it every minute. I believe that running a background process just for this is wasteful and ugly.
I guess this could be integrated into the firmware somewhere in /src/router/rc/usb_devices.c. Unfortunately I am too lazy to set up a development environment to build the FW.
Is there an easier way, like a configuration file, to get it switched?
Thanks!.
I've managed to get it recognized as a generic Huawei dongle using this:
/usr/sbin/usb_modeswitch -v 12d1 -p 15ca -V 0x12d1 -P 0x1506 -M "55534243123456780000000000000011062000000101000100000000000000"
After this, dual wan worked perfectly.
I've even added this in a script to run automatically. However, it is hard to figure out when to run it because the dongle could be plugged in and out. What I have now is a background process which tries to switch it every minute. I believe that running a background process just for this is wasteful and ugly.
I guess this could be integrated into the firmware somewhere in /src/router/rc/usb_devices.c. Unfortunately I am too lazy to set up a development environment to build the FW.
Is there an easier way, like a configuration file, to get it switched?
Thanks!.
Last edited: