Live data from Hacker News

Using 4G LTE wireless modems on a Raspberry Pi

jeffgeerling.com

41–46 of 46 posts

Re: Using 4G LTE wireless modems on a Raspberry Pi

#41
Super interesting. Does anyone here have an idea if the described setup also works in Europe ? And some pointers towards European alternatives if not ? There are some 4g wifi modems on the market where i live in belgium, but they are just home rooters (on 220V), not this integrated stuff in the post.

Re: Using 4G LTE wireless modems on a Raspberry Pi

#43
post #41

Super interesting. Does anyone here have an idea if the described setup also works in Europe ? And some pointers towards European alternatives if not ? There are some 4g wifi modems on the market where i live in belgium, but they are just home rooters (on 220V), not this integrated stuff in the post.

Yes, just check the supported bands. 1/3/7/8/20 are the common ones for LTE in europe.

Re: Using 4G LTE wireless modems on a Raspberry Pi

#44

Earlier quoted context omitted.

Most PCI cellular modems are actually USB devices, or at least can be put into USB mode.

This is something I haven't even researched yet, but are 5G modems (the ones that seem to be more M.2 slot style) also using USB, or are they finally running over the PCIe bus?

Some have a PCIe mode, but as of now you are stuck with crappy vendor drivers (if any). Default is USB. Lenovo had an issue with their crappy notebooks in this regard. Whitelist triggered if you used it in USB mode.

Re: Using 4G LTE wireless modems on a Raspberry Pi

#45

This blog post has been quite the effort—coming into it I thought I'd just learn some new things, document a simple process, and be done. But along the way I probably spent 40 hours (and counting) trying to figure out the ins-and-outs of 4G LTE modems and Linux networking when it comes to these oddball devices. I hope some parts of this post help anyone else new to LTE networking in Linux, and maybe somebody can help…

> Why doesn't Quectel have any firmware downloads on their site? The telecoms industry in general is pretty shit and does a lot of anti-user nastiness like SIM locking or other arbitrary restrictions. It is not in the their best interests to let the user get too close to the inner workings of things. Security-wise it's also often terrible and security by obscurity is still very much the norm and would be threatened b…

>In QMI mode, the LTE interface is directly connected to your system, the 10.... IP you got is the one assigned by your carrier (I am not sure where the initial 169.254.231.106 IP it had before you established the connection came from) and your machine is directly reachable from the Internet.

Maybe from the OS on the Raspberry Pi. I don't think it comes from the modem. Generelly I would recommend using MBIM if possible.

Some Huawei devices also had NCM, which is even better in terms of handling. You only have to send a command on the serial port to connect, then use a DHCP client on the ethernet interface and you'll get the external IP on that. Also bridge mode is way easier that way.

Re: Using 4G LTE wireless modems on a Raspberry Pi

#46

I used Huawei USB LTE modems with good success, they are plug and play. Shows up as an wired Ethernet connection. I just plug them in my laptop first, use the browser based config site to set it up and then put it on the pi.

Happen to know offhand a specific model that's both inexpensive, easily available, and you've used on an RPi?
Post reply on HN