VOGONS

Common searches


First post, by Cschneider

User metadata
Rank Newbie
Rank
Newbie

I have edited the config file and made my own config. Execute it with:

open -a DOSBox --args -conf pathtoconfig/dosbox.conf

it runs, and I believe it is enabled serial1 as follows:

serial1=modem listenport:23

but when I execute the program and try to connect on port 23 via a telnet client. it fails, the program never answers the request.

Reply 1 of 13, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

If I execute it using the Terminal, I do the following steps:

  • 1) Open DOSBox application package by right-clicking, choosing "Show package content"
    2) Browse to "Contents/MacOS/DOSBox"
    3) Drag the DOSBox unix executable onto the Terminal window
    4) add "-conf " to the line, by typing it
    5) Locate the custom configuration file, dragging it onto the Terminal window as well
    6) Press return to execute the command line.

😉

Klimawandel.

Reply 2 of 13, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

But it seems on first glance to be using the correct conf...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 13, by Cschneider

User metadata
Rank Newbie
Rank
Newbie

i am new to the mac, how would you open port 23 with root access. I do know that my MAC firewall is disabled. I did a check in the terminal and it shows all ports are open from any IP address.

Reply 5 of 13, by Cschneider

User metadata
Rank Newbie
Rank
Newbie

i launched DOSBOX via the show package contents for the MAC and in the terminal it shows that "Serial1: Modem could not open TCP port 23." I have checked the terminal to find out what ports are open.

Dosbox shows:

Last login: Wed Feb 6 17:06:04 on ttys001
mymac:~ chrisschneider$ /Applications/DOSBox.app/Contents/MacOS/DOSBox ; exit;
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file dosbox.conf
MIDI:Opened device:coreaudio
Serial1: Modem could not open TCP port 23.

Terminal shows the below for ports opened:

mymac:~ chrisschneider$ sudo ipfw list
65535 allow ip from any to any

Reply 6 of 13, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> sudo ipfw list

and without sudo? Also, try a different port number like 1023. If that works, you don't have the right for low port numbers or maybe there is already something else using this port.

1+1=10

Reply 7 of 13, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Or try running dosbox with sudo

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 9 of 13, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Well then try hals ideas 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 11 of 13, by Cschneider

User metadata
Rank Newbie
Rank
Newbie

I got it working. even though port 1023 did not work, i boosted it to port 5000 and it worked. Not sure why i cannot get this mac to listen on port 23 though..
I am still open to suggestions.

Reply 12 of 13, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Probably what hal wrote...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 13 of 13, by SquallStrife

User metadata
Rank l33t
Rank
l33t

Ports from 1024 down are protected, only services and root can open them.

Running dosbox with sudo should have fixed it though:

squallstrife-mbp:MacOS squallstrife$ ./DOSBox 
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /Users/squallstrife/Library/Preferences/DOSBox 0.74 Preferences
MIDI:Opened device:coreaudio
Serial1: Modem could not open TCP port 23.
^C

squallstrife-mbp:MacOS squallstrife$ sudo ./DOSBox
Password:
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /Users/squallstrife/Library/Preferences/DOSBox 0.74 Preferences
MIDI:Opened device:coreaudio
Serial1: Modem listening on port 23...

VogonsDrivers.com | Link | News Thread