Re: ifnet plugin documentation

2011-10-09 Thread David Narvaez
On Sun, Oct 9, 2011 at 8:55 PM, Patrick McMunn doctorwho...@gmail.com wrote:

 It looks like ifnet is a plugin specifically for Gentoo. See these links:

 http://gitorious.org/gentoo-networkmanager-plugin/pages/Home
 http://gitorious.org/gentoo-networkmanager-plugin/pages/Configuration
 http://qiaomuf.wordpress.com/tag/ifnet/

Thanks! Just what I needed.

David E. Narváez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


ifnet Plugin Documentation

2011-10-08 Thread David Narvaez
Hi,

Where can I read documentation on the ifnet plugin? I don't see it
documented in the man pages or the website[0]. Thanks in advance.

David E. Narvaez

[0] http://live.gnome.org/NetworkManager/SystemSettings
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: network manager 0.9 error out on adding interface ([nm-supplicant-interface.c:570] interface_add_cb())

2011-09-07 Thread David Narvaez
On Wed, Sep 7, 2011 at 3:59 PM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
  Sep 7 02:32:50 mtz NetworkManager[1896]: info wpa_supplicant started
  Sep 7 02:32:50 mtz NetworkManager[1896]: error [1315377170.372635]
  [nm-supplicant-interface.c:570] interface_add_cb(): (wlan0): error adding
  interface: wpa_supplicant couldn't grab this interface.

 NM-0.9 requires a newer wpa_supplicant. I am not sure what is the minimum 
 version, I use wpa_supplicant-0.7.3.

Yes, minimum required version is 0.7.3, yet if compiled by hand you
also need to specify you want to compile it with new D-Bus API. I'd
recommend going with package manager versions already configured for
that when possible.

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager Settings and D-Bus

2011-07-25 Thread David Narvaez
On Mon, Jul 25, 2011 at 2:08 PM, Bob Bader li...@dbent.net wrote:

 I am having a problem with my python script that does a IP refresh for our 
 product.  When I run this script in Fedora 12 it works fine but when I run it 
 in Fedora 15 it fails.  I have been told it works in Fedora 14 also.  The 
 digging I did I found a few things but could not get ActivateConnection to 
 work.

Hi, I haven't looked into the code but please note that Fedora 15 uses
Network Manager 0.9 which has a different D-Bus API, and is
incompatible with previous versions of NM, so that may be affecting
your code.

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-20 Thread David Narvaez
On Mon, Jun 20, 2011 at 3:27 AM, Alex Pyattaev alex.pyatt...@gmail.com wrote:
 David,
  I'm a gentoo user too, and I was thinking maybe we could cooperate on this
 thing. For example, I have 2 nice ebuilds that compile NM and applet from the
 source tree unpacked somewhere in your system. This way you do not have to
 bother with dangling files and you can always see what's installed. Both are
 attached.
 Don't forget to run ebuild ... digest before installing.
 And do not put those to portage tree directly, just run ebuild, this way they
 will not get erased upon next emerge --sync.
 If you have any preliminary data on supplicant interface, I'd be happy to try
 it too ASAP!
 Thank you,
 Alex

Awesome, I'll follow this up with you through private e-mail before we
get too Off-Topic, and maybe we can find ways to make it easier to do
tests for NM 0.9.

Thanks!

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-19 Thread David Narvaez
On Mon, Jun 13, 2011 at 10:11 AM, David Narvaez
david.narv...@computer.org wrote:
 I'll find that out today about that patch and fix the D-Bus issue
 which should get me up and running with NM 0.9.

Hi all, now posting from my laptop with NM 0.9 finally!

Thanks Dan for pointing me in the direction of the new DBus interface
for wpa_supplicant.

Lamarque, I'd like to know if I could reach you through private e-mail
to clarify some stuff before documenting this process as I think I did
some extra work that was not needed (at least not in Gentoo-based
distros).

Thanks again.

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-13 Thread David Narvaez
On Mon, Jun 13, 2011 at 10:04 AM, Dan Williams d...@redhat.com wrote:
 wpa_supplicant needs to be be built with the *new* D-Bus interface
 enabled, and the service activation file that D-Bus uses to launch it on
 demand needs to include the -u option so that the dbus interface is
 started at runtime.

Thanks for the follow up on this issue, I was just about to write
about my findings last weekend:

Indeed, I was debugging the execution of nm-tool, the D-Bus calls from
NM and those from wpa_supplicant and as far as I can tell, they are
not talking to each other the right way, so I guessed I had to find a
patch that fixes the communication between them two (what you mention
is the new D-Bus interface). I also stumbled upon a similar reply on
this list[0] but I wasn't able to determine if that patch is currently
included in Gentoo's revision of wpa_supplicant as I had some other
stuff to finish yesterday.

I'll find that out today about that patch and fix the D-Bus issue
which should get me up and running with NM 0.9.

Thanks again.

[0] 
http://mail.gnome.org/archives/networkmanager-list/2011-February/msg00027.html
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-10 Thread David Narvaez
On Fri, Jun 10, 2011 at 7:09 PM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
 What wpa_supplicant and NetworkManager versions do you use? I use 
 wpa_supplicant -0.7.3 and NetworkManager 0.8.9997.

Same thing here, wpa_supplicant-0.7.3-r2 from Gentoo and NM 0.8.9997 from git.

David E. Narváez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-10 Thread David Narvaez
On Fri, Jun 10, 2011 at 8:15 PM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
 This is odd, I also use Gentoo. What is your wireless card? Send the output
 of lspci please (or lsusb if your card is usb).

Just to add some precision to my previous post, I use Sabayon Linux.
Furthermore, as I can't remove the NetworkManager package (it's a
dependency for many other packages), what I do is I compile the NM 0.9
code and install that over the old NM files (0.8.2) which could mean
I'm messing up the configuration. I'm now downloading a Fedora 15
LiveCD, which I understand includes the NM 0.9 package just to discard
configuration issues.

About the wireless card, this is lspci's output for my wireless card:

 Network controler: Broadcom Corporation BCM4312 802.11b/g (rev 01)

I've tried with both the b43 driver and Broadcom's one, no luck. I
also saw some results saying that for some Acer laptops, removing the
acer_wmi module did the trick, so I removed dell_wmi module (and
dell_laptop too), still no luck.

I'll let you know if it works fine on F15. Thanks again.

David E. Narváez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-09 Thread David Narvaez
On Wed, Jun 8, 2011 at 2:40 PM, David Narvaez
david.narv...@computer.org wrote:
 Ok. I don't have my laptop right now but I'll try nmcli nm as soon as
 I get home. Thanks a lot for your fast answers, I now have a clear
 picture of what the debugging path should be.

nmcli nm shows Wifi and Wifi-Hardware are both enabled but I can't see
a list of the networks. Any ideas from this point?

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-09 Thread David Narvaez
On Thu, Jun 9, 2011 at 11:19 AM, Dan Williams d...@redhat.com wrote:
 On Thu, 2011-06-09 at 15:12 +0200, Jirka Klimes wrote:
 On Thursday 09 of June 2011 14:00:29 David Narvaez wrote:
 First, basically you don't need any client (KDE plasma or nm-applet or gnome-
 shell applet or whatever) to run NetworkManager. You can edit connection 
 files
 and everything will work.

 To list available APs use:
 nm-tool
 or
 nmcli dev wifi

  nmcli nm shows Wifi and Wifi-Hardware are both enabled but I can't see
  a list of the networks. Any ideas from this point?
 

 There could be a problem with WiFi driver or wireless could be disabled by
 rfkill switch (either hardware or software). Can you show the output of 'nm-
 tool' and 'rfkill list' commands? Also attach /var/log/messages or
 /var/log/daemon.log, or whatever file contains NetworkManager logs in your
 distro.

 After that, try a manual wifi scan:

 iw dev wlan0 scan trigger

 or if your card is really old:

 iwlist wlan0 scan

 and see what happens.  If that's working, the next thing we need to do
 is enable wpa_supplicant debugging to see why the scan requests are
 getting rejected by the driver.

Thanks for the replies,

I had an awfully busy night and didn't have much time to hack NM but
just wanted to give quick updates on the commands above:

* nm-tool shows no wireless networks
* rfkill shows everything is unblocked
* I can scan wireless networks with iwlist
* This is something relevant I found on messages:

 (wlan0): device state change: unavailable - disconnected (reason 
 'supplicant-available')

I am not able to copy the exact outputs right now (they are in the
laptop, without wireless), but that should give us a bit of an idea of
what the situation looks like. I searched around and found some
strikingly similar bugs in Fedora 15[0][1], which uses NM 0.9 so my
issue could be along those lines. I didn't have time to read through
all of them, but I'll try that tomorrow. If needed, I could still post
the output of the commands tomorrow to help debugging

Thanks againf or the help.

David E. Narváez

[0] https://bugzilla.redhat.com/show_bug.cgi?id=695959
[1] https://bugzilla.redhat.com/show_bug.cgi?id=697946
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-08 Thread David Narvaez
On Tue, Jun 7, 2011 at 11:43 PM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
 You need to install NetworkManager 0.9 and then compile the nm09 branch from
 KDE's networkmanagement repository:

So I need them both to be able to list the wireless networks then?

Btw, I already did the Plasma NM installation (from the nm09),
actually following the info I read on your blog, and I was not able to
see available wireless networks, but I'll give it a try again and
continue  posting on Plasma NM's list then.

Thanks.

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-08 Thread David Narvaez
On Wed, Jun 8, 2011 at 10:03 AM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
 So I need them both to be able to list the wireless networks then?

 Yes, Plasma NM from nm09 only talks to NM-0.9. The one in master branch only
 talsk to NM-0.8.

Yes, that I know. The question was if I needed Plasma NM nm09
installed in order for NM to list wireless networks available.

 You said nm-tool did not show any wireless network, then NM-0.9 is not able
 to list wireless and so is Plasma NM. Are you sure your wireless card is
 working and enabled? You can test if it is enabled in NM using:

 nmcli nm

 rfkill list

My wireless card is surely working (I just have to resort to NM 0.8.2
and Plasma NM from my repository and everything works fine up to the
bugs I'm trying to escape from) but I haven't tried those two commands
to ensure wireless networking is enabled. But I guess this answer
means I should be able to list available wireless networks from NM 0.9
alone, right? That is, before installing any NM Cllient. That would
finally answer my question above.

David E. Narváez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: How to Test NetworkManager 0.9

2011-06-08 Thread David Narvaez
On Wed, Jun 8, 2011 at 2:31 PM, Lamarque Vieira Souza
lamar...@gmail.com wrote:
 You can use nm-tool to list all access points in the neighborhood. nm-tool
 talks directly to NM, Plasma NM is not involved. But if wireless is disabled
 in NM (you can check that using nmcli nm) it will not list any access
 points even if your wireless card is working.

Ok. I don't have my laptop right now but I'll try nmcli nm as soon as
I get home. Thanks a lot for your fast answers, I now have a clear
picture of what the debugging path should be.

David E. Narváez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


How to Test NetworkManager 0.9

2011-06-07 Thread David Narvaez
Hi,

My ultimate goal is to test KDE's NetworkManager client which is now
being developed for NM 0.9. I fetched NM's git code and compiled and
installed the master branch over the binaries that my distro has for
NM which is version 0.8.2. At that point, I have no KDE NetworkManager
installed. I then run nm-tool and I can't see any available wireless
network. Am I missing any step to get NM 0.9 working? I'm not even
sure if I should be able to list available wireless networks without
installing KDE's Network Management code, should I?

Thanks.

David E. Narvaez
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list