Connecting USB modem


Recommended Posts

I'm trying to connect ZTE MF180 USB modem to my Unraid server. I need it for sending SMS messages using AT commands. Modem is visible in lsusb but it seems that Unraid kernel lacks "option" module and I can't connect to the modem via COM port - it simply do not exist.

Can I add this module somehow or may be Unraid team will add it next release, please?

Link to comment
2 hours ago, SimonF said:

Do you not get a ttyacm0 or similar in /dev/

Exactly. Look at the attached screenshot.

Left side - fresh install of Debian VM running inside Unraid with forwarded USB modem.

Right side - bare Unraid (Debian VM is shutdown).

On the left side modem is detected and I can use it with "screen /dev/usbTTY1"

ATI
Manufacturer: ZTE CORPORATION
Model: MF180
Revision: BD_P671A1V1.0.3B12
IMEI: ***************
+GCAP: +CGSM,+FCLASS,+DS

OK

On the right side I do not have any usbTTY, ttyacm0 or anything similar. As you can see it have "Driver=option" on the left and "Driver=" on the right

2021-05-19_215604.png

Edited by WhiteAls
Link to comment

Looks like the kernel needs the following for that device.

 

CONFIG_PCI

CONFIG_USB

CONFIG_USB_SERIAL

CONFIG_USB_SERIAL_OPTION

 

Current Unraid Compile option is

 

root@Tower:/usr/src/linux-5.10.21-Unraid# cat .config  | grep USB_SERIAL_OPTION
# CONFIG_USB_SERIAL_OPTION is not set

 

It may be that creates a module that could be created as a plugin.

Link to comment
On 5/19/2021 at 10:34 PM, SimonF said:

It may be that creates a module that could be created as a plugin.

As I understand it, the only way for me now is to compile the required module myself? And will I need to do this every time I update the system?

Link to comment
16 hours ago, WhiteAls said:

As I understand it, the only way for me now is to compile the required module myself? And will I need to do this every time I update the system?

Are you running 6.9.2? if yes I can pm you the modules and instructions on how to install if you want to test them?

Link to comment
On 5/24/2021 at 12:48 PM, SimonF said:

Are you running 6.9.2?

No, I'm running 6.9.1, but I can update it. I will do it a little later at night, I'm in RTZ 2 (UTC+3).

You can PM me, i'll try your module after upgrade, thank you!

Edited by WhiteAls
Link to comment
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.