Activation Codes and Methods, Hardware Details, Sniffing
LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: TP-Link MA180

Post by LOM » 19 Sep 2012, 17:40

wifi_help wrote:

Code: Select all

# insmod usbserial vendor=0x2357 product=0x0201 
and then my devices /dev/ttyUSB[0-4] appear

Do you believe I should definitely use the `option' drive with the TP-Link? These are the modules available from OpenWRT:

The option driver is preferred, it is faster than usbserial and should not attach to the storage interface so you will get 4 ttyUSB devices instead of 5, ttyUSB2 is then your modem interface.

TP-Link is not directly supported in the option driver so you'll have to add your stick as a new id:

echo "2357 0201" > /sys/bus/usb-serial/drivers/option1/new_id

and insmod the option driver.

Your proc/bus/usb/devices file will now show the option driver being attached to the interfaces.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: TP-Link MA180

Post by Josh » 19 Sep 2012, 19:45

Thanks, LOM, I was about to write pretty much the same.


Some additional remarks:

- the "option" driver uses (and depends on) the "usb_wwan" module

- you can add your ID only after the module is loaded

barbaro11
Posts: 2
Joined: 04 Apr 2021, 14:44

Re: TP-Link MA180

Post by barbaro11 » 12 Jun 2021, 17:04

Hi guys.

I use the tplink ma180 as 3g internet dongle for a sun-powered webserver.
I only have one issue.
I read that TTYUSB2 is the modem port and one of 0,1,3 tty ports should work as service ports.

In particular, I need to read remotely the sms without remove the sim card.

The problem is that when I try to communicate using AT commands the only way is to disconnect the modem and communicate only through the ttyUSB2 to pick back the smss.

Are available other options to retrieve sms using other ttys ports instead tty2?

Regards
Barbaro

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: TP-Link MA180

Post by LOM » 13 Jun 2021, 04:20

barbaro11 wrote: 12 Jun 2021, 17:04 Are available other options to retrieve sms using other ttys ports instead tty2?
Probably not since the other tty ports are for diag and NMEA and most likely don't speak any AT or a very limited AT subset.
Use the dongle in direct net mode through the qmi_wwan interface so that you can be remotely connected while reading SMS on the modem port.

The dongles interface layout:
MI_00 TP-LINK HS-USB Diagnostics
MI_01 TP-LINK HS-USB NMEA
MI_02 USB Mass Storage Device
MI_03 TP-LINK HS-USB Modem
MI_04 TP-Link Wireless HS-USB Ethernet Adapter (qmi_wwan)

Post Reply