# cd /etc/init.d
# ln -s netif.tmpl netif.eth0
# rc-update add netif.eth0 default
# echo template=dhcpcd > /etc/conf.d/netif.eth0
# rc (to start)
Делал так. Но почему то ругается.
rc
* Caching service dependencies ... [ ok ]
* You are attempting to run an openrc service on a
* system which openrc did not boot.
* You may be inside a chroot or you may have used
* another initialization system to boot this system.
* In this situation, you will get unpredictable results!
* If you really want to do this, issue the following command:
* touch /libexec/rc/init.d/softlevel
* ERROR: sysfs failed to start
* You are attempting to run an openrc service on a
* system which openrc did not boot.
* You may be inside a chroot or you may have used
* another initialization system to boot this system.
* In this situation, you will get unpredictable results!
* If you really want to do this, issue the following command:
* touch /libexec/rc/init.d/softlevel
* ERROR: dmesg failed to start
* ERROR: cannot start udev-mount as sysfs would not start
* You are attempting to run an openrc service on a
* system which openrc did not boot.
* You may be inside a chroot or you may have used
* another initialization system to boot this system.
* In this situation, you will get unpredictable results!
* If you really want to do this, issue the following command:
* touch /libexec/rc/init.d/softlevel
* ERROR: devfs failed to start
* You are attempting to run an openrc service on a
* system which openrc did not boot.
* You may be inside a chroot or you may have used
* another initialization system to boot this system.
* In this situation, you will get unpredictable results!
* If you really want to do this, issue the following command:
* touch /libexec/rc/init.d/softlevel
* ERROR: netif.lo failed to start
* ERROR: cannot start udevd as sysfs would not startНастроить надо просто чтобы получал по dhcp от роутера
