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:29] dh3wr [PR430] |
pr430 [2018/04/18 20:52] (aktuell) dh3wr [Automated start of the DAPNET-Proxy] |
||
---|---|---|---|
Zeile 162: | Zeile 162: | ||
<code>sudo kissattach /dev/ttyUSB0 ax0</code> | <code>sudo kissattach /dev/ttyUSB0 ax0</code> | ||
- | If you type now <code>ifconfig</config> you should see a network device with name **ax0**. | + | If you type now <code>ifconfig</code> you should see a network device with name **ax0**. |
Try to connect via KISS and AX.25 to your PR430 or RPC. | Try to connect via KISS and AX.25 to your PR430 or RPC. | ||
- | <code>axcall -s db0abc ax0 db0abc-7</code> | + | <code>axcall -s db0abc-12 ax0 db0abc-7</code> |
You should see the command line interface of the POCSAG software running on your PR430 or RPC. If not done already, now it's the time to do (and store**(!)**) some settings on the PR430. | You should see the command line interface of the POCSAG software running on your PR430 or RPC. If not done already, now it's the time to do (and store**(!)**) some settings on the PR430. | ||
* Set the master callsign to db0abc-12 | * Set the master callsign to db0abc-12 | ||
Zeile 201: | Zeile 201: | ||
</file> | </file> | ||
Restart the xinetd daemon with | Restart the xinetd daemon with | ||
- | <code>sudo sytemctl restart xinetd.service</code> | + | <code>sudo systemctl restart xinetd.service</code> |
Try if the connection and conversion is working: | Try if the connection and conversion is working: | ||
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 |