I’m playing with a couple of routers and comparing proprietary to open source on the same hardware. I miss my .bashrc functions and aliases… and compgen, tree, manpages, detailed help, etc; the little things that get annoying when they are missing.

I was thinking about trying to mount the embedded system on my workstation (while it is running?), but I’m not clear how this would work in practice with permissions, users, groups, root, etc. I’m curious how others do this kind of development/screwing around, or if this is a crazy idea.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    6 months ago

    There isn’t usually much to do on an embedded router other than use its own commands to change settings or manage packages. And if it has enough juice to run more advanced stuff it probably has bash available too.

    Anyway, there’s NFS for mounting filesystems remotely. It’s not very complicated, the catch is that the same UIDs and GUIDs on the host must exist on the guest, because it doesn’t do any uid translation. On an embedded system most stuff is owned by root, meaning you’d have to use root on guest too, which may not be a great idea.

    Secondly, you can’t run commands over NFS, just manipulate files and I’m not sure that’s something you really need to do a lot of on a router.