Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Tue, 25 Oct 2011 18:55:39 +0100, David Goodenough wrote:

 On Tuesday 25 Oct 2011, Camaleón wrote:
 On Tue, 25 Oct 2011 17:30:53 +0100, David Goodenough wrote:
  In wireless-tools there is support for embedding wireless-xxx
  commands which get converted into iwconfig commands.  iwconfig is now
  deprecated for many wireless cards, in favour of iw.
  
  Is there a package that provides network/interfaces support for iw?
 
 Hmmm, I don't know if this will be of any help :-?
 
 http://linuxwireless.org/en/users/Documentation/iw
 http://linuxwireless.org/en/users/Documentation/iw/replace-iwconfig
 
 It basically documents the most common operations done from iw.
 
 Yes, I know I can do it manually, I was looking for the same kind of
 alias that wireless-tools provided.

If they're not docummented and because this is an ongoing work, I'd say 
there is none (or at least none that I am aware of) ;-(. Are you 
missing a specific command?

Anyway, it seems that the usual set of tools¹ (the ones you mention) are 
still available.

¹http://linuxwireless.org/en/developers/Documentation/Wireless-Extensions

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.11.29...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread David Goodenough
On Wednesday 26 Oct 2011, Camaleón wrote:
 On Tue, 25 Oct 2011 18:55:39 +0100, David Goodenough wrote:
  On Tuesday 25 Oct 2011, Camaleón wrote:
  On Tue, 25 Oct 2011 17:30:53 +0100, David Goodenough wrote:
   In wireless-tools there is support for embedding wireless-xxx
   commands which get converted into iwconfig commands.  iwconfig is now
   deprecated for many wireless cards, in favour of iw.
   
   Is there a package that provides network/interfaces support for iw?
  
  Hmmm, I don't know if this will be of any help :-?
  
  http://linuxwireless.org/en/users/Documentation/iw
  http://linuxwireless.org/en/users/Documentation/iw/replace-iwconfig
  
  It basically documents the most common operations done from iw.
  
  Yes, I know I can do it manually, I was looking for the same kind of
  alias that wireless-tools provided.
 
 If they're not docummented and because this is an ongoing work, I'd say
 there is none (or at least none that I am aware of) ;-(. Are you
 missing a specific command?
 
 Anyway, it seems that the usual set of tools¹ (the ones you mention) are
 still available.
 
 ¹http://linuxwireless.org/en/developers/Documentation/Wireless-Extensions
 
 Greetings,
You are misunderstanding what I am asking for.  I want to be able to 
write the iw equivalient of:-

iface wlan0 inet static
wireless-essid Test
wireless-channel 7

Given that iwconfig is now deprecated (at least for new wifi interfaces)
at a minimum it would be a good idea if wireless-XXX used iw.  I will 
submit a bug to this effect.

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110261326.23650.david.goodeno...@btconnect.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 13:26:23 +0100, David Goodenough wrote:

 On Wednesday 26 Oct 2011, Camaleón wrote:

(...)

  It basically documents the most common operations done from iw.
  
  Yes, I know I can do it manually, I was looking for the same kind of
  alias that wireless-tools provided.
 
 If they're not docummented and because this is an ongoing work, I'd say
 there is none (or at least none that I am aware of) ;-(. Are you
 missing a specific command?
 
 Anyway, it seems that the usual set of tools¹ (the ones you mention)
 are still available.
 
 ¹http://linuxwireless.org/en/developers/Documentation/Wireless-Extensions
 
 You are misunderstanding what I am asking for.  

Hum? I thought you were looking for iwconfig/iwlist/iw* commands 
replacement.

 I want to be able to write the iw equivalient of:-
 
 iface wlan0 inet static
   wireless-essid Test
   wireless-channel 7
 
 Given that iwconfig is now deprecated 

Okay, I will have to ask... who has told you that? wireless-tools package is 
still available in Debian and he upstream project is just on the way to replace 
it but they are still needed in some cases.

 (at least for new wifi interfaces) at a minimum it would be a good idea
 if wireless-XXX used iw.  I will submit a bug to this effect.

That's the recommended/docummented way to manually setup the wifi 
adapter in Debian:

http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basics_of_wireless_lan_interface

So, what's what are you exactly missing now?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.13.04...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread David Goodenough
On Wednesday 26 Oct 2011, Camaleón wrote:
 On Wed, 26 Oct 2011 13:26:23 +0100, David Goodenough wrote:
  On Wednesday 26 Oct 2011, Camaleón wrote:
 (...)
 
   It basically documents the most common operations done from iw.
   
   Yes, I know I can do it manually, I was looking for the same kind of
   alias that wireless-tools provided.
  
  If they're not docummented and because this is an ongoing work, I'd say
  there is none (or at least none that I am aware of) ;-(. Are you
  missing a specific command?
  
  Anyway, it seems that the usual set of tools¹ (the ones you mention)
  are still available.
  
  ¹http://linuxwireless.org/en/developers/Documentation/Wireless-Extension
  s
  
  You are misunderstanding what I am asking for.
 
 Hum? I thought you were looking for iwconfig/iwlist/iw* commands
 replacement.
 
  I want to be able to write the iw equivalient of:-
  
  iface wlan0 inet static
  
  wireless-essid Test
  wireless-channel 7
  
  Given that iwconfig is now deprecated
 
 Okay, I will have to ask... who has told you that? wireless-tools package
 is still available in Debian and he upstream project is just on the way to
 replace it but they are still needed in some cases.
If you ask anything about iwconfig on the wireless kernel mailing list you
will get told that iwconfig is deprecated, does not provide all the function
and at times give the wrong answers and that iw should be used on all 
mac80211 based wireless drivers.  They wrote it, so they should know.
 
  (at least for new wifi interfaces) at a minimum it would be a good idea
  if wireless-XXX used iw.  I will submit a bug to this effect.
 
 That's the recommended/docummented way to manually setup the wifi
 adapter in Debian:
 
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basics
 _of_wireless_lan_interface
Unfortunately that does not cover configuring mesh networks, which is
one of the areas that can not be done with iwconfig and has to be done
using iw.

David
 
 So, what's what are you exactly missing now?
 
 Greetings,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110261431.18058.david.goodeno...@btconnect.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:

 On Wednesday 26 Oct 2011, Camaleón wrote:

(...)

  I want to be able to write the iw equivalient of:-
  
  iface wlan0 inet static
  
 wireless-essid Test
 wireless-channel 7
  
  Given that iwconfig is now deprecated
 
 Okay, I will have to ask... who has told you that? wireless-tools
 package is still available in Debian and he upstream project is just on
 the way to replace it but they are still needed in some cases.

 If you ask anything about iwconfig on the wireless kernel mailing list
 you will get told that iwconfig is deprecated, does not provide all the
 function and at times give the wrong answers and that iw should be used
 on all mac80211 based wireless drivers.  They wrote it, so they should
 know.

Then why not ask them for a recommended replacement? If that's iw then 
ask for the documents on how to properly setup when using ifup method ;-)

AFAIK, in Debian package wireless-tools is still supported/available.

  (at least for new wifi interfaces) at a minimum it would be a good
  idea if wireless-XXX used iw.  I will submit a bug to this effect.
 
 That's the recommended/docummented way to manually setup the wifi
 adapter in Debian:
 
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basics_of_wireless_lan_interface

 Unfortunately that does not cover configuring mesh networks, which is
 one of the areas that can not be done with iwconfig and has to be done
 using iw.

Can you please put an exact example for such configuration?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.14.20...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Celejar
On Wed, 26 Oct 2011 14:20:23 + (UTC)
Camaleón noela...@gmail.com wrote:

 On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
 
  On Wednesday 26 Oct 2011, Camaleón wrote:

...

  Okay, I will have to ask... who has told you that? wireless-tools
  package is still available in Debian and he upstream project is just on
  the way to replace it but they are still needed in some cases.
 
  If you ask anything about iwconfig on the wireless kernel mailing list
  you will get told that iwconfig is deprecated, does not provide all the
  function and at times give the wrong answers and that iw should be used
  on all mac80211 based wireless drivers.  They wrote it, so they should
  know.
 
 Then why not ask them for a recommended replacement? If that's iw then 
 ask for the documents on how to properly setup when using ifup method ;-)

AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
responsible for documenting it.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111026103448.0a6feaa5e5cec4fe0d407...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 10:34:48 -0400, Celejar wrote:

 On Wed, 26 Oct 2011 14:20:23 + (UTC) Camaleón noela...@gmail.com
 wrote:
 
 On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
 
  On Wednesday 26 Oct 2011, Camaleón wrote:
 
 ...
 
  Okay, I will have to ask... who has told you that? wireless-tools
  package is still available in Debian and he upstream project is just
  on the way to replace it but they are still needed in some cases.
 
  If you ask anything about iwconfig on the wireless kernel mailing
  list you will get told that iwconfig is deprecated, does not provide
  all the function and at times give the wrong answers and that iw
  should be used on all mac80211 based wireless drivers.  They wrote
  it, so they should know.
 
 Then why not ask them for a recommended replacement? If that's iw
 then ask for the documents on how to properly setup when using ifup
 method ;-)
 
 AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
 responsible for documenting it.

Are you sure? :-)

I'm only aware of two ways for setting up ethernet network interfaces 
(today) in Linux systems: one if using the old method (ifup/ifconfig) and 
other is using networkmanager. And both are not Debian-centric, I've also 
used them in openSUSE, for instance.

Anyway, whatever method is proposed by iw devels should be docummented so 
users and distributions can adapt it to their needs, don't you think?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.14.46...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Celejar
On Wed, 26 Oct 2011 14:46:17 + (UTC)
Camaleón noela...@gmail.com wrote:

 On Wed, 26 Oct 2011 10:34:48 -0400, Celejar wrote:
 
  On Wed, 26 Oct 2011 14:20:23 + (UTC) Camaleón noela...@gmail.com
  wrote:
  
  On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
  
   On Wednesday 26 Oct 2011, Camaleón wrote:
  
  ...
  
   Okay, I will have to ask... who has told you that? wireless-tools
   package is still available in Debian and he upstream project is just
   on the way to replace it but they are still needed in some cases.
  
   If you ask anything about iwconfig on the wireless kernel mailing
   list you will get told that iwconfig is deprecated, does not provide
   all the function and at times give the wrong answers and that iw
   should be used on all mac80211 based wireless drivers.  They wrote
   it, so they should know.
  
  Then why not ask them for a recommended replacement? If that's iw
  then ask for the documents on how to properly setup when using ifup
  method ;-)
  
  AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
  responsible for documenting it.
 
 Are you sure? :-)
 
 I'm only aware of two ways for setting up ethernet network interfaces 
 (today) in Linux systems: one if using the old method (ifup/ifconfig) and 
 other is using networkmanager. And both are not Debian-centric, I've also 
 used them in openSUSE, for instance.

I think you may be confusing 'ifconfig / iwconfig' and ifupdown. The
former are *nix standard tools; the latter is a Debian-specific package
that contains the utilities ifup / ifdown, which work with the
file /etc/network/interfaces to manipulate network interfaces. IIUC,
this is a higher level interface which calls ifconfig / iwconfig /
wpa_supplicant / dhclient and other lower level utilities to do the
actual work.

 Anyway, whatever method is proposed by iw devels should be docummented so 
 users and distributions can adapt it to their needs, don't you think?

iw is documented quite nicely:

http://linuxwireless.org/en/users/Documentation/iw

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111026111600.b89cfe21afd435ed78647...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread David Goodenough
On Wednesday 26 Oct 2011, Camaleón wrote:
 On Wed, 26 Oct 2011 10:34:48 -0400, Celejar wrote:
  On Wed, 26 Oct 2011 14:20:23 + (UTC) Camaleón noela...@gmail.com
  
  wrote:
  On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
   On Wednesday 26 Oct 2011, Camaleón wrote:
  ...
  
   Okay, I will have to ask... who has told you that? wireless-tools
   package is still available in Debian and he upstream project is just
   on the way to replace it but they are still needed in some cases.
   
   If you ask anything about iwconfig on the wireless kernel mailing
   list you will get told that iwconfig is deprecated, does not provide
   all the function and at times give the wrong answers and that iw
   should be used on all mac80211 based wireless drivers.  They wrote
   it, so they should know.
  
  Then why not ask them for a recommended replacement? If that's iw
  then ask for the documents on how to properly setup when using ifup
  method ;-)
  
  AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
  responsible for documenting it.
 
 Are you sure? :-)
 
 I'm only aware of two ways for setting up ethernet network interfaces
I am talking about Wireless interfaces, NOT ethernet ones.
 (today) in Linux systems: one if using the old method (ifup/ifconfig) and
 other is using networkmanager. And both are not Debian-centric, I've also
 used them in openSUSE, for instance.
 
 Anyway, whatever method is proposed by iw devels should be docummented so
 users and distributions can adapt it to their needs, don't you think?
iw is very well documented, and it is available on Debian (has been for
years).  Its like the difference between ifconfig and ip, ifconfig is
now deprecated (still exists but you should use the new one) and ip which
gives all the new facilities.  The same applies to iwconfig (the old one) 
and the newer iw.

David
 
 Greetings,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110261618.20408.david.goodeno...@btconnect.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 11:16:00 -0400, Celejar wrote:

 On Wed, 26 Oct 2011 14:46:17 + (UTC) Camaleón noela...@gmail.com
 wrote:
 
 On Wed, 26 Oct 2011 10:34:48 -0400, Celejar wrote:
 
  On Wed, 26 Oct 2011 14:20:23 + (UTC) Camaleón
  noela...@gmail.com wrote:
  
  On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
  
   On Wednesday 26 Oct 2011, Camaleón wrote:
  
  ...
  
   Okay, I will have to ask... who has told you that?
   wireless-tools package is still available in Debian and he
   upstream project is just on the way to replace it but they are
   still needed in some cases.
  
   If you ask anything about iwconfig on the wireless kernel mailing
   list you will get told that iwconfig is deprecated, does not
   provide all the function and at times give the wrong answers and
   that iw should be used on all mac80211 based wireless drivers. 
   They wrote it, so they should know.
  
  Then why not ask them for a recommended replacement? If that's iw
  then ask for the documents on how to properly setup when using
  ifup method ;-)
  
  AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
  responsible for documenting it.
 
 Are you sure? :-)
 
 I'm only aware of two ways for setting up ethernet network interfaces
 (today) in Linux systems: one if using the old method (ifup/ifconfig)
 and other is using networkmanager. And both are not Debian-centric,
 I've also used them in openSUSE, for instance.
 
 I think you may be confusing 'ifconfig / iwconfig' and ifupdown. The
 former are *nix standard tools; the latter is a Debian-specific package
 that contains the utilities ifup / ifdown, which work with the file
 /etc/network/interfaces to manipulate network interfaces. IIUC, this is
 a higher level interface which calls ifconfig / iwconfig /
 wpa_supplicant / dhclient and other lower level utilities to do the
 actual work.

I have not mentioned ifupdown but ifup :-)

And I've been calling ifup to the old method for setting up the 
networking interfaces that I have been using years ago. Ifup was the 
name I used in openSUSE for ifconfig tools (not just a binary file), so 
the naming confusion problem can come from here.

 Anyway, whatever method is proposed by iw devels should be docummented
 so users and distributions can adapt it to their needs, don't you
 think?
 
 iw is documented quite nicely:
 
 http://linuxwireless.org/en/users/Documentation/iw

Yes, I know... I mentioned that page in the very first of my posts to 
this thread ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.15.45...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 16:18:20 +0100, David Goodenough wrote:

 On Wednesday 26 Oct 2011, Camaleón wrote:

(...)

  AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
  responsible for documenting it.
 
 Are you sure? :-)
 
 I'm only aware of two ways for setting up ethernet network interfaces

 I am talking about Wireless interfaces, NOT ethernet ones.

Yes, but I was not replying to you ;-)

 (today) in Linux systems: one if using the old method (ifup/ifconfig)
 and other is using networkmanager. And both are not Debian-centric,
 I've also used them in openSUSE, for instance.
 
 Anyway, whatever method is proposed by iw devels should be docummented
 so users and distributions can adapt it to their needs, don't you
 think?

 iw is very well documented, and it is available on Debian (has been for
 years).  Its like the difference between ifconfig and ip, ifconfig is
 now deprecated (still exists but you should use the new one) and ip
 which gives all the new facilities.  The same applies to iwconfig (the
 old one) and the newer iw.

Let me ask you again... what specific setup configuration options are you 
missing from the current available tools to setting up your wireless 
adapters in Debian?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.15.49...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread David Goodenough
On Wednesday 26 Oct 2011, Camaleón wrote:
 On Wed, 26 Oct 2011 16:18:20 +0100, David Goodenough wrote:
  On Wednesday 26 Oct 2011, Camaleón wrote:
 (...)
 
   AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
   responsible for documenting it.
  
  Are you sure? :-)
  
  I'm only aware of two ways for setting up ethernet network interfaces
  
  I am talking about Wireless interfaces, NOT ethernet ones.
 
 Yes, but I was not replying to you ;-)
 
  (today) in Linux systems: one if using the old method (ifup/ifconfig)
  and other is using networkmanager. And both are not Debian-centric,
  I've also used them in openSUSE, for instance.
  
  Anyway, whatever method is proposed by iw devels should be docummented
  so users and distributions can adapt it to their needs, don't you
  think?
  
  iw is very well documented, and it is available on Debian (has been for
  years).  Its like the difference between ifconfig and ip, ifconfig is
  now deprecated (still exists but you should use the new one) and ip
  which gives all the new facilities.  The same applies to iwconfig (the
  old one) and the newer iw.
 
 Let me ask you again... what specific setup configuration options are you
 missing from the current available tools to setting up your wireless
 adapters in Debian?
It is possible to hand code, using the explicit iw commands, all the things
I want to do, BUT it is long winded, difficult to read, and if for instance
I change an interface name (say wlan0 to wlan1) I have to change all the
references in the commands, and Sods Law says I will miss one.

The wireless_XXX aliases provide a shorthand and also hide things like 
making sure the right interface is passed to the right command.  I am 
looking for an equivalient which allows me to use the new facilities
in the iw command (such as configuring mesh networks) which can not
be encoded using either iwconfig or wireless_XXX.

Its not that it can not be done, it is that the Debian Way(TM) seems
to be to use these aliases (and the wireless_XXX one is not the only one)
and there is no alias (that I can find) that uses iw and therefore enables
the facilities that I am trying to define.

David
 
 Greetings,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110261717.38949.david.goodeno...@btconnect.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Celejar
On Wed, 26 Oct 2011 15:45:57 + (UTC)
Camaleón noela...@gmail.com wrote:

 On Wed, 26 Oct 2011 11:16:00 -0400, Celejar wrote:
 
  On Wed, 26 Oct 2011 14:46:17 + (UTC) Camaleón noela...@gmail.com
  wrote:
  
  On Wed, 26 Oct 2011 10:34:48 -0400, Celejar wrote:
  
   On Wed, 26 Oct 2011 14:20:23 + (UTC) Camaleón
   noela...@gmail.com wrote:
   
   On Wed, 26 Oct 2011 14:31:17 +0100, David Goodenough wrote:
   
On Wednesday 26 Oct 2011, Camaleón wrote:

...

   Then why not ask them for a recommended replacement? If that's iw
   then ask for the documents on how to properly setup when using
   ifup method ;-)
   
   AFAIK, ifupdown is a Debian specific package - kernel devs are hardly
   responsible for documenting it.
  
  Are you sure? :-)
  
  I'm only aware of two ways for setting up ethernet network interfaces
  (today) in Linux systems: one if using the old method (ifup/ifconfig)
  and other is using networkmanager. And both are not Debian-centric,
  I've also used them in openSUSE, for instance.
  
  I think you may be confusing 'ifconfig / iwconfig' and ifupdown. The
  former are *nix standard tools; the latter is a Debian-specific package
  that contains the utilities ifup / ifdown, which work with the file
  /etc/network/interfaces to manipulate network interfaces. IIUC, this is
  a higher level interface which calls ifconfig / iwconfig /
  wpa_supplicant / dhclient and other lower level utilities to do the
  actual work.
 
 I have not mentioned ifupdown but ifup :-)

Ifup is a command from the ifupdown package.

 And I've been calling ifup to the old method for setting up the 
 networking interfaces that I have been using years ago. Ifup was the 
 name I used in openSUSE for ifconfig tools (not just a binary file), so 
 the naming confusion problem can come from here.

I know nothing about openSUSE. This is a Debian list, and 'ifup' in
this context refers to a Debian specific script from the ifupdown
package.

And your comments are not coherent, anyway. You expressed an expectation
that the kernel people document using 'ifup' with 'iw'. But 'iw'
itself is documented quite nicely - and the only thing not documented is
how to use it with 'ifupdown', which, as I've explained, is not their
responsibility.

  Anyway, whatever method is proposed by iw devels should be docummented
  so users and distributions can adapt it to their needs, don't you
  think?
  
  iw is documented quite nicely:
  
  http://linuxwireless.org/en/users/Documentation/iw
 
 Yes, I know... I mentioned that page in the very first of my posts to 
 this thread ;-)

Okay - so what are you complaining is not documented?

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111026121958.b55a14b38ac2c42d74eb2...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 17:17:38 +0100, David Goodenough wrote:

 On Wednesday 26 Oct 2011, Camaleón wrote:

(...)

 Let me ask you again... what specific setup configuration options are
 you missing from the current available tools to setting up your
 wireless adapters in Debian?

 It is possible to hand code, using the explicit iw commands, all the
 things I want to do, BUT it is long winded, difficult to read, and if
 for instance I change an interface name (say wlan0 to wlan1) I have to
 change all the references in the commands, and Sods Law says I will miss
 one.

AFAICT, there is the option for using static names to define the network 
interfaces, by means of udev rules, so you don't have to depend on the 
wlan0 or wlanx naming.

 The wireless_XXX aliases provide a shorthand and also hide things like
 making sure the right interface is passed to the right command.  I am
 looking for an equivalient which allows me to use the new facilities in
 the iw command (such as configuring mesh networks) which can not be
 encoded using either iwconfig or wireless_XXX.

I still don't get the point for your request :-)

You want to use wireless_XXX and you can use them, so why are you 
worried about? I suppose at the time these tools are not available 
anymore there will be a convenient replacement.

And now you say you are looking for an equivalent option for something 
that currently cannot be done with the wireless-tools utilities. Then 
you're not looking for an equivalent but for a way to do something 
with iw tools. It's okay but that's not what I understood for your 
first post...

 Its not that it can not be done, it is that the Debian Way(TM) seems
 to be to use these aliases (and the wireless_XXX one is not the only
 one) and there is no alias (that I can find) that uses iw and therefore
 enables the facilities that I am trying to define.

Mmm, I don't want to be stubborn but a concrete example will help a lot 
to find a way to do what you want to get ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.16.36...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Camaleón
On Wed, 26 Oct 2011 12:19:58 -0400, Celejar wrote:

 On Wed, 26 Oct 2011 15:45:57 + (UTC) Camaleón noela...@gmail.com
 wrote:

(...)

  I think you may be confusing 'ifconfig / iwconfig' and ifupdown. The
  former are *nix standard tools; the latter is a Debian-specific
  package that contains the utilities ifup / ifdown, which work with
  the file /etc/network/interfaces to manipulate network interfaces.
  IIUC, this is a higher level interface which calls ifconfig /
  iwconfig / wpa_supplicant / dhclient and other lower level utilities
  to do the actual work.
 
 I have not mentioned ifupdown but ifup :-)
 
 Ifup is a command from the ifupdown package.

Yes. And it's also the name of the way for setting up the network 
parameters in openSUSE. Sorry if that has confused you.

 And I've been calling ifup to the old method for setting up the
 networking interfaces that I have been using years ago. Ifup was the
 name I used in openSUSE for ifconfig tools (not just a binary file), so
 the naming confusion problem can come from here.
 
 I know nothing about openSUSE. This is a Debian list, and 'ifup' in this
 context refers to a Debian specific script from the ifupdown package.

It's okay, I thought ifup was a common way for designating the old 
method for configuring the networking stuff in contrast to the new 
Network Manager option. Maybe that was an openSUSE specific denomination, 
I beg your perdon for having an openSUSE past ;-)

 And your comments are not coherent, anyway. You expressed an expectation
 that the kernel people document using 'ifup' with 'iw'. But 'iw' itself
 is documented quite nicely - and the only thing not documented is how to
 use it with 'ifupdown', which, as I've explained, is not their
 responsibility.

No, that's not what I said. Please, re-read the whole thread and 
specially message ID pan.2011.10.26.14.20...@gmail.com.

  Anyway, whatever method is proposed by iw devels should be
  docummented so users and distributions can adapt it to their needs,
  don't you think?
  
  iw is documented quite nicely:
  
  http://linuxwireless.org/en/users/Documentation/iw
 
 Yes, I know... I mentioned that page in the very first of my posts to
 this thread ;-)
 
 Okay - so what are you complaining is not documented?

Me? No sir... you must have misread the thread.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.26.16.56...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Brian
On Tue 25 Oct 2011 at 17:30:53 +0100, David Goodenough wrote:

 In wireless-tools there is support for embedding wireless-xxx 
 commands which get converted into iwconfig commands.  iwconfig
 is now deprecated for many wireless cards, in favour of iw.
 
 Is there a package that provides network/interfaces support for
 iw?

iw does not integrate with ifupdown yet. Please see the README.Debian
for the iw package.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111026165041.GA10133@desktop



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread David Goodenough
On Wednesday 26 Oct 2011, Brian wrote:
 On Tue 25 Oct 2011 at 17:30:53 +0100, David Goodenough wrote:
  In wireless-tools there is support for embedding wireless-xxx
  commands which get converted into iwconfig commands.  iwconfig
  is now deprecated for many wireless cards, in favour of iw.
  
  Is there a package that provides network/interfaces support for
  iw?
 
 iw does not integrate with ifupdown yet. Please see the README.Debian
 for the iw package.
Its a shame that 3 years (its dates 30th Oct 2008) later nothing
has moved.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110261838.34186.david.goodeno...@btconnect.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-26 Thread Brian
On Wed 26 Oct 2011 at 18:38:33 +0100, David Goodenough wrote:

 On Wednesday 26 Oct 2011, Brian wrote:
  
  iw does not integrate with ifupdown yet. Please see the README.Debian
  for the iw package.
 Its a shame that 3 years (its dates 30th Oct 2008) later nothing
 has moved.

I'd have a shot at using the pre-up/post-up options provided by ifupdown.
Something like 'pre-up iw [options] command' could be fruitful. It would
be interesting to know if it came to anything.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111026191559.GB10133@desktop



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-25 Thread Camaleón
On Tue, 25 Oct 2011 17:30:53 +0100, David Goodenough wrote:

 In wireless-tools there is support for embedding wireless-xxx commands
 which get converted into iwconfig commands.  iwconfig is now deprecated
 for many wireless cards, in favour of iw.
 
 Is there a package that provides network/interfaces support for iw?

Hmmm, I don't know if this will be of any help :-?

http://linuxwireless.org/en/users/Documentation/iw
http://linuxwireless.org/en/users/Documentation/iw/replace-iwconfig

It basically documents the most common operations done from iw.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.25.17.40...@gmail.com



Re: Is there an equivalent of wireless-xxxx using iw rather then iwconfig

2011-10-25 Thread David Goodenough
On Tuesday 25 Oct 2011, Camaleón wrote:
 On Tue, 25 Oct 2011 17:30:53 +0100, David Goodenough wrote:
  In wireless-tools there is support for embedding wireless-xxx commands
  which get converted into iwconfig commands.  iwconfig is now deprecated
  for many wireless cards, in favour of iw.
  
  Is there a package that provides network/interfaces support for iw?
 
 Hmmm, I don't know if this will be of any help :-?
 
 http://linuxwireless.org/en/users/Documentation/iw
 http://linuxwireless.org/en/users/Documentation/iw/replace-iwconfig
 
 It basically documents the most common operations done from iw.
 
 Greetings,
Yes, I know I can do it manually, I was looking for the same kind
of alias that wireless-tools provided.

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110251855.40110.david.goodeno...@btconnect.com