Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
pr430 [2018/04/18 20:31] dh3wr [Installing the xinetd] |
pr430 [2018/04/18 20:52] (aktuell) dh3wr [Automated start of the DAPNET-Proxy] |
||
---|---|---|---|
Zeile 230: | Zeile 230: | ||
cd /opt | cd /opt | ||
sudo git clone https://github.com/rwth-afu/raspager-proxy.git | sudo git clone https://github.com/rwth-afu/raspager-proxy.git | ||
- | chown -R pi /opt/raspager-proxy | + | sudo chown -R pi /opt/raspager-proxy |
cd /opt/raspager-proxy | cd /opt/raspager-proxy | ||
</code> | </code> | ||
Zeile 241: | Zeile 241: | ||
Copy the example config file to that directory. Change the callsign according to your needs. | Copy the example config file to that directory. Change the callsign according to your needs. | ||
<code> | <code> | ||
- | cp /opt/raspager-proxy/example.properties | + | cp /opt/raspager-proxy/example.properties /opt/raspager-proxy/config/db0abc.properties |
- | /opt/raspager-proxy/config/db0abc.properties | + | |
</code> | </code> | ||
Zeile 289: | Zeile 288: | ||
In a second SSH session or terminal, you can watch the AX.25 traffic on ''ax0'' with | In a second SSH session or terminal, you can watch the AX.25 traffic on ''ax0'' with | ||
- | <code>axlisten -axp ax0</code> | + | <code>axlisten -ap ax0</code> |
If you are familiar with AX.25, this will give a good hints for debugging. | If you are familiar with AX.25, this will give a good hints for debugging. | ||
Zeile 312: | Zeile 311: | ||
ExecStopPost=-/usr/bin/killall kissattach | ExecStopPost=-/usr/bin/killall kissattach | ||
WorkingDirectory=/opt/raspager-proxy/config | WorkingDirectory=/opt/raspager-proxy/config | ||
- | ExecStart=/bin/bash -c "/usr/sbin/kissattach /dev/ttyUSB0 ax0 && /usr/bin/java -Ddapnet.proxy.rest.port=8080 -jar ../target/dapnet-proxy-1.1.1-SNAPSHOT-jar-with-dependencies.jar db2gm.properties" | + | ExecStart=/bin/bash -c "/usr/sbin/kissattach /dev/ttyUSB0 ax0 && /usr/bin/java -Ddapnet.proxy.rest.port=8080 -jar ../target/dapnet-proxy-1.1.1-SNAPSHOT-jar-with-dependencies.jar db0abc.properties" |
StandardOutput=null | StandardOutput=null | ||
StandardError=null | StandardError=null |