Gargolyle and Hilink modem

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
poppyfields
Posts: 14
Joined: Tue Jul 07, 2015 2:19 pm
Location: UK

Gargolyle and Hilink modem

Post by poppyfields »

I would like to ask for advice as to how to solve this problem. I'm using Gargoyle 1.7.1

It seems that many have succeeded in getting a Hilink modem (in my case an E3372-153 - ID 12d1:1f01) to work with Gargoyle, where I have failed (with TP-WR2543ND). However I have had it working on Openwrt on same device without any problems. Below is the (?relevant) dmesg.

I have tried plugging/unplugging, rebooting, sysupgrade and factory firmwares, clearing nvram.
I never get the 3G/4G option, despite trying.
I never get to choose eth port on DHCP wired.
Unable to install kmod-usb-net-cdc-ether (dependency fail due to different kernel)
(The modem lights are on and it connects - blue light)

Is the WR2543 build different from others, or is it just my modem?

Code: Select all

[    7.760000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.780000] usbcore: registered new interface driver usb-storage
[    8.160000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    8.420000] usb-storage 1-1:1.2: USB Mass Storage device detected
[    8.420000] scsi0 : usb-storage 1-1:1.2
[    9.440000] scsi 0:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[    9.450000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   12.300000] jffs2: notice: (356) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 35 of xref (0 dead, 35 orphan) found.
[   12.360000] jffs2: notice: (353) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 35 of xref (0 dead, 35 orphan) found.
[   16.240000] usbcore: registered new interface driver cdc_acm
[   16.240000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   16.250000] usbcore: registered new interface driver cdc_wdm
Any suggestions would be greatly appreciated.

Thank you,

poppyfields
Posts: 14
Joined: Tue Jul 07, 2015 2:19 pm
Location: UK

Re: Gargolyle and Hilink modem

Post by poppyfields »

Further update:

Borrowed an E372 modem - which is recognised, and all 3G/4G options appear. Therefore I suspect this is a modem issue only. Judging by the USB mass storage options appearing, is mode-switch working? With my limited knowledge, I am not sure how to test this. Could someone point me in the right direction?

UPDATE:
Tried everything again with Gargoyle 1.6.2. This time:
[ 41.080000] USB Serial support registered for GSM modem (1-port)
[ 41.080000] usbcore: registered new interface driver option
[ 41.090000] option: v0.7.2:USB Driver for GSM modems
[ 41.180000] USB Serial support registered for Qualcomm USB modem
[ 41.190000] usbcore: registered new interface driver qcserial
[ 56.340000] usb 1-1: usbfs: process 1168 (usb_modeswitch) did not claim interface 0 before use
[ 56.370000] usb 1-1: USB disconnect, device number 2
[ 56.990000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 57.310000] scsi1 : usb-storage 1-1:1.2
[ 58.310000] scsi 1:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
[ 58.320000] sd 1:0:0:0: [sda] Attached SCSI removable disk
So usb_modeswitch may be the issue. I am now at the end of my knowledge. Hope I can get this to work as I prefer Gargoyle to openwrt.

poppyfields
Posts: 14
Joined: Tue Jul 07, 2015 2:19 pm
Location: UK

Re: Gargolyle and Hilink modem

Post by poppyfields »

OK - after lots of searching I have a solution.

The Gargoyle version on this site does not appear to work with Hilink modems (or certainly not my one).
The kernel is incompatible with cdc-ether from opkg which I believe is needed for Hilink to work. This is a shame, and I have not found a solution for it.
However "eko" has compiled all the Gargoyle 1.6.2 versions for all the routers with cdc-ether (and other goodies) which means my Hilink modem worked straight away. The Gargoyle version boots into Polish, but after entering the default password its easy to change English mode.

http://dl.eko.one.pl/gargoyle-pl/attitu ... ent/ar71xx

Hope this helps others, and I hope the developers here consider this in their newer versions.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Gargolyle and Hilink modem

Post by nworbnhoj »

@poppyfields thanks for chasing down the solution and posting! :-)
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Lantis
Moderator
Posts: 7151
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Gargolyle and Hilink modem

Post by Lantis »

Cool!

Is cdc_ether the only change necessary?
If so I'll try and recommend it for you. It's a pretty easy change to apply.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Volaris
Posts: 177
Joined: Thu May 01, 2014 1:02 pm

Re: Gargolyle and Hilink modem

Post by Volaris »

poppyfields wrote:OK - after lots of searching I have a solution.

The Gargoyle version on this site does not appear to work with Hilink modems (or certainly not my one).
The kernel is incompatible with cdc-ether from opkg which I believe is needed for Hilink to work. This is a shame, and I have not found a solution for it.
However "eko" has compiled all the Gargoyle 1.6.2 versions for all the routers with cdc-ether (and other goodies) which means my Hilink modem worked straight away. The Gargoyle version boots into Polish, but after entering the default password its easy to change English mode.

http://dl.eko.one.pl/gargoyle-pl/attitu ... ent/ar71xx

Hope this helps others, and I hope the developers here consider this in their newer versions.
Woah, thank you for sharing Eko Gargoyle. I couldn't upgrade past 1.5.10 on regular Gargoyle due to being out of flash memory, but I just flashed Eko Gargoyle 1.6.2.2 and it works great. My VoIP calls are much clearer and WiFi seems stronger/more reliable. Must be the new WiFi drivers. D-Link DIR-601 A1
QoS Tip: Don't complicate your QoS settings. Gargoyle evenly splits available bandwidth between active devices as needed. Just delete all your classification rules and leave only one normal service class and you're done. No more arguing over bandwidth.

poppyfields
Posts: 14
Joined: Tue Jul 07, 2015 2:19 pm
Location: UK

Re: Gargolyle and Hilink modem

Post by poppyfields »

Glad this link has been helpful - its been a lifesaver to me as I struggled to get bandwidth to work as well as Gargoyle's in OpenWRT.

I believe all is needed for Hilink is usb_modeswitch and cdc-ether. "Eko" has compiled in other plugins and packages for a "fuller" version.

A google translated summary is here:
http://translate.google.co.uk/translate ... gargoylepl

Post Reply