Re: [Patch] improve IPv4 setting UI of nm-applet

2010-04-27 Thread Dan Williams
On Sun, 2010-01-10 at 16:51 +0800, cee1 wrote:
 Hi Dan:
 Attachment contains a series patches of improving IPv4 setting UI of
 nm-applet.
 
 
 These patches aim the following problems:
  1) users move focus from a cell of gtktreeview to another widget(i.e.
 leave gtktreeview) directly, his previous editing will lost.
  2) lack of netmask pre-fill for private IPv4 addresses.

At long last I've applied these two.  Thanks.  I think we need some more
thought about the interaction and design for the following patch though.
I'd originally thought we should shade the invalid field red or
something like that.

Dan

  3) lack of a proper notification of invalid inputs.
 
 
 
 
 Regards
 - cee1


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


Error searching on specific ssid

2010-04-27 Thread Bjorge Solli
I have a problem on a radius enabled eduroam [1] network. I want to
track the problem and would like to know how to replicate what NM is
doing, but doing it myself on the command line. It uses these settings,
and need wpa_supplicant to be installed:

WPA  WPA2 Enterprise
Protected EAP
No CA, Ignore warning
MSCHAPv2
username+pwd

I would like to use wpa_supplicant or similar with logging enabled.

Any hints?

[1] http://www.eduroam.org/

-- 
Regards/Mvh, Bjørge Solli
Staff engineer/Overingeniør at Uni. Bergen, IT, Infrastruktur, Unix
Nygårdsgaten 5. Pb.7800, N-5020 Bergen, Norway. www.uib.no/it
(+47) Tlf: (555)82774 Mob: 91614343 Fax: (555)48299

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


Re: Error searching on specific ssid

2010-04-27 Thread Jirka Klimes
On Tuesday 27 of April 2010 12:12:19 Bjorge Solli wrote:
 I have a problem on a radius enabled eduroam [1] network. I want to
 track the problem and would like to know how to replicate what NM is
 doing, but doing it myself on the command line. It uses these settings,
 and need wpa_supplicant to be installed:
 
 WPA  WPA2 Enterprise
 Protected EAP
 No CA, Ignore warning
 MSCHAPv2
 username+pwd
 
 I would like to use wpa_supplicant or similar with logging enabled.
 
 Any hints?
 
 [1] http://www.eduroam.org/

You can follow instructions in section Debugging WiFi Connections on
http://live.gnome.org/NetworkManager/Debugging

NM starts wpa_supplicant via D-Bus according to service file
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
Here you can add debugging (or any other options) for wpa_supplicant.
Then look into /var/log/wpa_supplicant.log (or /var/log/syslog).

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


3G band/roaming preference?

2010-04-27 Thread Lucio Crusca
Hello *,

I'm new here and I've subscribed to this list to find a reliable answer to two 
questions. 

First one: does NM 0.8 support 2G/3G preference and roaming preference? (where 
support to me means that if I install the latest NM with latest nm-applet 
and ModemManager I get a GUI for selecting my preference and this gui is 
supposed to work). Rumors [1] say it will provide those functionalities when 
ModemManager will be checked in, which now has already happened to my 
understanding. 

Other rumors [2] say we have to wait for NM 0.8.1, but also that Fedora 
already has most of those gadgets uprunning (despite 0.8.1 is not out yet).

NM Wiki [3] doesn't help much 'cause it says nothing about that.

1. http://mail.gnome.org/archives/networkmanager-list/2009-
February/msg00049.html
2. http://blogs.gnome.org/dcbw/2010/04/07/networkmanager-0-8-the-taste-of-a-
new-generation
3. http://live.gnome.org/NetworkManager/ReleaseProcess

What is the real truth?

Second question (less important, because it's not the correct list to ask): is 
it possible to install a new NM version (which supports 2g/3g preference) in 
Ubuntu 9.10 without upgrading the whole system? 

Thanks in advance,
Lucio.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Alcatel x060s - incorrect port

2010-04-27 Thread Andrey Alakozov

Hello,

I have just the same problem as described here - 
http://www.mail-archive.com/networkmanager-list@gnome.org/msg14493.html

with Alcatel x060s: three devices (ttyUSB[0-2]), only ttyUSB2 works OK

If I do link -f ttyUSB2 ttyUSB0 ; link -f ttyUSB2 ttyUSB0 - everything 
works fine.


# lsusb
...
Bus 001 Device 014: ID 1bbb: T  A Mobile Phones
...

# cd -P /sys/class/tty/ttyUSB2
# pwd
/sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.3/ttyUSB2/tty/ttyUSB2

How to update 77-mm-zte-port-types.rules ?

Thanks!

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


Re: Alcatel x060s - incorrect port

2010-04-27 Thread Dan Williams
On Tue, 2010-04-27 at 19:41 +0400, Andrey Alakozov wrote:
 Hello,
 
 I have just the same problem as described here - 
 http://www.mail-archive.com/networkmanager-list@gnome.org/msg14493.html
 with Alcatel x060s: three devices (ttyUSB[0-2]), only ttyUSB2 works OK
 
 If I do link -f ttyUSB2 ttyUSB0 ; link -f ttyUSB2 ttyUSB0 - everything 
 works fine.
 
 # lsusb
 ...
 Bus 001 Device 014: ID 1bbb: T  A Mobile Phones
 ...
 
 # cd -P /sys/class/tty/ttyUSB2
 # pwd
 /sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.3/ttyUSB2/tty/ttyUSB2
 
 How to update 77-mm-zte-port-types.rules ?

You don't want ZTE rules, you want 77-mm-longcheer-port-types.rules.
And I'm pretty sure your device is already listed there.  What version
of ModemManager are you running?

http://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/77-mm-longcheer-port-types.rules

See the bottom of that file for your device:

ATTRS{idProduct}==, ENV{.MM_USBIFNUM}==03, 
ENV{ID_MM_LONGCHEER_PORT_TYPE_MODEM}=1

Dan


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


Re: 3G band/roaming preference?

2010-04-27 Thread Dan Williams
On Tue, 2010-04-27 at 14:11 +0200, Lucio Crusca wrote:
 Hello *,
 
 I'm new here and I've subscribed to this list to find a reliable answer to 
 two 
 questions. 
 
 First one: does NM 0.8 support 2G/3G preference and roaming preference? 
 (where 
 support to me means that if I install the latest NM with latest nm-applet 
 and ModemManager I get a GUI for selecting my preference and this gui is 
 supposed to work). Rumors [1] say it will provide those functionalities 
 when 
 ModemManager will be checked in, which now has already happened to my 
 understanding. 

http://blogs.gnome.org/dcbw/2010/04/22/qualified-to-satisfy-you/

All of this is in NM, nm-applet, and MM git master.  It's also been
built into Fedora 12, 13, and rawhide for at least 3 weeks or so.  So
yeah, it's live.

BUT it's not in a real release yet.  It's on target for the 0.8.1
release, which should happen soon-ish, since I think we've got enough
stuff in the release now that we should just cut it and move the other
stuff on the ReleaseProcess page up to 0.8.2.

Please note that not all GSM modems support the 2G/3G preference yet.
Most of the common ones (Option, Huawei, Sierra, Ericsson, and ZTE) do,
but if it's not one of those, chances are it won't work because we don't
know the AT commands for locking the mode yet.

 Other rumors [2] say we have to wait for NM 0.8.1, but also that Fedora 
 already has most of those gadgets uprunning (despite 0.8.1 is not out yet).
 
 NM Wiki [3] doesn't help much 'cause it says nothing about that.
 
 1. http://mail.gnome.org/archives/networkmanager-list/2009-
 February/msg00049.html
 2. http://blogs.gnome.org/dcbw/2010/04/07/networkmanager-0-8-the-taste-of-a-
 new-generation
 3. http://live.gnome.org/NetworkManager/ReleaseProcess
 
 What is the real truth?
 
 Second question (less important, because it's not the correct list to ask): 
 is 
 it possible to install a new NM version (which supports 2g/3g preference) in 
 Ubuntu 9.10 without upgrading the whole system? 

This would probably work, since it all builds on Fedora 12 too which
came out only a few months after 9.10.  So I'd imagine the build
requirements are all satisfied by 9.10.  I'm pretty sure 9.04 won't
work, since the version of udev/gudev there is unlikely to be new
enough.

Dan


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


Re: Alcatel x060s - incorrect port

2010-04-27 Thread Andrey Alakozov

Dan,

I use NM version 0.8 that comes with kubuntu lucid.

ATTRS{idProduct}==, ENV{.MM_USBIFNUM}==03, 
ENV{ID_MM_LONGCHEER_PORT_TYPE_MODEM}=1


is presented in 77-mm-longcheer-port-types.rules, but NM still tries to 
use ttyUSB1 and fails with 'Did not receive a reply' error.


Thanks.

Dan Williams wrote:

On Tue, 2010-04-27 at 19:41 +0400, Andrey Alakozov wrote:

Hello,

I have just the same problem as described here - 
http://www.mail-archive.com/networkmanager-list@gnome.org/msg14493.html

with Alcatel x060s: three devices (ttyUSB[0-2]), only ttyUSB2 works OK

If I do link -f ttyUSB2 ttyUSB0 ; link -f ttyUSB2 ttyUSB0 - everything 
works fine.


# lsusb
...
Bus 001 Device 014: ID 1bbb: T  A Mobile Phones
...

# cd -P /sys/class/tty/ttyUSB2
# pwd
/sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.3/ttyUSB2/tty/ttyUSB2

How to update 77-mm-zte-port-types.rules ?


You don't want ZTE rules, you want 77-mm-longcheer-port-types.rules.
And I'm pretty sure your device is already listed there.  What version
of ModemManager are you running?

http://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/77-mm-longcheer-port-types.rules

See the bottom of that file for your device:

ATTRS{idProduct}==, ENV{.MM_USBIFNUM}==03, 
ENV{ID_MM_LONGCHEER_PORT_TYPE_MODEM}=1

Dan





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


Confusing about DBus API specification

2010-04-27 Thread Nguyen Canh Toan
Hi all, 

 

After reading DBus API
http://projects.gnome.org/NetworkManager/developers/spec-07.html#org.freedes
ktop.NetworkManager

I try to list all connection setting by below interface specification

 

org.freedesktop.NetworkManagerSettings

The NetworkManagerSettings interface is provided by the service which
provides connections to NetworkManager.

Methods:

ListConnections ( ) → ao

List the connections stored by this Settings object.

Returns

 

connections - ao

List of connections. 

 

Signals:

NewConnection ( o: connection )

Emitted when a new connection has been configured.

Parameters

 

connection - o

Object path of the new connection. 

 

Interface has no properties.

 

 

Without success. DBus service say:

 

Traceback (most recent call last):

  File ./python_dbus_client, line 21, in module

connections = manager.ListConnections()

  File /var/lib/python-support/python2.6/dbus/proxies.py, line 140, in
__call__

**keywords)

  File /var/lib/python-support/python2.6/dbus/connection.py, line 622, in
call_blocking

message, timeout)

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod:
Method ListConnections with signature  on interface
org.freedesktop.NetworkManager doesn't exist

 

 

My  pythons script run correctly with other interface. 

I am using NetworkManager version 0.7.0, ubuntu 9.04

 

Best Regards,

Toan Nguyen

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