Unable to Add USB as extroot - no free memory
Posted: Fri Dec 08, 2017 1:55 am
TP-Link TL-WDR3600 v1 with V1.10.0
Coming to the extroot follows a chain of circumstance. I noted that although I'd added a SSH key from my desktop I'd enabled accidentally external access, unticking that deleted the key and now nothing I do will let me re-add it. If I reboot the router I can unselect external access and login via password, that disappears again each reboot, leaving external access enabled no password and no key. Getting back in via ssh and trying to add the key manually by SCP to /tmp and then reports Read-only file system if I mount as RW then the disk is full, perhaps why configuration changes from the GUI aren't sticking.
I've tried removing the Adblock plugin I added to free space but it remains, so thought I'd use my spare 4GB USB as a extroot, however, although it is detected when I format from the GUI to use it after the format the router reboots but doesn't mount it as a extroot the only choice to format again.
Status reports only 17% of memory used although df shows root at 100%
I tried diretly editing the but have the same issue vis-a-vis memory, It seems I need to free up some memory to do anything but cannot
--
Ian
Coming to the extroot follows a chain of circumstance. I noted that although I'd added a SSH key from my desktop I'd enabled accidentally external access, unticking that deleted the key and now nothing I do will let me re-add it. If I reboot the router I can unselect external access and login via password, that disappears again each reboot, leaving external access enabled no password and no key. Getting back in via ssh and trying to add the key manually by SCP to /tmp and then
Code: Select all
cat /tmp/gargoyle.pub ]] authorized_keys
I've tried removing the Adblock plugin I added to free space but it remains, so thought I'd use my spare 4GB USB as a extroot, however, although it is detected when I format from the GUI to use it after the format the router reboots but doesn't mount it as a extroot the only choice to format again.
Status reports only 17% of memory used although df shows root at 100%
Code: Select all
root@Gargoyle:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 704 644 60 91% /
/dev/root 6144 6144 0 100% /rom
tmpfs 63040 624 62416 1% /tmp
/dev/mtdblock3 704 644 60 91% /overlay
overlayfs:/overlay 704 644 60 91% /
tmpfs 512 0 512 0% /dev
root@Gargoyle:/#
Code: Select all
/etc/config/dropbear
--
Ian