Re: Troubleshooting NM 1.4.0 (was 'How to activate...randomization?')

2016-10-17 Thread Chris Laprise

On 10/14/2016 12:43 PM, Thomas Haller wrote:

On Fri, 2016-10-14 at 11:00 -0400, Chris Laprise wrote:

On 08/31/2016 01:16 PM, Thomas Haller wrote:

On Wed, 2016-08-31 at 12:07 -0400, Chris Laprise wrote:

I am trying out the new NM in Debian testing by installing the
network-manager 1.4.0-3 and network-manager-gnome 1.4.0-2
versions
from
unstable.


NM 1.4 shows up in the systray, but won't display any access
points.
It
does seem to be trying to manage the wifi device, as its MAC
address
now
changes to a random number; I can see this with ifconfig.


NM 1.2.4 had been working fine before the upgrade.


Any troubleshooting suggestions

Hi,


could be https://bugzilla.gnome.org/show_bug.cgi?id=770456
or https://bugzilla.gnome.org/show_bug.cgi?id=770504

please send the logfile with level=TRACE. Thanks

Thomas

Hi Thomas,

The patches appear to be working, as the new 1.4.2-1 release that
landed
in Debian testing is able to randomize both scanning and connections
now.

However, it doesn't adhere to what is shown on the nm-settings man
page.
The assigned-mac-address setting is described as superceding the
deprecated cloned-mac-address. But NM will only randomize during
connections if cloned-mac-address is used.

wifi.assigned-mac-address=random

...has no effect, but

wifi.cloned-mac-address=random

Hi Chris,


Thanks for reporting back.


There are three manual pages

   (1) nm-settings
   (2) nm-settings-keyfile
   (3) nm-settings-ifcfg-rh

Mostly they are similar, but
   (1) describes the properties on the D-Bus API
   (2) the properties in keyfile format
   (3) the properties in ifcfg-rh format

what does not exist, is

   (4) nm-settings-nmcli (how are the properties call in nmcli)

the property wifi.assigned-mac-address exists only on the D-Bus API
(1). It was added there, because the existing wifi.cloned-mac-address
property could not be extended to support the new options.

On all other occasions, there exists only wifi.cloned-mac-address.
That's what it's called in nmcli and NetworkManager.conf.

Note that nmcli and `man NetworkManager.conf` does not mention
wifi.assigned-mac-address.

That is all expected.

ciao,
Thomas


One additional issue...

When I upgrade my network VM from NM 1.2 to 1.4, something about the old 
connection settings prevents the wifi.cloned-mac-address global setting 
from taking effect. It will work fine if I create a new VM after the 
upgrade, so NM 1.4 doesn't encounter the old connection info. I suppose 
it might also work if I deleted the connections manually (though I'm not 
sure).


Chris

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


Re: Troubleshooting NM 1.4.0 (was 'How to activate...randomization?')

2016-10-14 Thread Thomas Haller
On Fri, 2016-10-14 at 11:00 -0400, Chris Laprise wrote:
> On 08/31/2016 01:16 PM, Thomas Haller wrote:
> > 
> > On Wed, 2016-08-31 at 12:07 -0400, Chris Laprise wrote:
> > > 
> > > I am trying out the new NM in Debian testing by installing the
> > > network-manager 1.4.0-3 and network-manager-gnome 1.4.0-2
> > > versions
> > > from
> > > unstable.
> > > 
> > > 
> > > NM 1.4 shows up in the systray, but won't display any access
> > > points.
> > > It
> > > does seem to be trying to manage the wifi device, as its MAC
> > > address
> > > now
> > > changes to a random number; I can see this with ifconfig.
> > > 
> > > 
> > > NM 1.2.4 had been working fine before the upgrade.
> > > 
> > > 
> > > Any troubleshooting suggestions
> > Hi,
> > 
> > 
> > could be https://bugzilla.gnome.org/show_bug.cgi?id=770456
> > or https://bugzilla.gnome.org/show_bug.cgi?id=770504
> > 
> > please send the logfile with level=TRACE. Thanks
> > 
> > Thomas
> 
> Hi Thomas,
> 
> The patches appear to be working, as the new 1.4.2-1 release that
> landed 
> in Debian testing is able to randomize both scanning and connections
> now.
> 
> However, it doesn't adhere to what is shown on the nm-settings man
> page. 
> The assigned-mac-address setting is described as superceding the 
> deprecated cloned-mac-address. But NM will only randomize during 
> connections if cloned-mac-address is used.
> 
> wifi.assigned-mac-address=random
> 
> ...has no effect, but
> 
> wifi.cloned-mac-address=random

Hi Chris,


Thanks for reporting back.


There are three manual pages

  (1) nm-settings
  (2) nm-settings-keyfile
  (3) nm-settings-ifcfg-rh

Mostly they are similar, but
  (1) describes the properties on the D-Bus API
  (2) the properties in keyfile format
  (3) the properties in ifcfg-rh format

what does not exist, is

  (4) nm-settings-nmcli (how are the properties call in nmcli)

the property wifi.assigned-mac-address exists only on the D-Bus API
(1). It was added there, because the existing wifi.cloned-mac-address
property could not be extended to support the new options.

On all other occasions, there exists only wifi.cloned-mac-address.
That's what it's called in nmcli and NetworkManager.conf.

Note that nmcli and `man NetworkManager.conf` does not mention
wifi.assigned-mac-address.

That is all expected.

ciao,
Thomas

signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Troubleshooting NM 1.4.0 (was 'How to activate...randomization?')

2016-10-14 Thread Chris Laprise

On 08/31/2016 01:16 PM, Thomas Haller wrote:

On Wed, 2016-08-31 at 12:07 -0400, Chris Laprise wrote:

I am trying out the new NM in Debian testing by installing the
network-manager 1.4.0-3 and network-manager-gnome 1.4.0-2 versions
from
unstable.


NM 1.4 shows up in the systray, but won't display any access points.
It
does seem to be trying to manage the wifi device, as its MAC address
now
changes to a random number; I can see this with ifconfig.


NM 1.2.4 had been working fine before the upgrade.


Any troubleshooting suggestions

Hi,


could be https://bugzilla.gnome.org/show_bug.cgi?id=770456
or https://bugzilla.gnome.org/show_bug.cgi?id=770504

please send the logfile with level=TRACE. Thanks

Thomas


Hi Thomas,

The patches appear to be working, as the new 1.4.2-1 release that landed 
in Debian testing is able to randomize both scanning and connections now.


However, it doesn't adhere to what is shown on the nm-settings man page. 
The assigned-mac-address setting is described as superceding the 
deprecated cloned-mac-address. But NM will only randomize during 
connections if cloned-mac-address is used.


wifi.assigned-mac-address=random

...has no effect, but

wifi.cloned-mac-address=random

...does work.

Chris
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Troubleshooting NM 1.4.0 (was 'How to activate...randomization?')

2016-08-31 Thread Thomas Haller
On Wed, 2016-08-31 at 12:07 -0400, Chris Laprise wrote:
> I am trying out the new NM in Debian testing by installing the 
> network-manager 1.4.0-3 and network-manager-gnome 1.4.0-2 versions
> from 
> unstable.
> 
> 
> NM 1.4 shows up in the systray, but won't display any access points.
> It 
> does seem to be trying to manage the wifi device, as its MAC address
> now 
> changes to a random number; I can see this with ifconfig.
> 
> 
> NM 1.2.4 had been working fine before the upgrade.
> 
> 
> Any troubleshooting suggestions

Hi,


could be https://bugzilla.gnome.org/show_bug.cgi?id=770456
or https://bugzilla.gnome.org/show_bug.cgi?id=770504

please send the logfile with level=TRACE. Thanks

Thomas

signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Troubleshooting NM 1.4.0 (was 'How to activate...randomization?')

2016-08-31 Thread Chris Laprise
I am trying out the new NM in Debian testing by installing the 
network-manager 1.4.0-3 and network-manager-gnome 1.4.0-2 versions from 
unstable.



NM 1.4 shows up in the systray, but won't display any access points. It 
does seem to be trying to manage the wifi device, as its MAC address now 
changes to a random number; I can see this with ifconfig.



NM 1.2.4 had been working fine before the upgrade.


Any troubleshooting suggestions?


Chris

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


Re: Troubleshooting NM

2006-03-21 Thread Nikolaus Filus
On Tuesday 21 March 2006 04:07, Paul Stodghill wrote:
> I just upgraded to FC5, and NM no longer works for my
> ndiswrapper-enabled wireless card. I looked, but I can't seem to find a
> troubleshooting guide for NM. Is there such a beast?

Not as far as I know, but ...
I had an idea (somehow stolen from gaim) to make a little script or helper 
app to make the life of potential users *and* developers easier.
As I'm reading this mailing list for a longer time now, with the release 
of nm 0.6.0 many people came to the list with problems and asking for 
help. This are the same common problems over and over. So why not giving 
the users a hint from the UI to run a little discovery_and_debugging app 
to point to most common problems and help in bug reports.

Some problems I've read about:
- /var/run/NetworkManager not existant or not writeable
- dbus problems (mostly on gentoo) because of different
  destinations in policy (com.redhat vs org.gentoo) or
  wrong user in policy (nm needs root?)
- missing capabilites in driver (enc_capa and others)
- wrong/unsupported driver or version (especially ndiswrapper or bcm?)
- no dhclient script with dbus-send
- dhcpcd without -x option
- interfaces overriden through distro-specific configs and not avaiable to 
  nm (mostly reported in ubuntu)
- association needs to long
- .


I think most of them can be a simple bash script. At least checking for 
driver capabilities (enc_capa) has to be a C app.

What do you think of it?


Nikolaus

BTW: I'm not the one able to implement it :)
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Troubleshooting NM

2006-03-21 Thread Paul Stodghill
I just upgraded to FC5, and NM no longer works for my 
ndiswrapper-enabled wireless card. I looked, but I can't seem to find a 
troubleshooting guide for NM. Is there such a beast?


Thanks.

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