Dreampi Serial Modem

Online games, how to get online, and anything involving Dreamcast online can be discussed here.

Moderator: pcwzrd13

Ekstreme
shadow
Posts: 7

Dreampi Serial Modem

Post#1 » Sun Jun 11, 2017 9:07 am

Hi All,

I've managed to build a LVI and after hours mucking about with my el-cheapo USB modem, that as far as I can work out is not going to work (Conexant soft modem) I pulled an old serial modem out of the attic and connected it via a USb to serial adaptor. The LVI is working, as far as I can tell and the modem responds to commands from the command line using ttyUSB0 and is detected with wvdialconf, however it fails with Dreampie. Error output is below:

AFO routing enabled
Starting dcvoip process - Thanks Jonas Karlsson!
Starting dcgamespy process - Thanks Jonas Karlsson!
Detecting connection and modem...
Detected device ttyUSB0 with speed 230400
Internet connected and device found!
Dreamcast IP: 192.168.1.98
Opening serial interface to ttyUSB0
Something went wrong...
Traceback (most recent call last):
File "./dreampi.py", line 545, in main
return process()
File "./dreampi.py", line 474, in process
modem.connect()
File "./dreampi.py", line 338, in connect
self._serial = serial.Serial("/dev/{}".format(self._device), self._comm_speed, timeout=0)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 260, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 280, in open
self._reconfigurePort()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 413, in _reconfigurePort
set_special_baudrate(self, custom_baud)
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 60, in set_special_baudrate
raise ValueError('Failed to set custom baud rate: %r' % baudrate)
ValueError: Failed to set custom baud rate: 56000
Stopping dcgamespy process
Stopping dcvoip process
ARPING 192.168.1.99 from 192.168.1.73 eth0
Sent 1 probes (1 broadcast(s))
Received 0 response(s)

ARPING 192.168.1.98 from 192.168.1.73 eth0
Sent 1 probes (1 broadcast(s))
Received 0 response(s)

AFO routing disabled
Dreampi quit successfully


Lastly, I was having issues for ages saying that no internet was found. I tracked this down to my firewall as I block google DNS on my network; 8.8.8.8 Can i request that this be changed or at least the addition of other public servers checks be added to the check?

Thanks

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: Dreampi Serial Modem

Post#2 » Tue Jun 13, 2017 2:37 pm

Maybe Kazade can help.

Why have you blocked google DNS? Is there some danger?
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

Ekstreme
shadow
Posts: 7

Re: Dreampi Serial Modem

Post#3 » Wed Jun 14, 2017 5:35 am

I was blocking Google to use Netflix bypass services. Netflix IOS versions and I think others now, have hard coded DNS servers in the app and only fallback to configured settings if they fail.

Any help would be greatly appreciated. This modem was a fantastic device in it's day, so I'd love to use it again.
Attachments
19142907_1230486737078037_2155601890860804616_o.jpg

Ekstreme
shadow
Posts: 7

Re: Dreampi Serial Modem

Post#4 » Thu Jun 22, 2017 12:45 am

I've bought a BBA adaptor, though I do still want to get this working

User avatar
HuntrRose
Vagabond
Posts: 727

Re: Dreampi Serial Modem

Post#5 » Thu Jun 22, 2017 9:32 am

honestly.. Id just get the Dell and be done with it...

kazade
Developer
Posts: 264

Re: Dreampi Serial Modem

Post#6 » Thu Jun 22, 2017 4:28 pm

Ok the problem is that serial modems use different baud rates than usb ones. In the Dreampi code, this line can be changed to 56000 to make it work: https://github.com/Kazade/dreampi/blob/ ... pi.py#L446

Also near the top of the file, you'll find the hard coded Google DNS IP. You can change that to something else, it's just checking for a connection.

You'll have to use vim or something from the Pi command line to edit the file, which can be a "fun" experience :)

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: Dreampi Serial Modem

Post#7 » Sun Jun 25, 2017 12:50 pm

I've got success using a chinese serial-to-usb cable, but have to rebuild the kernel with correct driver to work.

My serial modem demands 115200 baud speed, so I set this in the variable that Kazade comment above.ImageImageImage


UPDATE:

Once connected, the modem can't go ahead and just stop, the data led power off.

However, it works fine by using manual mgetty on linux virtual machine

Any ideas?
Last edited by Scrivani on Sun Jun 25, 2017 12:50 pm, edited 2 times in total.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: Dreampi Serial Modem

Post#8 » Sun Jun 25, 2017 12:52 pm

Modem + cableImageImage
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
Bob Dobbs
Sub Genius
Posts: 4393
Contact:

Re: Dreampi Serial Modem

Post#9 » Sun Jun 25, 2017 6:42 pm

Get the USB modem from TacT, which comes with the required LVI mod built-in the modem. It's tested with a limited guarantee prior to shipping. PCwzrd13 offers a LVI mod cable for your Dreamcast phone line between your DC and the modem. You will need to specify 9v or 18v depending on what country/area you live in. 9v is used in North America.
Regards,
Bob Dobbs

User avatar
Scrivani
Vagabond
Posts: 724
Contact:

Re: Dreampi Serial Modem

Post#10 » Wed Jun 28, 2017 1:18 pm

Problem Update:

Once connected, the modem can't go ahead and just stop, the data led power off.

However, it works fine by using manual mgetty on linux virtual machine

Didn't requires voltage simulator with RevA DC Modem, that's my point, and about speed, looks great

Any ideas?

Image
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users