Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:cisco:vedge_1000 [2024/08/10 23:03] – [Installing OpenWrt] bluecmd | inbox:toh:cisco:vedge_1000 [2024/08/11 12:20] – [Installing OpenWrt] bluecmd | ||
|---|---|---|---|
| Line 55: | Line 55: | ||
| ==== Installing OpenWrt ==== | ==== Installing OpenWrt ==== | ||
| + | === Alternative 1: Boot installation from unlocked u-boot via TFTP === | ||
| - | === Alternative 1: Boot installation from inside OEM OS (USB drive, SD card, SSH, HTTP(S)) === | + | |
| - | + | * Example TFTP server command | |
| - | **Note:** OEM OS only supports mounting vfat partitions automatically | + | * Calculate the CRC32 of your boot file using the following command: < |
| - | + | ||
| - | * Copy ./ | + | |
| - | * '' | + | |
| - | * Reboot vEdge | + | |
| - | * Press ctrl-x | + | |
| - | * Run the following commands: | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * Skip to the **Prepare the disk step** | + | |
| - | + | ||
| - | === Alternative 2: Boot installation from unlocked u-boot via TFTP === | + | |
| - | + | ||
| - | * Calculate the CRC32 of your boot file using the following command: < | + | |
| * If you are not in the u-boot prompt, reboot the device and press **Ctrl-x** to enter u-boot | * If you are not in the u-boot prompt, reboot the device and press **Ctrl-x** to enter u-boot | ||
| Line 83: | Line 70: | ||
| * If the previous crc32 command does not complain, continue with the boot | * If the previous crc32 command does not complain, continue with the boot | ||
| * '' | * '' | ||
| + | * Continue with the **Prepare the disk** step | ||
| - | Example tftp server command: '' | + | === Alternative 2: Boot installation from inside OEM OS (USB drive, SD card, SSH, HTTP(S)) === |
| + | |||
| + | **Note:** OEM OS only supports mounting vfat partitions automatically | ||
| + | |||
| + | * Copy '' | ||
| + | * '' | ||
| + | * Reboot vEdge | ||
| + | * Press ctrl-x to enter u-boot | ||
| + | * Run the following commands: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * Continue with the **Prepare the disk** step | ||
| === Prepare the disk === | === Prepare the disk === | ||
| Line 103: | Line 103: | ||
| You need to make the file '' | You need to make the file '' | ||
| - | == HTTP from Github == | + | **Example using OpenSSH:** |
| < | < | ||
| udhcpc -i br-lan | udhcpc -i br-lan | ||
| - | echo ' | + | # On another machine: scp -O openwrt-octeon-generic-cisco_vedge1000-squashfs-sysupgrade.tar |
| - | cd /tmp/ | + | sysupgrade -n /tmp/openwrt-octeon-generic-cisco_vedge1000-squashfs-sysupgrade.tar |
| - | wget https:// | + | |
| - | sysupgrade -n /tmp/*vedge1000-squashfs-sysupgrade.tar | + | |
| </ | </ | ||
| - | == USB drive == | + | **Example using a USB drive:** |
| < | < | ||
| mount /dev/sdb1 /mnt | mount /dev/sdb1 /mnt | ||
| sysupgrade -n / | sysupgrade -n / | ||
| - | </ | ||
| - | |||
| - | == OpenSSH SCP == | ||
| - | |||
| - | < | ||
| - | udhcpc -i br-lan | ||
| - | # On another machine: scp -O openwrt-octeon-generic-cisco_vedge1000-squashfs-sysupgrade.tar root@10.x.x.x:/ | ||
| - | sysupgrade -n / | ||
| </ | </ | ||