[Fork] FreshTomato-ARM

Discussion in 'Tomato Firmware' started by kille72, Apr 15, 2018.

  1. crouchingbulli

    crouchingbulli Network Newbie Member

    Hi, I'm planning to migrate from Shibby 1.40 AIO release to your fork for the latest builds on my Asus RT AC56u that I got recently.

    freshtomato-RT-AC56U-ARM-2018.3-AIO-64K.zip

    Can I dirty flash safely or do I need to start from scratch?

    The lack of NVRAM export on ARM makes things a bit inconvenient.
     
  2. kille72

    kille72 LI Guru Member

    It is not recommended, start from scratch, possibly export important nvram values first..
     
  3. Twincam

    Twincam Networkin' Nut Member

    @crouchingbulli I use the following script [scheduled] for my routers. That way, I always have a useable NVRAM backup. I only ever restore the Static DHCP values and sometimes the PF rules. I don't really use PF now as, using OpenVPN, it's not necessary for me [and more secure]. HTH.

    Code:
    # ------------------------------------------------------------------------------ #
    # NB - Added 13/12/17 - Daily NVRAM Backup
    # ------------------------------------------------------------------------------ #
    # 20171216 NB - Added "tomato_backup.sh"
    #             - Handle non-"standard" FS
    # ------------------------------------------------------------------------------ #
    # Idea @[http://tomatousb.org/forum/t-561198/backup-and-restore-to-new-router]
    #
    #  NB: Set the following variables as required
    #
    DIR_NAME="/tmp/mnt/NTFS-RW/Backups-NVRAM" # <- "Standardised" default [Ext2]
    #
    # -> NB Change
    #  Fudge for "Tomato" & "Tomato-AL" ....
    if [ "`nvram get router_name`" = "Tomato" ];then DIR_NAME="/tmp/mnt/Tomato-NTFS/Backups-NVRAM"; fi
    if [ "`nvram get router_name`" = "Tomato-AL" ];then DIR_NAME="/opt/Backups-NVRAM"; fi
    # <- NB Change
    FILENAME="`date +"%Y%m%d-%H%M%S"`-`nvram get wan_hostname`"
    #
    #  NB: WILL work via PuTTY session [WebUI can also be used for testing]
    #       String: [$DIR_NAME/Backup-NVRAM.sh]
    #
    #  For interactive output
    echo ""&&echo " [`nvram get wan_hostname`] Executing Backup-NVRAM script ...."
    echo ""&&echo " [$DIR_NAME/Backup-NVRAM.sh]"&&echo ""
    #
    cd $DIR_NAME
    #  Are we ARM or MIPS? [use "Hardware Type" switch]
    uname -m | grep armv7l > /dev/null && (
        nvram save $FILENAME.cfg
    ) || (
        nvram export --set > $FILENAME.cfg
        # For text "comparison" tools ....
        sort $FILENAME.cfg -o $FILENAME-Sorted.txt
    )
    if [ "$1" != "" ]; then
        echo " [`nvram get wan_hostname`] Submitting BGD job [tomato_backup] ...." && echo ""
        /opt/tomato_backup.sh > $DIR_NAME/`date +%Y%m%d-%H%M%S`-`nvram get wan_hostname`.nvram &
    fi
    logger "[`nvram get wan_hostname`] Executed Backup-NVRAM script [`echo $?`]"
     
    crouchingbulli likes this.
  4. rgnldo

    rgnldo Reformed Router Member

    The FreshTomato 2018.3 is stable on my Asus RT-AC68U router. Thanks to all the team that make up the FreshTomato project @kille72 @pedro311. I also thank the aids and texts @AndreDVJ @koitsu . I'm looking forward to the 2018.4 build.
     
    nodnarb91 and kille72 like this.
  5. crouchingbulli

    crouchingbulli Network Newbie Member

    @Twincam

    Thanks for the script.

    I'll clean install later and apply the nvram set variables I need.

    I guess I only have to change the DIR_NAME to what I have based on that script right?

    I got a .cfg file which I couldn't read.
    Tried unzipping as .tar or .gz but no dice.

    I'll just backup my settings with screenshots for now.

    @kille72

    Thanks I'll go with clean.
    From that point onwards I can dirty upgrade from one fresh tomato to a higher version right?
     
    Last edited: Jul 3, 2018
  6. Bad_Dog

    Bad_Dog New Member Member

    Nice! I found someone running the same setup as me... minus the remote syslog. :) Haven't set that up yet, but it's on my to-do list.

    I'm currently running Shibby 140, AIO, on my AC3200. Been waiting for 'the right moment' to upgrade. With kids, it's hard to plan an upgrade that requires me to sit in front of a computer and re-enter the configuration settings for all the port forwarding, Static DHCP, and QOS.

    Are you running QOS? One annoying thing with the Shibby 140 build is that QOS graphs are only displayed for outgoing, not incoming. Shows all zeros.
     
  7. Twincam

    Twincam Networkin' Nut Member

    @crouchingbulli Yes, basically. It is most definitely worth reviewing the URL that inspired me too.
     
  8. Twincam

    Twincam Networkin' Nut Member

    @Bad_Dog No, I've never been brave enough to play with QoS but there's a lot of useful stuff on these fora for that. The reason I use "remote syslog" is so that various mates' routers and mine all log to the same place [my PC via a UDP+514 PF rule] where a venerable program, WallWatcher, collects them.
     
  9. Aethyl-chloride

    Aethyl-chloride New Member Member

    Hi Networkin' Gurus!

    First of all: thank You very much for Your hard work!

    Sorry for my english, it's not my native language.

    Yesterday I migrated from Shibby 1.40 AIO to your latest builds (2018.3 AIO) on my Netgear R7000.

    Some notices:

    My network:

    1 WAN
    2 VLAN
    2.4 & 5 GHz Wifi => Bridged to LAN0
    2.4 & 5 GHz Virtual wireless => Bridged to LAN1

    Everythings works fine except Captive Portal to LAN1. No matter what I did it's not working. It's worked well with Shibby's builds.

    It appears that DNSSEC is not working too as before. If I turn it on then all DNS query failed.
    (with Shibby 140 AIO it's worked as I expected)

    - NFS Server - OK
    - PXE BOOT WITH DNSMASQ - OK => dnsmasq runs at different credentials as before? [nobody]

    I needed to comment it out the tftp-secure in dnsmasq options & reconfigure the read-only permission to read-write on NFS Server netboot share (/opt/netboot)

    - Samba - OK
    - Vsftpd FTPS - OK => if router rebooted I need to restart Vsftpd on the GUI because of the passive ports
    - lighttpd - OK
    - ENTWARE - OK
    - nginx + MySQL - OK
    - NTPD - OK
    - OpenVPN Server (TUN/TAP) - OK
    - Dropbear (SSH) - OK
    - Bandwidth Limiter - OK
    - WOL - OK
    - WOL from WAN Side - OK (port forwarding & static MAC/IP is configured)
    - MiniDLNA - OK
    - Transmission - OK
    - WiFi signal is much more strength!
    - Port Forwarding - OK
    - WAN Speed - OK CTF On (976 Mbps / 218 Mbps - I have an 1000 / 200 Mbps connection)
    - LAN Speed - OK (992 Mbps beetween 2 wired computers)
    - Scheduler - OK
    - TOR - OK
    - 2 DDNS - OK
    - IP Traffic / Bandwidth / Web monitor logging - OK

    Thanks for all the hard work keeping Tomato going!
     
    Onee-chan, Twincam, pedro311 and 2 others like this.
  10. pedro311

    pedro311 Serious Server Member

    Not all queries.
    Only if given upstream resolver doesn't support DNSSEC.
     
    rgnldo, Aethyl-chloride and kille72 like this.
  11. rgnldo

    rgnldo Reformed Router Member

    WL: update wireless driver for SDK7 to GPL 382.50470 (null): 1.194 RC33.0 Dongle Host Driver, version 1.194.33 (r526004) Compiled in drivers/net/wireless/bcmdhd on May 27 2018

    @pedro311 is very good?
     
  12. pedro311

    pedro311 Serious Server Member

    Yeap, it, as said, resolves problems with 10 max clients on 2,4 GHz.
     
    rgnldo and kille72 like this.
  13. Aethyl-chloride

    Aethyl-chloride New Member Member

    Hmm, strange. My ISP is the same as it was with Shibby v140 AIO.
    With Shibby 140 AIO the DNSSEC was always on and dnsmasq was configured to use only ISP's DNS.
    Is that possible to the DNSSEC feature not working correctly in Shibby builds? Or automatically ignored DNSSEC settings if upstream DNS servers not supported?
     
  14. cobrax2

    cobrax2 Serious Server Member

  15. R7000user

    R7000user Network Newbie Member

    Now the wifi alliance has published the WPA-3 specifications, can the firmware in Netgear R7000 and later routers be upgraded to support WPA-3 Personal and Enterprise or does this support require new hardware (as is usual unfortunately)?
     
  16. jxf011

    jxf011 Networkin' Nut Member

    Does FreshTomato run on the C1 version of the Asus RT-AC68U? I've read the 66U_B1/68U_C1 have issues with getting a new Tomato but I'm hoping some day it might happen.

    I just got an Asus RT-AC66U_B1 and after putting in a lot of work with Merlin and especially DD-WRT, I've gone back to my 8 year old RT-N16 with Shibby 140.

    Shibby's Tomato has all the key features I want: easy to implement iptables and good enough router based bandwidth monitoring that gets saved to a local drive.

    Thanks for all the hard work devs are putting in on the Tomato project. I'll watch this thread and keep my fingers crossed.
     
  17. Hermes Romero

    Hermes Romero Connected Client Member

    Hi guys
    What would be the cheapest AC1900 router supported by Fresh Tomato?? I read that the Tenda has some issues.
    Thanks!
     
  18. crouchingbulli

    crouchingbulli Network Newbie Member

    Okay so I flashed to freshtomato-RT-AC56U-ARM-2018.3-AIO-64K and started from scratch by checking "After flashing, erase all data in NVRAM memory" before upgrade.

    2.4ghz didn't work for some reason on stock settings.

    I checked the region and it says Singapore.
    I couldn't choose channels only 20 or 40mhz width but regardless 2.4ghz won't show up on my devices.

    Overview says it's on channel 1 so at the very least my device should see it(except for channel 12-14)

    Cleared NVRAM again and still no dice.

    I'm going to test if freshtomato-RT-AC56U-ARM-2018.2-AIO-64K will work.

    Testing(2018.2 AIO) as of writing this post.

    Grabbed my nexus tablet and it seems 5ghz doesn't work as well although I can change all channels, width etc on it.
    Same thing on 2.4 channel cannot be changed from auto.
    Cleared NVRAM again rinse and repeat same results.

    update

    For some oddball reason changing the country under advanced>wireless didn't work earlier.
    I did it again right now for both wireless radios and it works.

    I'll leave this link as reference for my fellow AC56u users.
    Dunno why Singapore as a default entry is bugged.

    edit: I'll post it later account limitations.

    update:

    I couldn't get it to detect my external HDD nor could I get openvpn client working.
    For some reason the save button on openvpn client doesn't work.

    I had to revert back to shibby for now.
     
    Last edited: Jul 4, 2018
  19. pomidor1

    pomidor1 Networkin' Nut Member

    Tenda AC15 but ver VPN not AIO
     
  20. WildFireSG

    WildFireSG Addicted to LI Member

    @kille72 and @pedro311 Have you seen this issue?
     
  21. kille72

    kille72 LI Guru Member

    Traffic through VPN is not registered in IP Traffic monitor, it has always been like this, if I have understood this right... I have tested IP Traffic monitor without VPN connection and it counts everything right.
     
    Last edited: Jul 4, 2018
    rgnldo likes this.
  22. rgnldo

    rgnldo Reformed Router Member


    I did not find any problem. I suggest to physically reset the router button. On Asus routers, depending on the firmware, I use recovery mode. Clear your browser cache too. FreshTomato builds are stable. Tanks @kille72 @pedro311
     
    kille72 likes this.
  23. crouchingbulli

    crouchingbulli Network Newbie Member

    I'll try it again this midnight.
    I think clearing the NVRAM via the administration tab is enough but I won't lose anything in a physical hard reset anyway.

    I'll make a config backup of my current tomato build then I'll flash again.
    My browser cache was cleared earlier by the way when I was testing.
    Tried configuring in a incognito tab of chrome on another PC just to be sure earlier but no dice.

    Flash to freshtomato(with clear NVRAM ticked)>hard reset> then configure on next boot.
    If this works then I'm good.

    If it's the same like before then I'm screwed.
     
  24. WildFireSG

    WildFireSG Addicted to LI Member

    Thank you for the reply. I understand VPN traffic would not be counted, but I am not using any VPN...do you think it may be something specific to the ASUS RT-AC68U build "freshtomato-RT-AC68U-ARM-2018.3-AIO-64K"?
     
  25. rgnldo

    rgnldo Reformed Router Member

    @crouchingbulli In the Asus router, depending on the firmware, you need the recovery mode, with the Asus Firmware Restoration software. I suggest to kill these guidelines @kille72 @pedro311. Depending on the build. With this procedure, a lot of trouble is avoided, blaming the firmware.
     
  26. crouchingbulli

    crouchingbulli Network Newbie Member

    @rgnldo

    Correct me if I'm wrong but I dont think I need be in asus recovery mode if I was flashing from tomato to tomato.
    I'll take your advice anyway and boot to recovery mode(flash via cfe webui) and update if it will help.
    Shibby 140 and advancedtomato 140(which just changed the ui) worked fine as is and considering freshtomato was built upon shibby, I thought it would work fine as well.

    Hopefully it would work well this time since freshtomato is my only option for updated builds.
     
    Last edited: Jul 4, 2018
  27. Twincam

    Twincam Networkin' Nut Member

    @crouchingbulli @rgnldo

    I think you should use the WebUI as shown [below]. Ensure that you check the checkbox marked "After flashing, erase all data in NVRAM memory" [or similar].

    RT-AC3200-Upgrade-Firmware.jpg
     
  28. crouchingbulli

    crouchingbulli Network Newbie Member

    @Twincam

    Yes good sir that's what i did when i flashed from shibby 140 to fresh tomato 2018.3

    I cleared nvram again via administration>configuration>restore default configuration(erase all data in nvram memory (thorough) )

    When i switched to 2018.2(while troubleshooting the wifi problem) i did the same procedure.

    As per @rgnldo's suggestion I'll try

    Asus recovery mode>open 192.168.1.1(cfe gui) flash freshtomato> hard reset router>clear nvram via administration-configuration.

    This is the thread that allowed me to work around on the no wireless problem I encountered.
    https://www.reddit.com/r/TomatoFTW/comments/4idg3x/shibbys_tomatousb_rtac56u_no_24ghz_discuss/

    update

    So yeah before trying @rgnldo's approach which honestly is a hassle(hard resetting my router from a shelf). I simply proceeded like usual using upgrade with clear nvram ticked which is the same as @Twincam's approach.

    Wireless 2.4 and 5G isn't working like before but I can fix it later.

    So this fickle router now shows my USB HDD and allows me to save my openvpn client settings. The only thing different right now would be that the SOC temp was at 87C(on shibby 140) earlier noon and now at 80C 3 hours past midnight.
    I am very sorry if it sounded like I was doubting the firmware.
    I posted my problems here in case someone else had encountered the same problem on the same hardware.

    I will continue to configure, test and observe if I find any other problems.

    tl;dr Feels like my router is trolling me.

    @kille72

    Thanks for the firmware good sir.
    I can finally get an updated tomato firmware past shibby builds.
     
    Last edited: Jul 4, 2018
  29. rgnldo

    rgnldo Reformed Router Member


    Router Asus would be to perform a hard reset of the router, then reflash it with the latest firmware, Do another hard reset, then apply some arbitrary setting like changing the password for the router settings login. Save, unplug and see if your settings are retained.

    Normally this works:

    1. when the unit is powered on, hold down the reset/WPS button for 30 seconds
    2. while still holding down the reset/WPS button, unplug the router from power and hold for an additional 30 seconds.

    3 - Power off the router then power on while holding the reset button to put the router into recovery mode.

    4 - Now launch your web browser while connected via ethernet cable to launch the router config which will display the options to reset.

    Use Asus Firmware Restoration Software.

    If that does not work, try adopting the Merlin firmware or the Asus standard.
     
  30. crouchingbulli

    crouchingbulli Network Newbie Member

    @rgnldo

    I don't need to anymore.
    While I do not know what the hell is wrong with my router earlier noon, the exact same procedure I always use for tomato worked fine this time.(which is the same as @Twincam)

    I do understand the steps you're saying since that's what I did(or at least halfway since I prefer flashing via CFE webgui rather than their utility form windows) to flash from official asus firmware to tomato.

    Thanks for the troubleshooting guide though.
     
    rgnldo likes this.
  31. rgnldo

    rgnldo Reformed Router Member

    It's been a while since I did a clean installation with the hard reset. There are situations in which I use Asus Firmware Restoration software. From what I've noticed, when there are major changes to the firmware, it is advisable.
     
    crouchingbulli likes this.
  32. crouchingbulli

    crouchingbulli Network Newbie Member

    VPN client good
    USB HDD good
    Samba performance very good(previosly 7-8MB/s download/upload on shibby 140) now 20MB/s upload 39MB/s download on EXT2 or NTFS
    Wireless working

    minidlna testing later.

    Thanks for the people who helped.
    Yup freshtomato looks solid right now.
     
    pedro311 and kille72 like this.
  33. Hermes Romero

    Hermes Romero Connected Client Member

    thanks!
     
  34. AndreDVJ

    AndreDVJ LI Guru Member

    Can someone else check if Captive Portal works? NoCatSplash never seen a change, and I never tested it until two days ago. It doesn't work here at all.
     
  35. rgnldo

    rgnldo Reformed Router Member

  36. kille72

    kille72 LI Guru Member

    rgnldo likes this.
  37. mandepsi

    mandepsi Networkin' Nut Member

    how did you tested samba performance? wired or wireless?
     
  38. bjlockie

    bjlockie Network Guru Member

    I'm having a problem with USB support.
    I log to a flash drive.
    The GUI says:
    Patriot Memory
    Partition 'sda' unknown (7,576.00 MB) is not mounted
    but I get an error when trying to mount it.

    # lsusb
    Bus 001 Device 001: ID 1d6b:0003
    Bus 002 Device 001: ID 1d6b:0002
    Bus 002 Device 003: ID 13fe:5000

    The logs say:
    Jul 5 17:05:42 TomatoUSB user.debug hotplug[4722]: Attached USB device 2-2:1.0 [INTERFACE=8/6/80 PRODUCT=13fe/5000/110]
    Jul 5 17:05:43 TomatoUSB kern.notice kernel: scsi 1:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 4
    Jul 5 17:05:43 TomatoUSB kern.notice kernel: sd 1:0:0:0: [sda] 15515648 512-byte logical blocks: (7.94 GB/7.39 GiB)
    Jul 5 17:05:43 TomatoUSB kern.notice kernel: sd 1:0:0:0: [sda] Write Protect is off
    Jul 5 17:05:43 TomatoUSB kern.debug kernel: sd 1:0:0:0: [sda] Mode Sense: 45 00 00 00
    Jul 5 17:05:43 TomatoUSB kern.err kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
    Jul 5 17:05:43 TomatoUSB kern.err kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
    Jul 5 17:05:43 TomatoUSB kern.info kernel: sda: unknown partition table

    I am running:
    FreshTomato Firmware 2018.3 K26ARM USB AIO-64K

    It used to work fine on advancedtomato.
     
  39. bjlockie

    bjlockie Network Guru Member


    Uh oh.
    The flash drive got corrupted:
    # fdisk /dev/sda

    Command (m for help): p

    Disk /dev/sda: 7944 MB, 7944011776 bytes
    245 heads, 62 sectors/track, 1021 cylinders
    Units = cylinders of 15190 * 512 = 7777280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 277 2097152 c Win95 FAT32 (LBA)
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(25, 2, 6) logical=(0, 33, 3)
    Partition 1 has different physical/logical endings:
    phys=(606, 7, 3) logical=(276, 63, 6)
    Partition 1 does not end on cylinder boundary
    /dev/sda2 346 1091 5659648 83 Linux
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(606, 7, 4) logical=(345, 74, 47)
    Partition 2 has different physical/logical endings:
    phys=(63, 1, 8) logical=(1090, 119, 2)
    Partition 2 does not end on cylinder boundary
    /dev/sda3 1 1 0 8 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(0, 0, 0) logical=(0, 0, 1)
    Partition 3 has different physical/logical endings:
    phys=(0, 0, 0) logical=(282749, 161, 4)
    Partition 3 does not end on cylinder boundary
    /dev/sda4 ? 1 1 0 0 Empty
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(0, 0, 0) logical=(0, 0, 1)
    Partition 4 has different physical/logical endings:
    phys=(2, 0, 0) logical=(282749, 161, 4)
    Partition 4 does not end on cylinder boundary

    Partition table entries are not in disk order
     
  40. bjlockie

    bjlockie Network Guru Member

    I tried the flash drive in another computer:

    [27450.053720] usb 11-2: USB disconnect, device number 2
    [27463.954268] usb 11-2: new SuperSpeed USB device number 3 using xhci_hcd
    [27463.978813] usb 11-2: New USB device found, idVendor=13fe, idProduct=5000
    [27463.978818] usb 11-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [27463.978821] usb 11-2: Product: Patriot Memory
    [27463.978824] usb 11-2: Manufacturer:
    [27463.978827] usb 11-2: SerialNumber: 07B811074ED50667
    [27463.980409] usb-storage 11-2:1.0: USB Mass Storage device detected
    [27463.980664] scsi host7: usb-storage 11-2:1.0
    [27464.998535] scsi 7:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 4
    [27464.999098] sd 7:0:0:0: Attached scsi generic sg5 type 0
    [27464.999288] sd 7:0:0:0: [sde] 15515648 512-byte logical blocks: (7.94 GB/7.40 GiB)
    [27464.999438] sd 7:0:0:0: [sde] Write Protect is off
    [27464.999444] sd 7:0:0:0: [sde] Mode Sense: 45 00 00 00
    [27464.999591] sd 7:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [27465.096615] sd 7:0:0:0: [sde] Attached SCSI removable disk

    $ sudo fdisk /dev/sde

    Welcome to fdisk (util-linux 2.31.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.


    Command (m for help): p
    Disk /dev/sde: 7.4 GiB, 7944011776 bytes, 15515648 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xc3072e18

    Device Boot Start End Sectors Size Id Type
    /dev/sde1 2048 4196351 4194304 2G c W95 FAT32 (LBA)
    /dev/sde2 5245184 16564479 11319296 5.4G 83 Linux
    /dev/sde3 0 0 0 0B 8 AIX
    /dev/sde4 0 0 0 0B 0 Empty

    Partition table entries are not in disk order.


    I can't get at any of the partitions though.
     
  41. bjlockie

    bjlockie Network Guru Member

    I was able to use testdisk to get the old files. :)
    I don't know if the files are any use, they seem to be binary (or corrupt).
     
  42. bjlockie

    bjlockie Network Guru Member

    It recognized the old bandwidth usage file. :)
     
  43. bjlockie

    bjlockie Network Guru Member

    What is the chance the WAN Bandwidth gui can be added to?
    I would like to see the current month by day but previous months can just show the total upload/download.
     
  44. crouchingbulli

    crouchingbulli Network Newbie Member

    Wired gigabit.

    I do not have a Wifi AC adapter on my computer and/or laptop(PC goes wired so testing on N 2.4G or N 5G would be moot.

    I could try it on my end but as I never touched captive portal before(even back in RT-N), you'll have to give a screenshot of the settings I need to input, how I should test and what I should expect.
     
  45. rgnldo

    rgnldo Reformed Router Member

    Different dates in terminal and in FreshTomato gui, any solution? @kille72 @pedro311

    [​IMG]


    [​IMG]
     
  46. AndreDVJ

    AndreDVJ LI Guru Member

    rgnldo likes this.
  47. rgnldo

    rgnldo Reformed Router Member

    @AndreDVJ I thought of this in the command date, but the problem is the reboot. It would need automation after reboot.
     
  48. rgnldo

    rgnldo Reformed Router Member

    @AndreDVJ I tried to adapt this script, found in Viva o Linux:
    Code:
    #!/bin/bash
    #Tárcio Meireles - tarcio.net@gmail.com
    #02/06/2005
    
    #Descomentar a região do fuso horário desejado
    #local="Branco"
    #local="Manaus"
    local="Brasília"
    
    hora=$(lynx -dump -accept_all_cookies http://pcdsh01.on.br/ispy.asp | \
    grep $local | awk '{print $3}')
    data=$(lynx -dump -accept_all_cookies http://pcdsh01.on.br/ispy.asp | \
    grep $local | awk '{print $2}')
    
    function zeroesq(){
      if [ $1 -le 10 ]
      then
         zero="0$1"
      else
         zero="$1"
      fi
      echo "$zero"
    }
    
    dia=$(echo $data | cut -f1 -d"/");DD=$(zeroesq $dia)
    mes=$(echo $data | cut -f2 -d"/");MM=$(zeroesq $mes)
    ano=$(echo $data | cut -f3 -d"/");AAAA=$(zeroesq $ano)
    
    HH=$(echo $hora | cut -f1 -d":")
    mm=$(echo $hora | cut -f2 -d":")
    ss=$(echo $hora | cut -f3 -d":")
    
    date $MM$DD$HH$mm$AAAA.$ss
     
  49. kille72

    kille72 LI Guru Member

    No problem here:
    2018-07-06_18h28_12.png
     
    WildFireSG likes this.
  50. g109982

    g109982 New Member Member

    R7000 dirty flashed from 2018.2, snmp oids return weird results. There is a mismatch between the value of the OID that specifies the number of interfaces and the actual interface values:

    Code:
    root@pc:~# snmpwalk -v 2c -c public 192.168.1.1 | grep 'iso.3.6.1.2.1.2.1\.0'
    iso.3.6.1.2.1.2.1.0 = INTEGER: 17
    root@pc:~# snmpwalk -v 2c -c public 192.168.1.1 | grep 'iso.3.6.1.2.1.2.2.1.2\.' | more
    iso.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"
    iso.3.6.1.2.1.2.2.1.2.2 = STRING: "ifb0"
    iso.3.6.1.2.1.2.2.1.2.3 = STRING: "ifb1"
    iso.3.6.1.2.1.2.2.1.2.4 = STRING: "ifb2"
    iso.3.6.1.2.1.2.2.1.2.5 = STRING: "ifb3"
    iso.3.6.1.2.1.2.2.1.2.6 = STRING: "eth0"
    iso.3.6.1.2.1.2.2.1.2.7 = STRING: "eth1"
    iso.3.6.1.2.1.2.2.1.2.8 = STRING: "eth2"
    iso.3.6.1.2.1.2.2.1.2.9 = STRING: "vlan1"
    iso.3.6.1.2.1.2.2.1.2.10 = STRING: "vlan2"
    iso.3.6.1.2.1.2.2.1.2.11 = STRING: "vlan3"
    iso.3.6.1.2.1.2.2.1.2.12 = STRING: "vlan4"
    iso.3.6.1.2.1.2.2.1.2.13 = STRING: "br0"
    iso.3.6.1.2.1.2.2.1.2.14 = STRING: "wl0.1"
    iso.3.6.1.2.1.2.2.1.2.15 = STRING: "br1"
    iso.3.6.1.2.1.2.2.1.2.16 = STRING: "eth3"
    iso.3.6.1.2.1.2.2.1.2.19 = STRING: "ppp0"
    root@pc:~#
    
    In 2018.2 and Shibby 140 these numbers matched up.
    Anything I can do to troubleshoot / workaround this ?
     
  51. kille72

    kille72 LI Guru Member

    Dirty flash = no support, check first post "How to report a bug or problem".
     
  52. pedro311

    pedro311 Serious Server Member

    Exactly, my friend...
     
    rgnldo and M_ars like this.
  53. jenom

    jenom LI Guru Member

    I am using FreshTomato Firmware 2018.3.071 MIPSR2-beta K26AC USB AIO-64K on ASUS RT-N66U
    with a ADSL2 modem in BRIDGE mode.
    Having problem with random disconnect between router and modem......modem not getting pppoe info......no Internet
    After power down and power up they work nicely again for hours? days ?

    There is a settings in WAN section, a box , "Use DHCP"
    Should I put a check mark there or not ?
     

    Attached Files:

  54. g109982

    g109982 New Member Member

    Turns out it is normal and legal for the SNMP interface identifiers to change on reboot, there is no bug, just a change in behavior of snmpd. The number of interfaces and the value of the "number" oid are correct. I just had to change my way of interface enumeration.

    Instead of reading the number and the enumerating by incrementing the index, I just walk the snmp subtree of oid 1.3.6.1.2.1.2.2.1.2 and then enumerate the resulting values to know the OIDs of the interfaces.
     
  55. jerrm

    jerrm Network Guru Member

    My guess is he has Optware/Entware coreutils-date installed without proper zoneinfo.
     
    kille72 and rgnldo like this.
  56. bjlockie

    bjlockie Network Guru Member

    Yep, I was happy.
    I probably lost a bit of data during the upgrade but it could have been worse.
     
    kille72 likes this.
  57. Aethyl-chloride

    Aethyl-chloride New Member Member

    Captive Portal (custom splash.html) - Here's my absolutely unstable workaround:

    1. Enable Captive Portal (LANx)
    2. Change settings to Your needs
    3. Save settings
    4. Reboot router

    For me, sometimes it works sometimes not. Strange behaviour, but I can live without that feature.

    R7000 2018.3

    Huge thanks to kille72 & pedro311 for FreshTomato project!
     
    rgnldo likes this.
  58. tripper22

    tripper22 Reformed Router Member

    I have a Netgear R6300v2 with the latest VPN version of Fresh Tomato. Everything looks to be working well for except for the 2.4Ghz. The signal looks very strong but the download throughput is extremely slow. The upload is better but not by much. I have tried different settings in advanced along with different channels and interference mitigation.

    The 2.4GHz works great in Kong's DD-WRT but the 2.4GHz throughout sucks on any version of Tomato I have tried. So I am sure it's not a hardware problem. I have a Netgear R7000 with Fresh Tomato and it works flawlessly in the same location.

    Please help. I would love to use Fresh Tomato on this router. :D
     
  59. rgnldo

    rgnldo Reformed Router Member

    Here on my router R6300v2 everything ok.
     
    pedro311 and kille72 like this.
  60. tripper22

    tripper22 Reformed Router Member

    Thanks for the reply rgnldo. I don't know what the problem with my specific router is then. Like I said in DD-WRT the 2.4 hardware works fine. Is there anything unique with your 2.4 setup? I feel it's there is something in the settings that will make the 2.4 work properly. But I could be wrong of course.
     
    Last edited: Jul 7, 2018
  61. rgnldo

    rgnldo Reformed Router Member

    I suggest hard reset physical. I use the short preamble. I hope to help you with this:

    [​IMG]


    [​IMG]

    [​IMG]
     
  62. rgnldo

    rgnldo Reformed Router Member

    Can be. How do I fix this?
     
  63. koitsu

    koitsu Network Guru Member

    This is not a Tomato problem. This is an Entware problem/complication. This is not an Entware support forum.

    That said: easiest choice: remove the package.

    If it's a dependency from another package, then that's a problem. In this case, you need to get more familiar with Entware and Linux in general to understand how all this works. These are the details:

    coreutils-date (/opt/bin/date) does not appear to include timezone database information (commonly known as tzdata or zoneinfo) directly. Normally on a Linux distro this is installed in /usr/share/zoneinfo and involves several utilities to maintain. tzdata/zoneinfo files are binary, and in a unique format, hence there are several utilities and tools to manage them; they're compiled. On normal Linux distros, if you install coreutils (almost all Linux distros use this), one of the dependencies is tzdata/zoneinfo.

    coreutils-date attempts to read /opt/etc/localtime -- which is normally a symlink to the appropriate binary timezone file, ex. /usr/share/zoneinfo/America/Los_Angeles -- but there is no such file because as I said, there's no package dependency. You can verify its behaviour by installing the strace package and running strace /opt/bin/date and looking at the syscall output very carefully.

    You cannot use the environment variable TZ (ex. export TZ=America/Los_Angeles) because Entware utilities do not use this variable the same way Tomato itself does (specifically: Entware usually uses GNU libc, Tomato uses uClibc). This is important to understand.

    Tomato does not include tzdata/zoneinfo either. uClibc doesn't actually work that way -- it's different, hence it's not like a Linux distro. uClibc, thus Tomato utilities (ex. /bin/date), rely on the file /etc/TZ for its timezone. This file, unlike tzdata/zoneinfo, is actually an ASCII file that you can read. It is not compatible with tzdata/zoneinfo -- although to be fair, compiled tzdata/zoneinfo does contain very similar data at the very end, but it's a lot more complicated than that, so it's best to just accept they're not compatible.

    So how do you make this work in Entware?

    The tzdata/zoneinfo packages that are available on Entware are called zoneinfo, and they're organised by country, rather than on normal Linux distros which just has a single package that includes everything. This is why there's no dependency during package-install-time -- Entware has no idea what region every user is in, thus no idea what package to install. If you've ever installed Linux, you probably noticed it tends to ask you what region/timezone you're in -- now you know why. Entware folks probably keep the zoneinfo packages separate like this to minimise disk space/inode usage.

    So let's examine:

    Code:
    root@gw:/tmp/home/root# opkg list | grep zoneinfo
    zoneinfo-africa - 2018e-1 - Zone Information (Africa)
    zoneinfo-asia - 2018e-1 - Zone Information (Asia)
    zoneinfo-atlantic - 2018e-1 - Zone Information (Atlantic)
    zoneinfo-australia-nz - 2018e-1 - Zone Information (Australia-NZ)
    zoneinfo-core - 2018e-1 - Zone Information (core)
    zoneinfo-europe - 2018e-1 - Zone Information (Europe)
    zoneinfo-india - 2018e-1 - Zone Information (India)
    zoneinfo-northamerica - 2018e-1 - Zone Information (NorthAmerica)
    zoneinfo-pacific - 2018e-1 - Zone Information (Pacific)
    zoneinfo-poles - 2018e-1 - Zone Information (Arctic, Antarctic)
    zoneinfo-simple - 2018e-1 - Zone Information (simple)
    zoneinfo-southamerica - 2018e-1 - Zone Information (SouthAmerica)
    
    If we install one of these, we get the relevant tzdata files. I live in North America, so:

    Code:
    root@gw:/tmp/home/root# opkg install zoneinfo-northamerica
    Installing zoneinfo-northamerica (2018e-1) to root...
    Downloading http://bin.entware.net/armv7sf-k2.6/zoneinfo-northamerica_2018e-1_armv7-2.6.ipk
    Configuring zoneinfo-northamerica.
    
    root@gw:/tmp/home/root# opkg files zoneinfo-northamerica
    Package zoneinfo-northamerica (2018e-1) is installed on root and has the following files:
    /opt/share/zoneinfo/America/Ojinaga
    /opt/share/zoneinfo/America/Mexico_City
    /opt/share/zoneinfo/America/Barbados
    /opt/share/zoneinfo/America/Danmarkshavn
    /opt/share/zoneinfo/America/Buenos_Aires
    /opt/share/zoneinfo/Canada/Saskatchewan
    /opt/share/zoneinfo/US/Alaska
    /opt/share/zoneinfo/America/North_Dakota/New_Salem
    /opt/share/zoneinfo/America/Mendoza
    ...
    
    From here, you can make the symlink and things will begin working. Before and after:

    Code:
    root@gw:/tmp/home/root# /opt/bin/date
    Sat Jul  7 22:04:37 UTC 2018
    
    root@gw:/tmp/home/root# ln -s /opt/share/zoneinfo/America/Los_Angeles /opt/etc/localtime
    
    root@gw:/tmp/home/root# /opt/bin/date
    Sat Jul  7 15:05:04 PDT 2018
    
    root@gw:/tmp/home/root# /bin/date
    Sat Jul  7 15:04:05 PDT 2018
    
    You only have to do this *once*.

    You may also want to install zoneinfo-core which consists of several "shortnames" you may be familiar with (ex. UTC, GMT, PST8PDT, EST, GMT+12, Greenwich, GB, etc.).

    If you want to keep things "super minimal", you can instead choose to install the zoneinfo-simple package. This package contains a substantially smaller set of tzdata files, and are in slightly different paths than the normal ones as described above. With zoneinfo-simple all you get are these:

    Code:
    /opt/share/zoneinfo/Adelaide
    /opt/share/zoneinfo/Anchorage
    /opt/share/zoneinfo/Brisbane
    /opt/share/zoneinfo/Cairo
    /opt/share/zoneinfo/Caracas
    /opt/share/zoneinfo/Chicago
    /opt/share/zoneinfo/Darwin
    /opt/share/zoneinfo/Denver
    /opt/share/zoneinfo/Dhaka
    /opt/share/zoneinfo/Dubai
    /opt/share/zoneinfo/Hong_Kong
    /opt/share/zoneinfo/Honolulu
    /opt/share/zoneinfo/Karachi
    /opt/share/zoneinfo/London
    /opt/share/zoneinfo/Los_Angeles
    /opt/share/zoneinfo/Moscow
    /opt/share/zoneinfo/New_York
    /opt/share/zoneinfo/Noumea
    /opt/share/zoneinfo/Paris
    /opt/share/zoneinfo/Perth
    /opt/share/zoneinfo/Sao_Paulo
    /opt/share/zoneinfo/Sydney
    /opt/share/zoneinfo/Tokyo
    
    So if one of those works for you, then great, make the symlink to one of those and save on disk space/inodes. But if you live in a different region/area than the timezone of one of the above, then you'll need to install the larger zoneinfo-{region} package for your area and use it.
     
    Last edited: Jul 7, 2018
    tmr250z, rgnldo and kille72 like this.
  64. jerrm

    jerrm Network Guru Member

    adjust for your region:
    Code:
    opkg install zoneinfo-core
    opkg install zoneinfo-northamerica
    ln -s /opt/share/zoneinfo/US/Eastern /opt/etc/localtime
    
     
    tmr250z and rgnldo like this.
  65. rgnldo

    rgnldo Reformed Router Member


    At no point did I blame the FreshTomato compilation. But the FreshTomato project gives native support to ENTWARE. I was already looking for the solution on other forums. As I usually participate in this forum, I decided to ask. Pardon. Thanks for the help.
     
  66. rgnldo

    rgnldo Reformed Router Member

    I really appreciate your help. You have provided me with subsidies to solve the problem.

    [​IMG]

    [​IMG]
     
  67. tripper22

    tripper22 Reformed Router Member

    Thanks! I will let you know.
     
  68. Almilade

    Almilade Reformed Router Member

    My provider (small local ISP) is providing me with native IPv6. Internet is running over DSL PPPoE, IPv6 WAN address is assigned over DHCPv6, I have an assigned 48 subnet (static, 2001:xxxx:xxxx::/48) for my lan.
    With Toastman it worked perfectly with IPv6 Service Type set on "Native IPv6 from ISP" (see settings in attached image).
    Now I wanted to switch back my main Router (Asus RT-N18U) to Tomato (had opnsense for testing purposes, but it's kinda overkill), but in FreshTomato the setting "Native IPv6 from ISP" is gone. How do i set up my IPv6 connection with FreshTomato 2018.3? Did try different settings, but none of them worked. Probably just something small I forgot... Thx for your help!
     

    Attached Files:

  69. SNR

    SNR Addicted to LI Member

    I've got a few questions/concerns regarding IGMP Snooping and IGMP Proxy, using FreshTomato-ARM v2018.3 (on my ASUS RT-AC68P):

    With this setting:

    Advanced:
    Routing:
    Miscellaneous:
    Efficient Multicast Forwarding (IGMP Snooping): Enable

    ... I am seeing a few sets of these log entries on each reboot:

    Dec 31 16:00:08 MyRouter kern.warn kernel: EMF Instance doesn't exist
    Dec 31 16:00:08 MyRouter kern.warn kernel: IGMP Snooper couldn't register with EMF
    Dec 31 16:00:08 MyRouter kern.warn kernel: IGSC init failed

    Do we know if IGMP Snooping is working on this build?

    Also, with these settings:

    Advanced:
    Firewall:
    Multicast:
    Enable IGMP proxy: Enable
    LAN: Enable
    LAN1: Enable

    ... I find this evidence in the router filesystem of igmpproxy being enabled:

    root@MyRouter:/tmp/home/root# cd /
    root@MyRouter:/# find . -iname *.conf | sort
    ./rom/etc/ld.so.conf
    ./rom/etc/mke2fs.conf
    ./rom/etc/resolv.conf
    ./rom/etc/trust-anchors.conf
    ./rom/etc/usb_modeswitch.conf
    ./tmp/etc/dnsmasq.conf

    ./tmp/etc/igmp.conf
    ./tmp/etc/ld.so.conf
    ./tmp/etc/mke2fs.conf
    ./tmp/etc/ntp.conf
    ./tmp/etc/resolv.conf
    ./tmp/etc/trust-anchors.conf
    ./tmp/etc/usb_modeswitch.conf
    root@MyRouter:/#

    root@MyRouter:/# cat ./tmp/etc/igmp.conf
    quickleave
    phyint vlan2 upstream ratelimit 0 threshold 1
    altnet 0.0.0.0/0
    phyint br0 downstream ratelimit 0 threshold 1
    phyint br1 downstream ratelimit 0 threshold 1
    root@MyRouter:/#

    Note that FreshTomato-ARM is using igmp.conf. But the link on this page to the IGMP proxy example configuration clearly references igmpproxy.conf (which I can't find on the router).

    Do we know if IGMP Proxy is working on this build?

    (edited to clean up search for *.conf)
     
    Last edited: Jul 8, 2018
  70. M_ars

    M_ars Network Guru Member

    Yes it is working :)
    IPTV, VoIP, internet, etc. everything on the same lan / Vlan 7 (Telekom Entertain Germany). If you turn off Snooping, almost everything stops to work... very soon... IPTV stuttering... and so on
    If you turn off IGMP Proxy, well ... no IPTV

    The warning in the log file you get on each reboot has been there for quiet some time. Its also there at Toastman build if i remember correctly.

    Yes, Tomato uses a config file called "igmp.conf" and not "igmpproxy.conf" (--> its an example)
    But whats the problem with that? the important thing is the content or whats defined in there?

    What is not working for you?

    best regards
     
    Last edited: Jul 8, 2018
    rgnldo, SNR and kille72 like this.
  71. SNR

    SNR Addicted to LI Member

    Thanks @M_ars , yes I actually saw your post in Toastman's thread where these IGMP Snooping-related log messages were mentioned. However I couldn't figure out if they were "false positives" or an indication of something not working.

    In my case I will (eventually) have multiple IP camera streams on my LAN flowing to both LAN and WAN destinations. I'm not sure that (in your case) "everything stops to work... very soon" truly means that having the checkbox checked solves all problems with IGMP Snooping. There is still an apparent problem with the logging of these messages?

    With regards to igmpproxy, it's not the content of the .conf file that's important, but whether or not Tomato actually uses it. IGMP Proxy is just a helper for other devices on your network, and I'm guessing that your streams would continue to work (with regards to Tomato hosting them) whether or not you have that option enabled? But I'm admittedly guessing here...

    I didn't try digging into Tomato's sources to see whether it actually modifies the igmpproxy code for its own purposes. I'm hoping that one of the devs here can confirm this or not. (I've never built Tomato from scratch and am not familiar with where to look.)
     
  72. Onee-chan

    Onee-chan Network Newbie Member

    Thank you!
     
  73. M_ars

    M_ars Network Guru Member

    Like i wrote. Tomato uses igmp.conf —> have a look at the code if you do not believe me.
    Igmp proxy off —> no stream / iptv igmpv2/v3
    Snooping off —> iptv yes with igmpproxy on, but not long... like i wrote

    BR
     
    SNR likes this.
  74. Onee-chan

    Onee-chan Network Newbie Member

    Question:
    I live in the USA, Can I change Country / Region from SINGAPORE to UNITED STATES or is it not recommended to change because it causes problems?

    Tomato GUI:
    Advanced -> Wireless -> Country / Region: SINGAPORE
     
  75. crouchingbulli

    crouchingbulli Network Newbie Member

    of course you could.

    if anything the default Singapore entry caused me problems until I set the region to United States.
    Wireless 2.4 and 5g wouldn't work on my asus ac56u until i change it.
    anyway change it as you see fit.
     
    Onee-chan likes this.
  76. usergay

    usergay Network Newbie Member

    My router is a Netgear R7000 & I sat here and tried every single country, one by one, for each band and concluded the following:

    Best Range / Speed / Stability

    2.4G = USA
    5G = SINGAPORE

    YMMV depending on your router model.
     
    Onee-chan likes this.
  77. SNR

    SNR Addicted to LI Member

    My apologies! I had a look at your first reply to my questions re: IGMP Snooping and Proxy and realized that not only had I misread your reply, but my reply to you includes some easily misconstrued words. Sorry 'bout that. :oops:

    And I will take your word on how Tomato modifies the igmpproxy source (e.g. with a different name and location for the .conf file, etc.). Your concise summary (quoted above) gives a bit more info which clears that up for me. Thanks for that!
     
  78. SNR

    SNR Addicted to LI Member

    If you are still in the mood to answer questions (and I won't blame you if you aren't...):

    I have a 2Wire Residential Gateway for AT&T U-verse IPTV and Internet service. The 2Wire RG implements IGMP Snooping and IGMP Proxy. AT&T-supplied IPTV devices (a Motorola DVR and STB), and my ASUS RT-AC68P router (running FreeTomato-ARM), are connected to the LAN ports on the 2Wire RG. The ASUS router in turn has several client devices connected to the LAN ports and wireless AP.

    As I mentioned previously, I will be connecting multiple IP cameras to the ASUS router (via a dedicated virtual AP). My plans for these cameras include: directly viewing their streams from the client devices connected to the router; relaying their streams to the camera vendor's web console; and viewing the vendor's web console on the client devices connected to the router. I may also (eventually) play with viewing U-verse IPTV streams on the clients connected to the router...

    The 2Wire RG allocates DHCP addresses on its LAN ports from 192.168.1.64 - 192.168.1.253 (subnet mask 255.255.255.0). The ASUS router in turn allocates DHCP addresses on its LAN ports from 192.168.2.1 - 192.168.2.63 (subnet mask 255.255.255.0).

    The sample igmpproxy conf file includes this verbiage:

    # If multicast traffic originates outside the
    # upstream subnet, the "altnet" option can be
    # used in order to define legal multicast sources.
    # (Se example...)
    #
    [...]
    ##------------------------------------------------------
    ## Configuration for eth0 (Upstream Interface)
    ##------------------------------------------------------
    phyint eth0 upstream ratelimit 0 threshold 1
    altnet 10.0.0.0/8
    altnet 192.168.0.0/24

    Should I specify an altnet value via Tomato's Custom configuration field for igmp.conf?
    Do you bother with any of this in your setup?


    Thanks again...
     
  79. thomaz

    thomaz Networkin' Nut Member

    Does 2018.3 use a new Wifi Driver or is it still the same as in shibby 140?
     
  80. pomidor1

    pomidor1 Networkin' Nut Member

    SDK6 new version but non patch KRACK
    SDK7 (asus ac3200u and R8000) new version, yes patch KRACK
     
  81. JoyceBabu

    JoyceBabu Reformed Router Member

    Does FreshTomato support 'RT-AC68U HW Rev C1'? Shibby's firware did not support that particular revision.
     
  82. pomidor1

    pomidor1 Networkin' Nut Member

    No
     
    JoyceBabu likes this.
  83. JoyceBabu

    JoyceBabu Reformed Router Member

    Amazon.in lists only HW Rev C1 :(
     
  84. pomidor1

    pomidor1 Networkin' Nut Member

    now cheap the best is R7000 for tomato or asus ac3200u
     
    JoyceBabu likes this.
  85. sac7000

    sac7000 Serious Server Member

    A very old WIFI driver is used - 6.37.14.86 (r456083).
    Before this was the same version of the drivers but from the inf. netgear router - She was suggested to add AndreDVJ, And since 139 versions everywhere she was present.
     
  86. SNR

    SNR Addicted to LI Member

    To sort of answer the first question here, in my particular config (Tomato-based router behind 2Wire gateway), Tomato defaults to specifying altnet 0.0.0.0/0 when igmpproxy is enabled. From the Wikipedia article for "0.0.0.0", this apparently means "the network address of the default route", "matches all addresses in the IPv4 address space and is present on most hosts, directed towards a local router." So in my case, this is probably the only altnet spec needed for igmpproxy to do its thing.

    @M_ars I would still be interested to hear if you are using any custom config for igmpproxy in your specific situation.
     
    M_ars likes this.
  87. SNR

    SNR Addicted to LI Member

    From the Multicast status page on my 2Wire gateway, with igmpproxy enabled in my Tomato router:
    Code:
    Cache Address    Cache Uptime    Cache Interface    Cache Last Reporter
    239.255.3.22     10              bridge0            192.168.1.64
    239.195.15.5     17764           bridge0            192.168.1.66
    239.195.15.5     639430          bridge0            192.168.1.65
    192.168.1.64 is my Tomato router. It's not even listed here without igmpproxy enabled. :rolleyes:
     
  88. Onee-chan

    Onee-chan Network Newbie Member

    @crouchingbulli @usergay Thanks!
     
  89. WildFireSG

    WildFireSG Addicted to LI Member

    @usergay Sounds like you did a lot of work. Can you provide your stats that conclude this?
     
  90. M_ars

    M_ars Network Guru Member

    please see :)
    https://bitbucket.org/kille72/fresh...c-rt-6.x.4708/router/rc/services.c#lines-1425
     
    SNR and koitsu like this.
  91. M_ars

    M_ars Network Guru Member

    HINT:
    ==> Custom configuration - Use custom config for IGMP proxy instead of tomato default config. You must define one (or more) upstream interface(s) and one or more downstream interfaces.
    ==> Use altnet like it is explained in the config example, depends on what you need/want.
     
    SNR likes this.
  92. Onee-chan

    Onee-chan Network Newbie Member

    I have 2 Questions:

    01. I am using dnscrypt-proxy that comes included in Tomato and it works without problem, but it is only by curiosity, if someone knows How to install DNSCrypt v2 to test DNS over HTTPS (DoH), I have to install it with the steps from this page?:
    [Release] dnscrypt installer for asuswrt
    Or there is no way to use DNSCrypt v2 in Tomato?

    02. These are my settings that I use (Look the Notepad), I'm just using basic features, if someone can tell me what other options are you using (for), that are already included in Tomato, I would be very grateful.
     

    Attached Files:

  93. pomidor1

    pomidor1 Networkin' Nut Member

  94. SNR

    SNR Addicted to LI Member

    Thanks for that.

    I see your recent relevant commit here as well:
    https://bitbucket.org/kille72/freshtomato-arm/commits/72fff95e0c85bfa2bd6868a9bcc99f78519b4c77
    Thanks for your continued tinkering. :cool:

    Yup, understood that Custom config replaces the default entirely. So not just altnet but everything else needs to be defined (otherwise just leave it alone).

    Thanks again!
     
    M_ars likes this.
  95. usergay

    usergay Network Newbie Member

    Oh I didn't collect or keep any logs / stats as my test was just a simple one IMO. I just selected each country, tested internet / samba transfer speeds (using my Wireless AC Laptop) at close range (in the same room as router) and then again at long distances (at opposite side of my home) and took note of each. Upon completion, I compared total performance and discarded all other results.

    One thing I noticed is that different countries have different transmit power (and channel sets), so with each test I set TwPower to 0 (hardware default) & Channel 6 for 2.4G and 149 for 5G.

    As always, YMMV
     
  96. ababaazz

    ababaazz Reformed Router Member

    Can anybody speed up over 200M on lan?
    My ISP is 500M, but my 6300v2 only can speed to 200M.
     
  97. koitsu

    koitsu Network Guru Member

  98. cobrax2

    cobrax2 Serious Server Member

    anyone has high lags in the interface? with high cpu usage on the pc 56-58% continuosly. in the status bar it says performing tls handshake. firefox 61.0.1
    thanks

    edit:
    found the culprit, it's the certificate. can it be sorted? it throws errors since forever, older than toastman, always accepting to store it, and at the next reboot it still isn't used :(

    An easy way to do this is to browse to about:support and then click the Open Folder button for the Profile Folder. Locate cert8.db in your file explorer and rename the file (e.g. “cert8.db.bak”) so that Firefox replaces it. Restart the browser and try visiting an affected site again. If the page loads normally, you have confirmed the issue is related to the local certificate database storing too many self-signed certificates with the same name.

    Firefox starts to noticeably slow down after storing 7-8 identically named self-signed certificates. After storing 10 it slows down significantly and can hang on “Performing a TLS handshake” for 30 seconds or more. If it takes a while for you to accumulate this number of identical certificates, it may be workable to just repeat this process every few months. Otherwise, you will want to adjust the way your service generates new certificates so that they do not have identical information.
     
    Last edited: Jul 10, 2018
  99. Onee-chan

    Onee-chan Network Newbie Member


    @bigeyes0x0 To make DNSCrypt v2 work in Asuswrt-Merlin, he did the following:

    Can not you do the same and make DNSCrypt v2 work in Tomato?
     
  100. olegy

    olegy Networkin' Nut Member

    Capture.PNG
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice