Page 1 of 3

Problems conecting with Dreampi 1.4

Posted: Wed Aug 17, 2016 7:21 pm
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!

Re: Problems conecting with Dreampi 1.4

Posted: Thu Aug 18, 2016 11:55 am
by Xiden
Im not entirely sure if that modem you have is compatible or not. I have a dell nw147

Re: Problems conecting with Dreampi 1.4

Posted: Fri Aug 19, 2016 8:20 am
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,

Re: Problems conecting with Dreampi 1.4

Posted: Fri Aug 19, 2016 6:19 pm
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.

Re: Problems conecting with Dreampi 1.4

Posted: Sat Aug 27, 2016 6:48 am
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,

Re: Problems conecting with Dreampi 1.4

Posted: Mon Oct 17, 2016 3:37 am
by Neoblast
I have the same problem. It works sometimes with planetwebthough

Re: Problems conecting with Dreampi 1.4

Posted: Mon Oct 17, 2016 6:25 am
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.

Re: Problems conecting with Dreampi 1.4

Posted: Mon Oct 17, 2016 10:56 am
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

Re: Problems conecting with Dreampi 1.4

Posted: Mon Oct 17, 2016 11:20 am
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.

Re: Problems conecting with Dreampi 1.4

Posted: Mon Oct 17, 2016 11:31 am
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