path0s
Junior Member
Posts: 52
|
Post by path0s on Aug 22, 2005 22:32:41 GMT -5
Since the other thread was 64/128 specific, I figured I'd start this thread as well.. Is there a way to connect to Qlink yet via VICE, whether it be from winders or from linux? I've been trying it both ways with tcpser4j every which way I can think of and can't get anything to show up in the java console. I can however get ccgms going properly through it. On the vice linux side, I've been trying to pipe the rs232 data through netcat since it seems that vice/unix doesn't support rs232 over tcp. I have successfully gotten ccgms to work under winvice 1.15 following the instructions here: www.orrville.net/winvicedialup/Any thoughts about qlink though? -P
|
|
|
Post by Jim Brain on Aug 22, 2005 22:42:40 GMT -5
At present, I can;t seem to get QLink to like tcpser4j. I've asked Keith H. to send me his code that works for that piece.
VICE/Linux is easier, since it allows you to connect a process to the RS232 port. Or, you can pipe it to a COM port and hook a loopback cable on two ports and use tcpser(4j) on the other.
Jim
Jim
|
|
path0s
Junior Member
Posts: 52
|
Post by path0s on Aug 22, 2005 22:46:44 GMT -5
Sick mind.. Replying to myself.. BUT...
I kind of figured it out!
Use the "Other command driven modems" type modem from qlink and then just manually type this at the connection screen: atdt5551212<enter>
It will go through tcpser4j and make the telnet connection out.
Interesting enough, if I try to use the Hayes type modem in qlink, it looks like Qlink is sending the +++ attn string as the very first thing, then sends nothing else. Is that indicating that Qlink is detecting something funky with DTR from vice? Like it's trying to disconnect the modem first because it thinks it's already connected?
Also, keep in mind, this is with WinVice 1.15 NOT 1.16 and the latest tcpser4j running on the same winXP machine. -P
|
|
|
Post by Jim Brain on Aug 23, 2005 1:24:02 GMT -5
Yes, the manual dial option. Very impressive to figure that out. I missed that. I have been trying to get autodial to work, but you've also noted that the CTS or something line is being emulated badly.
Jim
|
|
path0s
Junior Member
Posts: 52
|
Post by path0s on Aug 23, 2005 2:22:33 GMT -5
ABSOLUTELY AMAZING!! Check out page 3!! www.jbrain.com/vicug/gallery/qlinkYes, that's WinVice 1.15. Yes. That's me signing onto Q-Link. And this is my typing this with a big fat stiffy!! Actually, everything ran pretty smooth. I'm VERY impressed with both the Q-Link server and tcpser4j. BIG HUGE PROPS to Jim, Jeff, Keith and anyone else involved As far as that actual configuration of vice and so forth, I believe Jeff will be putting up some info about it real soon.. -P
|
|
|
Post by Pinacolada on Aug 24, 2005 1:10:58 GMT -5
I followed the instructions on the web site for VICE configuration; tried connecting earlier tonight. The Q-Link software gives me the 'connect 38400' message, I hit F1, then...
Nothing. tcpser4j just sits there, endlessly.
Anyone else have this happen? I disabled my firewall completely, and tried a second time, same thing.
|
|
|
Post by Pinacolada on Aug 24, 2005 3:41:29 GMT -5
Use VICE 1.16 on Keith's site, change the keyboard layout (you may have to browse to the C64 keyboard file), and go to Settings > RS232 Settings... and set RS232 device to 127.0.0.1:232. Worked for me. I'm happy.
|
|
|
Post by pablot on Aug 27, 2005 19:04:17 GMT -5
Hi all.
Sorry if the replies to my questions are too obvious, but I do not fully understand how to connect with vice (I'm using Linux), and, because of Jim article on comp.sys.cbm, I prefer to connect without tcpser. Can anyone bother to write or explain it in more detail so we can try it?.
I'm assuming it's all about software and the null modem cable is not needed, am I right?
In comp.sys.cbm Jim wrote:
"Simply set VICE IP address and port to QLink server and port, QLink number to +5551212, modem to Other Command Driven Modem, speed to 1200 bps. Fire up VICE, and when it comes to the green screen, hit F1."
Where do I have to set VICE IP address?
thanx a lot and excellent work!!
|
|
|
Post by Jim Brain on Aug 27, 2005 20:13:58 GMT -5
It differs between 1.15 and 1.16 (patched). Normal 1.16 will not work.
On the patched 1.16, go into Settings/RS232 Settings and set RSDevice1 is set to qlink.quantum-link.org:5190 Then, OK that and go into Settings/Cartridge/IO Settings/RS232 userport Settings and make sure the device is set to Dev 1 and 1200 bps.
1.15 has to be configured via the cmd line, as noted elsewhere in here. Just change the 127.0.0.1:25232 in the post to the IP shown above.
Jim
|
|
|
Post by MagicCharm on Aug 27, 2005 22:44:45 GMT -5
I'm curious if I have a problem or not. I can get 1.15 to connect, and get the connect 38400 message. When I press F1 - most often I can't get in - just hangs. (Twice, I got in.) Below is a readout of TCPSER4J - it seems to hang waiting for an escape character? Is this because the server is being worked on? (I have seen the No Answer message during the day time.)
D:\Emulator Files\Commodore C64 Files\Program Files\Emulator Files\Quantum Link> set PATH=.;lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progra m Files\ATI Technologies\ATI Control Panel;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
D:\Emulator Files\Commodore C64 Files\Program Files\Emulator Files\Quantum Link> java -cp lib\tcpser4j-2.0rc6.jar;lib\dom4j-full.jar;lib\RXTXcomm.jar;lib\log4j-1 .2.5.jar;. org.jbrain.tcpser4j.TCPSerial config.xml 0 [main] INFO org.jbrain.tcpser4j.ModemPoolThread - Initializing modem ip23 2:232 0 [main] DEBUG org.jbrain.hayes.ModemCore - Parsing AT Command: &c0e0&k0 16 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waiting.
16 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Resetting. 103750 [Thread-1] DEBUG Serial In - 0000| 41 |A |
103766 [Thread-1] DEBUG Serial In - 0000| 54 44 54 35 |TDT5 |
103782 [Thread-1] DEBUG Serial In - 0000| 35 |5 |
103797 [Thread-1] DEBUG Serial In - 0000| 35 |5 |
103829 [Thread-1] DEBUG Serial In - 0000| 31 |1 |
103844 [Thread-1] DEBUG Serial In - 0000| 32 |2 |
103875 [Thread-1] DEBUG Serial In - 0000| 31 |1 |
103891 [Thread-1] DEBUG Serial In - 0000| 32 |2 |
103922 [Thread-1] DEBUG Serial In - 0000| 0D |. |
103922 [Thread-1] DEBUG org.jbrain.hayes.ModemCore - Parsing AT Command: DT5551 212 105407 [Thread-1] DEBUG org.jbrain.hayes.ModemCore - Sending response data: CON NECT 38400
105407 [Thread-1] DEBUG Serial Out - 0000| 0D |. |
105407 [Thread-1] DEBUG Serial Out - 0000| 0A |. |
105407 [Thread-1] DEBUG Serial Out - 0000| 43 4F 4E 4E 45 43 54 20 33 38 34 30 30 0D 0A |CONNECT 38400.. |
105407 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waitin g. 105407 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Checking for pre delay. 106407 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Timed out after 1000ms. 106407 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Initial delay found, wat ching for first escape char. 108469 [Thread-1] DEBUG Serial In - 0000| 0D |. |
108469 [Thread-1] DEBUG Line Out - 0000| 0D |. |
108469 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waitin g. 108485 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Found non escape char, s tarting over. 109000 [Thread-1] DEBUG Serial In - 0000| 0D |. |
109000 [Thread-1] DEBUG Line Out - 0000| 0D |. |
109016 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waitin g. 109016 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while checki ng for pre delay, starting over. 109063 [Thread-3] DEBUG org.jbrain.tcpser4j.TCPPort - ERMINAL= 109079 [Thread-3] DEBUG Line In - 0000| 54 45 52 4D 49 4E 41 4C 3D |TERMINAL= |
109079 [Thread-3] DEBUG Serial Out - 0000| 54 45 52 4D 49 4E 41 4C 3D |TERMINAL= |
110016 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Timed out after 1000ms. 110016 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Initial delay found, wat ching for first escape char. 110063 [Thread-1] DEBUG Serial In - 0000| 44 |D |
110063 [Thread-1] DEBUG Line Out - 0000| 44 |D |
110079 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waitin g. 110079 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Found non escape char, s tarting over. 110079 [Thread-1] DEBUG Serial In - 0000| F0 |. |
110094 [Thread-1] DEBUG Line Out - 0000| F0 |. |
110094 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while waitin g. 110094 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Interrupted while checki ng for pre delay, starting over. 111094 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Timed out after 1000ms. 111094 [Thread-2] DEBUG org.jbrain.hayes.EscapeTimer - Initial delay found, wat ching for first escape char.
|
|
|
Post by pablot on Aug 28, 2005 12:58:26 GMT -5
Ok, I've tried win Vice 1.15 under Linux with:
./x64 -rsdev1 qlink.quantum-link.org:5190 -rsuser 1200 -rsuserdev 0
But I do not get anywhere, when I type "atdt5551212" It just stands there and I get a file named "qlink.quantum-link.org:5190" on my current directory with my what I have typed in it.
Does anyone tried under linux without tcpser?
|
|
|
Post by pablot on Aug 28, 2005 12:59:14 GMT -5
On my last post I mean "with" not "win"!!!!
|
|
|
Post by Jim Brain on Aug 28, 2005 13:10:29 GMT -5
Someone needs to write a small app for VICE under Linux that hooks STDIN and STDOUT to an IP address:port. Then, set up VICE Linux to map that app to the RS232 port, and set the IP:port to the QLink server.
Keith H. Might already have the code in his stash... Keith?
jim
|
|
|
Post by BrianB on Aug 29, 2005 9:41:51 GMT -5
NetCat works ok with Vice 1.15. The trick is to make sure you don't leave out the pipe when specifying the external program to execute. Example:
|nc -p 31337 12.217.178.211 5190
The -p 31337 is just a random source port. You can make it just about anything you want. You can specify DNS instead of IP and it works fine.
I've tried several times with Vice 1.16 and it fires off netcat but never sends any data. The userport configuration is a little different on 1.16 than 1.15 so it may require a little more playing.
Brian
|
|
|
Post by Keith Henrickson on Aug 29, 2005 12:10:31 GMT -5
Someone needs to write a small app for VICE under Linux that hooks STDIN and STDOUT to an IP address:port. Then, set up VICE Linux to map that app to the RS232 port, and set the IP:port to the QLink server. Keith H. Might already have the code in his stash... Keith? jim miniteletym.c has such code. Just needs the tymnet stuff removed to work with your server.
|
|