OpenWrt Forum Archive

Topic: TP LINK TL WR703N USB Problem

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have an TP LINK TL WR703N V1 running with a wifi link to my home demotica system

The unit is running on;
OpenWrt Attitude Adjustment 12.09 / LuCI 0.11.1 Release (0.11.1)
Kernel version     3.3.8

Connected to the USB port i have a gateway reading values and transmitting it to the home demotica system

I have a steady wifi (ip) connection between my system and the modem; i can contact the 703n with web client, putty and winSCP without any hick up.

It seems to me that the usb connections is not stable; cause after every reboot it works good for 1 to 2 minutes, than it looses the connection and created different connections;

If i look at the active connections i see a list like this (running up to 160 active connections)


IPV4    TCP    192.168.2.75:1001    192.168.2.100:43120    40.00 B (1 Pkts.)
IPV4    TCP    192.168.2.75:1001    192.168.2.100:55140    40.00 B (1 Pkts.)
IPV4    TCP    192.168.2.75:1001    192.168.2.100:51613    40.00 B (1 Pkts.)
IPV4    TCP    192.168.2.75:1001    192.168.2.100:44263    40.00 B (1 Pkts.)


So what can it be?

Pls advice

Huib

@nebbia88
followed link and found route;

thanks

second question;

i have to connect hub after rebooting

during reboot it does not find hub


third question

in start up file tp link is given

echo "1001:raw:15:/dev/ttyUSB0:9600,NONE,1STOPBIT,8DATABITS" > /etc/ser2net.conf
ser2net

can i create 2nd usb data entry at hub by using

echo "1001:raw:15:/dev/ttyUSB0:9600,NONE,1STOPBIT,8DATABITS" > /etc/ser2net.conf
echo "1002:raw:15:/dev/ttyUSB1:9600,NONE,1STOPBIT,8DATABITS" > /etc/ser2net.conf
ser2net

and port 1001 goes to usb 1 and port 1001 goes to usb2

is that correct?
huib

@nebbia88

now i got following

Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1097.840000] usb 1-1: new high-speed USB device number 4 using ehci-platform
Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1097.990000] hub 1-1:1.0: USB hub found
Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1097.990000] hub 1-1:1.0: 4 ports detected
Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1098.290000] usb 1-1.1: new full-speed USB device number 5 using ehci-platform
Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1098.400000] pl2303 1-1.1:1.0: pl2303 converter detected
Feb  1 16:25:41 Opentherm-gateway kern.info kernel: [ 1098.410000] usb 1-1.1: pl2303 converter now attached to ttyUSB0
Feb  1 16:29:08 Opentherm-gateway kern.info kernel: [ 1305.120000] usb 1-1: USB disconnect, device number 4
Feb  1 16:29:08 Opentherm-gateway kern.info kernel: [ 1305.130000] usb 1-1.1: USB disconnect, device number 5
Feb  1 16:29:08 Opentherm-gateway kern.info kernel: [ 1305.130000] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
Feb  1 16:29:08 Opentherm-gateway kern.info kernel: [ 1305.140000] pl2303 1-1.1:1.0: device disconnected

pls advice
huib

Have you built and flashed a new version of the 703N firmware which fixes the USB disconnect problem?  Or used a version from trunk?

Your second echo to ser2net.conf will overwrite the first.  Use ">>" to append; ">" creates the file.

There has been a report that the usb-disconnect patch has been backported to AA, but the dates on the built files in AA had not changed as of yesterday.

You may have the problem of not knowing which ttyUSB# is assigned to which device.

(Last edited by lizby on 1 Feb 2014, 16:53)

@lizby
where do i find the newest flas with updated usb connetion

have searched in the link a few post above but invain

how do i do that

pls advice
huib

http://downloads.openwrt.org/snapshots/ … pgrade.bin

from 30-Jan-2014 20:04             2883588

You should be able to install it with sysupgrade.  Make sure you also download all the packages you need immediately with opkg.  Trunk is a moving target, and later downloads might be out of sync.

Otherwise you can build your own, and may need to if trunk+packages is too big.  Self-built is smaller.

@lizby
Have tried to upgrade, have learned a lot but was not succesfull
was able to restore the original settings and back up

a night to remember

could you be so kind to provide a list of which packages to update and to which version
i can find the installed packages in through the web acces, so if i can update the one needed it would beperfect

rgds
huib

so, what did you do (step by step) and what failed?

On your current machine, try "opkg list_installed" to see what you have installed at present.

Normally i work with the web acces.
This time i copied the file using winscp in to the /tmp folder

Than by using putty i used sysupdate as per wiki
Reboot and waited 5 to 10 minutes,  power off on and the following stps as per wiki

Reboot and no acces through web acces

After a couple of hours i used the original firmware file used the same route and restored acces throuhh
The web acces 

I would like to update the usb part to have the usb 1.1  working

How do i update, by using the web acces the file as fiscribed in post no 2

huib wrote:

Reboot and no acces through web acces

on trunk snapshot there is no GUI preinstalled.

if you want luci you have to configure internet access and install it:

http://wiki.openwrt.org/doc/howto/luci.essentials

Have now installed other usb hub and now it is running for about 6 hours, so post no 2 was succesfull
So basic question solved
Thanks
Huib
For other question will make new item

The discussion might have continued from here.