Changeset 10a6c8d for networking/netutils/networkmanager-systemd.xml
- Timestamp:
- 07/20/2014 12:47:07 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- e39afa06
- Parents:
- 1b90889
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.