Tiny Core Extensions > TCE Q&A Forum

Setting up distcc

<< < (3/6) > >>

polikuo:

--- Quote from: Rich on January 25, 2022, 10:26:30 AM ---Hi polikuo

Just wanted to point out,  --allow 192.168.0.0/23  is the same as  --allow 192.168.0.0/24 --allow 192.168.1.0/24.

Also, the man page mentions a predefined option for private networks (LAN):

--- Quote -----allow-private
Allow private networks (10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, and
127.0.0.0/8).
--- End quote ---

--- End quote ---

Hi Rich
Thanks for the input
However, when I try this out, it reports error.

--- Code: ---$ distccd --daemon --allow-private --verbose --log-file=/var/log/distccd.log
distccd[4901] (dcc_parse_mask) ERROR: can't parse internet address "fe80::"
--- End code ---
I could't find the --allow-private option with distccd --help
Perhaps there are some internal bugs to be fixes by the developers.
I'll add these values to the tce.installed script manually.

Rich:
Hi polikuo

--- Quote from: polikuo on January 25, 2022, 11:52:37 AM --- ...
--- Code: ---$ distccd --daemon --allow-private --verbose --log-file=/var/log/distccd.log
distccd[4901] (dcc_parse_mask) ERROR: can't parse internet address "fe80::"
--- End code ---
...
--- End quote ---
That  "fe80::"  is IPv6 notation. If you comment out the  IPv6  lines in  /e tc/hosts  I think that error will go away.

Or maybe installing  ipv6-netfilter  would fix that too.

polikuo:

--- Quote from: Rich on January 25, 2022, 12:07:17 PM ---That  "fe80::"  is IPv6 notation. If you comment out the  IPv6  lines in  /etc/hosts  I think that error will go away.
--- End quote ---

Hi Rich
I don't see "fe80::" anywhere in /etc/hosts

--- Code: ---127.0.0.1 pi3 localhost localhost.local

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
--- End code ---


--- Quote from: Rich on January 25, 2022, 12:07:17 PM ---Or maybe installing  ipv6-netfilter  would fix that too.

--- End quote ---
Nope, same result.

Guess I'll just stick with manual configuration.

Rich:
Hi polikuo
Yes, comment out those 6  ip6-  lines.

polikuo:

--- Quote from: Rich on January 25, 2022, 12:51:25 PM ---Hi polikuo
Yes, comment out those 6  ip6-  lines.

--- End quote ---
Nope, not this one.
Tried both your ideas.
If only people invented IPv6 in the first place, we won't have to deal with this.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version