LFS Troubleshooting wkwk: Difference between revisions
Appearance
m SanzSkuy moved page Set IP Manual to LFS Troubleshooting wkwk without leaving a redirect |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
ip route add default via 192.168.1.1 | ip route add default via 192.168.1.1 | ||
echo "nameserver 8.8.8.8" > /etc/resolv.conf | echo "nameserver 8.8.8.8" > /etc/resolv.conf | ||
</syntaxhighlight> | |||
= Failed Systemd-logind error = | |||
Yang saya coba adalah dengan menginstall dbus dari https://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html | |||
Cuma nanti untuk argument confignya, ubah <code>-D systemd=disabled</code> menjadi <code>-D systemd=enable</code> | |||
jadi kira-kira: | |||
<syntaxhighlight lang=bash> | |||
mkdir build && | |||
cd build && | |||
meson setup --prefix=/usr \ | |||
--buildtype=release \ | |||
--wrap-mode=nofallback \ | |||
-D systemd=enable \ | |||
.. && | |||
ninja | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 01:45, 19 April 2025
Set IP Manual
ip addr add 192.168.1.100/24 dev enp0s3
ip link set enp0s3 up
ip route add default via 192.168.1.1
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Failed Systemd-logind error
Yang saya coba adalah dengan menginstall dbus dari https://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html
Cuma nanti untuk argument confignya, ubah -D systemd=disabled menjadi -D systemd=enable
jadi kira-kira:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback \
-D systemd=enable \
.. &&
ninja