[Fork] FreshTomato-ARM - development thread


pedro311

Addicted to LI
Member
[FreshTomato-ARM]

Forked off from Tomato-ARM by Shibby.

Latest version: 2020.1 - 2020-01-20
Source code: https://bitbucket.org/pedro311/freshtomato-arm
Changelog: FreshTomato-ARM
Downloads: https://mega.nz/#F!QywknIpa!5JwWNIfEwCOKXqXG0AOh4w
Issue tracker/Create issue: https://bitbucket.org/pedro311/freshtomato-arm/issues?status=new&status=open

If you enjoy FreshTomato and wish to see its development continue at full speed, please, donate. Thank you very much for your support!
By PayPal
HERE, or by BTC: 1JDxBBQvcJ9XxgagJRNVrqC1nysq8F8B1Y

For the following ARM routers: Asus N18U, AC56S, AC56U/AC56R, AC66U B1, AC68U(A1,A2,B1,C1,E1)/R/P, AC3200, AC1900P, Netgear R6250, R6300v2, R6400, R6400v2, R6700v3, R7000, R8000, Linksys EA6200, EA6350v1, EA6300v1/EA6400, EA6500v2, EA6700, EA6900, Tenda AC15, AC18, Huawei WS880, Dlink DIR868L (rev A1/B1/C1), Xiaomi R1D.

(from version 2019.3 added support for Asus AC66U B1, AC68U (C1, E1) and Netgear R6400v2, R6700v3 -> subdir "arm-ng")

(from version 2019.4 added support for Asus AC1900P-> subdir "arm-ng")

Thanks to @kille72 @shibby20 @AndreDVJ @Jacky444 @koitsu @M_ars @Vindicator @Sean B. @Toastman @RMerlin @tsynik @tvlz @lancethepants @Elfew @Edrikk @snowman58 and all others who helped us with this project.

Disclaimer: We are not responsible for any bricked routers, nor do we encourage other people to flash alternative firmwares on their routers. Use at your own risk!

How to report a bug or problem:

As the first step in troubleshooting any issue, try to reset the router to default settings using "Erase all data in NVRAM memory (thorough)" option on the "Administration -> Configuration" page of the FreshTomato GUI. Do not restore your settings from the backup configuration file - always reconfigure the router manually when troubleshooting the problem!

Check the NVRAM usage on the Administration->Configuration page in the GUI. If the free NVRAM space is very low (or worse - 0%), you're running out of nvram space, and this is the most probable reason for the problem(s). In this case you will have to erase the nvram and reconfigure everything manually - there's no way around it. Keep an eye on the NVRAM usage while you're adding your settings.

Further troubleshooting steps may vary depending on what kind of problem you're trying to solve. Be creative, and try to do as much troubleshooting as you can think of, and collect as many details about the problem itself and your configuration as possible.


If you could not find the solution, and your own troubleshooting did not help, please follow the guidelines below to report the issue:

  • Always include your router make and model, and the exact version and edition of the firmware you're using - you can get it from the "About" page in the FreshTomato GUI.
  • Verify that there is a newer version of the firmware, and if so try to install it, reset the router to default settings, and test whether the problem is still there.
  • If this is a new issue, include the last version/build of the firmware that was still working properly.
  • Include any relevant configuration details - your wan/lan/wireless/usb/etc settings, WAN connection type, configuration of the clients etc - anything that you believe might be useful. If there are working and non-working configurations, please provide the details about both. If you're in doubt what's relevant - submit at least the output of "sysinfo" and "nvram show" commands (remember to mask out any personal information - passwords, MAC addresses etc). The output could be too big for the forum post - use pastebin.com (preferred) or any free file sharing sites to submit this info.
  • Describe your problem in details - what exactly you're trying to do, the expected results, the observed behavior, and steps to reproduce.
  • Describe what exactly you did to try troubleshooting the problem, and your results.
  • If at all possible, test whether the same problem exists in other firmwares available for your router.
If after the bug report you're asked additional questions, or asked to do more troubleshooting steps, please answer each and every one of them! Even if you don't know the answer, or didn't do some of the steps suggested - mention this in your reply.

Before you report a problem with the GUI, you need to clear the browser cache and/or use Ctrl + F5 to refresh the page.

Be courteous to developers and other people who are trying to help you, and don't make them to do any guesswork - volunteer the information!

Thank you all for understanding and your cooperation in making this firmware better!
 
Last edited:

kille72

LI Guru
Member
P.S. @Pedro has started working/updating the MIPS branch, he needs to buy any MIPS router that can handle AIO images and preferably 2.4/5GHz WiFi. If you want to support his work please donate. You will find the link in his signature. Thanks in advance!

I will help him with tests and I have Netgear WNR3500Lv2 MIPS R2 that can handle AIO images.
 
Last edited:

miroco

Networkin' Nut
Member
Is Fresh Tomato a clean slate from the ground up new firmware without any legacy Tomato code?
 

pomidor1

Networkin' Nut
Member
this is the continuation and development of Shibby work

in my opinion, the project would be supported by the AdwancedTomato project based on FreshTomato

for this you need to add n66u and other routers from the mipsel platform
 

cicofz

Network Noob
Registered
P.S. @Pedro has started working/updating the MIPS branch, he needs to buy any MIPS router that can handle AIO images and preferably 2.4/5GHz WiFi. If you want to support his work please donate. You will find the link in his signature. Thanks in advance!

I will help him with tests and I have Netgear WNR3500Lv2 MIPS R2 that can handle AIO images.
What a great news for my two N66U! :)

End of 2017 I switched to Merlin, but I will instantly return if MIPS-Tomato will be refreshed. I spontaneously registered here just to see Pedro's signatur and donate to help getting him a "test machine"...

I really appreciate the plan to reanimate Tomato for mipsel, many thanks to all involved!
 

Tomato Mike

Reformed Router
Member
Great work! I just have two comments (I want to preference that I cleared NVRAM after upgrading):

1) Why set "Invert Ports Order" as default on R8000? This makes them backwards. It now thinks that my port 1 (which is labeled in paint on the back of the router) is port 4. I unchecked that, to make it normal.

2) I've tried enabling a VLAN under the Advanced VLAN tab (making one of my ports bridge to LAN1 (br1), and it caused the router to not be able to connect to the internet at all. I had to do a 30-30-30 reset to get everything back up and running. I tried 4 different times, in different orders (in terms of what order I configure my router settings), with slightly different VLAN options, and it happens each time. I'm wondering if this new bug has something to do with the inverted ports order, of it it's completely unrelated. I never had this problem on any previous Tomato firmware, and I've performed this option enough that I know I'm doing it the same way as always. But now, no matter how I try to enable it (4 different ways, each requiring a 30-30-30 reset), the router becomes unresponsive after enabling it, and the internet doesn't work. Thought you should know right away!

Also, the bug that I mentioned a few months back still stands, related to "Enabling" the Guest Wifi (Virtual Wireless). If you enable Virtual Wireless on 2.4ghz, the radio will basically not work ever again, until you clear NVRAM. Nothing will legitimately connect to 2.4ghz (on regular or virtual wireless) until NVRAM is cleared. I learned that this bug still exists the hard way.

Other than that, everything is working beautifully. I'll let you know if I notice anything else.
 
Last edited:

José Fernández

Addicted to LI
Member
Enabling VLAN makes my R7000 unresponsive too. Didn't try to invert the ports order, though.

Great work! I just have two comments (I want to preference that I cleared NVRAM after upgrading):

1) Why set "Invert Ports Order" as default on R8000? This makes them backwards. It now thinks that my port 1 (which is labeled in paint on the back of the router) is port 4. I unchecked that, to make it normal.

2) I've tried enabling a VLAN under the Advanced VLAN tab (making one of my ports bridge to LAN1 (br1), and it caused the router to not be able to connect to the internet at all. I had to do a 30-30-30 reset to get everything back up and running. I tried 4 different times, in different orders (in terms of what order I configure my router settings), with slightly different VLAN options, and it happens each time. I'm wondering if this new bug has something to do with the inverted ports order, of it it's completely unrelated. I never had this problem on any previous Tomato firmware, and I've performed this option enough that I know I'm doing it the same way as always. But now, no matter how I try to enable it (4 different ways, each requiring a 30-30-30 reset), the router becomes unresponsive after enabling it, and the internet doesn't work. Thought you should know right away!

Also, the bug that I mentioned a few months back still stands, related to "Enabling" the Guest Wifi (Virtual Wireless). If you enable Virtual Wireless on 2.4ghz, the radio will basically not work ever again, until you clear NVRAM. Nothing will legitimately connect to 2.4ghz (on regular or virtual wireless) until NVRAM is cleared. I learned that this bug still exists the hard way.

Other than that, everything is working beautifully. I'll let you know if I notice anything else.
 

xips_

Addicted to LI
Member
Good stuff!

R7000 install -> new VLAN renders router inoperable

edit: untagged VLAN3 set at Port 4 (same config with Shibby v140)

Thx
 
Last edited:

txnative

LI Guru
Member
I have a Linksys E3200 & Belkin F7D4302 that I'd test for these models.
Will pedro have a mips branch repository to follow as well? Regards, txnative
 
Last edited:

My Name

Networkin' Nut
Member
Used a spare Tenda AC15 to test FreshTomato and as others have reported VLAN also doesn't work on Tenda AC15 either. Appears to really mess up the ports.

I was able to log back into the router using Wireless and could see that Overview was showing two ports active when I only had one cable plugged in. That particular port was not assigning DHCP addresses either.

WAN port would light up but was not working since my Wireless connection had no internet.

Flashed back to the last version of @kille72 to get the router back to working status.

EDIT: Forgot to mention, I did wipe NVRAM after flashing FreshTomato

EDIT: Flashed FreshTomato again onto same spare Tenda AC15, wiped NVRAM and tried VLAN again with same basic results. None of the Ethernet ports plus WAN port works after VLAN is saved and committed to NVRAM. As before, wireless works and I can login to the Tenda AC15 and do pretty much everything needed to configure the router, so it is not totally unresponsive (in my case anyway). I used wireless to restore default configuration on two different occasions. The only way to recover was to do Administration, Configuration and Thorough (wipe NVRAM) to get the ports back to a working state. Without NVRAM wipe things were still pretty much messed up on the Ethernet and WAN ports.
 
Last edited:

Techie007

Networkin' Nut
Member
@kille72: Thank you for your continued support and development of this firmware.

I had dual-WAN working on the Tenda AC15 a week ago. Yes, the port order is all messed up. Part of the problem is that the Tenda AC15 only has three LAN ports, while Tomato expects four. LAN1-LAN3 map to LAN2-LAN4 in Tomato. Something seemed off with the way the VLAN section behaved, but I did get it working with the WAN and LAN1 ports being my two WAN ports. Something I found out the hard way: Don't use VLAN0, and make sure that the LAN (main) network is VLAN1. I almost lost access to the router, but was able to change my settings via WiFi.
 

Techie007

Networkin' Nut
Member
I have a bug report. This bug isn't anything new, probably going back to MultiWAN or even further. Anyway, I have a network using all Tenda AC15 routers (now) running FreshTomato 2018.1 with the following topology:

DSL bridged modem -> WAN TendaMaster (DNS, DHCP, SAMBA & WINS server)
LAN1 TendaMaster -> WAN (bridged) TendaA
LAN1 TendaA -> WAN (bridged) TendaB
LAN2 TendaA -> WAN (bridged) TendaC

I have DHCP disabled on the extra routers, and have entered the IP address to TendaMaster into each router's Default Gateway, Static DNS and WINS settings under Basic -> Network. However, only TendaMaster gets NTP time or reports to TomatoAnon. The additional routers are all acting as access points, with WAN Type set to Disabled and Bridge WAN port to primary LAN (br0) enabled. They are working fine as access points, DHCP requests from connected devices make it back to TendaMaster for IP address assignments, and all DNS is going through TendaMaster (and then OpenDNS) as expected. But the other routers seem unable to resolve DNS queries themselves, causing NTP and TomatoAnon to fail. This includes after the fact, when I try to manually refresh either by hitting the [Save] button on those pages or executing ntp manually. So it's not a boot order/readiness issue. Using LAN1 instead of the bridged WAN port doesn't seem to make a difference. Any thoughts on this?
 

Sean B.

LI Guru
Member
I have a bug report. This bug isn't anything new, probably going back to MultiWAN or even further. Anyway, I have a network using all Tenda AC15 routers (now) running FreshTomato 2018.1 with the following topology:

DSL bridged modem -> WAN TendaMaster (DNS, DHCP, SAMBA & WINS server)
LAN1 TendaMaster -> WAN (bridged) TendaA
LAN1 TendaA -> WAN (bridged) TendaB
LAN2 TendaA -> WAN (bridged) TendaC

I have DHCP disabled on the extra routers, and have entered the IP address to TendaMaster into each router's Default Gateway, Static DNS and WINS settings under Basic -> Network. However, only TendaMaster gets NTP time or reports to TomatoAnon. The additional routers are all acting as access points, with WAN Type set to Disabled and Bridge WAN port to primary LAN (br0) enabled. They are working fine as access points, DHCP requests from connected devices make it back to TendaMaster for IP address assignments, and all DNS is going through TendaMaster (and then OpenDNS) as expected. But the other routers seem unable to resolve DNS queries themselves, causing NTP and TomatoAnon to fail. This includes after the fact, when I try to manually refresh either by hitting the [Save] button on those pages or executing ntp manually. So it's not a boot order/readiness issue. Using LAN1 instead of the bridged WAN port doesn't seem to make a difference. Any thoughts on this?
On the AP's with DNS issues, In Tools->System commands run:

Code:
cat /etc/resolv.conf
If it returns as file doesn't exist, empty, or has an IP address other than the DNS server you want it using, run:

Code:
echo "nameserver X.X.X.X" > /etc/resolv.conf
Replace X's with the DNS server IP. Test routers DNS abilities
 

Top