Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow pseudo terminal option (-p) to specify symlink name #256

Open
radar27 opened this issue Mar 5, 2020 · 2 comments

Comments

@radar27
Copy link

radar27 commented Mar 5, 2020

Greetings,

In some cases, multiple instances of Direwolf are running, but need support for for a Virtual KISS TNC as provided by the -p startup option. By default this is always linked to /tmp/kisstnc, creating a race condition on the symlink by whichever instance starts last.

Would it be possible for -p to accept an optional argument to specify the name of the target symlink? Something like:

direwolf -c direwolf-40m.conf -p /tmp/kiss40m
direwolf -c direwolf-2m.conf -p /tmp/kiss2m
direwolf -c direwolf-70cm.conf -p /tmp/kiss70cm

From there one could attach the 40m instance via /tmp/kiss40m, the 2m instance via /tmp/kiss2m and the 70cm instance via /tmp/kiss70cm. If the -p option is specified with no argument, it continue to default to /tmp/kisstnc as to not disrupt backwards compatibility.

73!

@dranch
Copy link
Collaborator

dranch commented Mar 7, 2020

This seems like a useful enhancement to me for those who wish to use the native Linux AX.25 stack with one radio per Direwolf instance

@n9seo
Copy link

n9seo commented Apr 25, 2021

Please can we add this? I'd almost rather set up the devnames with 'socat' than let DW do it and if we can send an arg to '-p' that would solve this. Bonus for allowing more than one invokation on the CLI for '-p device-name' for those running dual stack things in linux like ax25 and JNOS or something else. Since we cant have two things consume a psuedo serial port that should make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants