A
A
Andrey Surzhikov2018-10-07 10:37:06
linux
Andrey Surzhikov, 2018-10-07 10:37:06

How to set up a GSM modem via the web?

Good afternoon.
I'm making a device based on Raspberry with Raspbian (server)
It is necessary to allow the user to plug the GSM modem into the USB port and "so that the Internet appears on the raspberry".
There is a web interface (access via WiFi), and I really want to be able to
1) display the name of the connected modem (once every 3 seconds check what is connected)
2) perform the GSM modem configuration from the web interface and then write it to the Linux network configuration
I need direction on how to solve the problem.
- how to understand that the connected device is a GSM modem?
- how much trouble does modern linux have with working out of the box with modern modems?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-10-07
@pfg21

1) you need to write a udev script and it will run the necessary commands when a certain usb device is connected.
- to understand which device is connected to the usb, you need to read its identifiers - vid pid (manufacturer ID, device ID and a few less significant ones) they absolutely accurately describe which device is connected.
- as far as there is support for these devices in Linux from manufacturers or the community. there are usually no problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question