this post was submitted on 27 Dec 2023
50 points (96.3% liked)

Linux

48310 readers
645 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] lemmyvore@feddit.nl 7 points 11 months ago* (last edited 11 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.