Page 2 of 3

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Tue Feb 21, 2017 7:49 am
by djsteph974
Thanks for this tutoriel. I use dreamPI 2 with my computer (Crunchbang installed) and the dcnow module is not installed on. Is there a dreamPI dcnow version for dc-pc server ? An update to dreampi2 + dcnow soon ?

Thanks à lot ;)

Merci à tous :)

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Thu Mar 02, 2017 6:23 am
by djsteph974
And i've a problem with dial-tone.wav, don't play. Si I must to play wav file on vlc with à 3.5" jack connectés on modem. That work with this method but it should be better with your dreampi2.

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Thu Mar 02, 2017 8:43 pm
by Bob Dobbs
Being you have a Raspberry Pi 2, you will need a micro SD card, and download DreamPi v1.6 & Win32 Disk Imager. Also, required hardware would be a dial-up modem that is Linux/Raspberry Pi compatible and a LVI that supports the phone line voltage required in your area (unless you have a modem already). The LVI you can make, modems are not expensive (notably, the Dell NW147 works best). You can get a modded modem from TacT at DC talk like many of us so you would not have to make the LVI and it is pre-tested prior to sending it out to you. PCwzrd13 also makes LVI's if you already have a modem.

Dreamcast Live has a video tutorial regarding the DreamPi. This is very well done as it is a really good tutorial.

Good luck.

Downloads:
http://www.dreamcastlive.net/downloads.html

DreamPi Video Tutorial:
https://www.youtube.com/watch?v=lPvNQAi ... e=youtu.be

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Mon May 15, 2017 5:02 pm
by Strik3r91
Ryochan7 wrote:Edit: I tweaked the script and made a custom version. Some changes in commands, bug fixes for responses, and Python 3 compatibility. https://bitbucket.org/Ryochan7/dreampi2-custom
Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Mon May 15, 2017 9:53 pm
by Ryochan7
Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!
You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Mon May 15, 2017 11:46 pm
by Strik3r91
Ryochan7 wrote:
Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!
You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.
It should look like
Sudo ./dreampi2.py --enable-dial-tone
Right? Thanks!

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Tue May 16, 2017 10:14 am
by Strik3r91
Ryochan7 wrote:
Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!
You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.
Hi with this command line argument it gives me this error. Can you help sole it ?

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Tue May 16, 2017 9:26 pm
by Ryochan7
I explicitly disabled the write timeout in the script so I am not sure what is happening. I am looking at the pySerial source code and I think I see where the problem would occur; the line number is different in master. But there should be no way that this error would happen. Which version of Python are you trying to run the script on? I usually just use Python 2.7.12 since that is the default Python interpreter on Xubuntu 16.04. I haven't tested the script on Python 3.5.2 in a while but it should still work. Also, which version of pySerial are you using? I am using version 3.0.1.

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Wed May 17, 2017 1:14 am
by Strik3r91
Ryochan7 wrote:I explicitly disabled the write timeout in the script so I am not sure what is happening. I am looking at the pySerial source code and I think I see where the problem would occur; the line number is different in master. But there should be no way that this error would happen. Which version of Python are you trying to run the script on? I usually just use Python 2.7.12 since that is the default Python interpreter on Xubuntu 16.04. I haven't tested the script on Python 3.5.2 in a while but it should still work. Also, which version of pySerial are you using? I am using version 3.0.1.
EDIT: I had pyserial 3.3, deleted it and installed 3.0.1 now it works perfect! Thanks alot!

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Posted: Wed May 17, 2017 11:22 pm
by Ryochan7
That is weird. Maybe I should check that version out. It sounds like the library no longer conforms to the behavior described in the current documentation.