<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2368&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / <Solved> [Ascii] Problem with AptCacherNg]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2368</link>
		<description><![CDATA[The most recent posts in <Solved> [Ascii] Problem with AptCacherNg.]]></description>
		<lastBuildDate>Sun, 23 Sep 2018 17:31:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11986#p11986</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>The way I would have done it it to make all systems that act as servers have a fixed IP address. Then systems connecting to them can use that IP address (preferably an entry in /etc/hosts).</p><p>First check what range of addresses your DHCP server can hand out (eg 192.168.1.2 to 192.168.1.200). Then give the server an IP address that&#039;s not in that range. You get problems if two systems try to use the same IP address.</p><p>Or configure the DHCP server to give the relevant system a fixed IP address.</p><p>You may not need this advice now, but someone else might find it useful.</p><p>Chris</p></div></blockquote></div><p>Hi<br />Thanks<br />But I believe there was some defect in wicd!</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sun, 23 Sep 2018 17:31:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11986#p11986</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11982#p11982</link>
			<description><![CDATA[<p>The way I would have done it it to make all systems that act as servers have a fixed IP address. Then systems connecting to them can use that IP address (preferably an entry in /etc/hosts).</p><p>First check what range of addresses your DHCP server can hand out (eg 192.168.1.2 to 192.168.1.200). Then give the server an IP address that&#039;s not in that range. You get problems if two systems try to use the same IP address.</p><p>Or configure the DHCP server to give the relevant system a fixed IP address.</p><p>You may not need this advice now, but someone else might find it useful.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 23 Sep 2018 16:02:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11982#p11982</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11978#p11978</link>
			<description><![CDATA[<p>Solved, at last:</p><p>On Devuan Apt-cache-ng Sever:</p><div class="codebox"><pre><code>apt install network-manager-gnome
apt remove wicd
apt autoremove</code></pre></div><p>All is well that ends well... <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thankyou all for your kind input!</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sun, 23 Sep 2018 14:36:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11978#p11978</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11977#p11977</link>
			<description><![CDATA[<p>Adding:</p><p>6. Theres also another difference in the two configurations, as I can explore:<br />a. In Debian I have by default installed: network-manager<br />b. In Devuan I have by default installed: wicd</p><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sun, 23 Sep 2018 14:21:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11977#p11977</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11976#p11976</link>
			<description><![CDATA[<p>Adding to above:</p><p>5. From the same machine ie vmdevuanr1:</p><div class="codebox"><pre><code>ping -c2 vmdevuanr1</code></pre></div><p>... Works</p><div class="codebox"><pre><code>host vmdevuanr1</code></pre></div><p>... Fails</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sun, 23 Sep 2018 14:09:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11976#p11976</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11951#p11951</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>To make it work the client needs to know what IP address vmdevuanr1 has. The server will know it&#039;s own IP address, probably as 127.0.0.1, so it will work there. The client needs to either have it edited into /etc/hosts when necessary (tedious manual work) or to be able to look it up in DNS.</p><p>What does /etc/resolv.conf contain? Mine contains:</p><div class="codebox"><pre><code>nameserver 192.168.1.1</code></pre></div><p>Which tells the system to ask my internet router (at 192.168.1.1) to resolve IP addresses. Try using your router as a DNS server as well as DHCP server. If it&#039;s already your DNS server look at it&#039;s admin screens to see if there&#039;s an option for it to resolve addresses it&#039;s handed out by DHCP. Or you may need to add a suffix to vmdevuanr1 in /etc/apt/apt.conf.d/proxy</p><p>Chris</p></div></blockquote></div><p>Hi<br />1. Both my client and server contain:</p><div class="codebox"><pre><code>nameserver 192.168.1.1</code></pre></div><p>2. But under the same configuration; the debian server is giving the service: do I need to probe into the Router? </p><div class="quotebox"><blockquote><div><p>My Router has only two fields in DNS tab:<br />Enable DDNS&#160; &#160; &#160;(Default disable)<br />DDNS Service Provider&#160; &#160; &#160;(dyndns.org) <br />I dont know much about Networking; but nothing else seems to have DNS settings etc!</p></div></blockquote></div><p>3. If you are running the same service via apt-cacher-ng; does it works for your client machines?</p><p>4. The ping and host commands work for both my debian machines!</p><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sat, 22 Sep 2018 16:51:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11951#p11951</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11949#p11949</link>
			<description><![CDATA[<p>To make it work the client needs to know what IP address vmdevuanr1 has. The server will know it&#039;s own IP address, probably as 127.0.0.1, so it will work there. The client needs to either have it edited into /etc/hosts when necessary (tedious manual work) or to be able to look it up in DNS.</p><p>What does /etc/resolv.conf contain? Mine contains:</p><div class="codebox"><pre><code>nameserver 192.168.1.1</code></pre></div><p>Which tells the system to ask my internet router (at 192.168.1.1) to resolve IP addresses. Try using your router as a DNS server as well as DHCP server. If it&#039;s already your DNS server look at it&#039;s admin screens to see if there&#039;s an option for it to resolve addresses it&#039;s handed out by DHCP. Or you may need to add a suffix to vmdevuanr1 in /etc/apt/apt.conf.d/proxy</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sat, 22 Sep 2018 16:07:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11949#p11949</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11943#p11943</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>Presumably, as implied by your initial note &quot;<em>... It worked fine in Debian</em>.&quot;, you are also running a DHCP/DNS service combination, such that the DHCP server upon serving an IP for <span class="bbc">vmdevuanr1</span> registers that host name appropriately with the DNS service, so that other hosts should be able to resolve it? Which DHCP/DNS service combination are you using?</p></div></blockquote></div><p>Hi<br />It is a simple internet DHCP router. I am using it in default, no such special configurations!</p><p>Actually I tested this all system, and had no issue in Debian. So I went on to test on Devuan.</p><p>I also tested one more configuration: use apt-chacher-ng for the server access to the media. Strangely, for server itself, it works, for both Debian and Devuan! But for devuan client to server fails. <img src="http://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sat, 22 Sep 2018 10:41:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11943#p11943</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11941#p11941</link>
			<description><![CDATA[<p>Presumably, as implied by your initial note &quot;<em>... It worked fine in Debian</em>.&quot;, you are also running a DHCP/DNS service combination, such that the DHCP server upon serving an IP for <span class="bbc">vmdevuanr1</span> registers that host name appropriately with the DNS service, so that other hosts should be able to resolve it? Which DHCP/DNS service combination are you using?</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 22 Sep 2018 09:15:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11941#p11941</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11939#p11939</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>Try <span class="bbc">ping vmdevuanr1</span> and <span class="bbc">host vmdevuanr1</span> on the system you ran apt update on.<br />(The &quot;Could not resolve &#039;vmdevuanr1&#039;&quot; message sounds as if it is the key problem.)</p><p>Chris</p></div></blockquote></div><p>Hi<br />ping vmdevuanr1</p><div class="codebox"><pre><code>ping: vmdevaunr1: Name or service not known</code></pre></div><p>host vmdevuanr1</p><div class="codebox"><pre><code>Host vmdevaunr1 not found: 3(NXDOMAIN)</code></pre></div><p>@neutron_stz: Actually I want it to be not hardbinded, as I am using a dhcp server. As IP changes, then I have to re-edit again!</p><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sat, 22 Sep 2018 07:35:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11939#p11939</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11877#p11877</link>
			<description><![CDATA[<p>add following line to clients <strong>/etc/hosts</strong> file:</p><div class="codebox"><pre><code>192.168.15.235 vmdevuanr1</code></pre></div><p>and try again with hostname instead of ip</p>]]></description>
			<author><![CDATA[dummy@example.com (neutron_stz)]]></author>
			<pubDate>Wed, 19 Sep 2018 06:02:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11877#p11877</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11862#p11862</link>
			<description><![CDATA[<p>Try <span class="bbc">ping vmdevuanr1</span> and <span class="bbc">host vmdevuanr1</span> on the system you ran apt update on.<br />(The &quot;Could not resolve &#039;vmdevuanr1&#039;&quot; message sounds as if it is the key problem.)</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Tue, 18 Sep 2018 16:22:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11862#p11862</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11854#p11854</link>
			<description><![CDATA[<p>Hi</p><p>My other settings are:</p><p>Client Machine:</p><div class="codebox"><pre><code>cat /etc/apt/apt.conf.d/proxy
#Acquire::http { Proxy &quot;http://192.168.15.235:3142&quot;; }
#Acquire::http { Proxy &quot;http://vmdevuanr1:3142&quot;; }
Acquire::http { Proxy &quot;http://vmdevuanr1:3142&quot;; }</code></pre></div><p>... It works with the static address only!</p><p>Output of apt update is by using:</p><div class="codebox"><pre><code>apt update &amp;&gt; output.txt</code></pre></div><div class="codebox"><pre><code>WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Err:1 http://packages.devuan.org/merged ascii InRelease
  Could not resolve &#039;vmdevuanr1&#039;
Err:2 http://auto.mirror.devuan.org/merged ascii-security InRelease
  Could not resolve &#039;vmdevuanr1&#039;
Err:3 http://auto.mirror.devuan.org/merged ascii-updates InRelease
  Could not resolve &#039;vmdevuanr1&#039;
Err:4 http://auto.mirror.devuan.org/merged ascii InRelease
  Could not resolve &#039;vmdevuanr1&#039;
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
W: Failed to fetch http://auto.mirror.devuan.org/merged/dists/ascii-security/InRelease  Could not resolve &#039;vmdevuanr1&#039;
W: Failed to fetch http://auto.mirror.devuan.org/merged/dists/ascii-updates/InRelease  Could not resolve &#039;vmdevuanr1&#039;
W: Failed to fetch http://auto.mirror.devuan.org/merged/dists/ascii/InRelease  Could not resolve &#039;vmdevuanr1&#039;
W: Failed to fetch http://packages.devuan.org/merged/dists/ascii/InRelease  Could not resolve &#039;vmdevuanr1&#039;
W: Some index files failed to download. They have been ignored, or old ones used instead.</code></pre></div><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Tue, 18 Sep 2018 12:38:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11854#p11854</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11834#p11834</link>
			<description><![CDATA[<div class="quotebox"><cite>neutron_stz wrote:</cite><blockquote><div><p>post contents of <strong>/etc/hostname</strong> and <strong>/etc/hosts</strong></p></div></blockquote></div><p>Hi<br />Server Files:</p><div class="codebox"><pre><code>1. 
vmdevuanr1
2.
127.0.0.1	localhost
127.0.1.1	vmdevuanr1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters</code></pre></div><p>Client Files:</p><div class="codebox"><pre><code>1.
vmdevuanbeta
2.
127.0.0.1	localhost
127.0.1.1	vmdevuanbeta

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters</code></pre></div><p>Thankyou</p>]]></description>
			<author><![CDATA[dummy@example.com (makh)]]></author>
			<pubDate>Sun, 16 Sep 2018 23:49:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11834#p11834</guid>
		</item>
		<item>
			<title><![CDATA[Re: <Solved> [Ascii] Problem with AptCacherNg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11819#p11819</link>
			<description><![CDATA[<p>post contents of <strong>/etc/hostname</strong> and <strong>/etc/hosts</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (neutron_stz)]]></author>
			<pubDate>Sun, 16 Sep 2018 08:28:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11819#p11819</guid>
		</item>
	</channel>
</rss>
