Posts mit dem Label wr703n werden angezeigt. Alle Posts anzeigen
Posts mit dem Label wr703n werden angezeigt. Alle Posts anzeigen

Freitag, 28. September 2012

unbrick WR703n

This is copied directly from Here http://forums.openpilot.org/blog/52-fertitos-blog/. All due honor goes directly to the creators. 

Unbrick wr703n wifi router

http://forums.openpilot.org/blog/52/entry-92-unbrick-wr703n-wifi-router/

It worked form me perfectly with a CP210x USB TTL serial bridge, little soldering problems, and some initial tinkerings with the TFTP server.

It is copied because i don't want to loose this important information if the blog goes maybe offline.



----------------- QUOTE BEGIN -----------------

Hello,
if like myself you push the thing a little too far, you should find this usefull ;)

If nothing is responding anymore on your router :

locate the GND, TX and RX on the board :
Posted Image

solder some wire on it, this is very difficult, because it is really small and the solder doesn't stick well on it. Once it is done, glue everything and let some easy access wire, that could be usefull after.

Plug a 3.3V ttl serial adapter (pl2303, ftdi, ...) on the wire and open a serial terminal (minicom, realterm, docklight, ...) @ 115200/8/N/1/XON-XOFF.

power on the wr703n and quiclky send "tpl" followed by enter to the terminal, this will make the wr703n enter in rescue U-boot hornet.

install a small tftp server on your computer (ex: http://tftpd32.jounin.net/) and plug an ethernet cable between your computer and the wr703n.
Configure the IP adress of your computer to 192.168.1.100 and put the file
openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
on the tftp server.

On the serial terminal enter the following lines :

hornet> tftpboot 0x81000000 openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
hornet> erase 0x9f020000 +0x3c0000
hornet> cp.b 0x81000000 0x9f020000 0x3c0000
hornet> bootm 9f020000

wait until it has uploaded and another extra couple of second before reset.

unplug the power, wait a bit, replug, the system should be freshly working...

;)

----------------- QUOTE END -----------------


Freitag, 10. August 2012

openWRT Bridge with Relayd (Pseudobridge)


Recipe for Bridging with Atheros Chipsets


Works for TP-Link TL-WR703n as an example.

based on this two links
http://trac.gateworks.com/wiki/relayd
http://wiki.openwrt.org/doc/recipes/relayclient
https://forum.openwrt.org/viewtopic.php?pid=173467#p173467


Connect your Router with your WAN-Router Device (modem, switch, ... )
root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install relayd

root@OpenWrt:~# opkg install luci-proto-relay
root@OpenWrt:~# opkg install wpad

root@OpenWrt:~# /etc/init.d/relayd enable

set ip Address of the LAN to something different
root@OpenWrt:/etc/config vi network
config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   10.0.1.1 
        option netmask  255.255.255.0

reboot or restart network.
root@OpenWrt:~# /etc/init.d/network restart

Set your IP Address of your PC to 10.0.1.2
Connect your Router with your PC.
disable any DHCP.

Connect to Luci with your browser to 10.0.1.1


Go to network, wifi make a scan
join your wifi,

make all your settings for the Wifi device, at this part a new interface is created

Go to Network->Interfaces
Edit the new created interface (WWAN) for example

Make a static or dhcp adress here.
disable any DHCP.

Create a new Interface "stabridge" in the Interface section.
use the "relay bridge" protocol

Relay between networks WWAN and LAN.

check
lan/wwan is set to IP address in a different net
interface stabridge is set to relay between lan/eth0 and wwan/wlan0
wlan0/wwan is interface is assigned

change Firewall rules



Zone Forwarding, set to Accept


DONE