Download Latest Version pi-dc.zip (468.7 MB)
Email in envelope

Get an email when there's a new version of PI to DC

Home
Name Modified Size InfoDownloads / Week
README.md 2015-01-25 5.2 kB
pi-dc.zip 2015-01-25 468.7 MB
answer.sh 2015-01-25 414 Bytes
Totals: 3 Items   468.7 MB 0

Introduction

This project came about because I didn't like the idea of having a massive PC running just to connect the Dreamcast to the net, and I also had a spare Pi hanging around that was collecting dust.

Its not a beautiful solution, just a couple of scripts that do everything required so you don't have to, I haven't tested this extensively, but when I have used it, it worked perfectly well, But I'm sure it could be done a lot cleaner and simpler by far more talented people than I.

UPDATES

--- Update 1 - 25/01/2015 ---

Added dial-tone generation to the answer script, It will generate a 4 second dial-tone before answering the call.
This is for games that don't support blind dial, I have tested it on a few games and it works perfectly well, Due to adding the dial tone, timing is quite strict (especially with Max Pool), but basically just press the button (or run the script) a split second before press the connect button on the Dreamcast.
Once again, this has only been tested on a USRobotics USR5637 USB Modem.

The update is, code-wise, is very small, If you wish to update your current image all you have to do is replace your answer.sh file with the new one in the file browser above.

PlanetWeb Configuration Information

If its not mentioned below, Leave it blank.

  • User Login: dream
  • Password: dreamcast
  • Dial Up Number: 555
  • DNS1: 0.0.0.0
  • DNS2: 0.0.0.0
  • Modem Init: AT&F0
  • Dial: Tone
  • Dial Area Code: Off
  • Blind Dial: On
  • Proxy: No

Getting Online

Once you have set-up everything according to information in this readme, it should be pretty simple really, Boot the raspberry pi up, you should see the wifi adapter flashing which means your connected to your local network,
Set-up the Dreamcast connection info above, press the connect button on PlanetWeb or whatever software your using, and then press the button on the Raspberry PI.

Now give it a little bit of time and it should eventually connect.
If not, Try again. If you really cant get it working and have definitely edited the config files mentioned below then...

Contact Me:

Sourceforge: https://sourceforge.net/projects/pi2dc/
Dreamcast-Talk: http://www.dreamcast-talk.com/forum/viewtopic.php?f=3&t=6593

Things You Need

  • Raspberry Pi (Tested on Model B and B+)
  • 1GB+ SD Card
  • Pi compatible WiFi adapter, such as http://tinyurl.com/peh696b
  • U.S Robotics USR5637 USB Fax modem (Others may work, but not tested)
  • Momentary Switch (Could just use 2 wires) Connected to gpio pins 5 & 6
  • Line Voltage Inducer - http://tinyurl.com/lkjaern

Writing the SD Card

Download the SD Card zip file. Extract the .img file. Follow instructions in link below to write the .img to the SD card. http://www.raspberry-projects.com/pi/pi-operating-systems/win32diskimager

Editing the Config Files

IMPORTANT: The readme & config files assume your using Windows and that your WiFi router is using the 192.168.1.* IP range, If your using a different IP range then you will need to change all config files accordingly.
The config files that need to be edited have been moved to the fat32 boot partition for easier editing on windows machines.
Connect the SD card to your pc and open it, navigate to the "edit" folder, All the files you need to edit are here.

  • wpa_supplicant.conf

    This config file is set-up for WPA2, If you need it set-up for anything else, Google is your friend,

    ssid: You need to put your wifi network name here.
    psk: This is for your wifi password.

  • interfaces

    You may need to edit the gateway parameter to the correct IP for your router, It is currently set to 192.168.1.254

  • options.*

    The options files do not need to be edited if you are on the IP Range 192.168.1.* If you are on a different IP range, then edit them as required. I have included ACM0, USB0 and S0 option files, but only ACM0 is used.

  • answer.sh

    Nothing to edit in here really, its just a basic bash script that does what you would usually have to do manually in order to 'answer' the call. If you do need to edit anything it would be in reference to the ACM0

  • buttonscript.py

    Python script that loads when the system is booted and checks for button press on GPIO pins 5 & 6 (6 = ground). When detected it executes the answer.sh script.
    If you wish to change the pins on which it is listening, then just change both number 5's to the pin you wish to use.

Adding the Button

Pretty simple, On your raspberry pi, connect a momentary switch or a couple of pieces of wire to pins 5 and 6.
When you need to connect your Dreamcast to the net you will need to quickly tap the 2 pieces of wire together.
You will know if you have done it correctly because the Pi's lights will flash for a second.

If You Wish to Run the Script Without a Button

Login as root via SSH (port 22) to your Pi's IP address (default: 192.168.1.151) ,
user: root
password: raspberry

And run the follow comamnds,
cd /boot/edit
./answer.sh
Source: README.md, updated 2015-01-25