dreampi icon indicating copy to clipboard operation
dreampi copied to clipboard

Error on dreampi start

Open jial79 opened this issue 9 years ago • 18 comments

Hi, I have a Raspberry PI Model B+ and I installed the dreampi 0.98 last version

When I start the devide and log in, with the default user/password, and start the dreampi.py script with the command sudo ./dreampi.py --no-daemon, the console give me the next error message attached on the picture.

I'm using a conceptronic C54U usb modem void capable

What' s wrong?

Thanks

imag0561 1

jial79 avatar Dec 13 '15 00:12 jial79

I've seen this error, on one of the modems I tried. Replacing the modem eliminated the error, which suggests it's simply not a supported modem chipset. Your best bet is a Dell-branded RD02-D400. They go for about $8 on eBay, and 4 out of 4 have worked for me.

codepoet80 avatar Dec 13 '15 04:12 codepoet80

Could you try running:

sudo wvdialconf /dev/null

And take a picture of the output for me?

Kazade avatar Dec 13 '15 07:12 Kazade

Hi, I test the dreampi with the next two conceptronic models, the previous error was with the bigger one (conceptronic c54U C01-020) imag0569 1 With the command wvdialconf with this modem I get the next screen. imag0566 1

I test a newer version of the same model (conceptronic C54U C01-021) that is smaller and with this modem I get answer but it freeze at the step showed in the next photo.

imag0571 1 and the message

imag0567 1

Thanks for the help

jial79 avatar Dec 14 '15 00:12 jial79

A temporary hack/fix for the freeze (Kazade is working on a proper fix) is to edit the dreampi.py script. From the dreampi directory type: sudo nano dreampi.py

Go to line 254 and change it to be like this: VALID_RESPONSES = ("OK", "ER", "CO", "VCON")

Then go to line 275 and add a # in front of it, like this: #if (datetime.now() - start).total_seconds() > timeout:

Then do the same at line 276: #raise IOError("There was a timeout while waiting for a response from the modem")

Then press ctrl+x to exit, and y to save. Restart the dreampi script and it should work.

codepoet80 avatar Dec 14 '15 00:12 codepoet80

Thank you codepoet80, I will try the fix

jial79 avatar Dec 14 '15 00:12 jial79

I tried the fix that codepoet80 said me and it doesn´t work, the message is similar but instead CONNECT, it shows me CONNE and get freeze with all lights of my modem on.

any idea? imag0577 1

jial79 avatar Dec 18 '15 09:12 jial79

updated my raspberry with the last version and stills gets freeze when show the connect message. :(. I don´t know if it´s normal. Have do dreampi show any message after? Sorry for the inconveniences but I'm lost with this issue.

Thank you very much

UPDATE: My modem has 2 lights (OH and DATA), when I start raspberry both light stay on all time, like if the modem has a open connection.

jial79 avatar Dec 21 '15 11:12 jial79

Hi codepoet80, I bought a Dell-branded RD02-D400 modem and it doesn´t work, can you tell me your configuration? dreamcast model version? are you using a voltage inducer? with which components?

Thank you a lot

jial79 avatar Dec 23 '15 03:12 jial79

@jial79 Could you try the 1.0 release? http://blog.kazade.co.uk/2015/12/dreampi-10-released.html

Kazade avatar Dec 23 '15 10:12 Kazade

I have a DreamPi 2, a US Dreamcast modem, a 9v voltage inducer, and a Dell RD02-D400. On 0.98, with my hack/fix, it works every time. I'm recently experiencing limited intermittent issues on 0.99/1.0, but can still connect most of the time. @jial79, when you try 1.0, please let us know if the error changes or if you have a different problem.

codepoet80 avatar Dec 23 '15 23:12 codepoet80

Okey, Hi all!

Well, I got the "big modem" that appears in the first photo and I think I'm getting the same error. Now, it's not that the modem is not compatible because I have it set up and working in a laptop for my dc-pc (I made the planet ring server with that). I could get the info from it.

What would you need to make it work?

Cheers

Neoblast avatar Jan 19 '16 18:01 Neoblast

Hi all, My problem is not solved yet. I'm using a Dreamcast pal with a NTSC Rev A modem, A Dell RD02-D400, Dreampi 1.0. I´m not using a voltage inducer. I try to connect but it returns me a error message. I don´t know where is the issue.

Any idea?? is there any log to track the problem?

Thank you

jial79 avatar Jan 19 '16 22:01 jial79

You need to use a voltage inducer. You can't use your modem just because it worked with PCDC, you need one that uses the Conexant chipset that will be recognized and properly instructed by DreamPi/Raspian.

codepoet80 avatar Jan 19 '16 22:01 codepoet80

But I thought that A dreamcast modem rev A don´t need voltage inducer. and the pc modem is a dell rd02.d400. Do I need the inducer even the dc modem rev A? Thanks

jial79 avatar Jan 19 '16 22:01 jial79

Seems like you will always need a line voltage inducer. Are you running in --no-daemon mode? Do you get a specific error?

codepoet80 avatar Jan 19 '16 22:01 codepoet80

I tried with no-daemon mode and without login in the raspberry, like kazade said on his web. IN no-daemon, connect with modem and show the same image that I posted before (https://cloud.githubusercontent.com/assets/16272242/11770586/aaa83654-a202-11e5-8961-b55b98a27331.jpg)

In no login mode dreamcast try to connect but in the end fails.

jial79 avatar Jan 19 '16 23:01 jial79

If it just stays on "connect" as shown in your picture, that means it's never hearing the Dreamcast dial. If you don't have line voltage, the Dreamcast will either refuse to dial (depending on the game) or be unable to send audio down the line (often reported as "no carrier" since it doesn't hear a response either) Your modem choice is good, but you need line voltage.

codepoet80 avatar Jan 19 '16 23:01 codepoet80

I bought a new modem, TFM-561U. it has the same conexant chipset for those reported models that do work. But I'm getting the same error. It stays on connect from the first moment. Now, before the connect command, shouldn't there be an ATA to answer the call?

EDIT: I tested the modem with the dc-pc and works perfectly, although the command sequence is a little bit different.

How can I skip the voice dial tone sending and proceed to the answering part directly? I think that could work.

EDIT 2: I tried executing it with --disable-dial-tone and it crashed. Line 368 in main, line 326 in process, char = modem._serial.read(1).strip()#012 usr/lib/python2.7/dist-packages/serialposix.py line 441 whie len (read) siz #012Keyboardinterrupt

Neoblast avatar Jan 21 '16 15:01 Neoblast