OpenWrt Forum Archive

Topic: Tp-link Tl-wr703n

The content of this topic has been archived between 18 Mar 2015 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Sam thank you very much for link to SiriProxy, this is awesome!

@momche

If you have no sound coming out from the speaker its because the pulse client is not sending out 48K sample rate audio stream. Because of the router does not have a fast cpu therefore I have disabled re-sampling. Therefore you have two options:
1) Specify sample rate with pulseaudio client if possible. MPD does support that and all you need to do is to add

format          "48000:16:2"

to the audio output section.
2) Set a pulseaudio server locally and resample audio locally and send audio stream to remote pulseaudio server using module-tunnel-sink

pactl load-module module-tunnel-sink server=192.168.0.100 rate=48000 sink_name=remote

make sure your /etc/pulse/client.conf is pointing to your local pulseaudio server. Replace 192.168.0.100 by what ever the router's ip. For any sound that you want to play on the router you should select them using pulseaudio controller so they are played back on "remote".

I actually prefer the second method as its one off setup and totally transparent to all the clients. It will be much easier to handle remote pulseaudio going up and down in that way.


For those having usb speaker that does support 44.1K sample rate. By default alsa will hard code the default device to 44.1k hence pulseaudio will be fooled to think the device is only capable of 48K sample rate. You will need to specify device=hwplug:0 in the pulseaudio configuration to get 44.1K sample rate. Unless you are desperate I would recommend wait till I publish another update firmware which is to improve sample rate handling.

@alsa utility

For those interested in my pulseaudio firmware the alsa mixer control (amixer) is installed and my audio device monitoring script do take care of setting up the maximum volume at start up so you don't need to install anything. smile

@s7mx1

Thanks, it worked!!!
Setting up mpd to resample to 48KHz did it. I did try this before, but did other things too so I either did not restart mpd or I just piled different settings that did not work.
For now I am ok with mpd resampling as it is the only player on that machine - the home music server. I might try adding the mentioned tunnel sink in the future. I tried to do it and it failed, but I am ok with the first solution for now.
I am willing to test your new, updated version of the firmware and, when stable, to help with describing the setups that work.

Thanks once again for the effort!

andy_versal wrote:

hi!
on my wr703n url http://192.168.1.1/userRpm/SoftwareUpgradeRpm.htm is not working... sad
what does it mean?
manufacturer has closed access to the firmware update?
i bought wr703n two weeks ago...

what hardware version? check the label on the router please.
also paste us what software version you see in that web interface.
thx.

aind wrote:

what hardware version? check the label on the router please.

label on back side of router: Ver:1.5

aind wrote:

also paste us what software version you see in that web interface.
thx.

3.12.11 Build 110926 Rel.40632n
WR703N v1 00000000

andy_versal wrote:
aind wrote:

what hardware version? check the label on the router please.

label on back side of router: Ver:1.5

daaamn.. mine is v1.2 .. so maybe they put a upgrade protection to that httpd..

aind wrote:

daaamn.. mine is v1.2 .. so maybe they put a upgrade protection to that httpd..

soryy... all works fine.... url is not working directly from browser.
from menu - all ok...
sorry...

Hi all,
I had 703n yesterday and I upgrade to openwrt-r29337-wr703n-ROUTER-IPv6-factory.bin successfully.
But I cannot using my 3g Dongle, please help me to config
My 703N is ver 1.5
when i using "lsusb", it show "Bus 001 Device 026: ID 12d1:14ab Huawei Technologies Co., Ltd."

Thanks,
Vinh

himoi wrote:

Hi all,
I had 703n yesterday and I upgrade to openwrt-r29337-wr703n-ROUTER-IPv6-factory.bin successfully.
But I cannot using my 3g Dongle, please help me to config
My 703N is ver 1.5
when i using "lsusb", it show "Bus 001 Device 026: ID 12d1:14ab Huawei Technologies Co., Ltd."

Thanks,
Vinh

im sorry vinh, i only managed to test those in:
http://www.ip6.ro/firmware/tp-link/wr70 … orking.txt

but you can check /etc/rc.local and read a bit about usb modeswitch to figure out your 3g dongle..

by the way, after you plug the dongle you dont see it at all at logread -f  ?

(Last edited by aind on 30 Nov 2011, 07:36)

aind wrote:
himoi wrote:

Hi all,
I had 703n yesterday and I upgrade to openwrt-r29337-wr703n-ROUTER-IPv6-factory.bin successfully.
But I cannot using my 3g Dongle, please help me to config
My 703N is ver 1.5
when i using "lsusb", it show "Bus 001 Device 026: ID 12d1:14ab Huawei Technologies Co., Ltd."

Thanks,
Vinh

im sorry vinh, i only managed to test those in:
http://www.ip6.ro/firmware/tp-link/wr70 … orking.txt

but you can check /etc/rc.local and read a bit about usb modeswitch to figure out your 3g dongle..

by the way, after you plug the dongle you dont see it at all at logread -f  ?

Hi Aind,
I have a stupid question, when i connect 3g dongle, Will I config on WAN2 or WAN3?
and when i connect 3G to the "logread -f" show
Nov 30 07:38:34 wr703n syslog.notice usb_modeswitch: switching 12d1:14ab (Technology: Mobile Connect)
Nov 30 07:38:34 wr703n kern.info kernel: usb 1-1: USB disconnect, device number 9
Nov 30 07:38:35 wr703n user.notice multiwan: wan3 has failed and is currently offline.
Nov 30 07:38:38 wr703n user.notice multiwan: wan has recovered and is back online!
Nov 30 07:38:39 wr703n kern.info kernel: usb 1-1: new high speed USB device number 10 using ar71xx-ehci
Nov 30 07:38:41 wr703n user.notice multiwan: wan2 has failed and is currently offline.
Nov 30 07:38:43 wr703n user.notice multiwan: wan3 has failed and is currently offline.
Nov 30 07:38:47 wr703n user.notice multiwan: wan has recovered and is back online!
Nov 30 07:38:49 wr703n user.notice multiwan: wan2 has failed and is currently offline.
Nov 30 07:38:52 wr703n user.notice multiwan: wan3 has failed and is currently offline.
Nov 30 07:38:55 wr703n user.notice multiwan: wan has recovered and is back online!
Nov 30 07:38:57 wr703n user.notice usb-modeswitch: switching seemingly failed

Vinh

himoi wrote:

Hi Aind,
I have a stupid question, when i connect 3g dongle, Will I config on WAN2 or WAN3?

well, i preconfigured /dev/ttyUSBxx as i saw those two tested by me going up, you might use what i did or make your own entry in /etc/config/network with the device your dongle uses..
check "ls -al /dev/ttyUSB*" for that smile

good, my router is broken too, wanted to get it through series and saw the photos you sent to help a lot, but I have doubts:

in data cable http://www.4shared.com/photo/CL0dkuc0/I … 00240.html

which the cables that connect the tp and tp in out e GND connected to chase of usb ? and in this cable witch is de GND ?

this is the other cable soldered to the board http://www.4shared.com/photo/yY6k6eea/I … 01328.html

thanks




gja wrote:
maurer wrote:

can any of you guys who have a working serial (TTL) can post a picture of the setup?
i'm interested how/if you soldered the headers smile

My unit (v1.2) had really tiny PCB pads (rather than holes) near TP_OUT and TP_IN at top right corner
of http://gja.space4me.com/devices/wr703n/ … 9nov11.jpg

For anyone wondering about pulling the blue lid off -- you can see three points around the
case edge where you need to pry the case sides away from plastic catches on the lid underside
of the lid: Top left (near LAN port), far right (near serial pads) and bottom right of the case
(to the right of the USB port, hidden from view in my photo). The blue lid will eventually pop off,
although you'll undoubtedly scratch the plastic edges smile

My first attempt at serial connection looked like this:
http://gja.space4me.com/devices/wr703n/ … 9nov11.jpg

But it was _nasty_ -- the wires started pulling the pcb pads off the board! Later I jury-rigged a second
setup which is physically more stable (with a 3-pin header glued to the top of the USB port). Photo here:
http://gja.space4me.com/devices/wr703n/ … 0nov11.jpg  (not quite clear in
the photo, I soldered one pin to the USB socket's case to provide GND connection to the serial
cable.)

For anyone interested in the USB-Serial interface, I used a cable from DealExtreme:
http://www.dealextreme.com/p/usb-cable- … 2670-13638

cheers,
gja

Does anyone successfully have OpenWrt running on the 1.5 version of the wr703n?

I have 1 of them here but I don't want to try flashing new firmware until I can be sure the ethernet port works at least.

mallix wrote:

Does anyone successfully have OpenWrt running on the 1.5 version of the wr703n?

I have 1 of them here but I don't want to try flashing new firmware until I can be sure the ethernet port works at least.

Hi maillix,
I had a TP 703N Ver 1.5 and I upgrade to openwrt-r29337-wr703n-ROUTER-IPv6-factory.bin successfully.
Source from "aind" http://www.ip6.ro/firmware/tp-link/wr703n/
Thank Aind to help fixed my 3g dongle issuse
Now i can use my 3g dongle

BTW,
Hi Aind,
I have some questions, would you please to help me?
Q1.
How do i config my TP703n with openWrt fw to work with Access Point only mode?
Q2
How i config my TP703 with OpenWrt to work with Repeater Wifi mode?
Q3
I can restore Original China fw in luci web gui?

Thank you so much,
Vinh

himoi wrote:

I have some questions, would you please to help me?
How do i config my TP703n with openWrt fw to work with Access Point only mode?

you can do it yourself if you read a bit on openwrt wiki about uci network configuration,
there is no bricking possibility i think, you can always restore it to MY defaults by pushing reset for 5+ seconds.
tho' i plan to upload a AP version of the firmware on my page soon.

Q3
I can restore Original China fw in luci web gui?

by visiting luci firmware upgrade page and uploading the firmware from the chinese site i guess..

(Last edited by aind on 1 Dec 2011, 08:34)

Hi,

Is there a temperature sensor in AR9331 which can be read from OpenWRT or an (easily) available I2C (or 1-Wire) bus to attach one?

Thanks,

/sza2

(Last edited by sza2 on 1 Dec 2011, 14:43)

Hi,
I've flashed my wr703n with the openwrt-r29372-wr703n-ROUTER-IPv6-sysupgrade.bin firmware and I try to get my 3g dongle working. It's ZTE MF637. First I've disabled the ZeroCD feature using Windows app. Shortly after I turn on the device the led on 3g dongle turns green. However there is no connection. Using logread I see following:

Sep  8 17:44:25 wr703n kern.info kernel: usb 1-1: USB disconnect, device number 2
Sep  8 17:44:25 wr703n kern.info kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sep  8 17:44:25 wr703n kern.info kernel: option 1-1:1.0: device disconnected
Sep  8 17:44:25 wr703n kern.info kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sep  8 17:44:25 wr703n kern.info kernel: option 1-1:1.1: device disconnected
Sep  8 17:44:25 wr703n kern.err kernel: option: option_instat_callback: error -143
Sep  8 17:44:25 wr703n kern.info kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sep  8 17:44:25 wr703n kern.info kernel: option 1-1:1.3: device disconnected
Sep  8 17:44:25 wr703n user.notice 3g-hotplug: Stopping interface wan for device ttyUSB0
Sep  8 17:44:25 wr703n kern.err kernel: hub 1-0:1.0: unable to enumerate USB device on port 1

I don't see any ttyUSBx devices listed, and lsusb doesn't show the device. Can anyone help me figure out whats wrong?

Thanks!

Update: I've unpluged the dongle and pluged in again. here is capture from logread showing that usb_modswitch works. But later the USB device got disconnected again:

Sep  8 17:45:29 wr703n kern.info kernel: usb 1-1: new high speed USB device number 5 using ar7x-ehci
Sep  8 17:45:29 wr703n user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ZTE,Incorporated Prodt=ZTE_CDMA_Technologies_MSM Serial=1234567890ABCDEF
Sep  8 17:45:29 wr703n user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/19:2000 for mode switching
Sep  8 17:45:29 wr703n syslog.notice usb_modeswitch: switching 19d2:2000 (ZTE,Incorporated: ZTCDMA Technologies MSM)
Sep  8 17:45:30 wr703n kern.info kernel: usb 1-1: USB disconnect, device number 5
Sep  8 17:45:31 wr703n kern.info kernel: usb 1-1: new high speed USB device number 6 using ar7x-ehci
Sep  8 17:45:31 wr703n kern.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Sep  8 17:45:31 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached totyUSB0
Sep  8 17:45:31 wr703n kern.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Sep  8 17:45:31 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached totyUSB1
Sep  8 17:45:31 wr703n kern.info kernel: option 1-1:1.3: GSM modem (1-port) converter detected
Sep  8 17:45:31 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached totyUSB2
Sep  8 17:45:32 wr703n syslog.notice usb_modeswitch: switched to 19d2:0031 (ZTE,Incorporated: E Configuration)
Sep  8 17:45:32 wr703n user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ZTE,Incorporated Prodt=ZTE_Configuration Serial=1234567890ABCDEF
Sep  8 17:45:32 wr703n user.notice usb-modeswitch: 1-1:1.1: Manufacturer=ZTE,Incorporated Prodt=ZTE_Configuration Serial=1234567890ABCDEF
Sep  8 17:45:33 wr703n user.notice usb-modeswitch: 1-1:1.2: Manufacturer=ZTE,Incorporated Prodt=ZTE_Configuration Serial=1234567890ABCDEF
Sep  8 17:45:33 wr703n user.notice usb-modeswitch: 1-1:1.3: Manufacturer=ZTE,Incorporated Prodt=ZTE_Configuration Serial=1234567890ABCDEF

(Last edited by kobush on 1 Dec 2011, 21:08)

It sames that tty hotplug not be triggered. Have you add a 3g interface in your /etc/config/network?

Hi kobush,
Please see post #141,
Maybe you have a same problem

Vinh

Hi areslee,
Here is my /etc/config/networks 3g section:

config 'interface' 'wan'
        option 'proto' '3g'
        option 'device' '/dev/ttyUSB0'
        option 'service' 'umts'
        option 'apn' 'erainternet'
        option 'username' 'erainternet'
        option 'password' 'erainternet'
        option 'auto' '0'

I don't set the pincode because its disabled on the dongle.

Hi himoi,
Somehow the dongle today registers alright - the led remains blue and the serial USB devices are listed. When I tried gcom it reports the correct network and signal strength. But when I do 'ifup wan' it doesn't connect and I get this:

Sep  8 18:01:25 wr703n daemon.notice pppd[2313]: pppd 2.4.5 started by root, uid 0
Sep  8 18:01:26 wr703n local2.info chat[2317]: abort on (BUSY)
Sep  8 18:01:26 wr703n local2.info chat[2317]: abort on (NO CARRIER)
Sep  8 18:01:26 wr703n local2.info chat[2317]: abort on (ERROR)
Sep  8 18:01:26 wr703n local2.info chat[2317]: report (CONNECT)
Sep  8 18:01:26 wr703n local2.info chat[2317]: timeout set to 10 seconds
Sep  8 18:01:26 wr703n local2.info chat[2317]: send (AT&F^M)
Sep  8 18:01:27 wr703n local2.info chat[2317]: expect (OK)
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: USB disconnect, device number 12
Sep  8 18:01:33 wr703n local2.info chat[2317]: warning: read() on stdin returned 0
Sep  8 18:01:33 wr703n local2.info chat[2317]: Failed
Sep  8 18:01:33 wr703n local2.err chat[2317]: Can't restore terminal parameters: Input/output error
Sep  8 18:01:33 wr703n daemon.err pppd[2313]: Connect script failed
Sep  8 18:01:33 wr703n daemon.info pppd[2313]: Hangup (SIGHUP)
Sep  8 18:01:33 wr703n daemon.err pppd[2313]: Failed to open /dev/ttyUSB0: No such device
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.0: device disconnected
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.1: device disconnected
Sep  8 18:01:33 wr703n kern.err kernel: option: option_instat_callback: error -143
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.3: device disconnected
Sep  8 18:01:33 wr703n user.notice 3g-hotplug: Stopping interface wan for device ttyUSB0
Sep  8 18:01:33 wr703n daemon.info pppd[2313]: Terminating on signal 15
Sep  8 18:01:33 wr703n daemon.info pppd[2313]: Exit.
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: new high speed USB device number 13 using ar71xx-ehci
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.3: GSM modem (1-port) converter detected
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Sep  8 18:01:33 wr703n kern.info kernel: usb 1-1: USB disconnect, device number 13
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.0: device disconnected
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.1: device disconnected
Sep  8 18:01:33 wr703n kern.err kernel: option: option_instat_callback: error -143
Sep  8 18:01:33 wr703n kern.info kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sep  8 18:01:33 wr703n kern.info kernel: option 1-1:1.3: device disconnected
Sep  8 18:01:34 wr703n kern.err kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
Sep  8 18:01:34 wr703n user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=? Serial=?
Sep  8 18:01:34 wr703n user.notice usb-modeswitch: 1-1:1.1: Manufacturer=? Product=? Serial=?
Sep  8 18:01:34 wr703n user.notice usb-modeswitch: 1-1:1.2: Manufacturer=? Product=? Serial=?
Sep  8 18:01:35 wr703n user.notice usb-modeswitch: 1-1:1.3: Manufacturer=? Product=? Serial=?
Sep  8 18:01:35 wr703n user.notice 3g-hotplug: Stopping interface wan for device ttyUSB0

I tried the modification in 3g chat script but it failed before this command. For some reason the USB device disconnects during 3g connection script.

Hi all,

I am a Newby and have also a TP-Link 703. I don´t have any Linux skills and my English is not very good. I flashed a Image via the original chinese gui with firmware update. With this Image (I dont know the version, but it seems a old one of openWTR) I´m not very lucky, because WiFi not working and no possibility for another firmwareupdate :-(
Have anyone a description for Dummies, step by step, how to flash?
Is it possible to flash via ethernet (tftp etc.), or only via seriell?
Which Image should I use?

Thanks in advance and sorry for my bad english!