Hi Guys,
When I am changing hostname using /etc/config/system and restarts it got changed. But when I reboot or switch off the openwrt/lede device, the hostname changing again to "lede" and also my entry in /etc/config/system also got eliminated. What is the reason and solution ?
Thanks.
Sounds like there's no freespace available on ROM, which would cause all changes to be lost upon reboot.
Please post the output of: df -h
Hi, Thanks for the reply. Below is the output .
root@TestDevice:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 252.0M 57.8M 189.1M 23% /
tmpfs 464.8M 432.0K 464.3M 0% /tmp
/dev/mmcblk0p1 19.9M 9.6M 10.3M 48% /boot
tmpfs 512.0K 0 512.0K 0% /dev
You have plenty of free space available, so someone more knowledgeable than I will need to help.
Please place code, config, and log output within code boxes (three ways to do so )
jeff
June 4, 2018, 3:00pm
5
I don't see /overlay/
mounted. What kind of router is this and did you or the firmware builder customize the file system in use?
On an Archer C7, I see, for comparison
Filesystem Size Used Available Use% Mounted on
/dev/root 12.5M 12.5M 0 100% /rom
tmpfs 61.1M 152.0K 61.0M 0% /tmp
/dev/mtdblock3 2.0M 888.0K 1.1M 43% /overlay
overlayfs:/overlay 2.0M 888.0K 1.1M 43% /
tmpfs 512.0K 0 512.0K 0% /dev`
Is overlay created when using SATA/PCIe drives or eMMC (I assume this is the storage format due to the mmcblk0p1
)?
@Gobiviswa You're not using an initramfs image are you?