VOGONS


First post, by wanderyr

User metadata
Rank Newbie
Rank
Newbie

Nothing seems to happen when I enable the nullmodem server in the config file. I'm running an Ubuntu 18.04.5 system with DOSBox v0.74-4.3 (this is the ubuntu package version). I expect to see "Nullmodem server waiting for connection on port 23..." in the console but it never appears. Otherwise DOSBox works just fine.

dosbox-0.74.conf:

...
[serial]
serial1=nullmodem
...

from console:

CONFIG: Loading primary settings from config file {correct file path}
MIXER: Got different values from SDL: freq 44100, blocksize 512
ALSA: Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
(nothing else!)

I suspect it may be a permissions problem. Does the linux user need to be a member of any specific group?

I'm not looking for help with the midi issues; I just include them here in case it helps with troubleshooting.
Is there any other information that would help?

Thanks very much for all of your time. DOSBox is great 😀

Reply 1 of 2, by _Rob

User metadata
Rank Member
Rank
Member

The lower 1024 ports are restricted on Unix (and hence Linux) to root. A regular user cannot use them.

For the nullmodem server, specify something like:

serial1 nullmodem port:5000

For the client, you then specify:

serial1 nullmodem server:<IP or hostname of server> port:5000