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.

AlexSpb wrote:

Then I try to copy image:

hornet> cp 0x80000000 0x9f020000 0x3c0000
Copy to Flash... Outside available Flash

What I did wrong?

Use cp.b instead of cp !!!!

Thanks a lot. When I wait you reply I see my mistake and correct it. Everething working fine! Thanks!!!

Two stupid (big) problems, I can't access Luci, I can't access wifi. All ok via Lan, all ok via SSH & SCP. Dir www and files inside are ok, but no response from wr703 typing 192.168.1.1/cgi-bin/luci. Luci was installed by opkg install luci. Wifi is also out, maybe there is some wrong setting on wifi or network file. Suggestions? Thanks!!

Luci is ok after:
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

workink on wifi...

Hi all.
I have a problem when configuring 3G interface.
What I did:
1. Flash firmware from this link - http://freestorage.ro/rqvt0evrix3j (Top of a second page of this thread - LE: I recompiled today with comgt+chat=> 3G ready image: http://freestorage.ro/rqvt0evrix3j)
2. Configure 3G interface with my APN and other setting of my Region (Russia)
But 3G interface don`t up. I read this posts: http://wiki.openwrt.org/doc/recipes/3gdongle
When I set Modem device in a web in to /dev/ttyUSB0 and run command

root@OpenWrt:~# gcom -d /dev/ttyUSB0
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "25020",0
Signal Quality: 22,99

I think, that modem is OK but I can`t connect to network.
Modem is Huawei E1550.
I need help smile

Aha. 3G working now. I have to reboot device and all ok. After few reboots modem not responding again or connected to provider and after that working about 8-10 minutes and then disconnecting...

...
Nov 11 15:25:53 OpenWrt daemon.info pppd[2688]: CHAP authentication succeeded
Nov 11 15:25:53 OpenWrt daemon.notice pppd[2688]: CHAP authentication succeeded
Nov 11 15:25:55 OpenWrt daemon.warn pppd[2688]: Could not determine remote IP address: defaulting to 10.64.64.64
Nov 11 15:25:55 OpenWrt daemon.notice pppd[2688]: local  IP address 77.216.119.197
Nov 11 15:25:55 OpenWrt daemon.notice pppd[2688]: remote IP address 10.64.64.64
Nov 11 15:25:55 OpenWrt daemon.notice pppd[2688]: primary   DNS address 193.12.150.26
Nov 11 15:25:55 OpenWrt daemon.notice pppd[2688]: secondary DNS address 212.247.152.26
Nov 11 15:25:55 OpenWrt user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Nov 11 15:25:56 OpenWrt user.notice rdate: Failed to sync with time-b.nist.gov
Nov 11 15:25:56 OpenWrt user.info firewall: adding wan (3g-wan) to zone wan
Nov 11 15:25:56 OpenWrt user.notice rdate: Failed to sync with ptbtime2.ptb.de
Nov 11 15:25:56 OpenWrt user.notice rdate: Failed to sync with ntp.xs4all.nl
Nov 11 15:25:56 OpenWrt user.notice rdate: Failed to sync with time-a.nist.gov
Nov 11 15:25:56 OpenWrt user.notice rdate: No usable time server for wan found
Nov 11 15:33:51 OpenWrt daemon.info pppd[2688]: LCP terminated by peer
Nov 11 15:33:51 OpenWrt daemon.info pppd[2688]: Connect time 8.0 minutes.
Nov 11 15:33:51 OpenWrt daemon.info pppd[2688]: Sent 0 bytes, received 0 bytes.
Nov 11 15:33:51 OpenWrt daemon.info pppd[2688]: Hangup (SIGHUP)
Nov 11 15:33:51 OpenWrt daemon.notice pppd[2688]: Modem hangup
Nov 11 15:33:51 OpenWrt daemon.notice pppd[2688]: Connection terminated.
Nov 11 15:33:51 OpenWrt daemon.info dnsmasq[1388]: reading /tmp/resolv.conf.auto
Nov 11 15:33:51 OpenWrt daemon.info dnsmasq[1388]: using nameserver 212.247.152.26#53
Nov 11 15:33:51 OpenWrt daemon.info dnsmasq[1388]: using nameserver 193.12.150.26#53
Nov 11 15:33:51 OpenWrt daemon.info dnsmasq[1388]: using local addresses only for domain lan
Nov 11 15:33:51 OpenWrt user.info firewall: removing wan (3g-wan) from zone wan

What`s problem?

(Last edited by AlexSpb on 11 Nov 2011, 13:06)

Now modem can not connecting to operator. Log is:

Nov 11 15:26:50 OpenWrt daemon.notice pppd[2250]: pppd 2.4.5 started by root, uid 0
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: abort on (BUSY)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: abort on (NO CARRIER)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: abort on (ERROR)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: report (CONNECT)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: timeout set to 10 seconds
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: send (AT&F^M)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: expect (OK)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: AT&F^M^M
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: OK
Nov 11 15:26:51 OpenWrt local2.info chat[2255]:  -- got it
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: send (ATE1^M)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: expect (OK)
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: ^M
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: ATE1^M^M
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: OK
Nov 11 15:26:51 OpenWrt local2.info chat[2255]:  -- got it
Nov 11 15:26:51 OpenWrt local2.info chat[2255]: send (AT+CGDCONT=1,"IP","internet.tele2.ru"^M)
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: timeout set to 30 seconds
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: expect (OK)
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: ^M
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: OK
Nov 11 15:26:52 OpenWrt local2.info chat[2255]:  -- got it
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: send (ATD*99***1#^M)
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: expect (CONNECT)
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: ^M
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: ATD*99***1#^M^M
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: CONNECT
Nov 11 15:26:52 OpenWrt local2.info chat[2255]:  -- got it
Nov 11 15:26:52 OpenWrt local2.info chat[2255]: send ( ^M)
Nov 11 15:26:52 OpenWrt daemon.info pppd[2250]: Serial connection established.
Nov 11 15:26:52 OpenWrt daemon.info pppd[2250]: Using interface 3g-wan
Nov 11 15:26:52 OpenWrt daemon.notice pppd[2250]: Connect: 3g-wan <--> /dev/ttyUSB0
Nov 11 15:26:53 OpenWrt daemon.info pppd[2250]: CHAP authentication succeeded
Nov 11 15:26:53 OpenWrt daemon.notice pppd[2250]: CHAP authentication succeeded
Nov 11 15:26:53 OpenWrt daemon.info pppd[2250]: Hangup (SIGHUP)
Nov 11 15:26:53 OpenWrt daemon.notice pppd[2250]: Modem hangup
Nov 11 15:26:53 OpenWrt daemon.notice pppd[2250]: Connection terminated.
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: abort on (BUSY)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: abort on (NO CARRIER)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: abort on (ERROR)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: report (CONNECT)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: timeout set to 10 seconds
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: send (AT&F^M)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: expect (OK)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: AT&F^M^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: OK
Nov 11 15:27:25 OpenWrt local2.info chat[2296]:  -- got it
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: send (ATE1^M)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: expect (OK)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: ^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: ATE1^M^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: OK
Nov 11 15:27:25 OpenWrt local2.info chat[2296]:  -- got it
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: send (AT+CGDCONT=1,"IP","internet.tele2.ru"^M)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: timeout set to 30 seconds
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: expect (OK)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: ^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: OK
Nov 11 15:27:25 OpenWrt local2.info chat[2296]:  -- got it
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: send (ATD*99***1#^M)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: expect (CONNECT)
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: ^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: ATD*99***1#^M^M
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: CONNECT
Nov 11 15:27:25 OpenWrt local2.info chat[2296]:  -- got it
Nov 11 15:27:25 OpenWrt local2.info chat[2296]: send ( ^M)
Nov 11 15:27:25 OpenWrt daemon.info pppd[2250]: Serial connection established.
Nov 11 15:27:25 OpenWrt daemon.info pppd[2250]: Using interface 3g-wan
Nov 11 15:27:25 OpenWrt daemon.notice pppd[2250]: Connect: 3g-wan <--> /dev/ttyUSB0
Nov 11 15:27:26 OpenWrt daemon.info pppd[2250]: CHAP authentication succeeded
Nov 11 15:27:26 OpenWrt daemon.notice pppd[2250]: CHAP authentication succeeded
Nov 11 15:27:27 OpenWrt daemon.info pppd[2250]: Hangup (SIGHUP)
Nov 11 15:27:27 OpenWrt daemon.notice pppd[2250]: Modem hangup
Nov 11 15:27:27 OpenWrt daemon.notice pppd[2250]: Connection terminated.
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: abort on (BUSY)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: abort on (NO CARRIER)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: abort on (ERROR)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: report (CONNECT)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: timeout set to 10 seconds
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: send (AT&F^M)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: expect (OK)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: AT&F^M^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: OK
Nov 11 15:27:59 OpenWrt local2.info chat[2342]:  -- got it
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: send (ATE1^M)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: expect (OK)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: ^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: ATE1^M^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: OK
Nov 11 15:27:59 OpenWrt local2.info chat[2342]:  -- got it
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: send (AT+CGDCONT=1,"IP","internet.tele2.ru"^M)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: timeout set to 30 seconds
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: expect (OK)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: ^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: OK
Nov 11 15:27:59 OpenWrt local2.info chat[2342]:  -- got it
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: send (ATD*99***1#^M)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: expect (CONNECT)
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: ^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: ATD*99***1#^M^M
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: CONNECT
Nov 11 15:27:59 OpenWrt local2.info chat[2342]:  -- got it
Nov 11 15:27:59 OpenWrt local2.info chat[2342]: send ( ^M)
Nov 11 15:27:59 OpenWrt daemon.info pppd[2250]: Serial connection established.
Nov 11 15:27:59 OpenWrt daemon.info pppd[2250]: Using interface 3g-wan
Nov 11 15:27:59 OpenWrt daemon.notice pppd[2250]: Connect: 3g-wan <--> /dev/ttyUSB0
Nov 11 15:28:00 OpenWrt daemon.info pppd[2250]: CHAP authentication succeeded
Nov 11 15:28:00 OpenWrt daemon.notice pppd[2250]: CHAP authentication succeeded
Nov 11 15:28:00 OpenWrt daemon.info pppd[2250]: Hangup (SIGHUP)
Nov 11 15:28:00 OpenWrt daemon.notice pppd[2250]: Modem hangup
Nov 11 15:28:00 OpenWrt daemon.notice pppd[2250]: Connection terminated.
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: abort on (BUSY)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: abort on (NO CARRIER)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: abort on (ERROR)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: report (CONNECT)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: timeout set to 10 seconds
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: send (AT&F^M)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: expect (OK)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: AT&F^M^M
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: OK
Nov 11 15:28:32 OpenWrt local2.info chat[2384]:  -- got it
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: send (ATE1^M)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: expect (OK)
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: ^M
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: ATE1^M^M
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: OK
Nov 11 15:28:32 OpenWrt local2.info chat[2384]:  -- got it
Nov 11 15:28:32 OpenWrt local2.info chat[2384]: send (AT+CGDCONT=1,"IP","internet.tele2.ru"^M)
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: timeout set to 30 seconds
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: expect (OK)
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: ^M
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: OK
Nov 11 15:28:33 OpenWrt local2.info chat[2384]:  -- got it
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: send (ATD*99***1#^M)
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: expect (CONNECT)
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: ^M
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: ATD*99***1#^M^M
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: CONNECT
Nov 11 15:28:33 OpenWrt local2.info chat[2384]:  -- got it
Nov 11 15:28:33 OpenWrt local2.info chat[2384]: send ( ^M)
Nov 11 15:28:33 OpenWrt daemon.info pppd[2250]: Serial connection established.
Nov 11 15:28:33 OpenWrt daemon.info pppd[2250]: Using interface 3g-wan
Nov 11 15:28:33 OpenWrt daemon.notice pppd[2250]: Connect: 3g-wan <--> /dev/ttyUSB0
Nov 11 15:28:34 OpenWrt daemon.info pppd[2250]: CHAP authentication succeeded
Nov 11 15:28:34 OpenWrt daemon.notice pppd[2250]: CHAP authentication succeeded
Nov 11 15:28:34 OpenWrt daemon.info pppd[2250]: Hangup (SIGHUP)
Nov 11 15:28:34 OpenWrt daemon.notice pppd[2250]: Modem hangup
Nov 11 15:28:34 OpenWrt daemon.notice pppd[2250]: Connection terminated.
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: abort on (BUSY)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: abort on (NO CARRIER)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: abort on (ERROR)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: report (CONNECT)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: timeout set to 10 seconds
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: send (AT&F^M)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: expect (OK)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: AT&F^M^M
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: OK
Nov 11 15:29:06 OpenWrt local2.info chat[2424]:  -- got it
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: send (ATE1^M)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: expect (OK)
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: ^M
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: ATE1^M^M
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: OK
Nov 11 15:29:06 OpenWrt local2.info chat[2424]:  -- got it
Nov 11 15:29:06 OpenWrt local2.info chat[2424]: send (AT+CGDCONT=1,"IP","internet.tele2.ru"^M)
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: timeout set to 30 seconds
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: expect (OK)
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: ^M
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: OK
Nov 11 15:29:07 OpenWrt local2.info chat[2424]:  -- got it
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: send (ATD*99***1#^M)
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: expect (CONNECT)
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: ^M
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: ATD*99***1#^M^M
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: CONNECT
Nov 11 15:29:07 OpenWrt local2.info chat[2424]:  -- got it
Nov 11 15:29:07 OpenWrt local2.info chat[2424]: send ( ^M)
Nov 11 15:29:07 OpenWrt daemon.info pppd[2250]: Serial connection established.
Nov 11 15:29:07 OpenWrt daemon.info pppd[2250]: Using interface 3g-wan
Nov 11 15:29:07 OpenWrt daemon.notice pppd[2250]: Connect: 3g-wan <--> /dev/ttyUSB0
Nov 11 15:29:08 OpenWrt daemon.info pppd[2250]: CHAP authentication succeeded
Nov 11 15:29:08 OpenWrt daemon.notice pppd[2250]: CHAP authentication succeeded
Nov 11 15:29:08 OpenWrt daemon.info pppd[2250]: Hangup (SIGHUP)
Nov 11 15:29:08 OpenWrt daemon.notice pppd[2250]: Modem hangup
Nov 11 15:29:08 OpenWrt daemon.notice pppd[2250]: Connection terminated.

What is it?

(Last edited by AlexSpb on 11 Nov 2011, 12:58)

not enough 3G signal or not enough power from usb - see my issues 3 pages back

maurer wrote:

not enough 3G signal or not enough power from usb - see my issues 3 pages back

I see your posts, but may be not carefully. I try USB Hub with external power.

How to unbrigde Lan and WiFi? Wifi conection ping only if Lan attached. How to have only wifi working as client?

Yes I know, I'm a complete newby... Two days trying to set a wireless client without success. With the following config, I can ping lan & wifi. With no Lan attched no ping for lan & wifi.

network config

 
config interface loopback
    option ifname    lo
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0

config interface lan
    option ifname    eth0
    option type    bridge
    option proto    static
    option ipaddr    192.168.1.10
    option gateway 192.168.1.1
    option dns 192.168.1.1
    option netmask    255.255.255.0

config interface wireless
    option ifname    wlan0
    option proto    static
    option ipaddr    192.168.1.9
    option gateway 192.168.1.1
    option dns 192.168.1.1
    option netmask    255.255.255.0

wireless config 

config 'wifi-device' 'radio0'
    option 'type' 'mac80211'
    option 'channel' '11'
    option 'macaddr' '5c:63:bf:82:93:10'
    option 'hwmode' '11ng'
    option 'htmode' 'HT20'
    list 'ht_capab' 'SHORT-GI-20'
    list 'ht_capab' 'SHORT-GI-40'
    list 'ht_capab' 'RX-STBC1'
    list 'ht_capab' 'DSSS_CCK-40'
    option 'txpower' '27'
    option 'country' 'US'

config 'wifi-iface'
    option 'device' 'radio0'
    option 'mode' 'sta'
    option 'ssid' 'linksys_***'
    option 'encryption' 'psk-mixed'
    option 'key' '*******************'
    option 'network' 'wireless'

Any help will be very appreciated.

PulseAudio firmware for TP-Link WR703N

This firmware is primarily aimed at those wants to easily setup multi-room sound system or wireless audio/speakers system. It is based on openwrt trunk r28854 and loads of cutomisation. In order to be able to make any sound you will need either a usb soundcard or a usb speaker(s). The core sound streaming/driving engine is provided by the latest and greatest pulseaudio 1.1.

WiFi in client mode is enabled by defult and it's exepcting SSID/KEY of Pulse/UEC7wzdu with WPA/WPA2 authentication. If you can change your AP's SSID and KEY then you will never need to touch WR703N's setting at all. Otherwise you should attach a cable to the WR703N and wait for the network card to be assigned an ip and then either use the web browser or ssh (putty) to manage the WR703N.

Three network setup templates are provided: AP, STA (client/station which is default) and WDS. You can found them in /etc/config folder on the WR703N. For example to switch to WDS mode all you need is to copy the two files over and reboot the router

cp /etc/conifg/network-wds /etc/conifg/network
cp /etc/conifg/wireless-wds /etc/conifg/wireless

Features:
1) Universal USB sound card support (USB 1.0/2.0)
2) pulse audio 1.1 with a few tweaks so it works smoothly over wifi
3) sound card detection script implemented for easy plug and play experience. You can pulg/unplug the usb sound card/speakers at any time
4) web gui powered by x-wrt and password protection disabled by default
5) WIFI in client mode on by default and it expects SSID/KEY of Pulse/UEC7wzdu with WPA/WPA2 authentication
6) Management IP 172.16.0.1 with netmask 255.255.255.0. Default root password is root
7) Optimised for space and speed

Limitations:
Due to the storage limit I have to make a decision of which to include and which not. Firewall (iptable userland and kernel modules), 3G support etc are not of the concern of those who will use this firmware and therefore has been excluded from this firmware.

It does not work well with multiple usb sound cards/speakers and I believe most users will only have one usb card/speakers attached to WR703N at any time. If you for any reason want to try a different usb sound card/speakers then you will need to reboot the router. However you don't need to do so if you unplug and then plug back the same usb sound card/speakers. It should just work, i.e. plug and play.


Battery Performane:
WR703N can be powered by any usb power source (5v with min. 500mA current). I hooked it up with 2 years old 4x rechargeable Ni-Mh batteries (2300mAh). WR703N runs in client wifi mode. The USB speakers I used is from Sweex (SP102 Go Stereo Speaker Bar). Music (resampled to 48K at server side) is played continously with volume set to 50%. The test started at 10AM in the morning and it still plays at 18:00 in that evening!! That's more than 8 hours continusly playback time via wifi and lound speakers.

Download:
The firmware can be downloaded from http://xbox-remote.googlecode.com/files … actory.bin

You can install it via web upgrade or mtd if you are running openwrt already.

Place holder for software setup

AlexSpb wrote:
maurer wrote:

not enough 3G signal or not enough power from usb - see my issues 3 pages back

I see your posts, but may be not carefully. I try USB Hub with external power.

I test 3G modem (Huawei 1550) with D-Link USB active hub (DUB-104). 1 hour modem is working fine. Then I solve to disconnect power from USB hub. After that modem still working (about 30 minutes, after that I disconnect hub).
What you think about it?

signal from ISP operator was bad in the first tests smile ?!

AlexSpb and maurer

check the /etc/chatscripts/3g.chat script

edit 3g.chat with vi

and replace "ATD*99***1#" with "ATD*99#"
save the file and reboot the wr703n and the 3g connection must come up automatically

I feel the last *** are usable for initing an usb 3g phone acting as modem
Some 3g USB modems dial with ATD*99***1#, and some don`t


I solved the same issue with an ZTE MF637 dongle from Cosmote Romania and I don`t think it is a power issue

(Last edited by victorp on 14 Nov 2011, 13:04)

Hi everybody!

Do you guys know if there's a way to revert back into stock firmware after having flashed an OpenWRT image?

Cheers!
mindless

you should be able to revert to the stock firmware via web GUI.But i haven't tried it myself!

I've compiled the latest trunk version and found Failsafe mode is not working properly. it looked like i have already entered failsafe mode as the LED indicator was blinking very fast.but i can not telnet to the device via cable. when i type telnet 192.168.1.1, it replies: From 192.168.1.111 icmp_seq=30 Destination Host Unreachable.anyone had the same problem?

(Last edited by sin on 16 Nov 2011, 05:49)

Further investigation reveals that the culprit is ethernet connection.router simply can not communicate with PC with lastest trunk version installed.

sin:        192.168.1.1 is a hot IP to your home router.  Make sure your connection is isolated with your home network.

BTW, I am trying to setup a xmail server to this box as email activated controller.  I encountered:
sh: bad number
sh: bad number
sh: bad number
SMAIL thread [00] started


Tried Mailroot at tmpfs or ext2.  No matter swap (at USB flash) is on or off, will get the same result (port 25 and 110 are down). Any suggestion?

maurer
Can you PLEASE put your firmware to some website from where it will be at least downloadable at more that 1 kilobyte a minute. Thanks.
https://ubuntuone.com/6ojc2uAmCOVR43Utw2q5pZ => error "Could not locate object".
If you have no other ideas, may I suggest http://omploader.org/
Because I am currently spending my evening starting wget, leaving it on for a couple of minutes, noticing the download stalled, ctrl-c'ing it, starting it again, that's how it goes:

$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:41:33--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3437913 (3.3M) remaining [text/plain]
Saving to: `703n.7z'

19% [+++++=>                                ] 777,737     2.80K/s   in 3m 27s  

2011-11-16 19:45:10 (870 B/s) - Connection closed at byte 777737. Retrying.

--2011-11-16 19:45:11--  (try: 2)  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3257947 (3.1M) remaining [text/plain]
Saving to: `703n.7z'

19% [+++++++                                ] 805,982     --.-K/s  eta 15h 23m ^C

$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:53:20--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3229702 (3.1M) remaining [text/plain]
Saving to: `703n.7z'

21% [+++++++>                               ] 871,459     4.35K/s  eta 10m 0s  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:53:34--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3162793 (3.0M) remaining [text/plain]
Saving to: `703n.7z'

21% [++++++++                               ] 875,360      501B/s  eta 1h 45m  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:53:44--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3160324 (3.0M) remaining [text/plain]
Saving to: `703n.7z'

21% [++++++++                               ] 886,421     --.-K/s  eta 3h 17m  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:54:38--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 3149263 (3.0M) remaining [text/plain]
Saving to: `703n.7z'

26% [++++++++=>                             ] 1,066,387   2.38K/s   in 34s     

2011-11-16 19:55:15 (5.16 KB/s) - Connection closed at byte 1066387. Retrying.

--2011-11-16 19:55:16--  (try: 2)  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2969297 (2.8M) remaining [text/plain]
Saving to: `703n.7z'

27% [++++++++++                             ] 1,120,407   --.-K/s  eta 56m 57s ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 19:56:25--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2915277 (2.8M) remaining [text/plain]
Saving to: `703n.7z'

30% [++++++++++>                            ] 1,227,411   --.-K/s  eta 2h 42m  ^C
You have new mail in /var/mail/rm
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:02:42--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2808273 (2.7M) remaining [text/plain]
Saving to: `703n.7z'

31% [+++++++++++>                           ] 1,284,295   3.55K/s   in 4m 36s  

2011-11-16 20:07:21 (206 B/s) - Read error at byte 1284295/4035684 (Connection reset by peer). Retrying.

--2011-11-16 20:07:22--  (try: 2)  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2751389 (2.6M) remaining [text/plain]
Saving to: `703n.7z'

34% [++++++++++++>                          ] 1,382,707   3.55K/s   in 5m 43s  

2011-11-16 20:13:09 (287 B/s) - Read error at byte 1382707/4035684 (Connection reset by peer). Retrying.

--2011-11-16 20:13:11--  (try: 3)  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2652977 (2.5M) remaining [text/plain]
Saving to: `703n.7z'

34% [+++++++++++++                          ] 1,393,767   --.-K/s  eta 2h 42m  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:13:57--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2641917 (2.5M) remaining [text/plain]
Saving to: `703n.7z'

34% [+++++++++++++                          ] 1,407,691   --.-K/s  eta 8h 13m  ^C
You have new mail in /var/mail/rm
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:16:39--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2627993 (2.5M) remaining [text/plain]
Saving to: `703n.7z'

35% [+++++++++++++                          ] 1,427,343   --.-K/s  eta 2h 19m  ^C
You have mail in /var/mail/rm
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:17:45--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2608341 (2.5M) remaining [text/plain]
Saving to: `703n.7z'

35% [+++++++++++++                          ] 1,438,403   --.-K/s  eta 7h 51m  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:19:50--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2597281 (2.5M) remaining [text/plain]
Saving to: `703n.7z'

36% [+++++++++++++>                         ] 1,480,967   --.-K/s  eta 32m 8s  ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:20:29--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2554717 (2.4M) remaining [text/plain]
Saving to: `703n.7z'

36% [++++++++++++++                         ] 1,489,163   --.-K/s  eta 4h 9m   ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:21:22--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2546521 (2.4M) remaining [text/plain]
Saving to: `703n.7z'

37% [++++++++++++++++++                               ] 1,508,815   --.-K/s  eta 91m 25s ^C
$ wget -c http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
--2011-11-16 20:22:10--  http://freestorage.ro/files/5/uquuga1mnzrcu0/703n.7z
Resolving freestorage.ro (freestorage.ro)... 109.95.15.138
Connecting to freestorage.ro (freestorage.ro)|109.95.15.138|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4035684 (3.8M), 2526869 (2.4M) remaining [text/plain]
Saving to: `703n.7z'

37% [++++++++++++++++++                               ] 1,527,035   --.-K/s  eta 7h 1m   ^C

(Last edited by romanrm on 16 Nov 2011, 15:30)

maurer
can this be flashed over the 'factory' firmware?