3G not working on TL-WR1043N

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
SimonSt
Posts: 5
Joined: Tue Apr 10, 2012 11:39 am

3G not working on TL-WR1043N

Post by SimonSt »

Hi,

I want to use my ZTE UMTS USB Stick with the TL-WR1043N. The 3G (GSM) option is not available in the connection menu.
Like said in this manual: http://www.gargoyle-router.com/wiki/doku.php?id=3g I did

Code: Select all

opkg update
opkg install picocom 
in the console.

But when I try

Code: Select all

picocom -b 115200 /dev/ttyUSB2
I get

Code: Select all

FATAL: cannot open /dev/ttyUSB2: No such file or directory

Code: Select all

dmesg
says

Code: Select all

usb 1-1: USB disconnect, device number 2
usb 1-1: new high-speed USB device number 3 using ehci-platform
scsi1 : usb-storage 1-1:1.3
scsi 1:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] Attached SCSI removable disk
Why can't gargoyle find the device?

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3G not working on TL-WR1043N

Post by ispyisail »

ZTE modems

ZTE USB modems by default support self-installation and auto-run functionality. This is a problem with linux devices and needs to be disabled.

sonykphilip
Posts: 4
Joined: Mon Nov 05, 2012 11:51 am

Re: 3G not working on TL-WR1043N

Post by sonykphilip »

If you

Code: Select all

cat /proc/bus/usb/devices


and you find that modeswitch has successfully switched to the target Vendor/Product ID eg,

Code: Select all

Vendor=12d1 ProdID=140b


because I already had

Code: Select all

cat /etc/usb_modeswitch.d/12d1\:1446
# Huawei, newer modems

TargetVendor=  0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,1432,1433,1436,14ac,1506,1511"

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
then it COULD be because kmod-usb-serial-option and kmod-usb-serial-wwan are not installed.

Do

Code: Select all

opkg install kmod-usb-serial-option


If it refuses to install try

Code: Select all

opkg --force-depends install kmod-usb-serial-option
You should get:

Code: Select all

opkg list-installed | grep kmod-usb
kmod-usb-acm - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb-printer - 3.3.8-1
kmod-usb-serial - 3.3.8-1
kmod-usb-serial-option - 3.3.8-1
kmod-usb-serial-wwan - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb-storage-extras - 3.3.8-1
kmod-usb2 - 3.3.8-1
.

After this, ttyUSB[0,1,2] came up for me in 1.5.9. I dont know why its been left out but Im happy it works for me. YMMV.

hugbear
Posts: 3
Joined: Fri Dec 20, 2013 11:48 am

Re: 3G not working on TL-WR1043N

Post by hugbear »

Hi!

My first try at running Gargoyle (and quite noob at all things Linux :roll: ) so please go easy on me...

Status quo:
- two routers TP-Link TL-WR1043ND (ver 1.7 and 1.8)
- OS Gargoyle 1.5.11
- USB modem HUAWEI E3131

Problem: modem not seen by the system; 3g option not shown in WAN list.

A few snippets that I thought could help you help me:

Code: Select all

root@remote:~# dmesg | grep -i usb
[    3.800000] Registered led device: tp-link:green:usb
[    8.270000] usbcore: registered new interface driver usbfs
[    8.270000] usbcore: registered new interface driver hub
[    8.280000] usbcore: registered new device driver usb
[    8.840000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.850000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.910000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.910000] hub 1-0:1.0: USB hub found
[    9.010000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    9.080000] Initializing USB Mass Storage driver...
[    9.080000] usbcore: registered new interface driver usb-storage
[    9.090000] USB Mass Storage support registered.
[   37.700000] usbcore: registered new interface driver cdc_acm
[   37.700000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   37.860000] usbcore: registered new interface driver usblp
[   37.900000] usbcore: registered new interface driver usbserial
[   37.900000] USB Serial support registered for generic
[   37.910000] usbcore: registered new interface driver usbserial_generic
[   37.910000] usbserial: USB Serial Driver core
[   38.020000] USB Serial support registered for Sierra USB modem
[   38.030000] usbcore: registered new interface driver sierra
[   38.030000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
[   38.060000] usbcore: registered new interface driver sierra_net
[   38.220000] usbcore: registered new interface driver ums-alauda
[   38.240000] usbcore: registered new interface driver ums-cypress
[   38.270000] usbcore: registered new interface driver ums-datafab
[   38.350000] usbcore: registered new interface driver ums-freecom
[   38.370000] usbcore: registered new interface driver ums-isd200
[   38.400000] usbcore: registered new interface driver ums-jumpshot
[   38.430000] usbcore: registered new interface driver ums-karma
[   38.460000] usbcore: registered new interface driver ums-sddr09
[   38.480000] usbcore: registered new interface driver ums-sddr55
[   38.510000] usbcore: registered new interface driver ums-usbat
[   38.640000] USB Serial support registered for GSM modem (1-port)
[   38.640000] usbcore: registered new interface driver option
[   38.650000] option: v0.7.2:USB Driver for GSM modems
[   38.740000] USB Serial support registered for Qualcomm USB modem
[   38.750000] usbcore: registered new interface driver qcserial
[ 3863.720000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 3863.870000] scsi0 : usb-storage 1-1:1.0
[ 3863.870000] scsi1 : usb-storage 1-1:1.1
[ 3864.490000] usb 1-1: USB disconnect, device number 2
[ 3871.080000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 3871.230000] scsi2 : usb-storage 1-1:1.4
[ 8243.600000] usb 1-1: USB disconnect, device number 3
[ 8656.670000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[ 8656.820000] scsi3 : usb-storage 1-1:1.0
[ 8656.820000] scsi4 : usb-storage 1-1:1.1
[ 8657.350000] usb 1-1: USB disconnect, device number 4
[ 8663.940000] usb 1-1: new high-speed USB device number 5 using ehci-platform
[ 8664.090000] scsi5 : usb-storage 1-1:1.4
[31552.810000] usb 1-1: USB disconnect, device number 5
[64470.570000] usb 1-1: new high-speed USB device number 6 using ehci-platform
[64470.720000] scsi6 : usb-storage 1-1:1.0
[64470.720000] scsi7 : usb-storage 1-1:1.1
[64471.240000] usb 1-1: USB disconnect, device number 6
[64477.830000] usb 1-1: new high-speed USB device number 7 using ehci-platform
[64477.980000] scsi8 : usb-storage 1-1:1.4

Code: Select all

root@remote:~# opkg list-installed | grep usb
kmod-ledtrig-usbdev - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-acm - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-core - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-net - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-ohci - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-printer - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-serial - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-serial-option - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-serial-qualcomm - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-serial-sierrawireless - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-serial-wwan - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-sierrawireless-directip - 3.3.8-10-9085b13c38263aeabdadc676913afc1c
kmod-usb-storage - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb-storage-extras - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
kmod-usb2 - 3.3.8-1-9085b13c38263aeabdadc676913afc1c
libusb - 0.1.12-3
libusb-1.0 - 1.0.9-1
plugin-gargoyle-usb-printer - 1.5.11-1
plugin-gargoyle-usb-storage - 1.5.11-1
usb-modeswitch - 1.2.6-1
usb-modeswitch-data - 20130610-1
usbutils - 005-1

Code: Select all

root@remote:~# cat /etc/usb_modeswitch.d/12d1\:151a
# Huawei E392u-12, E3131 (Variant)

TargetVendor=  0x12d1
TargetProductList="151b,151d"

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
"Vendor=12d1 ProdID=151d" here:

Code: Select all

root@remote:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=151d Rev= 1.02
S:  Manufacturer=HUAWEI
S:  Product=HUAWEI Mobile
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:  If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=03 Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=02 Driver=(none)
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Code: Select all

picocom -b 115200 /dev/ttyUSB[either 0, 1 or 2]
FATAL: cannot open /dev/ttyUSB[either 0, 1 or 2] No such file or directory

Code: Select all

root@remote:~# ls /dev | grep tty
tty
ttyS0
Could someone give me some pointers as to how to go about fixing this?
Thanks!

hugbear
Posts: 3
Joined: Fri Dec 20, 2013 11:48 am

Re: 3G not working on TL-WR1043N

Post by hugbear »

I edited "dmesg | grep -i usb" above to be case insensitive.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3G not working on TL-WR1043N

Post by ispyisail »

http://wiki.openwrt.org/toh/tp-link/tl- ... .3g.modems
USB 3G Modems
:!: USB 3G modem issue (insufficient power). The device does NOT deliver enough power for most USB 3G modems, which can lead to erratic behavior such as droped/failed connections. If a 3G USB modem is to be used, consider other routers with a USB port that delivers enough Amperes. (e.g. Buffalo WZR-HP-AG300H)

Post Reply