Difference between revisions of "Netctl"

From ArchWiki
Jump to: navigation, search
m (Intro)
(took a stab at a complete article)
Line 14: Line 14:
 
{{Stub}}
 
{{Stub}}
 
==Intro==
 
==Intro==
Netctl is a new Arch project slated to replace [[netcfg]].
+
Netctl is a new Arch project slated to replace [[netcfg]].  Users should regard it as the future of CLI-based network management on Arch Linux.
  
 
==Installation==
 
==Installation==
 +
Netctl is currently in [testing].  Users are encouraged to download it from their favorite mirror.
 +
 +
==Recommended Reading==
 +
Considerable effort has gone into the construction of quality man pages.  Users are encouraged to read the following man pages prior to using netctl:
 +
*netctl
 +
*netctl.profile
 +
*netctl.special
 +
 
==Configuration==
 
==Configuration==
 +
Netctl uses {{ic|/etc/netctl}} to store its profiles whereas netcfg used {{ic|/etc/network.d}} for the same purpose.  Users
 +
 +
In order to migrate from netcfg, at least the following is needed:
 +
*Move network profile files to the new directory.
 +
*Rename variables therein according to netctl.profile(5) (most have only become CamelCase).
 +
*Unquote interface variables and other variables that don't strictly need quoting (this is mainly a style thing).
 +
*Run {{ic|netctl enable <profile>}} for every profile in the old NETWORKS array. 'last' doesn't work this way, see netcfg.special(7).
 +
*Use {{ic|netctl list}} / {{ic|netctl start <profile>}} instead of netcfg-menu. wifi-menu remains available.
 +
 
==Support==
 
==Support==
 
Official announcement thread: https://bbs.archlinux.org/viewtopic.php?id=157670
 
Official announcement thread: https://bbs.archlinux.org/viewtopic.php?id=157670

Revision as of 11:58, 9 February 2013

Summary help replacing me
A guide to configuring the network using netctl and network profile scripts.

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Netctl#)

Intro

Netctl is a new Arch project slated to replace netcfg. Users should regard it as the future of CLI-based network management on Arch Linux.

Installation

Netctl is currently in [testing]. Users are encouraged to download it from their favorite mirror.

Recommended Reading

Considerable effort has gone into the construction of quality man pages. Users are encouraged to read the following man pages prior to using netctl:

  • netctl
  • netctl.profile
  • netctl.special

Configuration

Netctl uses /etc/netctl to store its profiles whereas netcfg used /etc/network.d for the same purpose. Users

In order to migrate from netcfg, at least the following is needed:

  • Move network profile files to the new directory.
  • Rename variables therein according to netctl.profile(5) (most have only become CamelCase).
  • Unquote interface variables and other variables that don't strictly need quoting (this is mainly a style thing).
  • Run netctl enable <profile> for every profile in the old NETWORKS array. 'last' doesn't work this way, see netcfg.special(7).
  • Use netctl list / netctl start <profile> instead of netcfg-menu. wifi-menu remains available.

Support

Official announcement thread: https://bbs.archlinux.org/viewtopic.php?id=157670