Atualização do Firmware#
Nota
OpenWrt is currently only available for the NitroWall NW678
We recommend updating OpenWrt via the pre-installed Attended Sysupgrade. To be able to use this service you need to configure it to ignore the «nitrowall» package, if it has been installed before:
Go to System -> Attended Sysupgrade -> Configuration and enable the Advanced Mode -> Save & Apply
Go back to overview and search for available updates
Search through the list of installed packages and remove the «nitrowall» package. Then Request Firmware Image
Wait for the image to be build. Then install it. Check if «keep settings and current configuration» is set
The software will be installed and the NitroWall will restart.
After the restart we need to reinstall the nitrowall.ipk package. This will resize your disk and add the kernel parameter pcie_aspm=off to your /boot/grub/grub.cfg which fixes a problem with the igb driver bug.
Under System -> Software -> Upload Package, upload the package
Install it. Afterwards the NitroWall will restart.
Update OpenWrt via Attended Sysupgrade.
Alternatively to the above instructions, you can login via ssh and execute this script:
#!/bin/sh
BOOT="$(sed -n -e "/\s\/boot\s.*$/{s///p;q}" /etc/mtab)"
DISK="${BOOT%%[0-9]*}"
PART="$((${BOOT##*[^0-9]}+1))"
ROOT="${DISK}${PART}"
echo "INFO: resize partion ${ROOT}"
parted -s -a opt ${DISK} "resizepart ${PART} 100%"
LOOP="$(losetup -f)"
losetup ${LOOP} ${ROOT}
echo "INFO: resize filesytem ${ROOT}"
fsck.ext4 -y -f ${LOOP}
resize2fs ${LOOP}
echo "INFO: add pcie_aspm=off as boot parameter"
sed -i s/rootwait/rootwait\ pcie_aspm=off/g /boot/grub/grub.cfg
reboot