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: [PATCH] ModemManager: Enhancements to Icera error reporting and access technology reporting

2011-06-13 Thread Dan Williams
On Fri, 2011-06-10 at 12:15 -0400, Eric Shienbrood wrote:
 According to the documentation I have, the connection state field is
 '-' when not connected. To quote more specifically:
 
 
 4) Response to AT%NWSTATE CR (execute command)
 %NWSTATE: signal strength,MCC/MNC,access
 technology,connection state,regulation
 . . .
 connection state possible values:
 - for 2G access technologies and 3G access technology when not
 connected
 R99 for 3G access technology when connected
 HSDPA for 3G access technology when connected and HSDPA
 resource allocated by the network
 HSUPA for 3G access technology when connected and HSUPA
 resource allocated by the network
 HSDPA-HSUPA for 3G access technology when connected and both
 HSDPA and HSUPA resources allocated
 by the network
 
 
 I interpret that to mean that if the field is not '-', it indicates
 the technology that's actually in use for the connection, so that's
 what should be reported for access technology. If the field is '-',
 then there's no connection, so we should report what's in the access
 technology field instead.
 
 
 Also, sorry about missing the g_free() for the result of
 g_match_info_fetch(). Do you want me to send a new patch, or do you
 want to take care of it?

Done  pushed, thanks!

Dan

 
 Eric
 
 On Thu, Jun 9, 2011 at 5:47 PM, Dan Williams d...@redhat.com wrote:
 On Tue, 2011-06-07 at 10:35 -0400, Eric Shienbrood wrote:
  Thanks Aleksander! New patch file is attached.
 
 
 I split these up and pushed all hunks except the hunk for
 processing the
 match info for the NWSTATE response.  Two things there...
 first you need
 to make sure you free the result of g_match_info_fetch() since
 that's an
 allocated string.  Second, what does '-' mean again for the
 connected
 field?  I had the docs at some point but I appear to have lost
 them;
 what other values can be there, and why don't we want to
 update the
 access technology when that field is something other than '-'?
 
 Thanks!
 Dan
 
 
  Eric
 
 
 
  On Tue, Jun 7, 2011 at 2:56 AM, Aleksander Morgado
  aleksan...@lanedo.com wrote:
  Hi Eric,
 
 
   The additional error detail allows us to know that
 a
  connection failed
   because of an invalid APN. Also, when handling
 access
  technology
   changes, report the technology in use if we're
 connected.
  Finally,
   avoid using CFUN=0 when disabling the modem.
 
 
  A small thing to fix in the patch.
 
  All callbacks receiving a response from the AT
 serial port
  should check
  if the modem has already been removed, so in
  query_network_error_code_done(), this check is
 needed just
  before trying
  to parse any reply:
 
 /* If the modem has already been removed, return
 without
  * scheduling callback */
 if (mm_callback_info_check_modem_removed (info))
 return;
 
  See
 
 
 http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=9323daec015ecad65c39b6020b62e864c027d858
 
  Cheers!
 
  --
  Aleksander
 
 
 
 
  ___
  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: [PATCH] Simple patches for NM

2011-06-13 Thread Dan Williams
On Thu, 2011-06-09 at 17:42 +0200, Aleksander Morgado wrote:
 Hey,
 
 Attached the patches for:
  * the automake portability warnings (0001, 2 versions, one for master
 and the other for NM_0_8)
  * the missing U2600 band ID (applicable to both master and NM_0_8)

Applied, thanks!

Dan

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


Re: No connection with Ericsson Business Mobile Networks BV F3307 Mobile Broadband Module

2011-06-13 Thread Dan Williams
On Sat, 2011-06-11 at 16:57 +0200, Klaus Lichtenwalder wrote:
 Hi,
 
 just got me a new netbook with built in gsm module. Unfortunately, it
 looks like I can't make a connection with NetworkManager on a fresh
 Fedora 15 LXDE Spin. Attached you will find a long lsub output and the
 output of modem-manager --debug.

It appears that for the Ericsson devices, CME ERROR 272 (from the MM
log) means that the hardware 3G radio switch is preventing the 3G card
from powering up fully.

Dan


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


Re: No connection with Ericsson Business Mobile Networks BV F3307 Mobile Broadband Module

2011-06-13 Thread Klaus Lichtenwalder
Am 13.06.2011 17:43, schrieb Dan Williams:
 
 It appears that for the Ericsson devices, CME ERROR 272 (from the MM
 log) means that the hardware 3G radio switch is preventing the 3G card
 from powering up fully.
 


Dan,

thanks, this seems to be the case here. I've been playing with some
keyboard combinations, and it seems that I can't have wireless and 3g at
the same time (well, there might be some use cases, but I guess this is
not very important), but I can activate 3g. Unfortunately, there's no
indication which connection can be active, except for wireless dropping
off the net. lsusb and lspci don't show differences in the interfaces.

Thanks,
Klaus
-- 

 Klaus Lichtenwalder, Dipl. Inform.,  http://www.lichtenwalder.name
 PGP Key fingerprint: BF52 72FA 1F5A 1E29 C0F8  498C C4C6 633C 2821 97DA



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