Re: How to Test NetworkManager 0.9

2011-06-20 Thread Alex Pyattaev
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

On Sunday 19 June 2011 10:59:27 David Narvaez wrote:
 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
-- 
Alex Pyattaev,
Researcher,
Tampere University of Technology,
Finland# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.4.0-r1.ebuild,v
 1.2 2011/06/09 01:41:03 sping Exp $

EAPI=2

inherit autotools eutils gnome.org linux-info
MY_SRC_DIR=/opt/net-misc/networkmanager/NetworkManager

DESCRIPTION=Network configuration and management in an easy way. Desktop 
environment independent.
HOMEPAGE=http://www.gnome.org/projects/NetworkManager/;
SRC_URI=

LICENSE=GPL-2
SLOT=0
KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86

RDEPEND==sys-apps/dbus-1.2

DEPEND=${RDEPEND}

#S=${WORKDIR}/${MY_P}



src_prepare() {
# backported ifnet patches
#epatch ${FILESDIR}/${P}-shared-connection.patch
#epatch ${FILESDIR}/${P}-fix-tests.patch
#epatch ${FILESDIR}/${P}-ifnet-smarter-write.patch
cp -r ${MY_SRC_DIR} ${S}
eautoreconf
}

src_configure() {
ECONF=--disable-more-warnings
--localstatedir=/var
--with-distro=gentoo
--with-dbus-sys-dir=/etc/dbus-1/system.d
--with-udev-dir=/lib/udev
--with-iptables=/sbin/iptables
$(use_enable doc gtk-doc)
$(use_with doc docs)
$(use_with resolvconf)

# default is dhcpcd (if none or both are specified), ISC dchclient 
otherwise
if use dhclient ; then
if use dhcpcd ; then
ECONF=${ECONF} --with-dhcpcd --without-dhclient
else
ECONF=${ECONF} --with-dhclient --without-dhcpcd
fi
else
ECONF=${ECONF} --with-dhcpcd --without-dhclient
fi

econf ${ECONF}
}

src_install() {
emake DESTDIR=${D} install || die emake install failed

# Need to keep the /var/run/NetworkManager directory
keepdir /var/run/NetworkManager

# Need to keep the /etc/NetworkManager/dispatched.d for dispatcher 
scripts
keepdir /etc/NetworkManager/dispatcher.d

#dodoc AUTHORS ChangeLog NEWS README TODO || die dodoc failed

# Add keyfile plugin support
keepdir /etc/NetworkManager/system-connections
insinto /etc/NetworkManager
#newins ${FILESDIR}/nm-system-settings.conf-ifnet 
nm-system-settings.conf \
#   || die newins failed
}

pkg_postinst() {
elog You will need to reload DBus if this is your first time 
installing
elog NetworkManager, or if you're upgrading from 0.7 or older.
elog 
}
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.8.4.ebuild,v 1.2 
2011/05/18 16:38:28 ssuominen Exp $

EAPI=2
inherit gnome2

MY_SRC_DIR=/opt/net-misc/nm-applet/network-manager-applet

DESCRIPTION=Gnome applet for NetworkManager.
HOMEPAGE=http://projects.gnome.org/NetworkManager/;
SRC_URI=

LICENSE=GPL-2
SLOT=0
KEYWORDS=~amd64 ~ppc ~x86
IUSE=bluetooth

# FIXME: bluetooth is automagic
RDEPEND==dev-libs/glib-2.16:2
=dev-libs/dbus-glib-0.88
=sys-apps/dbus-1.4.1
=x11-libs/gtk+-2.18:2
=gnome-base/gconf-2.20:2
=x11-libs/libnotify-0.4.3
=gnome-base/libglade-2:2.0
=gnome-base/gnome-keyring-2.20

=dev-libs/libnl-1.1
=net-misc/networkmanager-${PV}

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-19 Thread Lamarque Vieira Souza
Em Sunday 19 June 2011, David Narvaez escreveu:
 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.

Good to know.
 
 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).

Ok, you can send them.

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
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 Dan Williams
On Fri, 2011-06-10 at 19:54 -0500, David Narvaez wrote:
 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.

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.

Dan


___
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 Lamarque Vieira Souza
Em Friday 10 June 2011, David Narvaez escreveu:
 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

What wpa_supplicant and NetworkManager versions do you use? I use 
wpa_supplicant -0.7.3 and NetworkManager 0.8.9997.

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
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 Lamarque Vieira Souza
Em Friday 10 June 2011, David Narvaez escreveu:
 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.

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).

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
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 Jirka Klimes
On Thursday 09 of June 2011 14:00:29 David Narvaez wrote:
 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.
 

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.

 David E. Narvaez

Jirka
___
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 Dan Williams
On Thu, 2011-06-09 at 15:12 +0200, Jirka Klimes wrote:
 On Thursday 09 of June 2011 14:00:29 David Narvaez wrote:
  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.
  
 
 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.

Dan


___
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 Lamarque Vieira Souza
Em Wednesday 08 June 2011, David Narvaez escreveu:
 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?

Yes, Plasma NM from nm09 only talks to NM-0.9. The one in master branch 
only talsk to NM-0.8.
 
 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.

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

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
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 Lamarque Vieira Souza
Em Wednesday 08 June 2011, David Narvaez escreveu:
 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.

The answer for that question is no. Plasma NM depends on NM, not the 
other way around.
 
  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.

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.
 
-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
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


Re: How to Test NetworkManager 0.9

2011-06-07 Thread Lamarque Vieira Souza
Em Wednesday 08 June 2011, David Narvaez escreveu:
 Hi,

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?

You need to install NetworkManager 0.9 and then compile the nm09 branch 
from KDE's networkmanagement repository:

git clone git://anongit.kde.org/networkmanagement
cd networkmanagement
git checkout nm09
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

You can send e-mails about KDE's NM client (I call it Plasma NM) to our 
mailing list: http://mail.kde.org/mailman/listinfo/kde-networkmanager

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list