Changeset cec6657e
- Timestamp:
- 06/11/2016 06:14:15 AM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/inkscape-core-mods, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- bea508c
- Parents:
- 7b478500
- Location:
- networking/netutils
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netutils/avahi.xml
r7b478500 rcec6657e 124 124 125 125 <!-- final part of sed removes " -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \" --> 126 <screen ><userinput>./configure --prefix=/usr \126 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 127 127 --sysconfdir=/etc \ 128 128 --localstatedir=/var \ … … 138 138 make</userinput></screen> 139 139 140 <screen revision="sysstemd"><userinput>./configure --prefix=/usr \ 141 --sysconfdir=/etc \ 142 --localstatedir=/var \ 143 --disable-static \ 144 --disable-mono \ 145 --disable-monodoc \ 146 --disable-python \ 147 --disable-qt3 \ 148 --disable-qt4 \ 149 --enable-core-docs \ 150 --with-distro=none \ 151 --with-systemdsystemunitdir=/lib/systemd/system && 152 make</userinput></screen> 153 140 154 <para> 141 155 This package does not come with a test suite. … … 192 206 </para> 193 207 194 <para >208 <para revision="sysv"> 195 209 <parameter>--with-systemdsystemunitdir=no</parameter>: Without it, the 196 210 daemon fails to start in BLFS, which does not support … … 198 212 </para> 199 213 214 <para revision="systemd"> 215 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 216 This parameter is used to set the correct installation directory for 217 systemd units. 218 </para> 219 200 220 <para> 201 221 <option>--disable-dbus</option>: This parameter disables the use … … 242 262 <title>Boot Script</title> 243 263 244 <para >264 <para revision="sysv"> 245 265 To automatically start the <command>avahi-daemon</command> 246 266 when the system is rebooted, install the 247 267 <filename>/etc/rc.d/init.d/avahi</filename> bootscript from 248 the <xref linkend="bootscripts" revision="sysv"/> 249 <xref linkend="systemd-units" revision="systemd"/> package. 268 the <xref linkend="bootscripts"/> package. 269 </para> 270 271 <para revision="systemd"> 272 To start the <command>avahi-daemon</command> daemon at boot, enable 273 the previously installed systemd unit by running the following command 274 as the <systemitem class="username">root</systemitem> user: 250 275 </para> 251 276 … … 254 279 </indexterm> 255 280 256 <screen role="root"><userinput>make install-avahi</userinput></screen> 281 <screen role="root" revision="sysv"><userinput>make install-avahi</userinput></screen> 282 283 <screen role="root" revision="systemd"><userinput>systemctl enable avahi-daemon</userinput></screen> 284 285 <para revision="systemd"> 286 To start the <command>avahi-dnsconfd</command> daemon at boot, enable 287 the previously installed systemd unit by running the following command 288 as the <systemitem class="username">root</systemitem> user: 289 </para> 290 291 <screen role="root" revision="systemd"><userinput>systemctl enable avahi-dnsconfd</userinput></screen> 257 292 258 293 </sect3> -
networking/netutils/networkmanager.xml
r7b478500 rcec6657e 41 41 42 42 &lfs79_checked;&gcc6_checked; 43 44 <note revision="systemd"> 45 <para> 46 Make sure that you disable the <command>systemd-networkd</command> 47 service or configure it not to manage the interfaces you want to manage 48 with <application>NetworkManager</application>. 49 </para> 50 </note> 43 51 44 52 <bridgehead renderas="sect3">Package Information</bridgehead> … … 97 105 <xref linkend="newt"/> (for <command>nmtui</command>), 98 106 <xref linkend="polkit"/>, 107 <phrase revision="systemd"><xref linkend="systemd"/>,</phrase> 99 108 <xref linkend="upower"/>, 100 109 <xref linkend="vala"/>, and … … 107 116 <xref linkend="gtk-doc"/>, 108 117 <xref linkend="qt5"/> (for examples), 118 <phrase revision="systemd"><xref linkend="ModemManager"/>,</phrase> 119 <phrase revision="systemd"><xref linkend="pygobject3"/>,</phrase> 109 120 <xref linkend="valgrind"/>, 110 <ulink url="http://libteam.org/">libteam</ulink>, and 111 <ulink url="http://www.freedesktop.org/software/ModemManager/"> 112 ModemManager</ulink> 121 <ulink url="http://libteam.org/">libteam</ulink>, 122 <phrase revision="sysv"><ulink 123 url="http://www.freedesktop.org/software/ModemManager/"> 124 ModemManager</ulink>,</phrase> 125 <ulink url="https://www.samba.org/ftp/ppp/">PPP</ulink>, and 126 <ulink url="https://www.roaringpenguin.com/products/pppoe">RP-PPPoE</ulink> 113 127 </para> 114 128 … … 133 147 </para> 134 148 135 <screen ><userinput>CXXFLAGS="-O2 -fPIC" \149 <screen revision="sysv"><userinput>CXXFLAGS="-O2 -fPIC" \ 136 150 ./configure --prefix=/usr \ 137 151 --sysconfdir=/etc \ … … 143 157 make</userinput></screen> 144 158 159 <screen revision="systemd"><userinput>CXXFLAGS="-O2 -fPIC" \ 160 ./configure --prefix=/usr \ 161 --sysconfdir=/etc \ 162 --localstatedir=/var \ 163 --with-nmtui \ 164 --disable-ppp \ 165 --with-session-tracking=systemd \ 166 --with-systemdsystemunitdir=/lib/systemd/system \ 167 --docdir=/usr/share/doc/network-manager-&NetworkManager-version; && 168 make</userinput></screen> 169 145 170 <para> 146 171 An already active graphical session with bus address is necessary to run … … 169 194 </para> 170 195 171 <para> 196 <para revision="systemd"> 197 <parameter>--with-session-tracking=systemd</parameter>: This switch 198 is used to set <command>systemd-logind</command> as the default 199 program for session tracking. 200 </para> 201 202 <para revision="sysv"> 172 203 <parameter>--with-systemdsystemunitdir=no</parameter>: This parameter is 173 204 used for sysv init systems. If you use systemd, replace "no" by the 174 205 proper directory. 206 </para> 207 208 <para revision="systemd"> 209 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 210 This switch is used to set the correct installation directory for 211 systemd units. 175 212 </para> 176 213 … … 236 273 237 274 <sect3 id="NetworkManager-init"> 238 <title>Boot Script</title> 239 240 <para> 241 To automatically start the <command>NetworkManager</command> daemon when the 242 system is rebooted, install the 243 <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the 244 <xref linkend="bootscripts" revision="sysv"/> 245 <xref linkend="systemd-units" revision="systemd"/> package. 275 <title><phrase revision="sysv">Boot Script</phrase> 276 <phrase revision="systemd">Systemd Unit</phrase></title> 277 278 <para revision="sysv"> 279 To automatically start the <command>NetworkManager</command> daemon 280 when the system is rebooted, install the 281 <filename>/etc/rc.d/init.d/networkmanager</filename>bootscript from the 282 <xref linkend="bootscripts"/> package. 283 </para> 284 285 <para revision="systemd"> 286 To start the <command>NetworkManager</command> daemon at boot, enable 287 the previously installed systemd unit by running the following command 288 as the <systemitem class="username">root</systemitem> user: 246 289 </para> 247 290 … … 250 293 </indexterm> 251 294 252 <screen role="root"><userinput>make install-networkmanager</userinput></screen> 295 <screen role="root" revision="sysv"><userinput>make install-networkmanager</userinput></screen> 296 297 <screen role="root" revision="systemd"><userinput>systemctl enable NetworkManager</userinput></screen> 298 299 <para revision="systemd"> 300 <application>NetworkManager</application> also ships a systemd unit 301 called <filename>NetworkManager-wait-online.service</filename> which 302 can be used to prevent services that require network connectivity 303 from starting until <application>NetworkManager</application> has 304 established the connection. To enable it, run the following command 305 as the <systemitem class="username">root</systemitem> user: 306 </para> 307 308 <screen role="root" revision="systemd"><userinput>systemctl enable NetworkManager-wait-online</userinput></screen> 253 309 254 310 </sect3> -
networking/netutils/wicd.xml
r7b478500 rcec6657e 193 193 <title>Configuration Information</title> 194 194 195 <note revision="systemd"> 196 <para> 197 Make sure that you disable the <command>systemd-networkd</command> 198 service or configure it not to manage the interfaces you want to 199 manage with <application>Wicd</application>. 200 </para> 201 </note> 202 195 203 <para>To automatically start Wicd at boot time, you need to first install 196 the Wicd bootscript, 197 <filename>/etc/rc.d/init.d/wicd</filename>, 204 the Wicd bootscript,<phrase revision="sysv"> 205 <filename>/etc/rc.d/init.d/wicd</filename></phrase> 206 <phrase revision="systemd"><filename>wicd.service</filename></phrase>, 198 207 included in the <xref linkend="bootscripts" revision="sysv"/> 199 208 <xref linkend="systemd-units" revision="systemd"/> package … … 206 215 <screen role='root'><userinput>make install-wicd</userinput></screen> 207 216 208 <para>Since Wicd will now handle all configuration of network devices, 209 the network bootscript installed by LFS should be disabled. This can be 210 achieved by either removing any <filename>S*network</filename> and 211 <filename>K*network</filename> symlinks in the <filename>/etc/rc*.d</filename> 212 directories or by setting <literal>ONBOOT=no</literal> in any 217 <para revision="sysv">Since Wicd will now handle all configuration of 218 network devices, the network bootscript installed by LFS should be 219 disabled. This can be achieved by either removing any 220 <filename>S*network</filename> and <filename>K*network</filename> 221 symlinks in the <filename>/etc/rc*.d</filename> directories or by setting 222 <literal>ONBOOT=no</literal> in any 213 223 <filename>/etc/sysconfig/ifconfig.*</filename> files.</para> 214 224 215 225 <para>No manual configuration of Wicd is needed if you use the graphical 216 frontends. If you are only going to use Wicd from command-line, you can configure 217 it using the configuration files in <filename>/etc/wicd</filename>. For a list of 218 available options, look at the man-pages for: wicd-manager-settings.conf, 219 wicd-wired-settings.conf and wicd-wireless-settings.conf.</para> 220 221 <para>Be sure to add all users who are to have rights to open and close network 222 connections with Wicd to the <systemitem class="groupname">users</systemitem> 223 group (or the group specified with the <option>--wicdgroup</option> configuration 226 frontends. If you are only going to use Wicd from command-line, you can 227 configure it using the configuration files in 228 <filename>/etc/wicd</filename>. For a list of available options, look at 229 the man-pages for: wicd-manager-settings.conf, wicd-wired-settings.conf 230 and wicd-wireless-settings.conf.</para> 231 232 <para>Be sure to add all users who are to have rights to open and close 233 network connections with Wicd to the 234 <systemitem class="groupname">users</systemitem> group (or the group 235 specified with the <option>--wicdgroup</option> configuration 224 236 option).</para> 225 237
Note:
See TracChangeset
for help on using the changeset viewer.