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/03 20:27] – [USB power switching] 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 | + | * Download the '' |
| + | * Example TFTP server command to serve the files in the current directory: '' | ||
| + | * 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 this does not work, see the " | ||
| + | * Connect the vEdge 1000 via the management Ethernet port to a network with DHCP available | ||
| + | * Run the following commands, replace the IP with your TFTP server: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * If the previous crc32 command does not complain, continue with the boot | ||
| + | * '' | ||
| + | * Continue with the **Prepare the disk** step | ||
| + | |||
| + | === Alternative | ||
| **Note:** OEM OS only supports mounting vfat partitions automatically | **Note:** OEM OS only supports mounting vfat partitions automatically | ||
| - | * Copy ./ | + | * Copy '' |
| * '' | * '' | ||
| * Reboot vEdge | * Reboot vEdge | ||
| Line 68: | Line 84: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * Skip to the **Prepare the disk step** | + | * Continue with the **Prepare the disk** |
| - | + | ||
| - | === Alternative 2: Boot installation from unlocked u-boot via TFTP === | + | |
| - | + | ||
| - | * If you are not in the u-boot prompt, reboot the device and press **Ctrl-x** to enter u-boot | + | |
| - | * If this does not work, see the " | + | |
| - | * Connect the vEdge 1000 via the management Ethernet port to a network with DHCP available | + | |
| - | * Run the following commands, replace the IP with your TFTP server: | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | + | ||
| - | Example tftp server command: '' | + | |
| === Prepare the disk === | === Prepare the disk === | ||
| Line 90: | Line 94: | ||
| * Generate a new disk ID by running the following commands: | * Generate a new disk ID by running the following commands: | ||
| * < | * < | ||
| - | udhcpc -i br-lan | ||
| - | echo ' | ||
| - | opkg update | ||
| - | opkg install sfdisk | ||
| source / | source / | ||
| sfdisk --disk-id " | sfdisk --disk-id " | ||
| 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 / | ||
| </ | </ | ||