Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What is this board??? Help!

    Scheduled Pinned Locked Moved Hardware
    150 Posts 19 Posters 62.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kusagi @bubbadestroy
      last edited by

      @bubbadestroy Any luck with disabling watchdog within the bios? I have a Velocloud 510 model and ordered the pci vga adapter you linked earlier but not getting any sort of video output. Looks like they provide everything needed to compile coreboot. Based on the configs I see, its possible to disable watchdog and upload a modified coreboot to the unit but I haven't tried this yet.

      bubbadestroyB 2 Replies Last reply Reply Quote 0
      • bubbadestroyB
        bubbadestroy @kusagi
        last edited by

        @kusagi

        For now from grub, possibly open c to edit command line before booting a force factory image... and/or... this is the best I can find for now.

        I typed watchdog in the search for commits to go from bottom up of commits, depending on what version your router is on. searching for watchdog in commit looks like they start at around 2014 . This may help I hope!

        https://bitbucket.org/velocloud/openwrt/commits/?search=watchdog

        Re #4316 Enable CONFIG_ITCO_WDT in kernel for Rangeley watchdog.

        Busybox already has the watchdog command enabled.

        from a patch file, i found something on your 510 device towards bottom of commit changes for this patch. Around line 1086 and below it seems the patch for this commit adds a control from grub for 510.. so it may not need patched, try the command if they have it in code.

        https://bitbucket.org/velocloud/openwrt/commits/d16d5046c0521ebd329221cb9445c7c5386ec817

        grub patches for:

        • grub determining vc board,
        • factory reset handling in grub,
        • logo LED messaging,
        • watchdog timer to cover grub/kernel boot hangups,

        These patches implement a new 'vc' command.
        'vc board' prints board name and saves it to env var $board
        'vc freset' reads the state of factory reset button (edge500), or cmos value from coreboot (edge5x0), saves to env var $freset
        'vc logo 0xNTRRGGBB' flashes the LOGO LED, N=number of blinks - 1, T=blink time in 100msec, RRGGBB=color
        'vc wdt 30' arms the watchdog timer in seconds

        Final integration of the basic commands happens in grub.cfg, including root roll-back.

        https://bitbucket.org/velocloud/openwrt/commits/4a0ca9f7589beac08822c1868d4c0765f8564b44

        added watchdog control from grub;
        needed to disable watchdog to run memory tests;
        'vc wdt time-in-seconds' 0 means never;

        I'll try myself if i get some time to go through router again.
        I feel like I smashed F key after post somewhere to force failsafe settings though, and bypassed it that way.. or i did a hard wipe by good old 30-30-30 method.. i cant remember.. I did a lot of everything to this poor board!
        https://www.router-reset.com/30-30-30-reset-factory-defaults-wireless-router

        1 Reply Last reply Reply Quote 0
        • R
          ryno5514 @stephenw10
          last edited by

          @stephenw10 I am not new to this but not this good at this, how do you apply this?

          1 Reply Last reply Reply Quote 0
          • bubbadestroyB
            bubbadestroy @YourAverageHomelabber
            last edited by

            @osbnet

            No promises this will solve, but possibly it will help.

            Theres a bit of info in this manual that is the closest thing to this router I can (rangely and similiar bios, ports, and such) our console cable is of course hidden on the side under the hood, as usb mini port.. I posted another suggestion regarding how to work from forcing failsafe and possibly from grub selection to get command interface. then refer to watchdog timer commands here possibly.
            A watchdog timer is a piece of hardware that can be used to automatically detect system anomalies and
            reset the processor in case there are any problems. Generally speaking, a watchdog timer is based on a
            counter that counts down from an initial value to zero. The software selects the counter’s initial value and
            periodically restarts it. Should the counter reach zero before the software restarts it, the software is
            resumed to be malfunctioning and the processor’s reset signal is asserted. Thus, the processor will be
            restarted as if a human operator had cycled the power.
            To execute the utility: enter the number of seconds to start countdown before the system can be reset.
            Press start to start the counter and stop to stop the counter.
            wd_tst --swt xxx (Set Watchdog Timer 1-255 seconds)
            wd_tst[*] --start (Start Watchdog Timer)
            wd_tst --stop (Stop Watchdog Timer)

            There are two ways to enable the bypass on the system:

            1. The LAN bypass can be turned on or off in two system states, i.e., power on (Runtime Bypass) and
              power off (System Off Bypass). The following are the illustration of the possibilities of LAN bypass
              configuration with respect to both power-on and power-off states.
              Bypass settings in the
              BIOS
              System Status
              Runtime LAN Bypass for Module 1 Power off LAN Bypass for
              Module 1
              Enabled Disabled
              Power on Bypass Non-Bypass Enabled
              Power off Bypass Bypass
              Bypass settings in the
              BIOS
              System Status
              Runtime LAN Bypass for Module 1 Power off LAN Bypass for
              Module 1
              Enabled Disabled
              Power on Non-Bypass Non-Bypass Disabled
              Power off Non-Bypass Non-Bypass
            2. A watchdog timer can be used to control the LAN Bypass function dynamically by programming. Lanner
              also provides sample code for bypass control with WDT via programming. For a reference utility that
              contains sample code for LAN Bypass function programming, please contact Lanner’s technical support.
              For thorough implementation information of Lanner Bypass and Watchdog functionalities, go to Lanner
              Support website at http://www.lannerinc.com/category/1202-network-appliances to download Lanner
              Bypass Implementation Manual.
              For a description of the physical LAN ports equipped with this function, refer to Front Panel in Chapter 1:
              Product Overview

            https://refine-tr.com/assets/pdf/manual/FW-7551SE-manual.pdf

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              The Lanner FW-7551SE is similar to this only in that uses the same SoC. Importantly it does not use a switch.
              I would not assume anything else there applies here.

              Steve

              1 Reply Last reply Reply Quote 0
              • D
                dextaslab
                last edited by

                I've obtained a 520-AC (5x0) - the boot serial output is very different from what's listed on here.
                I'm waiting for an MPCIE to PCIE convertor to add a screen. The eBay mpcie gpu link given wont post to international destinations.
                So far I can get it to attempt to boot other OS's from a USB, but so far no dice.
                Trying to get the source OpenWRT built is very time consuming due to the age of versions of software installed no longer being available.
                Thanks to everyone on here for the valuable information :-)

                1 Reply Last reply Reply Quote 0
                • D
                  dextaslab @bubbadestroy
                  last edited by

                  @bubbadestroy For the 520 (5X0) this adapter works in the spare MPCIE slot across from the wireless card https://www.ebay.com.au/itm/124831255241. I used an old nVidia PCIE graphics card with it. There is no BIOS setup as seen on other devices, but surprisingly there is IPXE by default. You can install most Linux distro's, as long as they only take about 60 seconds to boot the USB and install - then the watchdog timer kicks in and reboots :-(

                  Pfsense boots the installer and gets just far enough to wipe the internal storage and copy a few files across before it reboots.

                  1 Reply Last reply Reply Quote 1
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    I would try to install on something else then and swap the boot media into it. Then you can try top enable the watchdog tools in that image. Does it boot from USB? mSATA? No serial console?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dextaslab @stephenw10
                      last edited by

                      @stephenw10 Yeah It boots from USB. As a test I edited the Debian installer grub options to include nmi_watchdog=0, but it made no difference, I'll try some other options and let you know.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dextaslab @dextaslab
                        last edited by

                        @dextaslab Nailed it! Installed Ubuntu server (Im more familiar with Debian based distros) and added the following to the rc.local:

                        modprobe i2c-i801
                        modprobe i2c-smbus
                        modprobe iTCO-wdt

                        and "nmi_watchdog=0" was added as a boot switch.

                        As a test it boots and runs fine from a USB. Still working on the NICs, and the wireless joins fine for now. So I guess make sure those modules are added to the Pfsense installer it should at least install OK...

                        bubbadestroyB A 2 Replies Last reply Reply Quote 1
                        • bubbadestroyB
                          bubbadestroy @dextaslab
                          last edited by

                          @dextaslab

                          This is awesome. Please do post update on progress, I'd love to see some PFSense (pun intended) made from this finding!

                          1 Reply Last reply Reply Quote 0
                          • bubbadestroyB
                            bubbadestroy @kusagi
                            last edited by bubbadestroy

                            @kusagi

                            Seems progress made on this thread towards PFSENSE port! See posts at bottom i.e.:

                            Also He did solve the issue of WatchDog Timer on a velocloud edge variant

                            @dextaslab said in What is this board??? Help!:

                            I've obtained a 520-AC (5x0) - the boot serial output is very different from what's listed on here.
                            I'm waiting for an MPCIE to PCIE convertor to add a screen. The eBay mpcie gpu link given wont post to international destinations.
                            So far I can get it to attempt to boot other OS's from a USB, but so far no dice.
                            Trying to get the source OpenWRT built is very time consuming due to the age of versions of software installed no longer being available.
                            Thanks to everyone on here for the valuable information :-)

                            @dextaslab said in What is this board??? Help!:

                            @bubbadestroy For the 520 (5X0) this adapter works in the spare MPCIE slot across from the wireless card https://www.ebay.com.au/itm/124831255241. I used an old nVidia PCIE graphics card with it. There is no BIOS setup as seen on other devices, but surprisingly there is IPXE by default. You can install most Linux distro's, as long as they only take about 60 seconds to boot the USB and install - then the watchdog timer kicks in and reboots :-(

                            Pfsense boots the installer and gets just far enough to wipe the internal storage and copy a few files across before it reboots.

                            D 2 Replies Last reply Reply Quote 0
                            • D
                              dextaslab @bubbadestroy
                              last edited by

                              @bubbadestroy I've finally gotten the source Open-WRT mostly compiled and working. I'm pretty sure about 3 of the packages were non-starters - FRR for example. All the NIC's appear to be working and are available.

                              After wasting so much time trying to get PFSense compiled (and failing), I needed a win! The Open-WRT kernel it's running is pretty old and the source files for the NIC weren't directly compatible with FreeBSD 12.

                              If there is any info/files anyone would like let me know and I'll forward what I can. I'll upload the base Open-WRT USB image when I get time.

                              1 Reply Last reply Reply Quote 1
                              • D
                                dextaslab @bubbadestroy
                                last edited by

                                @bubbadestroy With OpenWRT installed I was able to get Qemu to then load OPNSense and pass network interfaces through to it. For more info: https://modlog.net/velocloud-520-to-opensource/

                                D stephenw10S A bubbadestroyB 6 Replies Last reply Reply Quote 0
                                • D
                                  dmsmartins @dextaslab
                                  last edited by

                                  @dextaslab you said that was able to make work with the 1gb sfp.. which sfp did you used?

                                  D 1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator @dextaslab
                                    last edited by

                                    @dextaslab said in What is this board??? Help!:

                                    I was lucky enough to find and purchase a Velocloud 520 for $5AUD

                                    Ha, nice!

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      dextaslab @dmsmartins
                                      last edited by

                                      @dmsmartins The SFP port I used was the top, the model number on the SFP is rubbed off as it was a very old, second hand eBay special. It was an 1GB RJ45 if that helps?

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dextaslab @stephenw10
                                        last edited by

                                        @stephenw10 said in What is this board??? Help!:

                                        @dextaslab said in What is this board??? Help!:

                                        I was lucky enough to find and purchase a Velocloud 520 for $5AUD

                                        Ha, nice!

                                        $5 for a couple of weeks entertainment, seems pretty good value too me :-)

                                        1 Reply Last reply Reply Quote 1
                                        • A
                                          adven @dextaslab
                                          last edited by

                                          @dextaslab Ok, good to hear that there is progress.
                                          T.I.: Working here with EDGE 520-AC Unfortunately little success.
                                          What does work, load the box with antiX fw, and then no problems with the watchdog. If halt after GRUB and before rebooting to antiX, the watchdog DOES come in, even with the extra opti "nmi_watchdog=0" in GRUB.
                                          The intention is to run opensense, but this installation is interrupted by the annoying dog.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            adven @dextaslab
                                            last edited by

                                            @dextaslab
                                            Hallo, from this google tranlation hi...
                                            I am happy with the info on installing openwrt on the 520

                                            But, There is an install file in /root/installer -p (after removing all partitions and setting a blank GPT) to copy the data from the USB to the internal 8GB storage.
                                            Do you know why /tmp/mnt-inst is missing in /ets/fstab? And that's why /root/installer -p doesn't work?
                                            Or am I doing something wrong.
                                            greetings, Ad.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.