[solved] ddwrt & huawei 3372 hilink

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
trustno1foxm
DD-WRT Novice


Joined: 26 Sep 2015
Posts: 6

PostPosted: Sat Sep 26, 2015 14:18    Post subject: [solved] ddwrt & huawei 3372 hilink Reply with quote
Hello!

I have installed the dd-wrt kong mod version, all is fine, except the internet connection.
i tried several tipps on the internet without success. ok stop i got it to work, but it's no option.

the only way to get it to work is:

1. WAN Type = Mobile Broatband
2. Services = USB Core Support enabled
3. Startup Script = insmod usbnet; insmod cdc_ether
4. Reboot
5. ifconfig -a => eth3 to set it up -> ifconfig eth3 up
6. There is no way to get an IP or to set on, so
7. Change WAN Type from "mobile broadband" to "DHCP"
8. uhcpc -i eth3
9. Internet works

But after a reboot its the same game... and very boring.

Any ideas??

I would be happy if someone could help me, after ours I am giving up...

thx & so long


Last edited by trustno1foxm on Fri Oct 02, 2015 18:15; edited 1 time in total
Sponsor
trustno1foxm
DD-WRT Novice


Joined: 26 Sep 2015
Posts: 6

PostPosted: Fri Oct 02, 2015 18:15    Post subject: solution Reply with quote
1. WAN Type = DHCP
2. Services = USB Core Support enabled
3. Startup Script
Code:
insmod usbnet
insmod cdc_ether

4. Reboout
5. Startup Script append with:
Code:
sb_modeswitch -J -v 0x12d1 -p 0x1f01 (in this case a Huawei E3372 Hilink) -> Info you will get with "lsusb"
sleep 20
udhcpc -i eth3

9. Internet works
gyrex
DD-WRT Novice


Joined: 18 Oct 2015
Posts: 9

PostPosted: Wed Nov 11, 2015 8:49    Post subject: Reply with quote
Hi,

I tried these steps but my E3372 (hilink) still isn't working with DD-WRT...

Have you got any more advice? Where did you get these steps from?
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Tue Mar 15, 2016 10:54    Post subject: Reply with quote
Hi there,

Any update for Huawei HiLink usb WAN in DD-WRT?
I have Asus RT-N18U router with DD-WRT.

Thanks!
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Tue Mar 15, 2016 12:45    Post subject: Reply with quote
usb_modeswitch -v 12d1 -p 1f01

gives the following answer:

DD-WRT wrote:
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: 0123456789ABCDEF
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.


and
"udhcpc -i eth0" doesn't lead to a WAN connection
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2292
Location: Indy

PostPosted: Tue Mar 15, 2016 14:07    Post subject: Reply with quote
What builds are you guys using? Just checking since mobile broadband is broken on newer builds (after 28139 for BS builds)...
http://svn.dd-wrt.com/ticket/4963

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: Builds, Types, Modes, Changelog, Peacock, Demo #
x64 OPNsense 19.7.2|EA6900v1.1@1GHz FT 2019.3b|DD 40599: WNDR4500v2, WNDR4000@533, E1500@353, R6300v1,
2*E2500, WRT54*@250: GLv1.1 nsg, GSv6 µ
|RT-N66U@663 Merlin 380.70|OEM: WGR614v10@400-WNR1000v3 mod
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Tue Mar 15, 2016 22:13    Post subject: Asus RT-N18U, Huawei EC5373u-819, Mobile Broadband, HiLink Reply with quote
Hardware and DD-WRT info as follows:

Router with DD-WRT:
Router Model: Asus RT-N18U
Firmware Version: DD-WRT v24-sp2 (05/27/14) std - build 24160M
Kernel Version: Linux 3.10.40 #2701 Tue May 27 05:52:37 CEST 2014 armv7l

4G USB / WIFI router info:
Device name: Huawei EC5373u-819
Hardware version: CL1EC5377UM
Software version: 11.432.04.00.45
Web UI version: 16.100.02.01.45

Huawei is working well independently with WIFI connection but trying to plug in Asus' router USB and to utilize its broadband connection, Asus router with DD-WRT doesn't recognize WAN (broadband connection) with WAN as DHCP type.

You urgent help is warmly welcome Smile
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Tue Mar 15, 2016 22:21    Post subject: Asus RT-N18U, Huawei EC5373u-819, Mobile Broadband, HiLink H Reply with quote
And startup as follows:

Startup commands wrote:
insmod usbnet
insmod cdc_ether
usb_modeswitch -v 12d1 -p 1f01
sleep 20
udhcpc -i eth0


Is eth0 correct for USB?
(eth3 didn't echo anything...)

Sleep command not actually needed because Huawei with battery and therefore it's already on when Asus router is starting with DD-WRT.
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Wed Mar 16, 2016 8:13    Post subject: Asus RT-N18U, Huawei EC5373u-819, Mobile Broadband, HiLink Reply with quote
Now I managed to get IP from Huawei USB HiLnk with the following commads:
Startup command wrote:
insmod usbnet
insmod cdc_ether
usb_modeswitch J -v 0x12d1 -p 0x1f01
sleep 20
udhcpc -i eth2


WAN status shows correctly HiLink's Gateway and DNS (192.168.8.1). The internet connection status light is on with Asus router. But finally can't access to internet.

Advices welcome - thank you.
frostspring
DD-WRT Novice


Joined: 15 Mar 2016
Posts: 8

PostPosted: Wed Mar 16, 2016 10:30    Post subject: Reply with quote
Correction to above: It was Huawei 3372 HiLink when WAN seems to be up but no internet connection.

(with earlier header Huawei EC5373u-819 still no response at all)
Scorpius666
DD-WRT Novice


Joined: 24 May 2013
Posts: 6

PostPosted: Mon Apr 18, 2016 23:26    Post subject: Reply with quote
I want to try this, I think I know what's missing.

The thing is I don't have cdc_ether.ko. Where did you get this?
pppp
DD-WRT Novice


Joined: 23 Dec 2009
Posts: 34
Location: Poland

PostPosted: Wed May 11, 2016 10:28    Post subject: Reply with quote
To find interface name just enter via console:

dmesg|grep cdc_ether
or
dmesg|grep cdc


I trust they gave dmesg in ther dd-wrt:)
martin.forum
DD-WRT Novice


Joined: 17 Jun 2016
Posts: 16

PostPosted: Thu Jun 23, 2016 6:49    Post subject: wrt1900acs and e3372h (hilink) Reply with quote
Hello,

what is the current status?

Is the broadband modem connection with Kong's build 29900 now working?

If yes, what has to be done to get it working?
Working: dd-wrt WAN connection with the e3372h (hilink), which can be pinged from outside (yes I know, I want the full package:-)

Of course, I tried the simple thing and connected the e3372h with the wrt1900acs and changed the WAN connection type accordingly - but without success...

Regards, Martin

_________________
WRT1900ACS
Kong's dd-wrt v3.0r30465M from 08/24/16
arneande
DD-WRT User


Joined: 07 Nov 2008
Posts: 97

PostPosted: Sun Jun 26, 2016 9:09    Post subject: Re: wrt1900acs and e3372h (hilink) Reply with quote
martin.forum wrote:
Hello,

what is the current status?

Is the broadband modem connection with Kong's build 29900 now working?

If yes, what has to be done to get it working?
Working: dd-wrt WAN connection with the e3372h (hilink), which can be pinged from outside (yes I know, I want the full package:-)

Of course, I tried the simple thing and connected the e3372h with the wrt1900acs and changed the WAN connection type accordingly - but without success...

Regards, Martin


No the mobilebroadband dont work att all since november last year, its same for me so you are not alone.
'
arneande
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4354
Location: Germany

PostPosted: Sun Jun 26, 2016 10:41    Post subject: Re: wrt1900acs and e3372h (hilink) Reply with quote
martin.forum wrote:
Hello,

what is the current status?

Is the broadband modem connection with Kong's build 29900 now working?



Yes hilink is working, but right now cannot be configured through the webif. On my routers I configure/switch between different modes e.g. mobile wan through LTE, wireless client as wan etc. through a custom app that connects to a webservice on the router:-)

The app also displays info from the hilink interface such a signal strength etc., but this is not public atm. If I get really bored I'll add hilink support to the webif, but this is low prio for me.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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