What is this board??? Help!
-
Could someone share the root login info? I've tried lots of different combinations to get into the root user. I was able to get into safe mode which seemed to be a root user but no commands worked that I could think of. If anyone knows of a way to get root, let me know!
-
@osbnet we can not decrypt root password but you can change it via fail-safe mode of openwrt
Step #1: Disable watchdog
Method #1: Prefer link https://modlog.net/velocloud-520-to-opensource/
Method #2: Use Bios flash tool to flash old bios version at https://bitbucket.org/velocloud/openwrt/src/master/trunk/target/linux/x64/edge5x0/files/root/firmware/5×0/vc5x0-cb-01-bootorder.romStep #2: Connect PC with EDGE 520 via mini usb cable (speed 115200/8/1/none)
Step #3: Plug adapter to EDGE 520 and waiting device boot
Step #4: Press f to enter fail-safe mode
Step #5: Run two command below to change password
mount_root
echo -e "youpassword\nyoupassword" | passwd rootreboot device and try login with new password
-
@maitien2004 I've flashed the ROM you've mentioned and from what is appears in strings it looks good:
strings vc5x0-cb-01-bootorder.rom |grep watchdog -i
Disabling Watchdog timer...
CONFIG_USE_WATCHDOG_ON_BOOT=ystrings my-current.rom |grep watchdog -i
Found watchdog event..storing...
Raising Watchdog timer timeout to 3min...
CONFIG_USE_WATCHDOG_ON_BOOT=yI tested it with a Win11 Install USB - it complained about no UEFI, but that screen stayed up for longer than 3 minutes, so I'm calling it a win so far :-)
-
@dextaslab
for your information,
and thanks for the alternative rom
Also put this rom on it, then linuxmint-live on it, it ran fine, and indeed no wachdog.
Unfortunately only wlan, but no lan ports. -
@maitien2004 I figured out the root password. Apparently it’s “VeloHello000” (replace 000 with the last 3 digits of your serial). Only problem is, I wiped the internal storage by accident effectively making this device useless without an image to boot from. I used the openwrt build on the modlog page and it booted but I haven’t been able to install it to the internal storage yet.
-
@osbnet Thanks for your information.
You can boot from usb device and after booted you can use dd command to clone partition from usb to internal storage. -
@maitien2004 I used the dd command and it finished but from what I remember, grub couldn’t find the boot partition (I tried this was last month). I’ll try it again and update with my progress.
-
@osbnet Please use dd command to clone all disk from usb to internal storage or clone one by one three partitions (partition index 0, 1(efi include grub) and 2(openwrt))
Example: dd if=/dev/sda of=/dev/sdb -
@adven
Yes, now installed opensense on the velocloud , the install (vga) went well. How to proceed, I don't know yet.
to be continued. -
@adven Download installation file from opnsense website and burn iso/img file to usb and plug usb to velocloud to boot and install.
-
@maitien2004
Hey. i know my english is not good but what you advise to me is exactly what il already did...
The problem for me now is that I have to delve into the opensense config, and how to create working wan/lan ports.
My post was more informational for others working with this box, or for tips on velocloud port drivers.
gr. ad. -
@adven opnsense only detect two wan port (520-AC model) so your want use all wan/lan port you need to edit/update driver. I still working on this and give u new information asap.
-
Yes, it needs a modified igb driver to expose the mdio control bus for the switch. It was discussed earlier in this thread. There are FreeBSD drivers out there that do this but I'm not sure they've ever been made public.
Steve
-
@maitien2004 said in What is this board??? Help!:
(520-AC
Ok maintien, thanks for this info about the (520-AC)
-
@adven What was the password?
-
@robphoenix The default credentials after a fresh install are username “root” and password “opnsense”.
-
Out of curiosity, how did you flash the rom? Did you do it using a physical flashing device, or is it a software option somewhere on the velocloud?
-
@youraveragehomelabber You can try it but ethernet will be not working correctly.
First find micro usb port in the device(it may be hidden in the plastic. It's serial to USB port)
then Flash No-Watchdog bootloader by serial console(username is root and password is VeloHello[last 3 digits of S/N], and You can download bootloader on https://bitbucket.org/velocloud/openwrt/src/master/trunk/target/linux/x64/edge5x0/files/root/firmware/5×0/vc5x0-cb-01-bootorder.rom and you can flash it using flashrom)
and write usb that installs pfsense or opnsense IN SERIAL VERSION in any tool you want.
reboot your pc(NOT velocloud, your x86 pc) and go to install media, then enter to shell and type like thisumount /boot mount -o rw /
then edit /boot/loader.conf.local (create this if not exists)
add this lineshint.uart.0.flags=0x0 hint.uart.1.flags=0x10 comconsole_speed="115200" comconsole_port="0x2F8" console="comconsole" kern.cam.boot_delay="10000"
Turn off your pc, and plug that usb to your velocloud will start installation on serial.
I installed it on other USB, not in velocloud storage. It installs correctly then boots(If you see no output on serial, reboot to installation usb, mount installed storage, then edit conf again ON INSTALLED STORAGE), but It unable to detect ANY ethernet device, only two fiber ports. -
@castarnet thanks for the reply. Unfortunately I wiped the internal storage by mistake while installing the openwrt image shared earlier in this thread. Is the flashrom stuff included in the openwrt image that we’ve been using, or is it only in the stock firmware? Do you have a way to flash the stock firmware back on here? I’m not super knowledgeable with compiling firmware so any help is greatly appreciated.
-
@youraveragehomelabber Flashrom is common so maybe you can use it.