about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-28 00:11:40 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-28 00:11:40 +0100
commit472ca33970763bee862ebedc4d56a4d3745eedbc (patch)
tree6762980fec3c184d92edcae798965ddc68eb0ddb
parentd859a055c1a9165274efb8c726575e2521221303 (diff)
parent57fbc5160c9a48b288974e0bc09ea72df949a1b3 (diff)
downloaddoc-472ca33970763bee862ebedc4d56a4d3745eedbc.tar.gz
Merge branch 'f-core-net' into develop
-rw-r--r--core/conf/hosts4
-rwxr-xr-xcore/conf/rc.d/net4
-rw-r--r--core/configure.html21
-rw-r--r--core/index.html6
-rw-r--r--core/network.html69
5 files changed, 56 insertions, 48 deletions
diff --git a/core/conf/hosts b/core/conf/hosts
index 2fb89fb..5c64924 100644
--- a/core/conf/hosts
+++ b/core/conf/hosts
@@ -3,10 +3,10 @@
 #
 
 # IPv4
-127.0.0.1	localhost c9
+127.0.0.1	localhost.localdomain localhost c9
 
 #<ip-address>	<hostname.domain.org>	<aliases>
-#192.168.1.9	c9.example.org
+10.0.0.1	core.privat-network.net c9.core
 
 # IPv6
 #::1		ip6-localhost	ip6-loopback
diff --git a/core/conf/rc.d/net b/core/conf/rc.d/net
index d111a25..117667b 100755
--- a/core/conf/rc.d/net
+++ b/core/conf/rc.d/net
@@ -9,9 +9,9 @@ TYPE="static"
 # For "static" connections, specify your settings here:
 # To see your available devices run "ip link".
 DEV=enp8s0
-ADDR=192.168.1.33
+ADDR=10.0.0.1
 MASK=24
-GW=192.168.1.1
+GW=10.0.0.1
 
 # Optional settings:
 DHCPOPTS="-h $(/bin/hostname) -C resolv.conf $DEV"
diff --git a/core/configure.html b/core/configure.html
index 724b12f..f604f9c 100644
--- a/core/configure.html
+++ b/core/configure.html
@@ -59,14 +59,21 @@
         with core.privat-server.net pointing to c9 host;</p>
 
         <pre>
-        #
-        # /etc/hosts: static lookup table for host names
-        #
-
         # IPv4
-        127.0.0.1	localhost c9
-        #<ip-address>	<hostname.domain.org>	<aliases>
-        # 192.168.1.9	core.privat-server.net
+        127.0.0.1	localhost.localdomain localhost c9
+
+        #&lt;ip-address&gt;	&lt;hostname.domain.org&gt;	&lt;aliases&gt;
+        10.0.0.1	core.privat-network.net c9.core
+
+        # IPv6
+        #::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 of file
         </pre>
 
         <h2 id="time">1.2.2. Set timezone</h2>
diff --git a/core/index.html b/core/index.html
index 1200ca6..d3eff38 100644
--- a/core/index.html
+++ b/core/index.html
@@ -72,9 +72,9 @@
         <ul>
             <li><a href="network.html">2.1. Network</a>
                 <ul>
-                    <li><a href="network.html#iptables">2.1.1. Iptables</a></li>
-                    <li><a href="network.html#resolv">2.1.2. Resolver</a></li>
-                    <li><a href="network.html#static">2.1.3. Static ip</a></li>
+                    <li><a href="network.html#resolv">2.1.1. Resolver</a></li>
+                    <li><a href="network.html#static">2.1.2. Static ip</a></li>
+                    <li><a href="network.html#iptables">2.1.3. Iptables</a></li>
                     <li><a href="network.html#wpa">2.1.4. Wpa and dhcpd</a></li>
                     <li><a href="network.html#sysctl">2.1.5. Sysctl</a></li>
                 </ul>
diff --git a/core/network.html b/core/network.html
index 04f1266..9f2477e 100644
--- a/core/network.html
+++ b/core/network.html
@@ -27,7 +27,41 @@
 	one of above described scripts then proceed to upgrade your
 	system.</p>
 
-	<h2 id="iptables">2.1.1. Iptables</h2>
+        <h2 id="resolv">2.1.1. Resolver</h2>
+
+        <p>Configure your resolver with a server that don't censorship there for
+        respect your freedom and privacy. Read
+        <a href="https://trac.torproject.org/projects/tor/wiki/doc/DnsResolver/PublicDnsResolvers#PublicDNSServers">Tor Dns Resolver</a>
+        for more information. This example will use
+        <a href="http://www.chaoscomputerclub.de/en/censorship/dns-howto">Chaos Computer Club</a>
+        server, edit /etc/resolv.conf and make it immutable;</p>
+
+        <pre>
+        # /etc/resolv.conf.head can replace this line
+        nameserver 213.73.91.35
+        # /etc/resolv.conf.tail can replace this line
+        </pre>
+
+        <pre>
+        # chattr +i /etc/resolv.conf
+        </pre>
+
+        <h2 id="static">2.1.2. Static IP</h2>
+
+        <pre>
+        # ip link
+        # ip addr flush dev ${DEV}
+        # ip route flush dev ${DEV}
+        </pre>
+
+        <pre>
+        # ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast +
+        # ip link set ${DEV} up
+        # ip route add default via ${GW}
+        </pre>
+
+
+	<h2 id="iptables">2.1.3. Iptables</h2>
 
         <p>For more information about iptables read
         <a href="https://wiki.archlinux.org/index.php/Iptables">arch wiki</a>.
@@ -65,39 +99,6 @@
         </pre>
 
         <p>
-        <h2 id="resolv">2.1.2. Resolver</h2>
-
-        <p>Configure your resolver with a server that don't censorship there for
-        respect your freedom and privacy. Read
-        <a href="https://trac.torproject.org/projects/tor/wiki/doc/DnsResolver/PublicDnsResolvers#PublicDNSServers">Tor Dns Resolver</a>
-        for more information. This example will use
-        <a href="http://www.chaoscomputerclub.de/en/censorship/dns-howto">Chaos Computer Club</a>
-        server, edit /etc/resolv.conf and make it immutable;</p>
-
-        <pre>
-        # /etc/resolv.conf.head can replace this line
-        nameserver 213.73.91.35
-        # /etc/resolv.conf.tail can replace this line
-        </pre>
-
-        <pre>
-        # chattr +i /etc/resolv.conf
-        </pre>
-
-        <h2 id="static">2.1.3. Static IP</h2>
-
-        <pre>
-        # ip link
-        # ip addr flush dev ${DEV}
-        # ip route flush dev ${DEV}
-        </pre>
-
-        <pre>
-        # ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast +
-        # ip link set ${DEV} up
-        # ip route add default via ${GW}
-        </pre>
-
 
         <h2 id="wpa">2.1.4. Wpa and dhcpd</h2>
 
2009-12-07 01:23:19 +0100 version 0.8.5: added Nimrod version of the compiler' href='/ahoang/Nim/commit/rod/ccgutils.nim?h=devel&id=e254741541b0389dfb0b675116c76a6a144b90b7'>e25474154 ^
90db9171a ^
e25474154 ^
5f2d930a5 ^
7a249eb8c ^
e25474154 ^

90db9171a ^





















8aa4e4670 ^

7b4560337 ^











8d734244b ^
e25474154 ^





5f2d930a5 ^
e25474154 ^



8d734244b ^
e25474154 ^



0f0dfd637 ^





e25474154 ^
8d734244b ^
e25474154 ^




e25474154 ^
033e3dfc5 ^
0f0dfd637 ^

e25474154 ^
0f0dfd637 ^
e25474154 ^






8d734244b ^

e25474154 ^
033e3dfc5 ^
0f0dfd637 ^

e25474154 ^









8d734244b ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198