Problems conecting with Dreampi 1.4

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

Moderator: pcwzrd13

flodder450
Fancy Pants Admin
Posts: 3
Joined: Wed Aug 17, 2016 7:02 pm

Problems conecting with Dreampi 1.4

Post by flodder450 »

Hello!

Im currently trying to connect with dreampi 1.4 but it doesnt work

When dialing, it sends out a probe, but gets no response (but the dreamcast does get an IP address)

the modem only appears to hear the first digit, no matter which number i dial (555,111-1111).

CONNECT
Heard: 5

After a while the script trows a "no response from modem" error, when i commented out the timeout function in the actual script it said

ER
Call answered!

Connected
Serial interface terminated
Detected modem hang up, going back to listening
Detected device ttyACM0 with speed 460800


i use https://www.amazon.com/TRENDnet-Phone-Internet-Modem-TFM-561U/dp/B004BU8O9Y/ref=sr_1_1?s=pc&ie=UTF8&qid=1455426291&sr=1-1&keywords=TRENDnet+56K+USB+2.0+Phone%2C+Internet+and+Fax+Modem%2C+TFM-561U+%28Amazon%29
I tried:
-New 9v batteries
-resoldering LVI
-AT command (AT&F0) in Dreamkey 3.0
-changed/changed back again dreampi.py https://github.com/Kazade/dreampi/issues/2#issuecomment-164315096
-changed dial numbers (555, 111-1111)

Does anyone know what might be up?

Thanks in advance!
User avatar
Xiden
Developer
Posts: 2225
Joined: Thu Jun 23, 2016 12:24 am
Dreamcast Games you play Online: All the DC games!!

Re: Problems conecting with Dreampi 1.4

Post by Xiden »

Im not entirely sure if that modem you have is compatible or not. I have a dell nw147
flodder450
Fancy Pants Admin
Posts: 3
Joined: Wed Aug 17, 2016 7:02 pm

Re: Problems conecting with Dreampi 1.4

Post by flodder450 »

Xiden wrote:Im not entirely sure if that modem you have is compatible or not. I have a dell nw147

It was listed on the racketboy forums as compatible, so i figured that it was,
User avatar
Xiden
Developer
Posts: 2225
Joined: Thu Jun 23, 2016 12:24 am
Dreamcast Games you play Online: All the DC games!!

Re: Problems conecting with Dreampi 1.4

Post by Xiden »

[float=][/float]
flodder450 wrote:
Xiden wrote:Im not entirely sure if that modem you have is compatible or not. I have a dell nw147

It was listed on the racketboy forums as compatible, so i figured that it was,


Seems like you have your setup correct. When I had issues it always ended up being my LVI. The number you dial shouldn't matter, or at least it doesn't for my setup. You sure there aren't any drivers needed for that modem? I know the dell modem for sure is plug and play out of the box.
flodder450
Fancy Pants Admin
Posts: 3
Joined: Wed Aug 17, 2016 7:02 pm

Re: Problems conecting with Dreampi 1.4

Post by flodder450 »

Xiden wrote:[float=][/float]
flodder450 wrote:
Xiden wrote:Im not entirely sure if that modem you have is compatible or not. I have a dell nw147

It was listed on the racketboy forums as compatible, so i figured that it was,


Seems like you have your setup correct. When I had issues it always ended up being my LVI. The number you dial shouldn't matter, or at least it doesn't for my setup. You sure there aren't any drivers needed for that modem? I know the dell modem for sure is plug and play out of the box.

It appears to work out of the box yes,
Neoblast
Developer
Posts: 610
Joined: Mon Jan 19, 2009 10:10 am
Dreamcast Games you play Online: ALL OF THEM

Re: Problems conecting with Dreampi 1.4

Post by Neoblast »

I have the same problem. It works sometimes with planetwebthough
Nice try you fool! lol BBQ!
User avatar
Gary_b
Quantic Dream
Posts: 1834
Joined: Fri Jun 27, 2008 4:38 am
Dreamcast Games you play Online: all of them
Location: michigan
Contact:

Re: Problems conecting with Dreampi 1.4

Post by Gary_b »

The only problem that I had was that I used a really cheap phone cord and it made me lag. Once I switched to a good cord I no longer had any issues.
User avatar
Xiden
Developer
Posts: 2225
Joined: Thu Jun 23, 2016 12:24 am
Dreamcast Games you play Online: All the DC games!!

Re: Problems conecting with Dreampi 1.4

Post by Xiden »

Gary_b wrote:The only problem that I had was that I used a really cheap phone cord and it made me lag. Once I switched to a good cord I no longer had any issues.


^ +1 :) Fixed my lag issues too
Neoblast
Developer
Posts: 610
Joined: Mon Jan 19, 2009 10:10 am
Dreamcast Games you play Online: ALL OF THEM

Re: Problems conecting with Dreampi 1.4

Post by Neoblast »

I edited a little bit of the dreampi code. and I'm not getting any error now. It works like a charm now. No timeout error.

So... dreampi/dreampi.py from line 295:


def answer(self):
self.reset()
self.send_command("ATA")
time.sleep(2)
logger.info("Call answered!")
logger.info(subprocess.check_output(["pon", "dreamcast"]))
logger.info("Connected")

def send_command(self, command, timeout=30):

I changed the time.sleep to 5 and in def send_command(......., timeout=60):

It seems the dreamcast takes longer than those 30 seconds to send the connect command sometimes and it crashes the dreampi script when it's set to just 30.
Nice try you fool! lol BBQ!
User avatar
Xiden
Developer
Posts: 2225
Joined: Thu Jun 23, 2016 12:24 am
Dreamcast Games you play Online: All the DC games!!

Re: Problems conecting with Dreampi 1.4

Post by Xiden »

Neoblast wrote:I edited a little bit of the dreampi code. and I'm not getting any error now. It works like a charm now. No timeout error.

So... dreampi/dreampi.py from line 295:


def answer(self):
self.reset()
self.send_command("ATA")
time.sleep(2)
logger.info("Call answered!")
logger.info(subprocess.check_output(["pon", "dreamcast"]))
logger.info("Connected")

def send_command(self, command, timeout=30):

I changed the time.sleep to 5 and in def send_command(......., timeout=60):

It seems the dreamcast takes longer than those 30 seconds to send the connect command sometimes and it crashes the dreampi script when it's set to just 30.


Nice :) You might PM Kazade with your fix :) He could include in version 1.5
Post Reply