Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-17 Thread Dan Williams
On Sat, 2008-10-18 at 00:10 +1100, James . wrote:
> 
> 
> On Thu, Oct 16, 2008 at 2:14 AM, Dan Williams <[EMAIL PROTECTED]> wrote:
> 
> On Wed, 2008-10-15 at 22:57 +1100, James . wrote:
> >
> >
> > On Tue, Oct 14, 2008 at 5:45 AM, Dan Williams
> <[EMAIL PROTECTED]> wrote:
> > On Sat, 2008-10-11 at 19:10 +1100, James . wrote:
> > >
> > >
> > > On Sat, Oct 11, 2008 at 7:07 PM, James .
> > <[EMAIL PROTECTED]> wrote:
> > > I use a couple of laptops with iwl3945 and
> one with
> > rt2860sta
> > > and I connect to three wireless access
> points on a
> > daily
> > > basis. One is WEP, one is WPA Personal and
> one is
> > WPA
> > > Enterprise with PEAP (university).
> > >
> > > With previous versions of Networkmanager
> before
> > around 29th of
> > > September, connections to WEP and WPA
> Personal
> > through
> > > nm-applet worked fine. Recently I noticed
> that I can
> > only
> > > connect to wireless access points with
> security of
> > WEP or less
> > > through nm-applet gui. If I click on the
> wireless
> > connection
> > > through clicking on the icon and selecting
> a WPA
> > security
> > > connection, the following error results:
> > >
> > >
> > > "Couldnt create default connection" in activate
> helper
> > function.
> > >
> > > I discovered was that NetworkManager or nm-applet
> is no
> > longer passing
> > > correct security flags, and the function
> get_secrets falls
> > through to
> > > the end, resulting in the error.
> >
> >
> > Could you paste in the output of '/sbin/iwlist wlan0
> scan' for
> > the block
> > describing your AP?
> >
> > Thanks!
> > Dan
> >
> >
> >
> > Okay upon further investigation, I now know that its not the
> > securities that networkmanager cannot get, but for some
> reason
> > networkmanager is not recognizing my device capabilities.
> > Specifically, the return values of
> nm_device_wifi_get_capabilities are
> > not correct anymore (NM_WIFI_DEVICE_CAP_WPA is not set). How
> is
> > networkmanager getting these capabilities? I know that I
> recently
> > updated to dbus 1.2.4 (from 1.1), hal 0.5.11 (from 0.5.10)
> and udev
> > 130 (from 118). Would those updates have in anyway changed
> the way
> > networkmanager operates to grab these capabilities?
> 
> 
> Nothing has changed in how NM gets the capabilities.  NM gets
> them
> directly from the driver via the SIOCGIWRANGE wireless
> extensions call.
> Have you updated your kernel recently?
> 
> Dan
> 
> 
> 
> Yes I have updated recently, twice infact. Once from 2.6.26.5 to
> 2.6.26.6 and then finally to 2.6.27. Now, I try to keep my kernels as
> mininal as possible although I have kept the configuration mostly the
> same throughout my upgrades (i build my own kernels, no distro ones).
> The problem started to occurr around 2.6.26.6, but since the config
> used was the same as my 2.6.26.5 kernel, i dont quite think that is
> the problem.
> 
> However, just to be sure, is there any particular kernel configuration
> I should be keeping?

I was able to track this issue down yesterday and it is indeed a
NetworkManager bug, which was fixed in SVN r4185.

Dan



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


Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-17 Thread James .
On Thu, Oct 16, 2008 at 2:14 AM, Dan Williams <[EMAIL PROTECTED]> wrote:

> On Wed, 2008-10-15 at 22:57 +1100, James . wrote:
> >
> >
> > On Tue, Oct 14, 2008 at 5:45 AM, Dan Williams <[EMAIL PROTECTED]> wrote:
> > On Sat, 2008-10-11 at 19:10 +1100, James . wrote:
> > >
> > >
> > > On Sat, Oct 11, 2008 at 7:07 PM, James .
> > <[EMAIL PROTECTED]> wrote:
> > > I use a couple of laptops with iwl3945 and one with
> > rt2860sta
> > > and I connect to three wireless access points on a
> > daily
> > > basis. One is WEP, one is WPA Personal and one is
> > WPA
> > > Enterprise with PEAP (university).
> > >
> > > With previous versions of Networkmanager before
> > around 29th of
> > > September, connections to WEP and WPA Personal
> > through
> > > nm-applet worked fine. Recently I noticed that I can
> > only
> > > connect to wireless access points with security of
> > WEP or less
> > > through nm-applet gui. If I click on the wireless
> > connection
> > > through clicking on the icon and selecting a WPA
> > security
> > > connection, the following error results:
> > >
> > >
> > > "Couldnt create default connection" in activate helper
> > function.
> > >
> > > I discovered was that NetworkManager or nm-applet is no
> > longer passing
> > > correct security flags, and the function get_secrets falls
> > through to
> > > the end, resulting in the error.
> >
> >
> > Could you paste in the output of '/sbin/iwlist wlan0 scan' for
> > the block
> > describing your AP?
> >
> > Thanks!
> > Dan
> >
> >
> >
> > Okay upon further investigation, I now know that its not the
> > securities that networkmanager cannot get, but for some reason
> > networkmanager is not recognizing my device capabilities.
> > Specifically, the return values of nm_device_wifi_get_capabilities are
> > not correct anymore (NM_WIFI_DEVICE_CAP_WPA is not set). How is
> > networkmanager getting these capabilities? I know that I recently
> > updated to dbus 1.2.4 (from 1.1), hal 0.5.11 (from 0.5.10) and udev
> > 130 (from 118). Would those updates have in anyway changed the way
> > networkmanager operates to grab these capabilities?
>
> Nothing has changed in how NM gets the capabilities.  NM gets them
> directly from the driver via the SIOCGIWRANGE wireless extensions call.
> Have you updated your kernel recently?
>
> Dan
>
>
>
> Yes I have updated recently, twice infact. Once from 2.6.26.5 to 2.6.26.6and 
> then finally to
2.6.27. Now, I try to keep my kernels as mininal as possible although I have
kept the configuration mostly the same throughout my upgrades (i build my
own kernels, no distro ones). The problem started to occurr around 2.6.26.6,
but since the config used was the same as my 2.6.26.5 kernel, i dont quite
think that is the problem.

However, just to be sure, is there any particular kernel configuration I
should be keeping?

Oh and heres an output for iwlist for the wpa connection I am using:
ra0   Scan completed :
  Cell 01 - Address: 00:1B:FC:9D:68:A6
ESSID:"dbsq"
Mode:Managed
Channel:1
Quality:100/100  Signal level:-50 dBm  Noise level:-81
dBm
Encryption key:on
Bit Rates:54 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-15 Thread Dan Williams
On Wed, 2008-10-15 at 22:57 +1100, James . wrote:
> 
> 
> On Tue, Oct 14, 2008 at 5:45 AM, Dan Williams <[EMAIL PROTECTED]> wrote:
> On Sat, 2008-10-11 at 19:10 +1100, James . wrote:
> >
> >
> > On Sat, Oct 11, 2008 at 7:07 PM, James .
> <[EMAIL PROTECTED]> wrote:
> > I use a couple of laptops with iwl3945 and one with
> rt2860sta
> > and I connect to three wireless access points on a
> daily
> > basis. One is WEP, one is WPA Personal and one is
> WPA
> > Enterprise with PEAP (university).
> >
> > With previous versions of Networkmanager before
> around 29th of
> > September, connections to WEP and WPA Personal
> through
> > nm-applet worked fine. Recently I noticed that I can
> only
> > connect to wireless access points with security of
> WEP or less
> > through nm-applet gui. If I click on the wireless
> connection
> > through clicking on the icon and selecting a WPA
> security
> > connection, the following error results:
> >
> >
> > "Couldnt create default connection" in activate helper
> function.
> >
> > I discovered was that NetworkManager or nm-applet is no
> longer passing
> > correct security flags, and the function get_secrets falls
> through to
> > the end, resulting in the error.
> 
> 
> Could you paste in the output of '/sbin/iwlist wlan0 scan' for
> the block
> describing your AP?
> 
> Thanks!
> Dan
> 
> 
> 
> Okay upon further investigation, I now know that its not the
> securities that networkmanager cannot get, but for some reason
> networkmanager is not recognizing my device capabilities.
> Specifically, the return values of nm_device_wifi_get_capabilities are
> not correct anymore (NM_WIFI_DEVICE_CAP_WPA is not set). How is
> networkmanager getting these capabilities? I know that I recently
> updated to dbus 1.2.4 (from 1.1), hal 0.5.11 (from 0.5.10) and udev
> 130 (from 118). Would those updates have in anyway changed the way
> networkmanager operates to grab these capabilities?

Nothing has changed in how NM gets the capabilities.  NM gets them
directly from the driver via the SIOCGIWRANGE wireless extensions call.
Have you updated your kernel recently?

Dan



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


Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-15 Thread James .
On Tue, Oct 14, 2008 at 5:45 AM, Dan Williams <[EMAIL PROTECTED]> wrote:

> On Sat, 2008-10-11 at 19:10 +1100, James . wrote:
> >
> >
> > On Sat, Oct 11, 2008 at 7:07 PM, James . <[EMAIL PROTECTED]> wrote:
> > I use a couple of laptops with iwl3945 and one with rt2860sta
> > and I connect to three wireless access points on a daily
> > basis. One is WEP, one is WPA Personal and one is WPA
> > Enterprise with PEAP (university).
> >
> > With previous versions of Networkmanager before around 29th of
> > September, connections to WEP and WPA Personal through
> > nm-applet worked fine. Recently I noticed that I can only
> > connect to wireless access points with security of WEP or less
> > through nm-applet gui. If I click on the wireless connection
> > through clicking on the icon and selecting a WPA security
> > connection, the following error results:
> >
> >
> > "Couldnt create default connection" in activate helper function.
> >
> > I discovered was that NetworkManager or nm-applet is no longer passing
> > correct security flags, and the function get_secrets falls through to
> > the end, resulting in the error.
>
> Could you paste in the output of '/sbin/iwlist wlan0 scan' for the block
> describing your AP?
>
> Thanks!
> Dan
>
>
>
> Okay upon further investigation, I now know that its not the securities
that networkmanager cannot get, but for some reason networkmanager is not
recognizing my device capabilities. Specifically, the return values of
nm_device_wifi_get_capabilities are not correct anymore
(NM_WIFI_DEVICE_CAP_WPA is not set). How is networkmanager getting these
capabilities? I know that I recently updated to dbus 1.2.4 (from 1.1), hal
0.5.11 (from 0.5.10) and udev 130 (from 118). Would those updates have in
anyway changed the way networkmanager operates to grab these capabilities?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-13 Thread Dan Williams
On Sat, 2008-10-11 at 19:10 +1100, James . wrote:
> 
> 
> On Sat, Oct 11, 2008 at 7:07 PM, James . <[EMAIL PROTECTED]> wrote:
> I use a couple of laptops with iwl3945 and one with rt2860sta
> and I connect to three wireless access points on a daily
> basis. One is WEP, one is WPA Personal and one is WPA
> Enterprise with PEAP (university).
> 
> With previous versions of Networkmanager before around 29th of
> September, connections to WEP and WPA Personal through
> nm-applet worked fine. Recently I noticed that I can only
> connect to wireless access points with security of WEP or less
> through nm-applet gui. If I click on the wireless connection
> through clicking on the icon and selecting a WPA security
> connection, the following error results:
> 
> 
> "Couldnt create default connection" in activate helper function.
> 
> I discovered was that NetworkManager or nm-applet is no longer passing
> correct security flags, and the function get_secrets falls through to
> the end, resulting in the error.

Could you paste in the output of '/sbin/iwlist wlan0 scan' for the block
describing your AP?

Thanks!
Dan



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


Re: nm-applet and NetworkManager svn after 29 Sept

2008-10-11 Thread James .
On Sat, Oct 11, 2008 at 7:07 PM, James . <[EMAIL PROTECTED]> wrote:

> I use a couple of laptops with iwl3945 and one with rt2860sta and I connect
> to three wireless access points on a daily basis. One is WEP, one is WPA
> Personal and one is WPA Enterprise with PEAP (university).
>
> With previous versions of Networkmanager before around 29th of September,
> connections to WEP and WPA Personal through nm-applet worked fine. Recently
> I noticed that I can only connect to wireless access points with security of
> WEP or less through nm-applet gui. If I click on the wireless connection
> through clicking on the icon and selecting a WPA security connection, the
> following error results:
>
> "Couldnt create default connection" in activate helper function.

I discovered was that NetworkManager or nm-applet is no longer passing
correct security flags, and the function get_secrets falls through to the
end, resulting in the error.

I do not know if this is because of changes in NetworkManager or nm-applet
or something I did to screw up my system. If anyone has any ideas, please
let me know.

By the way, sorry for the split message. Gmail does have its issues.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


nm-applet and NetworkManager svn after 29 Sept

2008-10-11 Thread James .
I use a couple of laptops with iwl3945 and one with rt2860sta and I connect
to three wireless access points on a daily basis. One is WEP, one is WPA
Personal and one is WPA Enterprise with PEAP (university).

With previous versions of Networkmanager before around 29th of September,
connections to WEP and WPA Personal through nm-applet worked fine. Recently
I noticed that I can only connect to wireless access points with security of
WEP or less through nm-applet gui. If I click on the wireless connection
through clicking on the icon and selecting a WPA security connection, the
following error results:
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list