{"id":3,"date":"2005-03-31T11:53:46","date_gmt":"2005-03-31T09:53:46","guid":{"rendered":"http:\/\/bjoern-b.de\/wordpress\/?p=3"},"modified":"2005-04-03T22:18:59","modified_gmt":"2005-04-03T20:18:59","slug":"setting-up-an-aprsd","status":"publish","type":"post","link":"https:\/\/www.bjoern-b.de\/wordpress\/?p=3","title":{"rendered":"Setting up an aprsd"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_3 social_share_privacy clearfix 1.6.4 locale-de_DE sprite-de_DE\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_3')){$('.twoclick_social_bookmarks_post_3').socialSharePrivacy({\"txt_help\":\"Wenn Sie diese Felder durch einen Klick aktivieren, werden Informationen an Facebook, Twitter, Flattr, Xing, t3n, LinkedIn, Pinterest oder Google eventuell ins Ausland \\u00fcbertragen und unter Umst\\u00e4nden auch dort gespeichert. N\\u00e4heres erfahren Sie durch einen Klick auf das <em>i<\\\/em>.\",\"settings_perma\":\"Dauerhaft aktivieren und Daten\\u00fcber-tragung zustimmen:\",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/www.bjoern-b.de\\\/wordpress\\\/?p=3\",\"post_id\":3,\"post_title_referrer_track\":\"Setting+up+an+aprsd\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>The first thing to do is to set up an ax25 device under Linux. I decided to use the Kiss modus of my TNC21S. With Gentoo you will need <!--more-->media-radio\/ax25-tools and media-radio\/ax25-apps.<br \/>\nBecause my knowledge of setting up ax25 devices is only very basic, I used <a href=\"http:\/\/1409.linkt.de\/projects\/ax25-config.html\">ax25-config<\/a> to create the config files and start-scripts.<br \/>\nHere is a little overview of the needed files:<br \/>\n \/etc\/ax25\/axports<\/p>\n<blockquote><p>\n#Name   Call            Baudrate        PacLen  MaxFrame        Beschreibung<br \/>\nkiss0   DO2BBA-2        9600            256     4               kiss-9600 Bd\n<\/p><\/blockquote>\n<p>\/etc\/ax25\/ax25-up<\/p>\n<blockquote><p>\n#!\/bin\/bash<br \/>\n# Version = ax25-config-0.3.3<br \/>\n# Startkiss0<br \/>\n# Firmware-TNCs in den KISS-Modus schalten<br \/>\nstty 9600 < \/dev\/ttyS1\necho -e \"\\r\\033@K1\\r\" > \/dev\/ttyS1<br \/>\nsleep 3<br \/>\n#<br \/>\n# KISS-Modul einbinden<br \/>\nmodprobe ax25; modprobe mkiss<br \/>\n#<br \/>\n# KISS-Ger\\ufffft an \/dev\/ttyS1 als Port kiss0 anbinden<br \/>\n\/usr\/sbin\/kissattach \/dev\/ttyS1 kiss0 192.168.1.1<br \/>\n# Parameter einstellen: P=128, W=10, TX-Delay=150<br \/>\n\/usr\/sbin\/kissparms -p kiss0 -r 128 -s 10 -l 20 -t 150<br \/>\necho 1000 > \/proc\/sys\/net\/ax25\/ax0\/t1_timeout<br \/>\necho 300 > \/proc\/sys\/net\/ax25\/ax0\/t2_timeout<br \/>\necho 300000 > \/proc\/sys\/net\/ax25\/ax0\/t3_timeout<br \/>\necho 10 > \/proc\/sys\/net\/ax25\/ax0\/maximum_retry_count<br \/>\necho 4 > \/proc\/sys\/net\/ax25\/ax0\/standard_window_size<br \/>\necho 256 > \/proc\/sys\/net\/ax25\/ax0\/maximum_packet_length<br \/>\n# Endkiss0\n<\/p><\/blockquote>\n<p>After executing \/etc\/ax25\/ax25-up your new kiss0 device should be up and running. You can check it with ifconfig. Also have a look at your tty11 where all incoming packets are monitored.<br \/>\nNow we&#8217;re ready to set up the aprsd. First download it from <a href=\"http:\/\/sourceforge.net\/projects\/aprsd\/\">http:\/\/sourceforge.net\/projects\/aprsd\/<\/a>. Unpack it to \/home\/aprsd or whatever you like. Compile it with .\/configure &#038;&#038; make &#038;&#038; make install.<br \/>\nThe only file that has to be edited is admin\/aprsd.conf:<\/p>\n<blockquote><p>\nservercall DO2BBA-3<br \/>\nMyCall DO2BBA-3<br \/>\nMyLocation Oer-Erkenschwick<br \/>\nMyEmail bjoern@bjoern-b.de<br \/>\nMaxUsers 150<br \/>\nMaxLoad 100000000000<br \/>\nackrepeats 2<br \/>\nackrepeattime 5<br \/>\nexpire 35<br \/>\ntncport kiss0<br \/>\ntncbaud 9600<br \/>\naprspath APRS v DB0REC WIDE WIDE<br \/>\nrf-allow yes<br \/>\nfilterNoGate no<br \/>\nhistory-allow no<br \/>\nTrace no<br \/>\nlogAllRF yes<br \/>\naprsPass yes<br \/>\nTncPktSpacing 1500<br \/>\nigateMyCall no<br \/>\nConvertMicE no<br \/>\npass 18350<br \/>\nServer db0lj.dyndns.org 14579 server-sr<\/p>\n<p>rawtncport 14580<br \/>\nlocalport 14579<br \/>\nmainport 10151<br \/>\nmainport-nh 10152<br \/>\nlinkport 1313<br \/>\nmsgport 1314<br \/>\nudpport 1315<br \/>\nsysopPort 14500<br \/>\nhttpport 14501<br \/>\nipwatchport 14502<br \/>\nerrorport 14503<br \/>\nomniport 14600<\/p>\n<p>gate2rf DO2BBA*<br \/>\ngate2rf DG3YJB*<br \/>\ngate2rf DL2YED*\n<\/p><\/blockquote>\n<p>For a complete explanation of this file take a look at the original one.<br \/>\nTo start the aprsd server just cd into \/home\/aprsd\/admin\/ and run aprsd -d. Now just connect to the server by using xastir or ui-view on port 10151!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first thing to do is to set up an ax25 device under Linux. I decided to use the Kiss modus of my TNC21S. With Gentoo you will need<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3"}],"version-history":[{"count":0,"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bjoern-b.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}