Re: [PATCH] applet: show an error dialog on connection failures

2012-03-20 Thread Shrikant Sharma
Hi
I am using ubuntu 11.10, i am very new to linux. With the help of different
forums, i am able to connect my Micromax  MMX 310g usb modem through
network manager and sakis 3g also.
But there are few problems-
Only at boot time network manager recognize usb modem not at any time when
i plug it.
It takes minimum 5 mins to identify the modem.
Sometime it drops the connection.
And sakis3g scripts works only when i am lucky.

Help me.

Thanks,
Shrikant Sharma


On Mon, Mar 19, 2012 at 7:56 PM, Jirka Klimes jkli...@redhat.com wrote:

 The patch adds a functionality to present a user with an error dialog (in
 addition to writting a message to console), when there is a connection
 failure.

 Using the notifications would be an option, but I think a dialog is more
 appropriate in this case, because notifications can be disabled and we
 really
 want to alert the user.

 Jirka

 ___
 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: Query on setting ca-path and ca-cert with dbus for 802.1x

2012-03-20 Thread Ludwig Nussel
Dan Williams wrote:
 [...]
 has payed say Verisign to sign their organization-wide CA, which they
 then use to sign the server's certificate.
 [...]
 Always set a CA certificate, and optionally set the subject match stuff

Subject match is mandatory in that case. When setting the CA alone
you are still prone to MITM (CVE-2006-7246).

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
16746 (AG Nürnberg) 
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


RE: Query on setting ca-path and ca-cert with dbus for 802.1x

2012-03-20 Thread John Carter
Thanks Dan/Ludwig.

-Original Message-
From: Ludwig Nussel [mailto:ludwig.nus...@suse.de] 
Sent: 20 March 2012 13:39
To: networkmanager-list@gnome.org
Cc: John Carter
Subject: Re: Query on setting ca-path and ca-cert with dbus for 802.1x

Dan Williams wrote:
 [...]
 has payed say Verisign to sign their organization-wide CA, which they 
 then use to sign the server's certificate.
 [...]
 Always set a CA certificate, and optionally set the subject match 
 stuff

Subject match is mandatory in that case. When setting the CA alone you are
still prone to MITM (CVE-2006-7246).

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer,
HRB 16746 (AG Nürnberg) 

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


Re: periodic_update(): Roamed ... - msg#00300

2012-03-20 Thread Anastas Giokov

On Tue, 2009-04-28 at 09:42 -0700, Howard Chu wrote:
/Dan Williams wrote:/
/ On Fri, 2009-04-24 at 15:18 -0700, Howard Chu wrote:/
/ Dan Williams wrote:/
/ On Mon, 2009-04-20 at 15:37 -0700, Howard Chu wrote:/
/ Howard Chu wrote:/
/ This is probably more related to the ath9k driver, but I 
wanted to /

/ start here/
/ in case anyone is familiar with it. I've been seeing this for 
the past /

/ couple/
/ months, and I just now rebuilt NM fresh from git and it's still /
/ happening:/
//
/ I seem to have ruled out the driver; doing a kill -9 on 
NetworkManager /

/ so it/
/ doesn't have the opportunity to tear down the connection on 
exit, shows /

/ that/
/ the wifi connection works perfectly once NetworkManager is 
gone. No/

/ disassociation messages in dmesg, no pauses in ssh sessions, etc./
//
/ Don't rule out the driver. Does the driver always return the 
currently/

/ associated AP in the scan list? If not, you might hit this. And the/
/ driver is being stupid, because of *course* the AP you're currently/
/ connected to should always be in the scan list, unless you're no 
longer/

/ connected to it./
//
/ The code in NM grabs the SSID BSSID on a 6 second timer, and 
tries to/
/ find that AP in the scan list. If it can't find it (because the 
driver/

/ didn't return that AP in the scan list) then it reports none./
//
/ If that's your problem, it's a driver problem./
//
/ How would I check this? Should it be obvious from iwlist scan ? 
That /

/ returns/
/ the current AP along with the other visible ones./
//
/ Also, reviewing the comments in bug 291760, this problem is not 
just /

/ isolated/
/ to the ath9k driver. It's also being reported for ath5k, wl, 
iwl3945, /

/ ipw2100,/
/ rtl8187, and b43, across multiple kernel and driver revisions. As 
such it/

/ seems unlikely to be the drivers' fault./
//
/ Depends; it might show up in that scan, or it might not. If you can/
/ reliably get it to show up every time, that's great. But until 
2.6.30,/
/ mac80211-based drivers would not always return the current AP. And 
some/

/ of the older drivers don't either, though fullmac drivers are more/
/ likely to be OK there./
//
/If you already know for a fact that certain drivers are incompatible 
with NM, /
/it seems you should be documenting that in your release notes or 
something. /

/Or, you should be maintaining a list of tested known-to-work drivers./
//
/ There is one window where NM wouldn't be able to find the AP; if 
NM just/
/ did a scan, and then the card reassociates to a different AP 
that's not/
/ in the scan list, and doesn't send an GIWSCAN event so that the AP 
list/

/ gets pulled (ipw2x00 do this, other drivers might not), then when NM/
/ goes to pull the BSSID off the card, the scan list doesn't contain 
the/

/ current AP. What NM should be doing here is to request that the/
/ supplicant grab the scan list again when it sees a BSSID it 
doesn't know/

/ about, but that's somewhat complicated./
//
/There must be more cases than this, because there are no other APs 
for my /

/card /
/to associate to. (They're all secured with WEP or WPA, and I only have /
/credentials for mine.) The only reason I ever see the card 
reassociate at all /
/is due to NM's scanning; with that patched out it just stays 
associated./

//
/ If the driver doesn't return the frequency of the BSSID in the scan/
/ results, or that frequency doesn't match what the card reports from/
/ SIOCGIWFREQ, then NM also can come up with (none). Check that the/
/ information from an 'iwlist scan' for that BSSID matches what 
'iwconfig'/

/ reports when associated to that specific AP./
//
/ So in conclusion there are actual driver bugs; (a) not all drivers 
scan/
/ results contain the currently associated AP in every scan, and (b) 
not/

/ all drivers emit scan results events when they associate to a new AP/
/ that's not already in the scan list, and finally (c) some drivers are/
/ just busted and return wrong channel information./
//
/Pretty sure (c) is not the case here, the info from iwlist scan and 
iwconfig /
/all matches. (b) won't happen in my current environment, so I can't 
test one /
/way or another. (a) doesn't appear to happen when I look, but I have 
no idea /

/how many scans are needed before the symptom occurs./

You can run NM with:

NM_ACTIVE_AP_DEBUG=1 /usr/sbin/NetworkManager --no-daemon

and get a lot more info about what's happening here and why the active
AP isn't found in the scan list. Any chance you can do that and post
the results?

Dan

Since I am having the same problem, with the wl driver, I did the test 
and found the following in the log:


NetworkManager: debug [1332269638.001163] get_active_ap(): (eth1) 
BSSID: 00:14:bf:09:0b:86
NetworkManager: debug [1332269638.001288] get_active_ap(): (eth1) 
SSID: 'Homenet'

NetworkManager: debug [1332269638.001325] get_active_ap():   Pass #1
NetworkManager: debug [1332269638.001355] get_active_ap(): AP: 
'Homenet'  00:14:bf:09:0b:86

NetworkManager: