« Back to all recent discussions

AMG1202-T10B Is it possible to upload files to router?

EdneyEdney Posts: 1
edited February 14 in Questions
I have a AMG1202-T10B router, and it is nice, it has a lot of features, and it was very cheap.

I was accessing it through ssh, and I notice it report itself as ubuntu on mips architecture. It even has wget. I tried downloading something but it says read-only filesystem.

Is it possible to upload files to the router (a simple html page), so it will serve it on the lan? If so it would be nice.

Or this is more a security constraint and I should not mess with it?


#SP_Feb_2020

Answers

  • MijzelfMijzelf Posts: 1,073  Heroic Warrior Member
    According to Deviwiki that box has 4MiB flash, which means that storage space is very limited (the kernel alone is bigger), and so the box will have a squashfs rootfilesystem, which is readonly by nature.
    Somewhere must be a writeable part of the flash, else the box couldn't store settings, but that doesn't necessarily have a filesystem. You can see if something is mounted rw with
    cat /proc/mounts
    and
    df
    can tell if any space is left. The tmpfs filesystems are ramdrives, and so they won't survive a reboot.

    it report itself as ubuntu
    Really? How?
Sign In or Register to comment.