Official FreshTomato-ARM - development discussion only - for support ALWAYS open your own thread


pedro311

Network Guru
Member
[Fork] FreshTomato-ARM - development thread

======================================

[FreshTomato-ARM]

Project page:
https://freshtomato.org
Latest version: 2024.1 - 2024.01.14
Source code: https://bitbucket.org/pedro311/freshtomato-arm (Mirror)
Changelog: FreshTomato-ARM
Downloads: https://freshtomato.org/downloads
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, RT-AC1750 B1, AC67U, RT-N66U C1, AC68U(A1,A2,B1,B2,C1,E1,V3)/R/P, AC3200, AC3100, AC88U(only 4 LAN + 1 WAN port), AC5300, AC1900P/U, DSL-AC68U (no xDSL support), Netgear AC1450, R6250, R6300v2, R6400, R6400v2, 6700v1, R6700v3, R6900, XR300, R7000, R7900, R8000, Linksys EA6200, EA6350v1, EA6350v2, EA6300v1/EA6400, EA6500v2, EA6700, EA6900, Tenda AC15, AC18, Huawei WS880, Dlink DIR868L (rev A1/B1/C1), Xiaomi R1D, Belkin F9K1113v2, Buffalo WZR-1750DHP.

(from version 2019.3 added support for Asus AC66U B1, AC68U (C1, E1) and Netgear R6400v2, R6700v3)
(from version 2019.4 added support for Asus AC1900P)
(from version 2020.2 added support for Asus AC68U B2)
(from version 2020.8 added support for Netgear 6700v1, Asus RT-N66U C1 and Asus RT-AC67U)
(from version 2021.1 added support for Netgear XR300, Belkin F9K1113v2)
(from version 2021.3 added support for Asus AC68U V3, Asus RT-AC1750 B1, Asus RT-AC1900U and Netgear R6900)
(from version 2022.1 added support for Linksys EA6350v2)
(from version 2022.3 added support for Netgear AC1450)
(from version 2022.3 added support for Asus DSL-AC68U)
(from version 2022.4 added support for Netgear R7900)
(from version 2022.6 added support for Asus RT-AC3100, Asus RT-AC5300 and Asus RT-AC88U)
(from version 2023.5 added support for Netgear R6200v2)

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

Disclaimer: I'm not responsible for any bricked routers, nor do I 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, or you have problems settings something in the GUI, you need to clear the browser cache and/or use Ctrl + F5 to refresh the page - sometimes only Firefox with Ctrl+F5 helps.
You can use Administration->Debugging->'Clear Cookies & Clear Cache' OR enable Administration->Debugging->'Set "no-cache" in httpd header' in case of problems.


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:
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:
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
 
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!
 
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:
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.
 
Good stuff!

R7000 install -> new VLAN renders router inoperable

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

Thx
 
Last edited:
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:
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:
@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.
 
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?
 
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
 

Back
Top