Re: nm-openswan

2007-03-07 Thread Soren Hansen
On Wed, Mar 07, 2007 at 09:08:47PM -0500, steve wrote:
> Does anyone have need for this type of plugin, or is this software
> only useful for me?

It could definitely be useful, please share it! 

-- 
| Soren Hansen| Linux2Go  | http://Linux2Go.dk/ |
| Seniorkonsulent | Lindholmsvej 42, 2. TH| +45 46 90 26 42 |
| [EMAIL PROTECTED]  | 9400 Norresundby, Denmark | GPG key: E8BDA4E3   |


signature.asc
Description: Digital signature
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 22:01 +0100, yelo_3 wrote:
> Thank you Dan for your information!!
> I will do some tries and let you know if there are
> problems with the refresh of the list.
> 
> I was complaining about the presence of ghost APs
> because a user thinks that he can connect to it even
> if he is not in range (6 minutes is still a lot. why
> so much?)... anyway he has to wait for at least 1

We can possibly tweak this, since drivers are better these days than
they used to be.  The 6 minute interval was chosen a fairly long time
ago.

> minute to see that he cannot connect (then connection
> timeout si tooo long :D even if it is immediately
> visible that the connection can't be done because
> there send-circle does not become green and stays
> grey) and then the AP should be removed from the list.
> 
> Another scan problem is how nm handles the signal
> level. in iwlist eth1 scan there are two values: one
> misured in % and the other in dB. in my case if the
> level is less than -80dB I cannot connect, even if the
> other value is not so low (such as 25/100). which
> problem do you think it can be? a driver issue?
> nm-applet only shows the % value so it is possible
> that the connection cannot be estabilished because the
> other value is less than -80dB, but from nm this is
> not visible...

Scanned signal strength reported from drivers is still not reliable, but
is getting a lot better.  NM cannot rely on signal strength for doing
stuff like switching access points or roaming yet.

Drivers should report signal _quality_ in a 0 - 100% range, they are
free to do whatever they wish with the RSSI/dBm.

> As reguards the scan from console I didn't know that
> in some cases it takes up to 10 seconds.. it is
> instant with ipw2200! (and so it should be instant
> with nm, shouldn't it? or is it introduces a sleep of
> 20 seconds independently?)

Yes, but since NM has to deal with cards _other_ than ipw2200 too.

Dan


> --- Dan Williams <[EMAIL PROTECTED]> ha scritto:
> 
> > On Wed, 2007-03-07 at 20:25 +0100, yelo_3 wrote:
> > > you told me that I should wait 10 seconds before
> > > having an updated list. for me it is a great
> > thing! is
> > > the list updated even if it is open or should I
> > close
> > > and reopen it? is this feature in 0.7 or already
> > in
> > > 0.6.x?
> > 
> > NM scans every 20 seconds, and backs off to 2
> > minutes.  If you pull down
> > the menu, NM starts at 20 seconds again and backs
> > off from there.
> > 
> > > why iwlist eth1 scan is so quick? is it
> > inaccurate?
> > 
> > Because it blocks waiting for the scan results.  It
> > is also highly
> > driver dependent.  Some drivers take up to 10
> > seconds to scan.
> > 
> > > and definitely I cannot understand why ghost APs
> > are
> > > kept for 6 minutes... this is quite confusing!
> > 
> > Because a single wireless scan, even with an
> > ipw2200, will never give
> > you a _complete_ picture of the wireless
> > environment.  Radio is
> > inherently unreliable.  Your card may fail to
> > receive the beacon for an
> > AP correctly, it may have collided with other
> > traffic, etc.  The only
> > reliable way to get a more complete picture of your
> > radio environment is
> > to do multiple scans and compile the results.
> > 
> > > especially in my case they are not purged if
> > wireless
> > > is off
> > 
> > rfkill isn't well supported under linux at the
> > moment, and it's not
> > reported to NetworkManager right now.  That's being
> > worked on.
> > 
> > Dan
> > 
> > 
> > 
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


nm-openswan

2007-03-07 Thread steve
Greetings,

I love the simplicity of Network Manager. For a road warrior with a 
laptop, it's a must have. I currently use FC6 on my Laptop. The only 
thing NM doesn't do for me, that I'd like to see, is manage my IPsec vpn 
connections I configured for OpenSwan.

First , I didn't like the way the secrets files were used by Openswan. I 
had a lot of inconsistency when trying to match secrets to the %any 
identifier, and found that the only reliable way to manage multiple 
secrets for multiple IPsec connections was to regenerate the secrets 
file everytime the network interface / IP address changed.

Requirement: /etc/ipsec.d is used to store per-connection information in 
two files: conn.conf and conn.secrets

So I wrote a small patch to the openswan init scripts which come with 
the FC6 distribution that adds some simple automation to the startup 
procedure: Everytime /etc/init.d/ipsec start/stop/restart is called, it 
will automatically detect which interface is being used to route the 
connection, grab the IP address of the interface and then generate  a 
1-to-1 match in the /etc/ipsec.secrets file, used by pluto, by pairing 
that IP address with the secret and the connection target address 
sourced from /etc/ipsec.d/conn.conf and /etc/init.d/conn.secrets.

The result was that by restarting IPsec services I created a 
/etc/ipsec.secrets file that always had a perfect match for any 
connection I wanted to initiate.

Once I had a reliable way to manage multiple IPsec connections, I 
thought, why not make my IPsec connections manageable through NM?

So I grabbed the source, the source to nm-vpnc and nm-openvpn, and 
started reverse engineering how they manage those two services.

Obviously IPsec is different, but I got the basics from those source trees.

Now I'm writing my own "plugin" to network manager that will allow you 
to start / stop / create / delete IPsec connections for OpenSwan. The 
caveat is that it relys on the automation from my init script for now 
but that may change as I continue to develop my code.

Is anyone else working on a project like this? Does anyone have need for 
this type of plugin, or is this software only useful for me?

Steve
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


OT: Re: Broken Reply Function

2007-03-07 Thread Peter Flynn
Dan Williams wrote:
> On Wed, 2007-03-07 at 15:49 +0100, Tine Mezgec wrote:
>> I agree, somebody should set "reply_goes_to_list" to "This list" (in general 
>> options).
> 
> See the link posted earlier about replyto considered harmful.  Most mail
> clients that I'm aware of have a "Reply to All".

Unfortunately that too is broken on most clients, as it includes the
user in the reply, which is singularly pointless.

///Peter



___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread Peter Flynn
Yaakov Nemoy wrote:
> Hi list,
> 
> Is it just me, or is the reply function 'broken' in this list?

Yes, it's deliberate. By virtue of a deliberate misunderstanding and 
grotesque Luddism many years ago by a small coterie of individuals, it 
was decided that it was better to recommend that users use the one or 
two (now obscure) mailers which distinguish reply-to-list from 
reply-to-individual, than to try to understand the problem. A true tale 
of political correctness run wild among people who will never know better.

> Namely, I click reply, and the To field is set as the sender, and not
> the mailing list.  Maybe I'm not as versed in these elite programs
> that can automagically figure out who to send the reply to, but seeing
> how I'm using Gmail, which should fill up some level of a quota for
> uberness,  which certainly doesn't have a 'reply to mailing list'
> function, it still seems a little odd.

The politically correct line is that you should not use a broken mail 
program (defined as one which cannot distinguish reply-to-individual 
from reply-to-list). While I have great sympathy with this view (people 
who use broken mail programs cause an enormous amount of trouble for me 
and others without knowing it), the ruling on munging reply-to is based 
on flawed logic and a fundamental misunderstanding of the nature of 
mailing lists.

But it's too late to fix it, and it will not change. You just have to 
get used to it, or change your mailer, I'm afraid.

///Peter
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread yelo_3
Thank you Dan for your information!!
I will do some tries and let you know if there are
problems with the refresh of the list.

I was complaining about the presence of ghost APs
because a user thinks that he can connect to it even
if he is not in range (6 minutes is still a lot. why
so much?)... anyway he has to wait for at least 1
minute to see that he cannot connect (then connection
timeout si tooo long :D even if it is immediately
visible that the connection can't be done because
there send-circle does not become green and stays
grey) and then the AP should be removed from the list.

Another scan problem is how nm handles the signal
level. in iwlist eth1 scan there are two values: one
misured in % and the other in dB. in my case if the
level is less than -80dB I cannot connect, even if the
other value is not so low (such as 25/100). which
problem do you think it can be? a driver issue?
nm-applet only shows the % value so it is possible
that the connection cannot be estabilished because the
other value is less than -80dB, but from nm this is
not visible...

As reguards the scan from console I didn't know that
in some cases it takes up to 10 seconds.. it is
instant with ipw2200! (and so it should be instant
with nm, shouldn't it? or is it introduces a sleep of
20 seconds independently?)

--- Dan Williams <[EMAIL PROTECTED]> ha scritto:

> On Wed, 2007-03-07 at 20:25 +0100, yelo_3 wrote:
> > you told me that I should wait 10 seconds before
> > having an updated list. for me it is a great
> thing! is
> > the list updated even if it is open or should I
> close
> > and reopen it? is this feature in 0.7 or already
> in
> > 0.6.x?
> 
> NM scans every 20 seconds, and backs off to 2
> minutes.  If you pull down
> the menu, NM starts at 20 seconds again and backs
> off from there.
> 
> > why iwlist eth1 scan is so quick? is it
> inaccurate?
> 
> Because it blocks waiting for the scan results.  It
> is also highly
> driver dependent.  Some drivers take up to 10
> seconds to scan.
> 
> > and definitely I cannot understand why ghost APs
> are
> > kept for 6 minutes... this is quite confusing!
> 
> Because a single wireless scan, even with an
> ipw2200, will never give
> you a _complete_ picture of the wireless
> environment.  Radio is
> inherently unreliable.  Your card may fail to
> receive the beacon for an
> AP correctly, it may have collided with other
> traffic, etc.  The only
> reliable way to get a more complete picture of your
> radio environment is
> to do multiple scans and compile the results.
> 
> > especially in my case they are not purged if
> wireless
> > is off
> 
> rfkill isn't well supported under linux at the
> moment, and it's not
> reported to NetworkManager right now.  That's being
> worked on.
> 
> Dan
> 
> 
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 20:25 +0100, yelo_3 wrote:
> you told me that I should wait 10 seconds before
> having an updated list. for me it is a great thing! is
> the list updated even if it is open or should I close
> and reopen it? is this feature in 0.7 or already in
> 0.6.x?

NM scans every 20 seconds, and backs off to 2 minutes.  If you pull down
the menu, NM starts at 20 seconds again and backs off from there.

> why iwlist eth1 scan is so quick? is it inaccurate?

Because it blocks waiting for the scan results.  It is also highly
driver dependent.  Some drivers take up to 10 seconds to scan.

> and definitely I cannot understand why ghost APs are
> kept for 6 minutes... this is quite confusing!

Because a single wireless scan, even with an ipw2200, will never give
you a _complete_ picture of the wireless environment.  Radio is
inherently unreliable.  Your card may fail to receive the beacon for an
AP correctly, it may have collided with other traffic, etc.  The only
reliable way to get a more complete picture of your radio environment is
to do multiple scans and compile the results.

> especially in my case they are not purged if wireless
> is off

rfkill isn't well supported under linux at the moment, and it's not
reported to NetworkManager right now.  That's being worked on.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

There's even a Thunderbird extension for "Reply to List."

Dan Williams wrote:
> On Wed, 2007-03-07 at 15:49 +0100, Tine Mezgec wrote:
>> I agree, somebody should set "reply_goes_to_list" to "This list" (in general 
>> options).
> 
> See the link posted earlier about replyto considered harmful.  Most mail
> clients that I'm aware of have a "Reply to All".
> 
> Dan
> 
>> LPT
>>
>> Yaakov Nemoy pravi:
>>> Hi list,
>>>
>>> Is it just me, or is the reply function 'broken' in this list?
>>> Namely, I click reply, and the To field is set as the sender, and not
>>> the mailing list.  Maybe I'm not as versed in these elite programs
>>> that can automagically figure out who to send the reply to, but seeing
>>> how I'm using Gmail, which should fill up some level of a quota for
>>> uberness,  which certainly doesn't have a 'reply to mailing list'
>>> function, it still seems a little odd.
>>>
>>> Cheers,
>>> Yaakov
>>> ___
>>> NetworkManager-list mailing list
>>> NetworkManager-list@gnome.org
>>> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7x6Emb+gadEcsb4RAv25AJwK7WXRiQMzgzhEHGB0Fqz9hSpqTwCfR9XJ
einQK7haVrC6Rp6h6J44zh0=
=9sD0
-END PGP SIGNATURE-
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 15:49 +0100, Tine Mezgec wrote:
> I agree, somebody should set "reply_goes_to_list" to "This list" (in general 
> options).

See the link posted earlier about replyto considered harmful.  Most mail
clients that I'm aware of have a "Reply to All".

Dan

> LPT
> 
> Yaakov Nemoy pravi:
> > Hi list,
> > 
> > Is it just me, or is the reply function 'broken' in this list?
> > Namely, I click reply, and the To field is set as the sender, and not
> > the mailing list.  Maybe I'm not as versed in these elite programs
> > that can automagically figure out who to send the reply to, but seeing
> > how I'm using Gmail, which should fill up some level of a quota for
> > uberness,  which certainly doesn't have a 'reply to mailing list'
> > function, it still seems a little odd.
> > 
> > Cheers,
> > Yaakov
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread yelo_3
you told me that I should wait 10 seconds before
having an updated list. for me it is a great thing! is
the list updated even if it is open or should I close
and reopen it? is this feature in 0.7 or already in
0.6.x?

why iwlist eth1 scan is so quick? is it inaccurate?

and definitely I cannot understand why ghost APs are
kept for 6 minutes... this is quite confusing!
especially in my case they are not purged if wireless
is off

--- Dan Williams <[EMAIL PROTECTED]> ha scritto:

> On Wed, 2007-03-07 at 10:15 +0100, yelo_3 wrote:
> > Are you sure?? iwlist eth1 scan gives always more
> > updated results than the applet.
> > 
> > I started NetworkManager --no-daemon to see the
> > logfile but it does not say anything when I click
> on
> > the icon... but maybe it is normal.. I didn't find
> any
> > option to have mode debugging info
> 
> "Refresh" will never be an option, that's just the
> wrong way of going
> about things.  If you can automatically determine
> stuff, its just bad
> form to do things like refresh.
> 
> Applets do trigger an updated scan interval when the
> menu is dropped
> down, and those results will appear shortly in the
> menu after some
> seconds (after the scan has completed which may be
> up to 10s or so).
> 
> What's the problem?  Do you want immediate results
> of a scan?  Those are
> largely inaccurate anyway.  If you know there's an
> AP around but NM
> can't see it, that's probably more of a driver
> issue.
> 
> Dan
> 
> > 
> > --- Darren Albers <[EMAIL PROTECTED]> ha scritto:
> > 
> > > On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > > > I know that nm-applet shows the result of
> scans
> > > every
> > > > 2 minutes. I think that this was discussed
> lots of
> > > > times. I just wanted to ask a question.
> > > > why it is not acceptable to do scans also
> every
> > > time I
> > > > left-click on the applet, to show updated
> results?
> > > > Or at least add a "refresh list" button...
> this is
> > > > really helpful to preserve time!
> > > 
> > > That is what happens if I recall correctly, when
> you
> > > drop down the
> > > list it initiates a scan request.
> > > ___
> > > NetworkManager-list mailing list
> > > NetworkManager-list@gnome.org
> > >
> >
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ___ 
> > L'email della prossima generazione? Puoi averla
> con la nuova Yahoo! Mail: 
> > http://it.docs.yahoo.com/nowyoucan.html
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> >
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 10:15 +0100, yelo_3 wrote:
> Are you sure?? iwlist eth1 scan gives always more
> updated results than the applet.
> 
> I started NetworkManager --no-daemon to see the
> logfile but it does not say anything when I click on
> the icon... but maybe it is normal.. I didn't find any
> option to have mode debugging info

"Refresh" will never be an option, that's just the wrong way of going
about things.  If you can automatically determine stuff, its just bad
form to do things like refresh.

Applets do trigger an updated scan interval when the menu is dropped
down, and those results will appear shortly in the menu after some
seconds (after the scan has completed which may be up to 10s or so).

What's the problem?  Do you want immediate results of a scan?  Those are
largely inaccurate anyway.  If you know there's an AP around but NM
can't see it, that's probably more of a driver issue.

Dan

> 
> --- Darren Albers <[EMAIL PROTECTED]> ha scritto:
> 
> > On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > > I know that nm-applet shows the result of scans
> > every
> > > 2 minutes. I think that this was discussed lots of
> > > times. I just wanted to ask a question.
> > > why it is not acceptable to do scans also every
> > time I
> > > left-click on the applet, to show updated results?
> > > Or at least add a "refresh list" button... this is
> > > really helpful to preserve time!
> > 
> > That is what happens if I recall correctly, when you
> > drop down the
> > list it initiates a scan request.
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> >
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > 
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: WPA-enterprise passwords stored in plaintext

2007-03-07 Thread Dan Williams
On Sat, 2007-03-03 at 01:14 -0800, tanjack wrote:
> Dear list,
> 
> Network-manager connects to a WPA-enterprise+PEAP
> network (which happens flawlessly, my compliments).
> However, I just found out, that the username
> (identity) and password that I use to login to the
> network are stored as plaintext in gconf.
> 
> I think that this is a security issue. passwords
> should never be readable as plain text (this happens
> more often, by the way).
> 
> A WPA-personal key is stored in gnome-keyring and not
> visible. I suggest that the same will be done for
> login names and passwords that are used to login to a
> WPA-enterprise network.
> 
> In fact wpa_supplicant.conf has the same problem. I
> hstrongly advise that this will be addressed.

It will be in the 0.7 release line.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread Darren Albers
On 3/7/07, Yaakov Nemoy <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> Is it just me, or is the reply function 'broken' in this list?
> Namely, I click reply, and the To field is set as the sender, and not
> the mailing list.  Maybe I'm not as versed in these elite programs
> that can automagically figure out who to send the reply to, but seeing
> how I'm using Gmail, which should fill up some level of a quota for
> uberness,  which certainly doesn't have a 'reply to mailing list'
> function, it still seems a little odd.
>
> Cheers,
> Yaakov
> 

I don't remember the exact reason but this has been discussed a number
of times if you search the archives you should find the discussion and
why it is the way it is now.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Is there going to be a release of network-manager-applet for GNOME 2.18?

2007-03-07 Thread Dan Williams
On Tue, 2007-03-06 at 00:39 +0100, Michael Biebl wrote:
> Dan Williams wrote:
> > On Mon, 2007-03-05 at 19:16 +0100, Michael Biebl wrote:
> >> Dan Williams wrote:
> >>> On Fri, 2007-03-02 at 22:38 +0100, Vincent Untz wrote:
>  (cc'ing the NM list)
> 
>  Le vendredi 02 mars 2007, à 21:54, Jaap Haitsma a écrit :
> > Something I noticed.
> >
> > The latest release of network manager (applet) is 0.6.4 which is
> > already something like 9 months. AFAIK there has not been a release
> > since. Is there going to be a release for 2.18?
>  Hi,
> 
>  I (and possibly Andre) have pinged NetworkManager people about this.
>  It's definitely important to have a release for 2.18.0. (It would have
>  been great to have a release for the RC too...)
> >>> Yeah; I'll get an applet 0.6.5 release done this week.
> >> What about nm-vpn-properties? See my other email. What's your take on this?
> > 
> > It has not been split out, and is still part of NetworkManager, as are
> > the VPN plugins.  I guess it will be released when a 0.6.5 of NM gets
> > released.
> 
> Well, this is not quite correct. The vpn plugins are in the same svn
> source tree, but they are in a different tarball each (make dist).
> nm-vpn-properties on the contrary is included in the network-manager
> tarball.
> I don't recommend to split the small nm-vpn-properties utility into a
> separate svn tree and tarball but simply move it from network-manager to
> network-manager-applet before 0.6.5 is released.

That's a good point I guess.  The main reason stuff like this didn't
happen was because there wasn't a great need at the time, and there
wasn't a lot of time to make it happen.  But that's not really an
excuse.

What would your proposed directory structure look like after moving the
properties app over?

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Should be an Applet - not in the Notification Area

2007-03-07 Thread Dan Williams
On Tue, 2007-03-06 at 18:03 +0100, Bash0rman wrote:
> It's called NetworkManager Applet so why is it not implemented as Gnome
> Applet?

1) bonobo sucks
2) cross-DE compatibility
3) It's pointless to have more than one in the same session, which is
expected with real applets

I don't really think it's that big of a deal, but I'm somewhat
ambivalent.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Should be an Applet - not in the Notification Area

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 11:45 -0500, Seth Howard wrote:
> I am not an expert in the area of Applets, but making it strictly a
> Gnome applet would restrict its usage to Gnome.  So if I wanted to run
> it under xfce4 or some other Window Manager, the applet would need
> re-written for each window-manager implementation.  The notification
> (icon box) area is a standard that is usable regardless of WM (or it
> should be).  Even though it is technically a gnome application, making
> it as portable as possible is a good thing. 

That was one of the exact reasons it was made a notification area in the
first place, before there was eg knetworkmanager.

Dan

> Hope that answers your question.
> 
> -Seth
> 
> On 3/6/07, Bash0rman <[EMAIL PROTECTED]> wrote: 
> It's called NetworkManager Applet so why is it not implemented
> as Gnome
> Applet?
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 09:25 -0500, Yaakov Nemoy wrote:
> On 3/6/07, Darren Albers <[EMAIL PROTECTED]> wrote:
> > On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > > I know that nm-applet shows the result of scans every
> > > 2 minutes. I think that this was discussed lots of
> > > times. I just wanted to ask a question.
> > > why it is not acceptable to do scans also every time I
> > > left-click on the applet, to show updated results?
> > > Or at least add a "refresh list" button... this is
> > > really helpful to preserve time!
> >
> > That is what happens if I recall correctly, when you drop down the
> > list it initiates a scan request.
> 
> That seems strange to me as well, the only time I can get it to scan
> correctly is to open swscanner (which picks up a massive number of
> networks compared to network-manager)

NM coalesces networks of the same SSID into one entry in it's scan
table.  It doesn't not break out by BSSID, but we may do that for 0.7
and rely on the user tools (like the applets) to perform the coalescing
themselves.  Usually, NM's list is longer than the wireless card's list
because the card culls APs more frequently than NM.  NM keeps a
composite list of a couple scans and removes SSIDs from the list after 6
minutes have passed, I think.

This leads to interesting situations on trains where cards like the
ipw2x00 which do background scanning report every AP they see in a
constant stream, and NM only removes them every 6 minutes.  But that's a
side-effect and somewhat fixable.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ipw2200: nm thinks that networks are present even if the card is off

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 17:46 +0100, yelo_3 wrote:
> well... so you are in a different situation! in my
> case if I'm connected the signal drops to 0 bars (only
> the applet icon), but the list is not purged, nor
> updated with 0% signal... which laptop do you have? or
> better, what does your hotkey do? mine manipulates the
> file
> 
> /sys/class/net/eth1/device/rf_kill
> 
> I'm using ubuntu feisty now... but I remember that in
> edgy it was the same

rfkill is badly supported under Linux.  Right now there are a plethora
of different ways that different drivers and hardware report rfkill.  I
don't want NM to have to implement 15 different methods of detecting and
handling rfkill, and therefore we will wait until a more unified
solution exists.

This solution is in the works, see netdev/linux-wireless where Ivo van
Doorn is working on it.

Matthew Garret is also working on an interim solution using HAL, which
NM will likely use when it's ready.

Dan


> 
> 
> --- Martin Wolff <[EMAIL PROTECTED]> ha scritto:
> 
> > My ipw2200 on ubuntu Edgy will disapear when I kill
> > the card.  It
> > takes a second or two, but then the signal bars drop
> > to zero and I
> > lose everything as I would expect it to.
> > 
> > On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > > I'm using a ipw2200 wireless card. I can manually
> > > disable  it by
> > >
> > > echo 1 | sudo tee
> > /sys/class/net/eth1/device/rf_kill
> > >
> > > When the card is in this status iwlist eth1 scan
> > > reports no network at all
> > >
> > > eth1  No scan results
> > >
> > > instead the applet still shows the latest networks
> > > that were found.
> > > This also happens when I move to a place not
> > covered
> > > by any signal
> > > In these cases the list should be purged,
> > shouldn't it??
> > >
> > >
> > >
> > >
> > >
> > >
> > > ___
> > > L'email della prossima generazione? Puoi averla
> > con la nuova Yahoo! Mail:
> > > http://it.docs.yahoo.com/nowyoucan.html
> > > ___
> > > NetworkManager-list mailing list
> > > NetworkManager-list@gnome.org
> > >
> >
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > >
> > >
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> >
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > 
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ipw2200: nm thinks that networks are present even if the card is off

2007-03-07 Thread yelo_3
well... so you are in a different situation! in my
case if I'm connected the signal drops to 0 bars (only
the applet icon), but the list is not purged, nor
updated with 0% signal... which laptop do you have? or
better, what does your hotkey do? mine manipulates the
file

/sys/class/net/eth1/device/rf_kill

I'm using ubuntu feisty now... but I remember that in
edgy it was the same



--- Martin Wolff <[EMAIL PROTECTED]> ha scritto:

> My ipw2200 on ubuntu Edgy will disapear when I kill
> the card.  It
> takes a second or two, but then the signal bars drop
> to zero and I
> lose everything as I would expect it to.
> 
> On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > I'm using a ipw2200 wireless card. I can manually
> > disable  it by
> >
> > echo 1 | sudo tee
> /sys/class/net/eth1/device/rf_kill
> >
> > When the card is in this status iwlist eth1 scan
> > reports no network at all
> >
> > eth1  No scan results
> >
> > instead the applet still shows the latest networks
> > that were found.
> > This also happens when I move to a place not
> covered
> > by any signal
> > In these cases the list should be purged,
> shouldn't it??
> >
> >
> >
> >
> >
> >
> > ___
> > L'email della prossima generazione? Puoi averla
> con la nuova Yahoo! Mail:
> > http://it.docs.yahoo.com/nowyoucan.html
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> >
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
> >
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Should be an Applet - not in the Notification Area

2007-03-07 Thread Seth Howard

I am not an expert in the area of Applets, but making it strictly a Gnome
applet would restrict its usage to Gnome.  So if I wanted to run it under
xfce4 or some other Window Manager, the applet would need re-written for
each window-manager implementation.  The notification (icon box) area is a
standard that is usable regardless of WM (or it should be).  Even though it
is technically a gnome application, making it as portable as possible is a
good thing.

Hope that answers your question.

-Seth

On 3/6/07, Bash0rman <[EMAIL PROTECTED]> wrote:


It's called NetworkManager Applet so why is it not implemented as Gnome
Applet?

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ipw2200: nm thinks that networks are present even if the card is off

2007-03-07 Thread Martin Wolff
My ipw2200 on ubuntu Edgy will disapear when I kill the card.  It
takes a second or two, but then the signal bars drop to zero and I
lose everything as I would expect it to.

On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> I'm using a ipw2200 wireless card. I can manually
> disable  it by
>
> echo 1 | sudo tee /sys/class/net/eth1/device/rf_kill
>
> When the card is in this status iwlist eth1 scan
> reports no network at all
>
> eth1  No scan results
>
> instead the applet still shows the latest networks
> that were found.
> This also happens when I move to a place not covered
> by any signal
> In these cases the list should be purged, shouldn't it??
>
>
>
>
>
>
> ___
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
> http://it.docs.yahoo.com/nowyoucan.html
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Should be an Applet - not in the Notification Area

2007-03-07 Thread Bash0rman
It's called NetworkManager Applet so why is it not implemented as Gnome
Applet?

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function (NOT)

2007-03-07 Thread Volker Braun
On Wed, 07 Mar 2007 15:49:35 +0100, Tine Mezgec wrote:
> I agree, somebody should set "reply_goes_to_list" to "This list" (in
> general options).

"Reply-To" Munging Considered Harmful

http://www.unicom.com/pw/reply-to-harmful.html

I would recommend gmane.org for mailinglist. Your news reader's "follow
up" function will then do what you want. Plus threaded view etc.

Volker

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread yelo_3
You're right. I need to do reply to all and then
remove the sender address... it is annoying


--- Yaakov Nemoy <[EMAIL PROTECTED]> ha
scritto:

> Hi list,
> 
> Is it just me, or is the reply function 'broken' in
> this list?
> Namely, I click reply, and the To field is set as
> the sender, and not
> the mailing list.  Maybe I'm not as versed in these
> elite programs
> that can automagically figure out who to send the
> reply to, but seeing
> how I'm using Gmail, which should fill up some level
> of a quota for
> uberness,  which certainly doesn't have a 'reply to
> mailing list'
> function, it still seems a little odd.
> 
> Cheers,
> Yaakov
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: DBus API

2007-03-07 Thread Will Stephenson
On Wednesday 07 March 2007 16:11:22 Nick Hughart wrote:
> Is there a more up to date copy of the DBus API for NetworkManager then
> the one I have found here:
>
> http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.tx
>t
>
> I am trying to create an application that communicates with
> NetworkManager and have not been able to find any good documentation on
> its DBus interface.

It's not good documentation, but my rough notes for the 0.6.x API the same 
purpose might help:

http://websvn.kde.org/trunk/KDE/kdebase/runtime/solid/networkmanager/org.freedesktop.NetworkManager.xml.notes?revision=640298&view=markup

Northern birdies told me the API might be getting regularised and made more 
sane for 0.7, is there any truth to that?

Will
-- 
Will Stephenson
IRC: Bille
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


DBus API

2007-03-07 Thread Nick Hughart
Is there a more up to date copy of the DBus API for NetworkManager then
the one I have found here:

http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt

I am trying to create an application that communicates with
NetworkManager and have not been able to find any good documentation on
its DBus interface.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Broken Reply Function

2007-03-07 Thread Tine Mezgec
I agree, somebody should set "reply_goes_to_list" to "This list" (in general 
options).

LPT

Yaakov Nemoy pravi:
> Hi list,
> 
> Is it just me, or is the reply function 'broken' in this list?
> Namely, I click reply, and the To field is set as the sender, and not
> the mailing list.  Maybe I'm not as versed in these elite programs
> that can automagically figure out who to send the reply to, but seeing
> how I'm using Gmail, which should fill up some level of a quota for
> uberness,  which certainly doesn't have a 'reply to mailing list'
> function, it still seems a little odd.
> 
> Cheers,
> Yaakov
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: WPA2 problem

2007-03-07 Thread Markus Rippl
Am Mittwoch 07 März 2007 15:32 schrieb [EMAIL PROTECTED]:
> wpa-supplicant is installed. if i try to connect wpa2(personal) is shown
> correctly. the key is set and i enter. It tries to connect, but nothing
> happens, it tries and tries... Have got a 2200er intel-chip. Using
> Ubuntu Feisty. What do I wrong?
Have you tried to enter the psk instead of the passphrase? I have this problem 
using a bcm43xx driver.

You can compute the psk from the passphase and network name using 
the "wpa_passphrase" command:

[EMAIL PROTECTED] ~ $ wpa_passphrase "networkname" "secretkey"
network={
ssid="networkname"
#psk="secretkey"
psk=8dee162195fc89f4cca9417e1d5eb556190b197ac568712bbd870b54153cf0db
}

If this works, I'm at least not the only one having this odd problem..

regards
Markus



pgpjyYH3CT2s3.pgp
Description: PGP signature
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


WPA2 problem

2007-03-07 Thread speedator
hi, the wireless network is found and shown via the applet. 
wpa-supplicant is installed. if i try to connect wpa2(personal) is shown 
correctly. the key is set and i enter. It tries to connect, but nothing 
happens, it tries and tries... Have got a 2200er intel-chip. Using 
Ubuntu Feisty. What do I wrong?

Thank you for help
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Broken Reply Function

2007-03-07 Thread Yaakov Nemoy
Hi list,

Is it just me, or is the reply function 'broken' in this list?
Namely, I click reply, and the To field is set as the sender, and not
the mailing list.  Maybe I'm not as versed in these elite programs
that can automagically figure out who to send the reply to, but seeing
how I'm using Gmail, which should fill up some level of a quota for
uberness,  which certainly doesn't have a 'reply to mailing list'
function, it still seems a little odd.

Cheers,
Yaakov
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread Yaakov Nemoy
On 3/6/07, Darren Albers <[EMAIL PROTECTED]> wrote:
> On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > I know that nm-applet shows the result of scans every
> > 2 minutes. I think that this was discussed lots of
> > times. I just wanted to ask a question.
> > why it is not acceptable to do scans also every time I
> > left-click on the applet, to show updated results?
> > Or at least add a "refresh list" button... this is
> > really helpful to preserve time!
>
> That is what happens if I recall correctly, when you drop down the
> list it initiates a scan request.

That seems strange to me as well, the only time I can get it to scan
correctly is to open swscanner (which picks up a massive number of
networks compared to network-manager)
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: manipulate network state from shell

2007-03-07 Thread Markus Rippl
Am Mittwoch 07 März 2007 14:39 schrieb Gergely Gábor:
> Hello!
>
> I'd like to ask if there is a way to manipulate the natwork stae (more
> exaclty: wether wireless is enabled or not) from shell. My wifi card
> lacs th rf_switch button (that is usually an advantage) but i'm not sure
> wether is disables radio when i disable wireless in nm-applet, so maybe
You can usually find this out by looking at dmesg's output when you turn off 
the wireless function, using nm-applet or knetworkmanager:

Mar  7 15:23:52 [kernel] bcm43xx: set security called, .level = 0, .enabled = 
0, .encrypt = 0
Mar  7 15:23:52 [kernel] bcm43xx: Radio turned off

regards
Markus


pgp9YMoaleKjh.pgp
Description: PGP signature
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: manipulate network state from shell

2007-03-07 Thread Gergely Gábor
2007. 03. 7, szerda keltezéssel 14.57-kor yelo_3 ezt írta:
> which wireless card have you got?
> 
intel ipw2200.
> 
> --- Gergely Gábor <[EMAIL PROTECTED]> ha
> scritto:
> 
> > 
> > Hello!
> > 
> > I'd like to ask if there is a way to manipulate the
> > natwork stae (more
> > exaclty: wether wireless is enabled or not) from
> > shell. My wifi card
> > lacs th rf_switch button (that is usually an
> > advantage) but i'm not sure
> > wether is disables radio when i disable wireless in
> > nm-applet, so maybe
> > i'd use rf_kill too. And binding to a hotkey wold be
> > nice. (to be
> > handled by acpid)
> > 
> > thx: ggergely
> > 
> > 
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> >
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > 
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: manipulate network state from shell

2007-03-07 Thread yelo_3
which wireless card have you got?


--- Gergely Gábor <[EMAIL PROTECTED]> ha
scritto:

> 
> Hello!
> 
> I'd like to ask if there is a way to manipulate the
> natwork stae (more
> exaclty: wether wireless is enabled or not) from
> shell. My wifi card
> lacs th rf_switch button (that is usually an
> advantage) but i'm not sure
> wether is disables radio when i disable wireless in
> nm-applet, so maybe
> i'd use rf_kill too. And binding to a hotkey wold be
> nice. (to be
> handled by acpid)
> 
> thx: ggergely
> 
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


manipulate network state from shell

2007-03-07 Thread Gergely Gábor

Hello!

I'd like to ask if there is a way to manipulate the natwork stae (more
exaclty: wether wireless is enabled or not) from shell. My wifi card
lacs th rf_switch button (that is usually an advantage) but i'm not sure
wether is disables radio when i disable wireless in nm-applet, so maybe
i'd use rf_kill too. And binding to a hotkey wold be nice. (to be
handled by acpid)

thx: ggergely


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: applet and wireless scan

2007-03-07 Thread yelo_3
Are you sure?? iwlist eth1 scan gives always more
updated results than the applet.

I started NetworkManager --no-daemon to see the
logfile but it does not say anything when I click on
the icon... but maybe it is normal.. I didn't find any
option to have mode debugging info


--- Darren Albers <[EMAIL PROTECTED]> ha scritto:

> On 3/6/07, yelo_3 <[EMAIL PROTECTED]> wrote:
> > I know that nm-applet shows the result of scans
> every
> > 2 minutes. I think that this was discussed lots of
> > times. I just wanted to ask a question.
> > why it is not acceptable to do scans also every
> time I
> > left-click on the applet, to show updated results?
> > Or at least add a "refresh list" button... this is
> > really helpful to preserve time!
> 
> That is what happens if I recall correctly, when you
> drop down the
> list it initiates a scan request.
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
>
http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list