开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Running D-Rats on Raspberry PI and have it autostart on boot

 

So you want to run D-Rats on the Raspberry Pi and it have automatically launch on power up. The GUI needs to launch every time the Pi starts.

The build we are currently running is Raspbian "wheezy".

This URL will tell you how to install D-Rats on the Pi.


The executable files are stored under /usr/bin and are called:
d-rats > D-Rats communication program
d-rats_mapdownloader > download maps
d-rats_repeater > D-Rats repeater

Once the install is completed...

start LXTERMINAL from raspberry PI desktop

cd /etc/xdg/lxsession/LXDE
sudo leafpad autostart

You need to add the following statement at the end of the file and save the file.
@d-rats_repeater

All you need to do is to logoff and next time time GUI launches the D-Rats repeater will launch. You will have enable the repeater the 1st time and set your callsign.

Mike K4MKH
mike.k4mkh 'at' gmail.com


DV Dongle Socket error

 

When I start D-RATS with my DV Dongle running and connected to a repeater (W5MPZ), I see the following error in my Event Log (socket error 10061, connection refused) and D-RATS isn't connected to the Dongle although I have the preferences set correctly.? I assume there is a Windows Socket problem but don't know how to fix it.? The OS is Windows Vista.

--
73 de N4VIP (SFARES EC, SANTA FE AND SAN MIGUEL COUNTIES DEC), Don


ID-31A to be given away during Dayton D-STAR Class

 

开云体育

If you’ve registered for the D-STAR training at the Drury Inn Ballroom in Dayton during Hamvention on Friday, May 17th, from 8:00am until 11:00am, you already have a chance to win an Icom ID-31A handheld radio to be given away during the class.? There is still time to register for this comprehensive D-STAR class, but seats are filling up fast.

?

This training will provide the basics for new D-STAR users guiding them through the callsign registration process, getting on the air. easy programming of your D-STAR radio including the ID-31A and ID-51A radios, and get the most out of handhelds or mobiles.?

More experienced users will benefit from topics including the DV Dongle, DV Access Point, making a hotspot with a Raspberry Pi, D-STAR nets, using D-STAR's high and low speed data features including the ID-1 radio, and where to find D-STAR resources to get the most out of D-STAR. ?

?

Class size is limited and pre-registration is required.? The cost of the class is $15.00 and all attendees will receive all course materials and a chance to win the Icom ID-31A.? To register and pay class fee by PayPal, go to .

?

For more info, email info@...

?

?


New file uploaded to d-rats_group

 

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the d-rats_group
group.

File : /D-RATS Radio Settings.pdf
Uploaded by : n3tsz <n3tsz@...>
Description : Setting your radio to use with D-RATS.

You can access this file at the URL:


To learn more about file sharing for your group, please visit:

Regards,

n3tsz <n3tsz@...>


Outboard email works through normal SMTP, but not SMTP with SSL

 

I can get outbound emails to send through SMTP port 587; however, outbound emails never go using SMTP / SSL port 465. When I have configured SMTP / SSL the following errors show up on the console:

-- Exception: --
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/d_rats/msgrouting.py", line 504, in _run_one
routed = self._route_message(msg, slist, routes)
File "/usr/lib/pymodules/python2.7/d_rats/msgrouting.py", line 484, in _route_message
routed = self._route_via_email(dst, msg)
File "/usr/lib/pymodules/python2.7/d_rats/msgrouting.py", line 413, in _route_via_email
mailer = smtplib.SMTP(server, port)
File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python2.7/smtplib.py", line 310, in connect
(code, msg) = self.getreply()
File "/usr/lib/python2.7/smtplib.py", line 361, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
SMTPServerDisconnected: Connection unexpectedly closed

Is there some configuration step I am missing, perhaps a setting on the Raspberry Pi / wheezy?

TNX!


Re: Radio Settings for the ID-51 & ID-31

steven hoffman
 

Thank you so much !!
?
73
KC2YYF

From: John Davis
To: "d-rats_group@..."
Sent: Sunday, April 21, 2013 12:25 PM
Subject: RE: [d-rats_group] Radio Settings for the ID-51 & ID-31

I added the 31 and 51 to the setting table in the D-RATS documentation.? Someone may want to add this attachment to the Files section.
?
John WB4QDX
?
From: sink45ny [mailto:sink45ny@...]
Sent: Sunday, April 21, 2013 11:44 AM
To: d-rats_group@...
Subject: [d-rats_group] Radio Settings for the ID-51 & ID-31
?
?
Can someone please tell me what they are. I have been trying to pass data with friends that have these radios. I can receive their data but they don't receive mine. I have an 880H and a 92AD.
I can successfully transfer data between users of 880H's, 92AD's and dongles.

Your help is much appreciated.
73
KC2YYF
No virus found in this message.
Checked by AVG -
Version: 2013.0.3272 / Virus Database: 3162/6235 - Release Date: 04/09/13
Internal Virus Database is out of date.



Re: Radio Settings for the ID-51 & ID-31

 

开云体育

I added the 31 and 51 to the setting table in the D-RATS documentation.? Someone may want to add this attachment to the Files section.

?

John WB4QDX

?

From: sink45ny [mailto:sink45ny@...]
Sent: Sunday, April 21, 2013 11:44 AM
To: d-rats_group@...
Subject: [d-rats_group] Radio Settings for the ID-51 & ID-31

?

?

Can someone please tell me what they are. I have been trying to pass data with friends that have these radios. I can receive their data but they don't receive mine. I have an 880H and a 92AD.
I can successfully transfer data between users of 880H's, 92AD's and dongles.

Your help is much appreciated.
73
KC2YYF


No virus found in this message.
Checked by AVG -
Version: 2013.0.3272 / Virus Database: 3162/6235 - Release Date: 04/09/13
Internal Virus Database is out of date.


Radio Settings for the ID-51 & ID-31

sink45ny
 

Can someone please tell me what they are. I have been trying to pass data with friends that have these radios. I can receive their data but they don't receive mine. I have an 880H and a 92AD.
I can successfully transfer data between users of 880H's, 92AD's and dongles.

Your help is much appreciated.
73
KC2YYF


Re: Config for gearhead 89 usb keyboard -fixed

k3mmb
 

edit the keyboard config file and set model to KB1700 and locale to us

--- In d-rats_group@..., "k3mmb" <mm.barrett@...> wrote:

I have a gearheas 89 key keyboard and have not found a correct configuration (yet)..

I have my locale set to en.us.utf-8, there soes not seem to be a keyboard for this unit.

mike


New file uploaded to d-rats_group

 

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the d-rats_group
group.

File : /D-RATS&Gmail.pdf
Uploaded by : n3tsz <n3tsz@...>
Description : Use D-RATS with your Gmail account (Updated 20 April 2013)

You can access this file at the URL:


To learn more about file sharing for your group, please visit:

Regards,

n3tsz <n3tsz@...>


Config for gearhead 89 usb keyboard

k3mmb
 

I have a gearheas 89 key keyboard and have not found a correct configuration (yet)..

I have my locale set to en.us.utf-8, there soes not seem to be a keyboard for this unit.

mike


using attachments in email from d-rats

k3mmb
 

Now that I have beat most of my users problems into submission, one more hurdle...

I exported a form to name.xml, composed an email to my other id, attached the file, sent ...

files did not show up at other end...

What I have missed (again)...

73
mike


D-STAR Training available at Dayton 2013

 

DSTARinfo.com and the Georgia D-STAR group will again conduct training for beginning and intermediate D-STAR users during Dayton Hamvention 2013.? The three hour class will be held at the Drury Inn Ballroom, conveniently located in the Hamvention hotel area at 6616 Miller Lane.? The class will begin promptly at 8:00am.

This training will provide the basics for new D-STAR users guiding them through the registration process, getting on the air and get the most out of handhelds or mobiles.? More experienced users will benefit from topics including the DV Dongle, DV Access Point, making a hotspot with a Raspberry Pi, D-STAR nets, using D-STAR's high and low speed data features including the ID-1 radio, and where to find D-STAR resources to get the most out of D-STAR. ?

Class size is limited and pre-registration is required.? The cost of the class is $15.00 and all attendees will receive all course materials.? To register and pay class fee by PayPal, go to . For more info, email info@....


Re: Raspberry email setup? ---- Solved

k3mmb
 

Thanks all,

I beat it into submission last night.

I watched the command line window as it was processing email. The issue was my use of a fully qualified email id in the setup. In windows, I sign on to the comcast servers as k3mmb@.... D-Rats uses the userid filed as the address appended to the server name.

So, the program was asking for authorization from:

k3mmb@[email protected] (or smtp).

Changed the usered id to just my callsign and everything now works. Apparentaly the OS and D-rats are not using DNS to resolve some address.

Anyway... we got it working ... now on to the radio part..

73
mike

--- In d-rats_group@..., Mike Heitmann <n0so@...> wrote:

I've not tried e-mail via d-rats on a Raspberry Pi but it should work. If you send me your debug log file I'll take a look.

Also, as Patrick suggests, make sure you give your callsign e-mail privileges.

Mike, N0SO
Sent from my iPad

On Apr 14, 2013, at 6:47 PM, "k3mmb" <mm.barrett@...> wrote:

I am at aloss with setting up email on the RPi,

smtp setup:
Gateway enabled
smtp server smtp.comcast.net
port 587 ttl checked
source blank
user name k3mmb@...
password **

POP (incoming)
server pop.comcast.net
username k3mmb@...
password *
poll interval 2
port 995
action form
enabled

THis is wheezy installed from scratch, python stuff loaded ... I just can not seethe issue ... Chat works fine.

any suggestions would be appreciated.

73
Mike


Re: Raspberry email setup?

 

开云体育

I've not tried e-mail via d-rats on a Raspberry Pi but it should work. If you send me your debug log file I'll take a look.

Also, as Patrick suggests, make sure you give your callsign e-mail privileges.

Mike, N0SO

On Apr 14, 2013, at 6:47 PM, "k3mmb" <mm.barrett@...> wrote:

?

I am at aloss with setting up email on the RPi,

smtp setup:
Gateway enabled
smtp server
port 587 ttl checked
source blank
user name k3mmb@...
password **

POP (incoming)
server
username k3mmb@...
password *
poll interval 2
port 995
action form
enabled

THis is wheezy installed from scratch, python stuff loaded ... I just can not seethe issue ... Chat works fine.

any suggestions would be appreciated.

73
Mike


Re: Raspberry email setup?

 

I found this page explaining how to set up an e-mail client for Comcast:


Also be sure to give yourself e-mail privileges in preferences>e-mail access.

--- In d-rats_group@..., "k3mmb" <mm.barrett@...> wrote:

I am at aloss with setting up email on the RPi,

smtp setup:
Gateway enabled
smtp server smtp.comcast.net
port 587 ttl checked
source blank
user name k3mmb@...
password **


POP (incoming)
server pop.comcast.net
username k3mmb@...
password *
poll interval 2
port 995
action form
enabled

THis is wheezy installed from scratch, python stuff loaded ... I just can not seethe issue ... Chat works fine.

any suggestions would be appreciated.

73
Mike


Raspberry email setup?

k3mmb
 

I am at aloss with setting up email on the RPi,

smtp setup:
Gateway enabled
smtp server smtp.comcast.net
port 587 ttl checked
source blank
user name k3mmb@...
password **


POP (incoming)
server pop.comcast.net
username k3mmb@...
password *
poll interval 2
port 995
action form
enabled

THis is wheezy installed from scratch, python stuff loaded ... I just can not seethe issue ... Chat works fine.

any suggestions would be appreciated.

73
Mike


Re: D-RATS and AGWPE

 

开云体育

Thanks, Patrick.? ??I've got the file and will take a look.?? I have access to a KISS TNC.? We actually tried to set it up on the repeater yesterday, but had the same problem.? I did not try the TNC connected directly to D-RATS.??? We will give that a try.

?

Since D-RATS and AGWPE work but the repeater and AGWPE don't I wonder if there is something wrong with the repeater app.?? I will give D-RATS and the TNC a try.

?

Dan

W4DTO

?

From: d-rats_group@... [mailto:d-rats_group@...] On Behalf Of n3tsz
Sent: Saturday, April 13, 2013 4:09 PM
To: d-rats_group@...
Subject: [d-rats_group] Re: D-RATS and AGWPE

?

?

Dan,
Check out the "D-RATS and Pac-Link" file for more info about setting up AGWPE. I think you may have better luck with A hardware TNC. Look at "D-RATS and Packet radio" if you have access to a KISS TNC. Also try putting the TNC in transparent mode(aka ASCII or modem mode) and tell D-RATS it's a D-STAR radio. That may overcome some of the drawbacks of KISS mode. I think it should work, but I don't have TNCs to try it myself.
Good luck in all things,
Patrick (N3TSZ)

--- In d-rats_group@..., "Dan Ozment" <dan@...> wrote:
>
> Thanks for the tip, Patrick! The COM42 device is actually my USB cable for
> the 2820. I removed it earlier when I was trying this and only had the
> AGWPE interface defined. I wasn't able to make it work without the COM42
> definition. COM42 was in my post because I added it back before I found
> the repeater.log. Based on that I don't think the COM port changed
> anything.
>
>
>
> The goal here, by the way, is to create a local ratflector that can be
> accessed by users of both D-STAR and non-D-STAR radios as wells as users who
> have internet access.
>


Re: D-RATS and AGWPE

 

Dan,
Check out the "D-RATS and Pac-Link" file for more info about setting up AGWPE. I think you may have better luck with A hardware TNC. Look at "D-RATS and Packet radio" if you have access to a KISS TNC. Also try putting the TNC in transparent mode(aka ASCII or modem mode) and tell D-RATS it's a D-STAR radio. That may overcome some of the drawbacks of KISS mode. I think it should work, but I don't have TNCs to try it myself.
Good luck in all things,
Patrick (N3TSZ)

--- In d-rats_group@..., "Dan Ozment" <dan@...> wrote:

Thanks for the tip, Patrick! The COM42 device is actually my USB cable for
the 2820. I removed it earlier when I was trying this and only had the
AGWPE interface defined. I wasn't able to make it work without the COM42
definition. COM42 was in my post because I added it back before I found
the repeater.log. Based on that I don't think the COM port changed
anything.



The goal here, by the way, is to create a local ratflector that can be
accessed by users of both D-STAR and non-D-STAR radios as wells as users who
have internet access.


Re: D-RATS and AGWPE

 

开云体育

Thanks for the tip, Patrick!?? The COM42 device is actually my USB cable for the 2820.??? I removed it earlier when I was trying this and only had the AGWPE interface defined.?? I wasn't able to make it work without the COM42 definition.?? COM42 was in my post because I added it back before I found the repeater.log.?? Based on that I don't think the COM port changed anything.?

?

The goal here, by the way, is to create a local ratflector that can be accessed by users of both D-STAR and non-D-STAR radios as wells as users who have internet access.??