[PLDWWW] page changed: docs:man:installing_pld_linux_based_on_rescue_cd
"Arkadiusz Miśkiewicz (arekm)"
arekm at pld-linux.org
Mon Jan 21 19:30:58 CET 2019
[Network configuration]
--- https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548094749
+++ https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548095458
@@ -31,27 +31,47 @@
</file>
If more partitions are going to be used (like you want to have separate /boot or /home) then these need to be mounted now, too.
===== Network configuration =====
- ''RescueCd'' should configure (using DHCP) our network automatically during a boot process. If DHCP is not present, We need to do it manually. Let's assume We want to set IP to 192.168.0.2. **/etc/sysconfig/interfaces/ifcfg-eth0** should looks like:
+
+ RescueCD and installed PLD system will use the same way of configuring network.
+
+ By default both try to use DHCP to automatically configure network interface during a boot process.
+ If that works for you you don't need to do anything.
+
+ If manual configuration is required then configure networking using files below.
+
+ ==== eth0 interface configuration: /etc/sysconfig/interfaces/ifcfg-eth0 ====
+
+ Assume you want 192.168.0.2 with /24 network (CIRD notation is preferred)
<file>DEVICE=eth0
- IPADDR=192.168.0.2
+ IPADDR=192.168.0.2/24
ONBOOT=yes
BOOTPROTO=none
</file>
- In file **/etc/sysconfig/static-routes** We added route to gateway (ex.: 10.0.0.254):
- <file>eth0 default via 10.0.0.254
- </file>
- In file **/etc/resolv.conf** we add at least one adress of DNS server:
+ ==== Default gateway and default gateway interface configuration: /etc/sysconfig/network ====
- <file>nameserver 193.192.160.243
- </file>
- In the end We need to reload network configuration:
+ enable networking, ipv4 networking, set default gateway and interface which should be used to reach geteway:
- <file># service network restart
- </file>
+ <file>
+ NETWORKING=yes
+ IPV4_NETWORKING=yes
+ GATEWAY=192.168.0.254
+ GATEWAYDEV=eth0
+ <file>
+
+ ==== DNS resolver IP addresses configuration: /etc/resolv.conf ====
+
+ Add default nameservers:
+
+ <file>nameserver 1.1.1.1
+ nameserver 8.8.8.8</file>
+
+ === Reload network ===
+
+ <file># service network restart</file>
===== Poldek's configuration =====
In file **/etc/poldek/repos.d/pld.conf** We need to set **_arch = ** to chosen architecture ex.
Diff URL:
https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?do=diff&r1=1548094749&r2=1548095458
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list