[sorry, this post had more links but I had to remove then because as a newbie I'm forbidden of having more than two links in a post]
My device is the TL-MR3020 v1.
My USB dongle is the Olicard 500.
Does it work?
On an Ubuntu PC I followed these steps:
- notes.rioastamal.net/2014/05/ubuntu-linux-switching-usb-modem-to-serial-manually.html to make the /dev/ttyUSB* devices show up
wiki.debian.org/Modem/3G to further configure the connection
and it worked.
What I did
I've tried these steps first with OpenWrt 15.*, then 17.01.5 then 17.01.6, without any difference in the result:
- I start by following the tutorial at /docs/guide-user/network/wan/wwan/3gdongle
The tutorial tells me to look for the dmesg output, it looks like this:
after installing comgt kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch dongle not plugged yet [ 362.462026] usbcore: registered new interface driver usbserial [ 362.466672] usbcore: registered new interface driver usbserial_generic [ 362.473056] usbserial: USB Serial support registered for generic [ 362.707206] usbcore: registered new interface driver option [ 362.711467] usbserial: USB Serial support registered for GSM modem (1-port) dongle plugged [ 413.064115] usb 1-1: new high-speed USB device number 3 using ehci-platform
There's no mention of the dongle being recognized as a CD-ROM device or anything like that, but still nothing shows up in the
root@LEDE:~# ls /dev/ bus mtd3 null ttyS13 console mtd3ro port ttyS14 cpu_dma_latency mtd4 ppp ttyS15 full mtd4ro ptmx ttyS2 hwrng mtd5 pts ttyS3 kmsg mtd5ro random ttyS4 log mtdblock0 shm ttyS5 memory_bandwidth mtdblock1 tty ttyS6 mtd0 mtdblock2 ttyATH0 ttyS7 mtd0ro mtdblock3 ttyS0 ttyS8 mtd1 mtdblock4 ttyS1 ttyS9 mtd1ro mtdblock5 ttyS10 urandom mtd2 network_latency ttyS11 watchdog mtd2ro network_throughput ttyS12 zero
The tutorial says something about usb-modeswitch, but I don't know if that is relevant to my case. Anyway, I don't have the
/etc/usb_modeswitch.d/ directory nor the
usb-modeswitch command. I only have
usbmode -l doesn't output anything.
I tried the
echo 'idVendor idProduct' > /sys/bus/usb-serial/drivers/option1/new_id, but that didn't yield any result. I've used
2020 2030 ff as the values here, but the result was always the same. I've taken these ids from
/sys/bus/usb/devices/1-1/idProduct (and these are the same numbers I used on Ubuntu with success).
There's also a
/sys/bus/usb/devices/usb1/ directory which is created when I plug the dongle, and it has different idVendor and idProduct. I also tried using these without success.
usbmode -s 2020:2030 too, gives me nothing. Not even an error, no output, nothing appears on
Is there are any help for my case?