RouterTech AR7WRD beta - TNETW1350A wifi chipset (20070905)

Beta Software / Firmware releases made by our in-house development team. Please read all relevant disclaimers before using any beta firmwares - You have been warned! This is the only area where support for beta firmwares will be provided.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Thu Oct 04, 2007 11:00 am

Trying to backup a live firmware for flashing onto the router afterwards is fraught with difficulties. You can back it up alright, but getting it into a format in which it can be put back there is a different matter. I would not advise trying anything unless you have a working firmware image from your manufacturer. Otherwise, you need to be prepared for it to be a one-way process (i.e., you might not be able to return to the original firmware).

The wireless chipset itself is supported by 3rd party firmwares from Acorp and now also RouterTech (the beta), so it should not be a problem under normal circumstances to get a working firmware for it. The real question is whether your router's ethernet switch is supported. RT and Acorp fully support the Marvell switch. The Realtek RTL8305SC switch is not supported at all (i.e., the ethernet ports will not work, although wireless and USB will work). Other switches may or may not work. So if you know that your router has a Marvell switch, then you can afford to be brave. Otherwise, I would recommend cowardice.

Here is a sample led.conf from a router using this new wireless chipset.
/var # cat /etc/led.conf
#################################################################
# Configuration File for AR7RD board
##################################################################
##################################################################
# The GPIO numbers 0 to 31 ==> correspond to GPIO pins #########
# The GPIO numbers 32,33 are mapped to ADSL (LED) pins ###########
##################################################################
module = pwr # module = {adsl,usb,pppoe,wlan}

state = 1 # 0 = link down, 1 = link up
gpio = 7 # gpio number
mode = 1 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

module = adsl # module = {adsl,usb,pppoe}
##################################################################
# Note: state 0 for adsl is dummy state and is present only for ##
# compatibility with the new LED driver ##
##################################################################
state = 0 # 0=dummy, 1=idle, 2=training, 3=sync, 4=activity
gpio = LED1 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 1 # 0=dummy, 1=idle, 2=training, 3=sync, 4=activity
gpio = LED1 # gpio number
mode = 1 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 2 # 0=dummy, 1=idle, 2=training, 3=sync, 4=activity
gpio = LED1 # gpio number
mode = 4 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
param1 = 200 # flash on duration in ms
param2 = 200 # flash off duration in ms

state = 3 # 0=dummy, 1=idle, 2=training, 3=sync, 4=activity
gpio = LED1 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 4 # 0=dummy, 1=idle, 2=training, 3=sync, 4=activity
gpio = LED1 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
######################################################################
######################################################################

module = usb # module = {adsl,usb,pppoe,wlan}

state = 0 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 12 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash


state = 1 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 12 # gpio number
mode = 1 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 2 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 12 # gpio number
mode = 2 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
param1 = 100 # blink/flash rate in ms

state = 3 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 12 # gpio number
mode = 2 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
param1 = 100 # blink/flash rate in ms

######################################################################
module = pppoe # module = {adsl,usb,pppoe,wlan}

state = 0 # 0 = pppoe down, 1 = pppoe active
gpio = 13 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 1 # 0 = pppoe down, 1 = pppoe active
gpio = 13 # gpio number
mode = 1 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

######################################################################
module = wlan # module = {adsl,usb,pppoe,wlan}

state = 0 # 0 = link down, 1 = link up
gpio = 6 # gpio number
mode = 0 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 1 # 0 = link down, 1 = link up
gpio = 6 # gpio number
mode = 1 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash

state = 2 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 6 # gpio number
mode = 2 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
param1 = 100 # blink/flash rate in ms

state = 3 # 0 = link down, 1 = link up, 2 = pkt rcv, 3 = pkt xmit
gpio = 6 # gpio number
mode = 2 # 0 = off,1 = on,2 = blinkoff,3 = blinkon, 4 = Flash
param1 = 100 # blink/flash rate in ms
/var #
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Post by mstombs » Thu Oct 04, 2007 12:23 pm

off topic - but is it worth running a script to strip all the comments out of the led files in Routertech firmware as you continue to collect more, they probably compress well but there's more comment than info in those files!
Eshwar
Newbie
Newbie
Posts: 6
Joined: Wed Oct 03, 2007 5:47 pm
Contact:

Post by Eshwar » Thu Oct 04, 2007 2:36 pm

I think I can take the risk of upgrading my router as:

1. It gives with pathetic WebUI
2. I do not own the router, I have leased it from my ISP.
3. Based of your inputs and my router config matches the requirements.

Board type: AR7WRD
Product ID: AR7WRD
Bootloader: (psbl)
RAM 16.0 MB
Flash (ROM) 4.0 MB
ADAM2: No
No default env: No
Linux version: 2.4.17_mvl21-malta-mips_fp_le
Firmware build: 060503
Firmware version: 3.7.0B
Firmware stamp: 20060503110940
CPU: MIPS 4KEc V4.8
DSP: 6.01.04.00
Annex: A
/proc/wlan: Yes
/usr/sbin/wlan: Yes
TIAP: Yes
TNETW: Yes
Wireless: Yes
TNETW1350A: Yes
TNETW1130 conf: No
Marvell: Yes

4. I do not find too much of different between the led.conf file and my ledprofiles.txt. I think my router's existing firmware reads ledprofiles.txt and if I use RT beta firmware, I need to build led.conf from ledprofiles.txt

Wish me luck!!

:D :D
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Thu Oct 04, 2007 2:52 pm

Good Luck :D
Jim

.....I'm Sorry But I Can't Do That Dave.....
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Thu Oct 04, 2007 3:04 pm

Good luck! Remember to first restore to factory defaults before flashing the firmware image. And you should flash the release candidate (RC1), rather than any of the previous betas.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
xbipin
Regular
Regular
Posts: 64
Joined: Wed Aug 29, 2007 5:34 pm

Post by xbipin » Thu Oct 04, 2007 3:45 pm

can a non wireless pspboot version be taken out so i can also do the testing on my Dlink 2540T which currently runs v2.3 perfectly. i just hope there is support for the ADM6996M switch coz thats what im looking for most of all.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Thu Oct 04, 2007 4:39 pm

xbipin wrote:can a non wireless pspboot version be taken out so i can also do the testing on my Dlink 2540T which currently runs v2.3 perfectly. i just hope there is support for the ADM6996M switch coz thats what im looking for most of all.
I am not sure I understand what you are trying to achieve. If v2.3 works fine on your 2540T, why would you want to use this version? There is absolutely nothing to be gained from this over v2.3. The only reason for this release is that the standard v2.3 does not support the new TNETW1350A wireless chip, and support for that chip requires different core logic, kernel, and drivers (i.e., a different source code base).
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Eshwar
Newbie
Newbie
Posts: 6
Joined: Wed Oct 03, 2007 5:47 pm
Contact:

Post by Eshwar » Thu Oct 04, 2007 4:48 pm

Double checking... Is this version "routertech-ar7wrd-pspboot-firmware-20070905.zip" of file RC1?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Thu Oct 04, 2007 4:54 pm

Eshwar wrote:Double checking... Is this version "routertech-ar7wrd-pspboot-firmware-20070905.zip" of file RC1?
No. RC1 is under the "releases" section: viewtopic.php?t=1448
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Post by mstombs » Thu Oct 04, 2007 5:09 pm

Eshwar wrote:
4. I do not find too much of different between the led.conf file and my ledprofiles.txt. I think my router's existing firmware reads ledprofiles.txt and if I use RT beta firmware, I need to build led.conf from ledprofiles.txt

Wish me luck!!

:D :D
Note if none of the built-in led.confs meet your needs - the RT team will have to build one into a future version from the information you have provided above which will not be available after you upgrade - not a lot you can do yourself.

And Good luck!
xbipin
Regular
Regular
Posts: 64
Joined: Wed Aug 29, 2007 5:34 pm

Post by xbipin » Fri Oct 05, 2007 2:40 pm

thechief wrote:
xbipin wrote:can a non wireless pspboot version be taken out so i can also do the testing on my Dlink 2540T which currently runs v2.3 perfectly. i just hope there is support for the ADM6996M switch coz thats what im looking for most of all.
I am not sure I understand what you are trying to achieve. If v2.3 works fine on your 2540T, why would you want to use this version? There is absolutely nothing to be gained from this over v2.3. The only reason for this release is that the standard v2.3 does not support the new TNETW1350A wireless chip, and support for that chip requires different core logic, kernel, and drivers (i.e., a different source code base).

actually im looking for the support for the switch as well as that tinyproxy which i think in 2.3 u then and to configure the IE to use that proxy and in the beta i think its like transparent so no config required on the client side. this is what i understood if im not wrong, plz correct me if this is not the case.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Fri Oct 05, 2007 3:53 pm

The transparent proxy can be achieved with RT v2.3 as well - but it will require running a command on the router manually.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
xbipin
Regular
Regular
Posts: 64
Joined: Wed Aug 29, 2007 5:34 pm

Post by xbipin » Fri Oct 05, 2007 10:48 pm

any help on the command?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Sat Oct 06, 2007 8:46 am

xbipin wrote:any help on the command?
Run this command before starting tinyproxy

Code: Select all

iptables -I PREROUTING -t nat -i br+ -p tcp -j REDIRECT --dport 80 --to-port 8888 --dst ! 192.168.1.1
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
xbipin
Regular
Regular
Posts: 64
Joined: Wed Aug 29, 2007 5:34 pm

Post by xbipin » Sat Oct 06, 2007 10:20 am

thanks for the command.

one more thing i was wondering related to the rshaper, what good is it if the user just changes his ip address, then the rshaper wont function so isnt there a way to set downlaod or uplaod speed based on mac address?
Locked