DreamPi Software (DC <> Pi)

Discussion in 'Sega Dreamcast Development and Research' started by kazade, Sep 2, 2015.

  1. fluffymadness

    fluffymadness Active Member

    Joined:
    Jul 7, 2016
    Messages:
    35
    Likes Received:
    5
    Thanks for your answer
    This is the folder structure I have

    pi@dreampi ~ $ cd /etc/resolvconf/
    pi@dreampi /etc/resolvconf $ ls -ls
    total 8
    4 drwxr-xr-x 2 root root 4096 Oct 30 2015 update.d
    4 drwxr-xr-x 2 root root 4096 May 6 2015 update-libc.d

    According to the man page I should put the file named as "base"
    in /etc/resolvconf/resolvconf.d/

    I tried that, put it there and made a reboot.
    When pinging the server on the pi I seem to get the correct address
    But syslog tells me it still resolves to your dns.
    A static route on my router also didn't fix the problem.

    Aug 5 06:41:25 dreampi ntpd[2283]: peers refreshed
    Aug 5 06:41:57 dreampi dnsmasq[2157]: query[A] pso-dc.ath.cx from 192.168.1.98
    Aug 5 06:41:57 dreampi dnsmasq[2157]: forwarded pso-dc.ath.cx to 46.101.91.123

    Do I have to change something on the dc, like putting the ip of the pi there or something instead of the dns?

    Am I assuming correctly that the resolvconf is for changing the settings of the local dns that you've mentioned above so that it doesn't default to your dns, or am I completely on the wrong track here :/
     
  2. AlligatorTaffy

    AlligatorTaffy Member

    Joined:
    Aug 3, 2016
    Messages:
    5
    Likes Received:
    0
    So I have finally gotten around to putting DreamPi_v1.4 onto my Pi 1B and so far I have to say it seems to be working great. Browser disc connects, Sonic Adventure (Internet) connects, ChuChu Rocket connects to it's servers, Phantasy Star Online v2 (Internet) connects and works. However, are there still bugs with playing PSO online? It connects but hangs at the starburst screen, plays the lobby music, and just stays on a frozen starburst screen until the lobby timeout screen pops up and says the modem was disconnected. Mind you I am running a constant ping to the Dreamcast that is just fine and stable during the entire connection.

    Was just curious if this is happening, or has happened, to anyone else? Just would like to hear some feedback before I into the Hell known as PfSense's NAT and Firewall settings.
     
    Last edited: Aug 10, 2016
  3. kazade

    kazade Spirited Member

    Joined:
    Jul 22, 2015
    Messages:
    155
    Likes Received:
    164
    Hmm, I haven't seen any issues like that with PSO (in fact, PSO is what I primarily used while writing the DreamPi software), does this happen all the time? Could it have been the server was having issues?
     
  4. AlligatorTaffy

    AlligatorTaffy Member

    Joined:
    Aug 3, 2016
    Messages:
    5
    Likes Received:
    0
    It could have been the server. Hard to say, I didn't check Sylverant's page. But i sat idle in the ChuChu Rocket room lobby for about an hour with a constant ping with about 10 dropped packets total. Just every time I was trying PSOv2 (US) before that it just froze on the starburst screen after the "Welcome to PSO!" screen faded away. Music changed to the ship select music. Then after a few minutes I get the default "The modem has been disconnected" error screen while the pings are still returning just fine until i hit A to go back to the main screen.

    Quite odd and peculiar why it is, thus far, only PSOv2. I suppose I could try PSOv1, Quake III, Maximum Pool. I have most the games that are currently online. All the "Internet" web pages connect fine, granted the PSO site tosses me to "Welcome to nginx!" pages because they no longer exist. Sonic Adventure worked fine. No hiccups at all.

    If it makes any difference, Im using an A modem. I have a B modem i could try or just default back to the bba for PSO. Im using a 9v transformer for my LVI, 13.5v actually is coming out according to my multimeter but the modem is pretty tolerant between 9v-18v. I tried the modem with 5v and it would connect but entirely erratic, going to introduce a small dc-dc step-up to test if i can self-power totally from the rpi.

    Still haven't dove into adding a restart loop so I can leave it powered on indefinitely and just tie it into my network closet. lol However, I left the Pi on for days before tossing together the LVI and both lights on my Rosewill USB modem were still on awaiting an incoming call. I will look into it further.
     
    Last edited: Aug 11, 2016
  5. AlligatorTaffy

    AlligatorTaffy Member

    Joined:
    Aug 3, 2016
    Messages:
    5
    Likes Received:
    0
    Just now tried it again multiple times and PSOv2 fails every time. However, the bonus is that the pi has been running for about 24 hours and has been idle for about 12 hours and the modem seemed to connect fine.

    EDIT: I think I have found the problem. It seems the Dreamcast is searching for the original Hunter's License server, or so I can assume. The Dreamcast connects out and tries to hit 218.42.137.202:443. I ping the address and it doesn't exist. Did an old DNS lookup on it and it was an originally licensed Japanese server at one time. Is your DNS set to push the US version of PSOv2 to Sylverant? I am going to assume an astounding yes. Clearly I am pulling your DNS if ChuChu Rocket and Sonic Adventure are redirecting. Just seems PSO is not.

    I remember the days when people couldn't stress it hard enough to NOT play the US version on Sylverant and SCHTHACK because the Hunter License server/authentication couldn't be emulated at the time. If you wanted to play PSOv2 you had to use the PAL version because it lacked the Hunter License check (I remember I imported it for that reason lol).

    I hopped on Sylverant's page for the US version of PSOv2 and it had this message:
    Did you account for forwarding 218.42.137.202 -> 67.222.144.120?

    EDIT 2: I can confirm with absolute certainty that the Hunter License server is not being redirected. PSOv2 US fails to connect to a ship server but PSOv2 EU went right to the Sylverant ship list. Accounting for forwarding that IP to Sylverant will enable everyone here in the US to play PSOv2. :)

    EDIT 3: I'm an idiot. The Hunter License server has yet to be circumvented, just merely patched out with boot discs. Please disregard, I suffer from head-in-ass disease. Ugh.
     
    Last edited: Aug 11, 2016
  6. ultramecha

    ultramecha Rising Member

    Joined:
    May 20, 2016
    Messages:
    68
    Likes Received:
    70
    Thought I'd point out now there are some slightly more elegant solutions for dreampi's Line Voltage Inducer now :)

    I think these are some really neat solutions to the Line Voltage inducers

    LVI built into Modem - Created by Tact on dreamcast-talk
    [​IMG]

    And PCWzrd13 made this one on dreamcast-talk
    [​IMG]
     
  7. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    I always kinda wondered why nobody uses a 5v -> 9v DC-DC converter inside either the USB modem or the Dreamcast modem? How much current is required by the LVI?
     
  8. ultramecha

    ultramecha Rising Member

    Joined:
    May 20, 2016
    Messages:
    68
    Likes Received:
    70
    9 volts for USA modems and 18 volts for UK modems
     
  9. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    Indeed, but how much current does the modem draw on said voltage?
     
  10. ultramecha

    ultramecha Rising Member

    Joined:
    May 20, 2016
    Messages:
    68
    Likes Received:
    70
    Unfortunately I do not know the answer to that one. May have to ask PCWzrd13 on dreamcast-talk.
     
  11. ultramecha

    ultramecha Rising Member

    Joined:
    May 20, 2016
    Messages:
    68
    Likes Received:
    70
    kazade and Xerxes3rd like this.
  12. nextria

    nextria Member

    Joined:
    Jun 8, 2016
    Messages:
    22
    Likes Received:
    0
    Are there any members that are selling the complete set like this for PAL dreamcasts ?
    Or just the modems thats also fine, i would love to have one like this.
     
  13. ultramecha

    ultramecha Rising Member

    Joined:
    May 20, 2016
    Messages:
    68
    Likes Received:
    70
    Unfortunately the USB Powered LVI modems do not work with PAL modems because they need a much higher voltage (18v). However! You can buy a USA Dreamcast Dial up modem and it will work just fine on any PAL dreamcast :) So then you could use the USB powered LVI modem. The guy who sells them is on Dreamcast-talk.com forums and his name is Tact. (don't believe he's a member of this forum). Also PCWzrd13 sells full Dreampi kits on his website Dreamcastlive.net but he sells out fast.
     
  14. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    @kazade Is there a reason not to use DHCP to get the IP for the Dreamcast and the second IP for the RPi? I understand that PPP devices are not Ethernet devices, and therefore don't have MAC addresses, but there are "private" MAC address spaces that could be used. If this is worth doing, I wouldn't mind importing a python DHCP client library, doing some testing, and submitting a pull request. Of course, I'll have to wait until I get a modem that's not a softmodem. =)
     
  15. kazade

    kazade Spirited Member

    Joined:
    Jul 22, 2015
    Messages:
    155
    Likes Received:
    164
    If you can figure out how to get a couple of ips from DHCP before ppp is configured that would be amazing! I tried (granted, not that hard) but failed :)
     
  16. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    Sounds good, I'll take a crack at it. If I get it working reliably, I'll submit a pull request.
     
  17. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    @kazade While I'm at it, is there a separate github repo that contains the other configs used in DreamPi, such as the pppd options?
     
  18. kazade

    kazade Spirited Member

    Joined:
    Jul 22, 2015
    Messages:
    155
    Likes Received:
    164
    The main pppd config is generated by the script. Any other files are in the Dreampi image itself (e.g the dnsmasq config) I'll try to add them to git when I find time.
     
    Xerxes3rd likes this.
  19. mistamontiel

    mistamontiel ..!!

    Joined:
    Jun 22, 2016
    Messages:
    27
    Likes Received:
    5
    So the PAL units got their own modem running more voltage , when the NTSC-U modem works just fine on them ?

    LOL and anxiously awaiting my USB-powered LVI built-in the fax modem =}
     
  20. Xerxes3rd

    Xerxes3rd Rapidly Rising Member

    Joined:
    Sep 1, 2016
    Messages:
    96
    Likes Received:
    35
    @mistamontiel It's an artifact of the mains power voltage in the respective countries. The PAL modem expects twice the voltage of the NTSC modem.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page