<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tucnak.nagano.cz/wiki/index.php?action=history&amp;feed=atom&amp;title=Ax25d_patch</id>
	<title>Ax25d patch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tucnak.nagano.cz/wiki/index.php?action=history&amp;feed=atom&amp;title=Ax25d_patch"/>
	<link rel="alternate" type="text/html" href="https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;action=history"/>
	<updated>2026-04-29T17:11:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1280&amp;oldid=prev</id>
		<title>Ok1zia at 10:36, 3 January 2010</title>
		<link rel="alternate" type="text/html" href="https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1280&amp;oldid=prev"/>
		<updated>2010-01-03T10:36:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:36, 3 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  19018 ?        Ss     0:00 /usr/bin/ax25d -l -n&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  19018 ?        Ss     0:00 /usr/bin/ax25d -l -n&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Patched source is here: [[File:ax25d-zia.c]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Patched source is here: [[File:ax25d-zia.c]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and patch [[File:ax25d-zia.diff]]. All is against ax25d from ax25-tools 0.0.8.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ok1zia</name></author>
	</entry>
	<entry>
		<id>https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1278&amp;oldid=prev</id>
		<title>Ok1zia at 10:33, 3 January 2010</title>
		<link rel="alternate" type="text/html" href="https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1278&amp;oldid=prev"/>
		<updated>2010-01-03T10:33:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:33, 3 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  19018 ?        Ss     0:00 /usr/bin/ax25d -l -n&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  19018 ?        Ss     0:00 /usr/bin/ax25d -l -n&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Patched source is here: [[ax25d-zia.c]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Patched source is here: [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;File:&lt;/ins&gt;ax25d-zia.c]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ok1zia</name></author>
	</entry>
	<entry>
		<id>https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1275&amp;oldid=prev</id>
		<title>Ok1zia: Created page with &#039;On OK0NAG, the ax25 after some days crashed. In this article you can find workaround.  Ax25d exited with these lines in /var/log/syslog:   Dec 30 23:49:07 nagano ax25d[680]: AX.2...&#039;</title>
		<link rel="alternate" type="text/html" href="https://tucnak.nagano.cz/wiki/index.php?title=Ax25d_patch&amp;diff=1275&amp;oldid=prev"/>
		<updated>2010-01-03T10:28:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;On OK0NAG, the ax25 after some days crashed. In this article you can find workaround.  Ax25d exited with these lines in /var/log/syslog:   Dec 30 23:49:07 nagano ax25d[680]: AX.2...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;On OK0NAG, the ax25 after some days crashed. In this article you can find workaround.&lt;br /&gt;
&lt;br /&gt;
Ax25d exited with these lines in /var/log/syslog:&lt;br /&gt;
&lt;br /&gt;
 Dec 30 23:49:07 nagano ax25d[680]: AX.25 OK1HMP-0 (ax0) client&lt;br /&gt;
 Dec 30 23:49:07 nagano ax25d[718]: AX.25 OK1HMP-0 (ax0) client&lt;br /&gt;
 Dec 30 23:49:07 nagano ax25d[17984]: accept error Software caused connection abort, closing socket on port ax0&lt;br /&gt;
&lt;br /&gt;
I looked into source code and found this code:&lt;br /&gt;
&lt;br /&gt;
                i = TRUE;&lt;br /&gt;
                ioctl(paxl-&amp;gt;fd, FIONBIO, &amp;amp;i);&lt;br /&gt;
 &lt;br /&gt;
                addrlen = sizeof(struct full_sockaddr_ax25);&lt;br /&gt;
                new = accept(paxl-&amp;gt;fd, (struct sockaddr *)&amp;amp;sockaddr, &amp;amp;addrlen);&lt;br /&gt;
 &lt;br /&gt;
                i = FALSE;&lt;br /&gt;
                ioctl(paxl-&amp;gt;fd, FIONBIO, &amp;amp;i);&lt;br /&gt;
 &lt;br /&gt;
                if (new &amp;lt; 0) {&lt;br /&gt;
                    if (errno == EWOULDBLOCK)&lt;br /&gt;
                        continue;   /* It&amp;#039;s gone ??? */&lt;br /&gt;
 &lt;br /&gt;
                    if (Logging)&lt;br /&gt;
                        syslog(LOG_ERR, &amp;quot;accept error %m, closing socket on port %s&amp;quot;, paxl-&amp;gt;port);&lt;br /&gt;
                    close(paxl-&amp;gt;fd);&lt;br /&gt;
                    paxl-&amp;gt;fd = -1;&lt;br /&gt;
                    continue;&lt;br /&gt;
                }&lt;br /&gt;
&lt;br /&gt;
Problem is in accept, which returns error. I don&amp;#039;t know why. I think If I would ignore it, the deamon can stay in endless loop. I&amp;#039;ve found (hopefully) better solution - the daemon will not fork. When this error occurs, it exites and will be respawned again. It must be removed from init scripts:&lt;br /&gt;
&lt;br /&gt;
 update-rc.d -f ax25d remove&lt;br /&gt;
&lt;br /&gt;
Simplest way to respawn it is init. Add similar line to /etc/inittab:&lt;br /&gt;
 &lt;br /&gt;
 9:23:respawn:/usr/bin/zax25d -l -n&lt;br /&gt;
&lt;br /&gt;
And tell about change:&lt;br /&gt;
 telinit q&lt;br /&gt;
&lt;br /&gt;
Check if process is running:&lt;br /&gt;
 # ps xa|grep ax25&lt;br /&gt;
 19018 ?        Ss     0:00 /usr/bin/ax25d -l -n&lt;br /&gt;
&lt;br /&gt;
Patched source is here: [[ax25d-zia.c]]&lt;/div&gt;</summary>
		<author><name>Ok1zia</name></author>
	</entry>
</feed>