Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCPSER With Mac OS x (Need Help :) )

369 views
Skip to first unread message

dieselskid

unread,
Jan 12, 2011, 12:47:14 PM1/12/11
to
Hi guys.. I am having a hell of a time trying to get TCPSER to work
with Mac Os x. It also doesn't help that I am not to familiar with
everything involved to I just keep confusing myself. :) I searched
the threads and I came across a post be Jeff (Dr. Video) but it was
back from 2005 and his email is no longer working.

Anyways, any help would be appreciated in helping me set this up.

Thanks in advance.


Here is the original Message from Jeff:

Ok, many people have already used Jim Brain's TCPSER/TCPSER4j and a
Windows or Linux PC to provide modem emulation over Telnet for their
Commodore machines. Today I got TCPSER4j working with Mac OS X on my
Apple iBook. Here is how I did it...

1. HARDWARE

You need 4 pieces of hardware to bridge RS232 over Telnet

a) a Swiftlink or Turbo232 (or a userport interface, though I don't
recommend this...just buy a Turbo232 from Maurice if you don't
have
one already)

b) a serial cable WIRED STRAIGHT THROUGH! To avoid using gender
benders,
use one with FEMALE DB9 connectors at both ends. You MUST have a
serial cable that does not jumper any of the pins together!

c) A Radio Shack DB9 null adapter, part # 26-264B

** REMOVE PIN 6 FROM THE MALE SIDE OF THE ADAPTER! **

Just use a small screwdriver and gently wiggle the pin back and
forth. After doing this about 50 times, the pin will fall off
with a
nice clean break at the base. It is necessary to do this for most
C64 BBS programs to work with this setup. I don't know if this is
needed just to call out using terminal software like Novaterm.

d) A Keyspan USB to Serial Adapter cable, part #USA-19HS. These can
be
found at CompUSA for $40. As most Macs do not have serial ports,
this cable provides one that can do up to 230Kbps. I'm guessing
other models of USB to Serial adapters will also work.

2. SOFTWARE

a) Install the Keyspan driver software that comes with the cable.

b) Download the latest build of tcpser4j from

http://www.jbrain.com/pub/xplatform/serial

Unzip this to your home directory.

c) Download the Mac OS X version of the RXTX Comm library from

http://home.comcast.net/~d.sopchak/macdobs/RXTX_Jag.pkg.zip

ATTN JIM BRAIN: You might want to put this in your distro!

Unzip to your desktop, then run the installer. It will place
RXTXComm.jar in your /Library/Java/Extensions folder.

NOTE! RXTXComm for Mac OS X requires access to the
/var/spool/uucp directory. Create this directory and
give it a permission of 777. The installer says to
give it a permission of 775, but this did not work for
me, as TCPSER4j bombed, with the RXTX library complaining
it did not have permission to access this directory.

d) Modify TCPSER4j's tcpser4j script like so:

RXTX=/Library/Java/Extensions/RXTXcomm.jar

e) Configure TCPSER4j's config-linux.xml file. With the Keyspan
serial adapter, the serial port is given a special name. Instead
of the normal /dev/ttyS0, it will be slightly different.

Run the Keyspan Assistant that comes with the cable. This program
will tell you the name of your serial port. You may need to add a
"1" to the name, as I did in the example below:

Here is how I configured my config-linux.xml file:

<Modem type="rs232" device="/dev/tty.USA19H1b1P1.1"
speed="9600">

3. PUTTING IT ALL TOGETHER

a) Insert your Swiftlink/Turbo232/Userport serial interface into the
C64
(keep the power off!).

b) Connect one end of the serial cable to the serial interface.

c) Connect the other end of the serial cable to the male side of the
Radio Shack null adapter.

d) Connect the female end of the null adapter to the Keyspan serial
port.

e) Insert the USB end of the Keyspan cable to your Mac's USB port.

f) Fire up TCPSER4J: Just enter "./tcpser4j" in a terminal window on
your Mac from the tcpser4j folder.

If all is working, you will not see any errors displayed to the
terminal window! If you get port errors, make sure you named
the serial device correctly in the config-linux.xml file, and
that /var/spool/uucp has permission settings of 777.

g) Turn on your C64, and load up your favorite Term program. I
recommend
Novaterm 9.5C for C64 mode. You will need to configure it to use
the proper serial interface, and modem type. Check
www.telbbs.com for details on known working settings.

h) Go to terminal mode, and type "AT". If you get OK printed back to
the screen, you should be able to dial up a bbs. Type

ATDTaddixion

This should dial up my BBS. This command uses TCPSER4j's built-in
phonebook, defined in the config-linux.xml file.

NOTE! It's important that you set your term software to match the
same baud rate as the Keyspan serial device. In my case, each
entry in my Novaterm phonebook is set to 9600.

Ok, that should be it, but if you need more help, consult www.telbbs.com
or find me on #c64friends on IRC (DrV-R64).

Enjoy,

-Jeff

--
ADDiXiON BBS - telnet://addixion.hopto.org
DrivenOnline.org BBS HQ (lots of NTSC demos/tools/bbs software!)
A *REAL* Commodore 128 Bulletin Board System

s.rau...@googlemail.com

unread,
Mar 1, 2013, 2:57:38 AM3/1/13
to
Hello,
i wanted to use tcpser4j with osx but i have some problems.
so, i want to use tcpser4j with vice64 to dial some bbs.

i'm starting tcpser4j with the test-config.xml and <Modem type="ip232" device="25232"> and <Line port="6400"/> settings. Result:
<code>
Sonkes-MacBook-Pro: soenkeraufeisen$ ./tcpser4j
./lib/tcpser4j-2.0rc6.jar:./lib/dom4j-full.jar:/Library/Java/Extensions/RXTXcomm.jar:./lib/log4j-1.2.5.jar:.:
0 [main] INFO org.jbrain.tcpser4j.ModemPoolThread - Initializing modem ip232:25232
0 [Thread-3] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waiting.
1 [Thread-3] DEBUG org.jbrain.hayes.EscapeTimer - Resetting.
1 [main] DEBUG org.jbrain.hayes.ModemCore - Parsing AT Command: s0=2&k0
</code>

but thats all ;-/
or is tcpser4j ready and waiting for some signales?

regards pcollins
0 new messages