Is there a way to add a serial port on a remote computer under /dev on the
local computer?
We would like to have
/net/remotebox/dev/ser2 as /dev/ser8 on the local computer.
Using the serial port over the network connection works, as does a symbolic
link to the remote port. Unfortunately, we can’t seem to find a way to add
the symbolic link in the /dev directory.
Thanks
Mark Dornbush <markxd(delme)@cyberdude.com> wrote:
Is there a way to add a serial port on a remote computer under /dev on the
local computer?
We would like to have
/net/remotebox/dev/ser2 as /dev/ser8 on the local computer.
Using the serial port over the network connection works, as does a symbolic
link to the remote port. Unfortunately, we can’t seem to find a way to add
the symbolic link in the /dev directory.
You can use a pathmgr_symlink():
ln -sP /net/remotebox/dev/ser2 /dev/ser8
This won’t survive a reboot so you’ll want
to put it in your rc.local file.
-seanb