开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

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


gorntz
 

This is to use a Raspberry PI as a Ratflector on a MESH I presume.

--- In d-rats_group@..., "k4mkh" <k4mkh@...> wrote:


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


 

That is how I have implemented it but it could be run as standalone without the mesh also.

--- In d-rats_group@..., "gorntz" <radiok4ifx@...> wrote:

This is to use a Raspberry PI as a Ratflector on a MESH I presume.

--- In d-rats_group@..., "k4mkh" <k4mkh@> wrote:


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


 

If your running your RPi headless you don't need to launch the X desktop.?
I run a ratflector without having to launch the desktop.? The ratflector application will run from the console.
the syntax is d-rats_reflector -C -d
By not launching the desktop you save both memory and CPU resources.

73, Ed KA8JMW

--- In d-rats_group@..., "k4mkh" wrote:
>
>
> 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.
> http://n0so.net/index.php?id=72
>
> 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
>


 

That is a great tip. I will add that to my notes also.

That tells me I could add that in startup of the pi as cron job then instead of launching under the desktop.

--- In d-rats_group@..., "Ed" <ka8jmw@...> wrote:

If your running your RPi headless you don't need to launch the X
desktop.
I run a ratflector without having to launch the desktop. The ratflector
application will run from the console.
the syntax is d-rats_reflector -C -d
By not launching the desktop you save both memory and CPU resources.

73, Ed KA8JMW
--- In d-rats_group@..., "k4mkh" wrote:


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


 

You could also put it in the rc.local file or write a service script to launch as a service at boot time.

I'll? post an example? a systemd script that starts d-rats_repeater as a service in fedora 18? when I get home this afternoon. I use it to start d-rats_repeater on my raspberry pi based? ratflector for a "headless" ratflector.


Mike, N0SO
ratflector:
ratf.n0so.net port 9000


From: k4mkh
To: d-rats_group@...
Sent: Wed, May 22, 2013 9:49:22 PM
Subject: [d-rats_group] Re: Running D-Rats on Raspberry PI and have it autostart on boot

?

That is a great tip. I will add that to my notes also.

That tells me I could add that in startup of the pi as cron job then instead of launching under the desktop.

--- In d-rats_group@..., "Ed" wrote:
>
> If your running your RPi headless you don't need to launch the X
> desktop.
> I run a ratflector without having to launch the desktop. The ratflector
> application will run from the console.
> the syntax is d-rats_reflector -C -d
> By not launching the desktop you save both memory and CPU resources.