Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

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

Moderator: pcwzrd13

User avatar
Strik3r91
letterbomb
Posts: 158
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#21 » Thu May 18, 2017 1:51 am

Ryochan7 wrote:That is weird. Maybe I should check that version out. It sounds like the library no longer conforms to the behavior described in the current documentation.

I gave this script to my friend, he has external modem on rockwell chip (RP56D/SP) and it gives error on AT+FCLASS=8 Modem returned an error. So we changed this string in the script to AT#CLS=8 so it goes to next setup commands but wont work, i think other commands should be changed for that chip? like 129,8000 to something or the letters AT+ at all. Any ideas?
I think it should be like this for his modem:

Code: Select all

# Send the initialization string to the modem
    resetModem(modem)
    send_command(modem, "AT#CLS=8") # Switch to Voice mode
    send_command(modem, "AT#VLS=1") # Go off-hook

    #if "--enable-dial-tone" in sys.argv:
    if dial_tone_enabled:
        logging.info("Dial tone enabled, starting transmission...\n")
        send_command(modem, "AT#VSR=7200")
        send_command(modem, "AT#VBS=4")
        send_command(modem, "AT#VTX") # Transmit audio (for dial tone)
        # Generate tone via modem. Only lasts 4 seconds.
        #send_command(modem, "AT+VTS=[440,350,400]")

    logging.info("Setup complete, listening...")
Attachments
O9C_9ZazXRc[1].jpg
Y70A0WpLOLo[1].jpg
lszPFg4saUU[1].jpg
From love, with Russia :)

User avatar
Ryochan7
Teriaaaaa
Posts: 91

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#22 » Mon May 22, 2017 8:18 pm

The script would have to be modified depending on the modem being used. I never had a reason to look into finding out how to query the modem for any required commands or syntax in order to automate the script a bit more. For the most part, you would have to look at the AT command manual for your modem if the script does not work as is.

User avatar
Strik3r91
letterbomb
Posts: 158
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#23 » Tue May 23, 2017 1:20 am

Ryochan7 wrote:The script would have to be modified depending on the modem being used. I never had a reason to look into finding out how to query the modem for any required commands or syntax in order to automate the script a bit more. For the most part, you would have to look at the AT command manual for your modem if the script does not work as is.

Hello! Thanks for all the help. After sleepless night and vain tries to change modem firmware we ended up on setting up Dell USB modem that works perfect with the 'default' script :P
From love, with Russia :)

User avatar
Scrungo
shadow
Posts: 14

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#24 » Sun Nov 24, 2019 11:56 pm

When I try running dreampi2.py, it says i get an import error about line 3 "import serial"
if someone knows what to do it'd be a great help!
If you know who my PFP is, you're freakin' sweet!!

T0biasCZe
noob
Posts: 3

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#25 » Thu Jun 10, 2021 10:22 am

I am getting errors in the innit part :/
Connecting to mode...:
Connected.
ATZE1
OK
AT+FCLASS=8
Error
AT+VLS=1
Error
Setup complete listening. I looked into the manual of my modem and it supports the AT+FCLASS=8 and AT+VLS=1 Commands :/

User avatar
dreamyjelly
rebel
Posts: 18

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post#26 » Tue Aug 17, 2021 11:15 pm

I'm having issues too. Everything goes fine until the "sending user name and password" box on XDP. It just kicks me out. PlanetWeb just causes everything to crash.. I get this from my Pi's log:

Code: Select all

Connecting to modem...:
Connected.
ATZE1

OK

AT+FCLASS=8

OK

AT+VLS=1

OK

Setup complete, listening...
5
5
5
Answering call...
Call answered!
<Command u'/usr/bin/tail -f /var/log/syslog -n 1', pid 14881>: process started


And it kinda just freezes there until I force stop it with Ctrl+C. I followed the guide to a tee, and the modem even showed up with the same name as the one in the guide so I'm not sure what I did wrong here. :?

Though yeah I could go back to using the DreamPi image, I thought it'd be more flexible if I could set it up manually and use my Pi for other stuff too. More freedom, you know?

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users