aboutsummaryrefslogtreecommitdiffstats
path: root/core/network.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-08 21:36:43 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-08 21:36:43 +0000
commitfe8a27dbed462a55c7f5cdfd993664abb07ce997 (patch)
tree46816b5bad7afd4092f7510dace0ef2104f6d275 /core/network.html
parent4d7fb876df126a17b4e3e80644d54460b6eac3b2 (diff)
downloaddoc-fe8a27dbed462a55c7f5cdfd993664abb07ce997.tar.gz
core network revision
Diffstat (limited to 'core/network.html')
-rw-r--r--core/network.html44
1 files changed, 33 insertions, 11 deletions
diff --git a/core/network.html b/core/network.html
index e1b590d..c14f3db 100644
--- a/core/network.html
+++ b/core/network.html
@@ -9,23 +9,45 @@
<h1>2. Network</h1>
- <p>Examples describe a network that will be configured with
- two interfaces Ethernet and Wireless. Ethernet interface will
- be configured as default route, wireless interface covered here
- is simple alternative to Ethernet connection.</p>
+ <p>Operation of the network can be handle with init scripts;</p>
<dl>
+ <dt><a href="conf/rc.d/iptables">/etc/rc.d/iptables</a></dt>
+ <dd>Configure iptables, start option loads set of rules from
+ file /etc/iptables/rules_file_name, open option allows everything
+ to outside and blocks everything from outside, stop will block
+ and log everything.</dd>
<dt><a href="conf/rc.d/net">/etc/rc.d/net</a></dt>
- <dd>Configure Ethernet interface and static or dynamic (dhcp)
- connection to the router and add as default gateway.</dd>
+ <dd>Configure Ethernet interface with static or dynamic (dhcp)
+ IP, set default route and add default gateway.</dd>
<dt><a href="conf/rc.d/wlan">/etc/rc.d/wlan</a></dt>
- <dd>Configure Wireless interface, wpa_supplicant and dynamic (dhcp)
+ <dd>Configure Wireless interface, launch wpa_supplicant to handle
+ wireless authenticationand dynamic (dhcp)
connection to router and add as default gateway.</dd>
</dl>
- <p>If is first boot after install configure iptables and
- one of above described scripts then proceed to upgrade your
- system.</p>
+ <p>Choose wireless or net as connection to outside world and configure
+ <a href="conf/rc.conf">/etc/rc.conf</a> to run at startup, example
+ connecting using wireless interface;</p>
+
+ <pre>
+ #
+ # /etc/rc.conf: system configuration
+ #
+
+ FONT=default
+ KEYMAP=dvorak
+ TIMEZONE="Europe/Lisbon"
+ HOSTNAME=c9
+ SYSLOG=sysklogd
+ SERVICES=(lo iptables wlan crond)
+
+ # End of file
+ </pre>
+
+ <p>If is first boot after install configure iptables and one of above
+ described scripts then proceed to
+ <a href="package.html#sysup">update system.</a></p>
<h2 id="resolv">2.1.1. Resolver</h2>
@@ -90,7 +112,7 @@
# ip route add default via ${GW}
</pre>
- <h2 id="iptables">2.1.3. Iptables</h2>
+ <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>.