Can anyone show me an example of how to configure OpenWrt to access the Internet via a SIM on a PC?
SIM = Subscriber Identity/Identification Module, it doesn't have anything to do with internet.
Not sure what you mean... don't you access the Internet on your phone?
You do that using a SIM.
welcome to the club
how is that related to openwrt ?
do you have "some of these things" ?
If you install OpenWrt on one of these things should you expect to access the Internet?
yes, if set up properly, it's not configured for mobile network internet access from scratch.
how is the MR600 related to your 1st post ?
It's not about the MR600, it's about how to configure an OpenWrt device to access the Internet, as it says in title of the thread.
GL accessing internet with only a SIM.
since we're talking in very generic terms, knock yourself out - https://openwrt.org/docs/guide-user/network/wan/wwan/start
Your question really isn't very clearly phrased, I got the impression you have a 4G dongle on your PC and would like OpenWrt to access the Internet via your computer.
Anyway, as we don't know your hardware, we can't give you more specific advice than what's on the already-linked Wiki page. On some routers, no configuration is needed at all - this depends on the provider settings, the SIM card and the router itself.
It takes hardware known as an LTE modem to receive Internet service from a mobile phone tower. The SIM card is only a small chip which contains cryptographic secrets that the network requires to authenticate your modem as belonging to a paid subscriber. The LTE modem will access the SIM card during the authentication process.
All of this happens outside of OpenWrt. LTE modems have a separate CPU which runs a closed-source OS. The modem accepts packets for and from the Internet over a local interface which is almost always USB. The packets are then routed to user devices through OpenWrt. A device such as the MR600 has the modem system and a router CPU (running OpenWrt) in the same box.
Is OpenWrt installed on your computer, or did you install in some other device? What LTE modem do you own?
I haven't installed it yet, I'm trying to figure out what would be involved in installing additional packages, and how to configure the system. My computer has a Ericsson Business Mobile Networks BV H5321 gw Mobile Broadband Module, although I also have a Megafon 4G dongle which I might be able to use if it was easier.
Please clarify where you would like to install OpenWrt and what your network setup is. You can also sketch a diagram with all your devices involved so that we get a clearer picture on what you would like to achieve.
You still don't think the info should have been in the 1st post ?
If either of those modules is supported by OpenWrt, then installing the packages and configuring them should be pretty easy (provided that you have another internet connection to download the packages).
Try to google for openwrt + the name of your device, to find out experiences from other users.
However, are you aware that OpenWrt is an operating system, and it's supposed to replace whatever operating system is currently installed on your PC? You can use VMs, but things get more complicated...
The only info on an Ericsson H5321 I could find was here:-
https://forum.archive.openwrt.org/viewtopic.php?id=62710
It didn't tell me much.
Forget about it.
This is the way to go, but see if you can find its real ZTE or Huawei model name.
Once you have OpenWrt up and running, plug in the modem into the router, execute cat /sys/kernel/debug/usb/devices
and post the results.
You do not need any additional packages at this stage.
Yes H5321 is a 3G module, it will not work any more in most countries since 3G signals are no longer transmitted by the phone companies.
As for the 4G stick, the way to start out with those is to run it under a desktop or laptop full Linux distribution to confirm that (a) it can actually connect to the Internet at your location with the SIM card subscription that you have and (b) it is supported by Linux, and which kernel drivers are used. Confirming these two things first will save a lot of frustration trying to get it to work with OpenWrt.