Re: [arch-general] netcfg 2.6 release

2011-06-20 Thread James Rayner
On Mon, 20 Jun 2011 03:34 +0200, Rémy Oudompheng
remyoudomph...@gmail.com wrote:
 On 2011/6/20 Loui Chang louipc@gmail.com wrote:
  On Sun 19 Jun 2011 23:23 +0200, Rémy Oudompheng wrote:
 
  netcfg 2.6 has been released and pushed in [testing].
 
  - /etc/conf.d/netcfg is a new configuration file, currently only used
  by net-auto-wireless: it is used to configure the name of the wireless
  interface you want to use (also possible in /etc/rc.conf, but
  discouraged), and to configure a list of preferred networks you want
  wpa_actiond to manage (FS#23169)
 
  Should the syntax for this documented in the package somewhere?
 
 I try to keep the docs/ syntax as updated as possible. Are there
 official webpages for projects? other than projects.archlinux.org?
 
 Rémy.

The wiki[1] was the official how to use netcfg documentation, while
docs/ generally covered the syntax. 

Regards,

James

[1] https://wiki.archlinux.org/index.php/Netcfg


[arch-general] netcfg 2.6 release

2011-06-19 Thread Rémy Oudompheng
Hello,

netcfg 2.6 has been released and pushed in [testing].

The following features has been added since the last release:
- add support for IPv6 configuration (FS#18699)
- add support for static routes configuration (FS#18700)
- add support for creating tun/tap interfaces (FS#15049)
- add configuration file /etc/conf.d/netcfg for net-auto-wireless
- add support for restricting automatic startup of profiles (FS#23169)
- bridge: add support for several brctl options (FS#16625)
- wireless: add support for explicit BSSID (FS#24582)
- wireless: add support for ad-hoc connections (FS#19683)
- wireless: no longer require wireless_tools to work
- use /run instead of /var/run
- drops hard dependency on net-tools package
- drops hard dependency on wireless_tools package

Most importantly:
- netcfg no longer puts no files in /run (dhcpcd still puts files there)
- netcfg only depends on iproute2 and dhcpcd : wpa_supplicant is
optional (required for wireless), wpa_actiond, ifplugd are required
for net-auto* scripts
- net-tools, wireless_tools are needed if you use legacy options
IFOPTS and IWCONFIG, but this is strongly discouraged
- /etc/conf.d/netcfg is a new configuration file, currently only used
by net-auto-wireless: it is used to configure the name of the wireless
interface you want to use (also possible in /etc/rc.conf, but
discouraged), and to configure a list of preferred networks you want
wpa_actiond to manage (FS#23169)
- IPv6 is supported: no address configuration (even
auto-configuration) will be done unless you say IP6=something in your
profile. See the examples to see how it works
- dhclient is needed if you want to support DHCPv6: this is expected
to be an uncommon case, since auto-configuration exists.
- netcfg can create tun/tap interfaces: it currently does not do
anything with these (FS#15049)

Regards,
-- 
Rémy.


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Rémy Oudompheng
On Sun 19 June 2011 at 23:23 +0200, Rémy Oudompheng wrote:
 Most importantly:
 - netcfg no longer puts no files in /run (dhcpcd still puts files there)
 - netcfg only depends on iproute2 and dhcpcd : wpa_supplicant is
 optional (required for wireless), wpa_actiond, ifplugd are required
 for net-auto* scripts
 - net-tools, wireless_tools are needed if you use legacy options
 IFOPTS and IWCONFIG, but this is strongly discouraged

Also, the none-old and wep-old SECURITY modes are no longer
supported. They are now aliases to the wpa_supplicant bases
none and wep.

-- 
Rémy.


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Yaro Kasear
On Sunday, June 19, 2011 04:23:45 PM Rémy Oudompheng wrote:
 Hello,
 
 netcfg 2.6 has been released and pushed in [testing].
 
 The following features has been added since the last release:
 - add support for IPv6 configuration (FS#18699)
 - add support for static routes configuration (FS#18700)
 - add support for creating tun/tap interfaces (FS#15049)
 - add configuration file /etc/conf.d/netcfg for net-auto-wireless
 - add support for restricting automatic startup of profiles (FS#23169)
 - bridge: add support for several brctl options (FS#16625)
 - wireless: add support for explicit BSSID (FS#24582)
 - wireless: add support for ad-hoc connections (FS#19683)
 - wireless: no longer require wireless_tools to work
 - use /run instead of /var/run
 - drops hard dependency on net-tools package
 - drops hard dependency on wireless_tools package
 
 Most importantly:
 - netcfg no longer puts no files in /run (dhcpcd still puts files there)
 - netcfg only depends on iproute2 and dhcpcd : wpa_supplicant is
 optional (required for wireless), wpa_actiond, ifplugd are required
 for net-auto* scripts
 - net-tools, wireless_tools are needed if you use legacy options
 IFOPTS and IWCONFIG, but this is strongly discouraged
 - /etc/conf.d/netcfg is a new configuration file, currently only used
 by net-auto-wireless: it is used to configure the name of the wireless
 interface you want to use (also possible in /etc/rc.conf, but
 discouraged), and to configure a list of preferred networks you want
 wpa_actiond to manage (FS#23169)
 - IPv6 is supported: no address configuration (even
 auto-configuration) will be done unless you say IP6=something in your
 profile. See the examples to see how it works
 - dhclient is needed if you want to support DHCPv6: this is expected
 to be an uncommon case, since auto-configuration exists.
 - netcfg can create tun/tap interfaces: it currently does not do
 anything with these (FS#15049)
 
 Regards,

I'd like a minor clarification here... I've never seen a directory called run 
on /. Is netcfg expected to create that? Does the FHS support that?


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Tom Gundersen
On Sun, Jun 19, 2011 at 11:36 PM, Yaro Kasear y...@marupa.net wrote:
 I'd like a minor clarification here... I've never seen a directory called run
 on /. Is netcfg expected to create that?

No. /run is maintained by mkinitcfg/initscripts/filesystem. It is a
tmpfs mounted directory that is guaranteed to be writable from the
initramfs until shutdown. In the long-run it is meant to take the
place of /var/run (you can actually symlink /var/run to /run now and
everything works).

For more details see: https://lwn.net/Articles/436012/.

 Does the FHS support that?

Yes. Distributions are free to add root-level directories; individual
applications are not.

/run was first proposed by debian and is currently (to the best of my
knowledge) endorsed by at least suse, fedora and ubuntu. I believe it
has also been proposed for inclusion in the new FHS.

Cheers,

Tom


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Rémy Oudompheng
On 2011/6/19 Rémy Oudompheng remyoudomph...@gmail.com wrote:
 Hello,

 netcfg 2.6 has been released and pushed in [testing].

Due to a small bug in net-auto-wireless, the version is now 2.6.1.
Additionally some basic configuration of tun/tap interfaces is now
possible.

Rémy.


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Loui Chang
On Sun 19 Jun 2011 23:23 +0200, Rémy Oudompheng wrote:
 
 netcfg 2.6 has been released and pushed in [testing].
 
 - /etc/conf.d/netcfg is a new configuration file, currently only used
 by net-auto-wireless: it is used to configure the name of the wireless
 interface you want to use (also possible in /etc/rc.conf, but
 discouraged), and to configure a list of preferred networks you want
 wpa_actiond to manage (FS#23169)

Should the syntax for this documented in the package somewhere?



Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Rémy Oudompheng
On 2011/6/20 Loui Chang louipc@gmail.com wrote:
 On Sun 19 Jun 2011 23:23 +0200, Rémy Oudompheng wrote:

 netcfg 2.6 has been released and pushed in [testing].

 - /etc/conf.d/netcfg is a new configuration file, currently only used
 by net-auto-wireless: it is used to configure the name of the wireless
 interface you want to use (also possible in /etc/rc.conf, but
 discouraged), and to configure a list of preferred networks you want
 wpa_actiond to manage (FS#23169)

 Should the syntax for this documented in the package somewhere?

I try to keep the docs/ syntax as updated as possible. Are there
official webpages for projects? other than projects.archlinux.org?

Rémy.


Re: [arch-general] netcfg 2.6 release

2011-06-19 Thread Loui Chang
On Mon 20 Jun 2011 03:34 +0200, Rémy Oudompheng wrote:
 On 2011/6/20 Loui Chang louipc@gmail.com wrote:
  On Sun 19 Jun 2011 23:23 +0200, Rémy Oudompheng wrote:
 
  netcfg 2.6 has been released and pushed in [testing].
 
  - /etc/conf.d/netcfg is a new configuration file, currently only used
  by net-auto-wireless: it is used to configure the name of the wireless
  interface you want to use (also possible in /etc/rc.conf, but
  discouraged), and to configure a list of preferred networks you want
  wpa_actiond to manage (FS#23169)
 
  Should the syntax for this documented in the package somewhere?
 
 I try to keep the docs/ syntax as updated as possible. Are there
 official webpages for projects? other than projects.archlinux.org?

There's a page for pacman [1], but I don't know if there's any specific
infrastructure for project pages. You will probably have to ask the
admins for a space to put pages.

[1] http://www.archlinux.org/pacman/