Changeset 10a6c8d for networking/netutils
- Timestamp:
- 07/20/2014 12:47:07 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- e39afa06
- Parents:
- 1b90889
- Location:
- networking/netutils
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
networking/netutils/avahi-systemd.xml
r1b90889 r10a6c8d 138 138 --disable-qt4 \ 139 139 --enable-core-docs \ 140 --with-distro=none && 140 --with-distro=none \ 141 --with-systemdsystemunitdir=/lib/systemd/system && 141 142 make</userinput></screen> 142 143 … … 197 198 198 199 <para> 200 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 201 This parameter is used to set the correct installation directory for 202 systemd units. 203 </para> 204 205 <para> 199 206 <parameter>--with-distro=none</parameter>: There is an obsolete 200 207 boot script in the distribution for LFS. This option disables it. … … 240 247 241 248 <sect2 role="configuration"> 242 <title>Configuring avahi</title>249 <title>Configuring Avahi</title> 243 250 244 251 <sect3 id="avahi-init"> 245 <title> Boot Script</title>252 <title>Systemd Units</title> 246 253 247 254 <para> 248 To automatically start the <command>avahi-daemon</command> 249 when the system is rebooted, install the 250 <filename>/etc/rc.d/init.d/avahi</filename> bootscript from 251 the <xref linkend="bootscripts"/> package. 255 To start the <command>avahi-daemon</command> daemon at boot, enable 256 the previously installed systemd unit by running the following command 257 as the <systemitem class="username">root</systemitem> user: 252 258 </para> 253 259 … … 256 262 </indexterm> 257 263 258 <screen role="root"><userinput>make install-avahi</userinput></screen> 264 <screen role="root"><userinput>systemctl enable avahi-daemon</userinput></screen> 265 266 <para> 267 To start the <command>avahi-dnsconfd</command> daemon at boot, enable 268 the previously installed systemd unit by running the following command 269 as the <systemitem class="username">root</systemitem> user: 270 </para> 271 272 <screen role="root"><userinput>systemctl enable avahi-dnsconfd</userinput></screen> 259 273 260 274 </sect3> … … 271 285 272 286 <seglistitem> 273 <seg>avahi-autoipd, avahi-bookmarks, avahi-browse, avahi-browse-domains, 274 avahi-daemon, avahi-discover, avahi-discover-standalone, avahi-dnsconfd, 275 avahi-publish, avahi-publish-address, avahi-publish-service, 276 avahi-resolve, avahi-resolve-address, avahi-resolve-host-name, 277 avahi-set-host-name, bshell, bssh, and bvnc</seg> 278 <seg>libavahi-client.so, libavahi-common.so, 279 libavahi-core.so, libavahi-glib.so, libavahi-gobject.so, 280 libavahi-ui-gtk3.so,, libavahi-ui.so, libdns_sd.so, and 281 libhowl.so,</seg> 282 <seg>/etc/avahi/services, /usr/{include/{avahi-client,avahi-common, 283 avahi-compat-howl/{corby,discovery,rendezvous,salt}, 284 avahi-compat-libdns_sd,avahi-core,avahi-glib,avahi-gobject,avahi-ui}, 285 lib/{avahi,python&python2-majorver;/site-packages/{avahi, 286 avahi_discover}},share/{avahi/interfaces,locale/en_NZ/LC_MESSAGES}}</seg> 287 <seg> 288 avahi-autoipd, avahi-bookmarks, avahi-browse, avahi-browse-domains, 289 avahi-daemon, avahi-discover, avahi-discover-standalone, avahi-dnsconfd, 290 avahi-publish, avahi-publish-address, avahi-publish-service, 291 avahi-resolve, avahi-resolve-address, avahi-resolve-host-name, 292 avahi-set-host-name, bshell, bssh, and bvnc 293 </seg> 294 <seg> 295 libavahi-client.so, libavahi-common.so,libavahi-core.so, 296 libavahi-glib.so, libavahi-gobject.so, libavahi-ui-gtk3.so, 297 libavahi-ui.so, libdns_sd.so, and libhowl.so 298 </seg> 299 <seg> 300 /etc/avahi, 301 /usr/include/{avahi-client,avahi-common,avahi-compat-howl}, 302 /usr/include/{avahi-compat-libdns_sd,avahi-core,avahi-glib} 303 /usr/include/{avahi-gobject,avahi-ui}, 304 /usr/lib/avahi, 305 /usr/lib/python&python2-majorver;/site-packages/{avahi,avahi_discover}, and 306 /usr/share/avahi 307 </seg> 287 308 </seglistitem> 288 309 </segmentedlist> -
networking/netutils/netutils.xml
r1b90889 r10a6c8d 22 22 <ulink url="&blfs-wiki;/basicnetworkingutilities"/></para> 23 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="avahi .xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="avahi-systemd.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bind-utils.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mod_dnssd.xml"/> -
networking/netutils/networkmanager-systemd.xml
r1b90889 r10a6c8d 102 102 <bridgehead renderas="sect4">Optional</bridgehead> 103 103 <para role="optional"> 104 <xref linkend="bluez"/> (runtime), 104 105 <xref linkend="gtk-doc"/>, 105 106 <xref linkend="qt4"/>, … … 119 120 <title>Installation of NetworkManager</title> 120 121 121 <para> 122 If <xref linkend="qt4"/> and <xref linkend="qt5"/> are installed, you 123 need to choose <application>Qt4</application> with 124 <command>source setqt4</command>, before starting. Install 125 <application>NetworkManager</application> by running the following 126 commands: 127 </para> 128 129 <screen><userinput>./configure --prefix=/usr \ 130 --sysconfdir=/etc \ 131 --localstatedir=/var \ 132 --with-nmtui \ 133 --disable-ppp \ 134 --with-systemdsystemunitdir=no && 122 <screen><userinput>./configure --prefix=/usr \ 123 --sysconfdir=/etc \ 124 --localstatedir=/var \ 125 --disable-ppp \ 126 --with-nmtui \ 127 --with-session-tracking=systemd \ 128 --with-systemdsystemunitdir=/lib/systemd/system && 135 129 make</userinput></screen> 136 130 … … 152 146 153 147 <para> 154 <parameter>--with-nmtui</parameter>: This parameter enables build of 155 <command>nmtui</command>. 156 </para> 157 158 <para> 159 <parameter>--with-systemdsystemunitdir=no</parameter>: This parameter is 160 used for sysv init systems. If you use systemd, replace "no" by the 161 proper directory. 162 </para> 163 164 <para> 165 <parameter>--disable-ppp</parameter>: This parameter disables parameteral 148 <parameter>--disable-ppp</parameter>: This switch disables 166 149 <application>PPP</application> support in 167 <application>NetworkManager</application>. 150 <application>NetworkManager</application> because 151 <application>PPP</application> isn't part of BLFS. 152 </para> 153 154 <para> 155 <parameter>--with-nmtui</parameter>: This switch enables building 156 of the <command>nmtui</command> program. Remove it if you have 157 not installed <xref linkend="newt"/>. 158 </para> 159 160 <para> 161 <parameter>--with-session-tracking=systemd</parameter>: This switch 162 is used to set <command>systemd-logind</command> as the default 163 program for session tracking. 164 </para> 165 166 <para> 167 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 168 This switch is used to set the correct installation directory for 169 systemd units. 168 170 </para> 169 171 … … 190 192 191 193 <indexterm zone="NetworkManager NetworkManager-config"> 192 <primary 193 sortas="e-etc-NetworkManager-NetworkManager.conf"> 194 <primary sortas="e-etc-NetworkManager-NetworkManager.conf"> 194 195 /etc/NetworkManager/NetworkManager.conf</primary> 195 196 </indexterm> … … 200 201 201 202 <para> 202 For <application>NetworkManager</application> to work, at least 203 minimalconfiguration file must be present. Such file is not204 installed with <command>make install</command>. Issue following203 For <application>NetworkManager</application> to work, at least a 204 basic configuration file must be present. Such file is not 205 installed with <command>make install</command>. Run the following 205 206 command as the 206 <systemitem class="username">root</systemitem> user to create 207 minimal<filename>NetworkManager.conf</filename> file:207 <systemitem class="username">root</systemitem> user to create a 208 basic <filename>NetworkManager.conf</filename> file: 208 209 </para> 209 210 … … 214 215 215 216 <para> 216 You can add <option>dns=none</option> to suppress changes to217 You can add <option>dns=none</option> to suppress changes to 217 218 <filename>/etc/resolv.conf</filename>. See 218 219 <command>man 5 NetworkManager.conf</command> … … 223 224 224 225 <sect3 id="NetworkManager-init"> 225 <title> Boot Script</title>226 <title>Systemd Units</title> 226 227 227 228 <para> 228 To automatically start the <command>NetworkManager</command> daemon when the 229 system is rebooted, install the 230 <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the 231 <xref linkend="bootscripts"/> package. 229 To start the <command>NetworkManager</command> daemon at boot, enable 230 the previously installed systemd unit by running the following command 231 as the <systemitem class="username">root</systemitem> user: 232 232 </para> 233 233 … … 236 236 </indexterm> 237 237 238 <screen role="root"><userinput>make install-networkmanager</userinput></screen> 238 <screen role="root"><userinput>systemctl enable NetworkManager</userinput></screen> 239 240 <para> 241 <application>NetworkManager</application> also ships a systemd unit 242 called <filename>NetworkManager-wait-online.service</filename> which 243 can be used to prevent services that require network connectivity 244 from starting until <application>NetworkManager</application> has 245 established the connection. To enable it, run the following command 246 as the <systemitem class="username">root</systemitem> user: 247 </para> 248 249 <screen role="root"><userinput>systemctl enable NetworkManager-wait-online</userinput></screen> 239 250 240 251 </sect3> … … 252 263 <seglistitem> 253 264 <seg> 254 NetworkManager, nm-avahi-autoipd.action, nm-dhcp-helper, 255 nm-dispatcher, nm-online, nmcli, and, hardlinked to each other: 256 nmtui, nmtui-connect, nmtui-edit, and nmtui-hostname 265 NetworkManager, nm-online, nmcli, nmtui, nmtui-connect, 266 nmtui-edit, and nmtui-hostname 257 267 </seg> 258 268 <seg> 259 libnm-glib.so, libnm-glib-vpn.so, libnm-util.so, and 260 modules under /usr/lib/NetworkManager 269 libnm-glib.so, libnm-glib-vpn.so, and libnm-util.so 261 270 </seg> 262 271 <seg> … … 310 319 <listitem> 311 320 <para> 312 i nteractive ncurses based interface for321 is an interactive ncurses based interface for 313 322 <application>nmcli</application>. 314 323 </para> … … 323 332 <listitem> 324 333 <para> 325 interactive ncurses based interface connection activate/deactivate. 334 is an interactive ncurses based interface connection 335 activate/deactivate. 326 336 </para> 327 337 <indexterm zone="NetworkManager nmtui-connect"> … … 335 345 <listitem> 336 346 <para> 337 interactive ncurses based interface connection editor. 347 is an interactive ncurses based interface connection 348 editor. 338 349 </para> 339 350 <indexterm zone="NetworkManager nmtui-edit"> … … 347 358 <listitem> 348 359 <para> 349 interactive ncurses based interface hostname editor. 360 is an interactive ncurses based interface hostname 361 editor. 350 362 </para> 351 363 <indexterm zone="NetworkManager nmtui-hostname">
Note:
See TracChangeset
for help on using the changeset viewer.