This is defined by the software (kernel) running on the stick. But I don't know further details since I have not tinkered with USB gadget mode on Linux devices yet.
So maybe the stock firmware already supports that the stick acts as modem mode.
You were asking for
and as far as I know, OpenWrt does not support out of the box to be used as a modem. So might be that you can use the stick straight away as a modem if you plug it to any router, but if you flash an OpenWrt based system on the stick you might need to do some configuration on the stick itself. (But of course, have much more power to customise the behaviour of the stick.)
I start wondering, if you just mixed up "OpenWrt on the stick" with "OpenWrt on the AR150", and you mean an OpenWrt for the AR150 which can drive the stick with it's stock firmware (not OpenWrt) as a modem?
Sorry, my english is not good anymore. What I would like to do is to use this dongle with stock firmware on it in my AR-150 with OpenWRT, all that expectant that one day will be a stable OpenWRT firmware for this dongle (in order to use it alone without use in combo with ar-150)
After installing the universal image, you need to flash the commands fastboot flash boot boot.img fastboot flash rootfs rootfs.img
after renaming the ...boot.bin and ...system.bin files from the compiled firmware to boot.img and rootfs.img.
Rebooting the device after flashing with the fastboot reboot command
you need to go to Openwrt 192.168.1.1 and flash ...sysupgrade.bin from the web interface.
Do not forget that you can restore your modem by shorting 1 and 6 PINs on the board.
Moreover, if the SIM is not inserted, then you will enter the EDL mode, and if the SIM is inserted, then you will enter the fastboot mode.
It turns out to be an "UFI6735W_V1.1" according to the printing on the board, and power by a MediaTek MT6735V, probably with 2 GB flash and 128 MiB RAM:
However, the "UFI6735W_V1.1" seems to have better LTE connectivity according to preliminary tests. I need to compare with my Huawei E3372 stick at places with bad reception.
Does anyone has a link to purchase a UF896 with good LTE antennas/ reception, with internal shielding in place, optional with microSD slot, and with EU frequencies?
→ Here is a ASR1802S based device. Preliminary search seemed that theoretically there is Linux support for it, but does anyone know how far a route this would be?
I tested different sim cards, neither did work. I also searched for any means to deactivate SIM detection, to force the modem to talk to the SIM, but did not find anything.
I also installed picocom, but i struggled to find any serial interface where AT-commands could be sent to the modem.
Hi Sorine, Thanks for the process. This is great.
I cannot reach out your repository located at https://xfl.jp/lnvXp6. 404 page not found. Could you see what's going on please
Thanks
Need to try. The fact is that modems come with different radio modules, depending on the number of bands. For example, the SIM works for the author and he has 1,3,5 bands. With you, the SIM part of the SIM does not even turn on. This is an example with me with bands 1,3,7,20 and European. First try changing the AT modes with commands. To do this, enable debug in MM.
Edit vi /usr/sbin/ModemManager-wrapper
Change /usr/sbin/ModemManager "$@" 1>/dev/null 2>/dev/null &
to /usr/sbin/ModemManager --debug "$@" 1>/dev/null 2>/dev/null &
and restart router.
Man mmcli -m 0 --command=
I had this problem too. Before you start messing with GPIOs try just power cycling
the sim card :
in adb or ssh
/etc/init.d/modemmanager stop
qmicli -d /dev/modem --uim-sim-power-off=1
qmicli -d /dev/modem --uim-sim-power-on=1
/etc/init.d/modemmanager start
mmcli -m 0 -e
mmcli -m 0
i struggled to find any serial interface where AT-commands could be sent to the modem.
Hello Guys,
I bought this Qualcomm MSM8916 LTE Dongle, but it is not working on the OpenWrt router (installed in Raspberry Pi 4B).
I also have a ZTE dongle which got easily detected on the router but this one is not getting detected by the router.
I noticed that when I connect this dongle to OpenWrt, it shows a MAC address for 2 seconds and then disconnected. But it's working fine on Windows PC as RNDIS.
Can someone guide me on what to do to get it to work with OpenWrt?
Hi, I cannot manage to get the LTE up and running. Still I have " Modem bearer teardown in progress."
or it says "Status: failed, failed reason: SIM missing".
Have you changed anything when building up the UFI003?
Could you share some tech outputs please - for instance : mmcli - m 0, ps, opkg list-installed, dmesg, fdisk -x. So i can compare with I have. Thanks