GL.iNet GL-X3000/ Spitz AX support

Hi,
I tried building with the latest master on both stable kernel (6.1) and testing kernel (6.6), and I don't see any build issue.
The patches have been renamed to avoid prefix number collisions, so I guess your repository is not fully up-to-date with master and kept the old patches.

In case you just want the built images, you can get them from here: https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/

1 Like

Hi,
Sorry about that. I should have double-checked the repository contents before posting. Apparently the git reset didn't get rid of the 2 files I had added at some point...
Thanks :slight_smile:

Hello,

Thank you for the job ! I have a question, there is 2 versions of X3000 device (see https://www.gl-inet.com/products/gl-x3000/) :

  • X3000NR with 5G module RM520N-GL
  • X3000C16 with 4G module EM160R-GL

Can you tell me if an image of the X3000C16 is planned ?

I tested this image on my X3000C16, however the LTE interface does not seem to be detected.
If sombody is willing to give a try on this, I can offer a ssh access to my board on the factory firmware/test an image on it.

Thanks

You should probably be able to get the modem running anyway.

Hello,
If you are using a precompiled image I am unsure if they contain the necessary drivers. Also, the modem should be in usb mode.

@dohseven

Amazing!

I have a somewhat general question.

I seem to recall from years ago installing snapshot is initially limited to CLI access for administration. Is that still the case or do snapshots also have luci these days? Not that I need luci immediately (I can always install it manually) but I just wonder.

Also, would you say the system runs well for daily driver? For me matters: expected max 5G speed performance and ability to switch between the 2 SIMs. Load balancing between them would even be better but I don't think OpenWRT can connect with both at the same time (can it?). If ready it would be great if someone could provide 'opkg list-installed' output and perhaps a backup-GL-XE3000-2024-MM-DD.tar.gz to extract and start from as inspiration.

Indeed, the snapshots are limited to SSH access, without luci.

I don't use it on a daily basis, so I'm not able to confirm, but as far as I can see it runs smoothly. Maybe other people in this thread can give their opinion.

However I think the 5G speed could be improved by using PCI instead of USB in order to communicate with the modem (but it requires more development). And for the two SIMs, I have no idea either, but maybe ModemManager is able to handle them both.

1 Like

Runs perfectly as a daily driver, I have been using it as such since before it was added to the official repository. The only issue I had was with disconnects every 24 hours (by the operator), which was solved by an edit to one of the ModemManager scripts (so the modem reconnects after the connection is dropped).

Well, the performance depends on the 5G coverage of the area and the load on the cell towers... I have managed to coax up to 250 Mbps from the modem where I live.
As for the dual SIM I am unsure, since I have only 1 SIM and don't use the second slot.

1 Like

@dohseven & @JayBG : thanks for sharing your experience and knowledge!

I have two images, one pre-build system update from the above link and another from the firmware builder using the snapshot for GL-XE3000. When I go to do the system update in Luci with the GL.Inet firmware it warn me that “Device glinet,xe3000-emmc not supported by this image“.
Image name is “openwrt-mediatek-filogic-glinet_gl-xe3000-squashfs-sysupgrade.bin”
What am I missing, or are people forcing this upgrade?
I know openWRT can support that storage as I am running a stable version on the Flint2 with the same storage. I just wanted to check since I would rather not brick it.
Thanks,
Scott

The git commit states to install using u-boot rescue recovery mode:

1 Like

I am not an expert in OpenWRT, nonetheless I want to install it on my Spitz, but I am worried about all the issues to activate and configure the 5G modem and interface properly, is there a guide with the steps I have to follow?

Aldo, the available FW to download is a SNAPSHOT, what is the meaning of this? Still in development? Not a stable 23.05.03 version available?

Any feedback and clarification will be appreciated, thank you

The steps are detailed in the commit message. However you will have to access the device using SSH, and then install the minicom package to follow them.

The commit adding the support for this device was merged after the 23.05 release, meaning it will be officialy supported in the next release. In the meantime, you can use a SNAPSHOT firmware, which is built on top of the master branch: it should work, but it is per definition less stable than a firmware built on a release branch.

You can read about the differences between the release and snapshot firmwares in the OpenWrt wiki : https://openwrt.org/releases/snapshot

Edit: Got it working, my mistake was that the modem was set to PCIE not USB. Modem must be in USB mode. Just follow the steps below.


I flashed SNAPSHOT, ssh'd into the box did the following steps:

  1. Set password: # passwd
  2. # opkg update ; opkg install luci-ssl luci-proto-modemmanager minicom
  3. Make sure modem is in USB mode: guide
  4. reboot

I set up a new connection with the same settings I used with stock firmware. However, it does not connect :frowning:
https://imgur.com/Tgih6jl.png
https://imgur.com/CY8oyCn.png

Also 5G is no listed, but it connects with 5G using stock firmware

root@OpenWrt:~# mmcli -m 0
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: 7cc676c779569243f3d66b8b08f91736afc9f8e2
  --------------------------------
  Hardware |         manufacturer: Quectel
           |                model: RM520N-GL
           |    firmware revision: RM520NGLAAR01A07M4G
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 016442003741424
  --------------------------------
  System   |               device: /sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.2
           |              physdev: /sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.2
           |              drivers: option1
           |               plugin: quectel
           |         primary port: ttyUSB2
           |                ports: ttyUSB2 (at)
  --------------------------------
  Numbers  |                  own: +49151***
  --------------------------------
  Status   |       unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                state: enabled
           |          power state: on
           |       signal quality: 0% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 01644**
           |         registration: idle
           | packet service state: detached
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0

Modem is set to pcie:

+QCFG: "data_interface",1,0

I tried:

Different authentication methods (PAP, CHAP, PAP/CHAP) with different credentials I found online. (but it should work without authentification just like in stock FW)

I'm out of ideas, any help is appreicated


I gave it some more trying. I used a SIM card that works in the old Sptitz 4G:

The settings are identical, but no luck with the new one.

1 Like

Genuine question though, why install OpenWRT on it when it already has the excellent custom OpenWRT from the manufacturer on it?

I completely understand wanting to get stock OpenWRT working on it overall, so that it doesn't become a brick once the manufacturer stops supporting their build. But as an end user right now, I don't see any point in switching to stock.

Running the modem in USB mode is a complete downgrade given I can pull 1.2Gbit on the stock firmware on a good day. I've even seen conflicting reports of USB mode bricking the modem due to some versions only supporting PCIe mode but stupidly not preventing you from switching it to an invalid mode.

Hello,
The reason I use it is because I can set the router with the functionality I require, without additional junk that I don’t need. And I don’t like the interface they force on you.
As for PCI-e vs usb, you theoretically shouldn’t see a difference at least until 5Gbps… so it doesn’t really matter that much what mode you are using. Besides as you said - on a good day. The speed depends a lot more on the provider and environmental factors unfortunately.
Of course if the vendor provided firmware works for what you need, then good for you.
So… what you use depends a lot on your use case… and what you like.

Zhivko

2 Likes

@Penguin
@dohseven

Thank you for all the information, this is great, I was able to install the Snapshot image, installed luci-ssl and luci-proto-modemmanager, as explained above, I was able to connect to the luci web interface as well. Then I connected the WAN ethernet interface to the internet (existing internet) and I connected a client via the second ethernet port and all worked fine browsing the internet.

Now I need to enable the 5G modem/interface, I am not an expert in openWRT, please I need some detailed guidance (for noobs) on how to activate the modem in 5G mode instead of the ethernet WAN interface (used only for testing).

When I try to run the command minicom -D /dev/ttyUSB2 as explained on the commit information, but it says command not found.

Please I know I am asking for a lot, but without detailed instructions or at least some hints it will be really hard for me to make it work as a 5G modem.

Thank you very much

Does it?

What, forked, EOL, version of OpenWRT is it running? 【Runs on OpenWrt 21.02】

                                 Active Support Security Support   

So, no one is fixing known vulnerabilities.
Genuine question:
Why are you, with 8 years of experience with OpenWrt, asking this question?

1 Like

You have to install minicom before you are able to use it

# opkg update
# opkg install minicom

I like to keep my stuff simple. I know how to use OpenWRT, the custom front end does some things in the background I don't know and can't be manipulated using luci. All I want is minimalist openwrt and just install what I really need.