keyering problem with network manager applet 0.7.1

2009-12-05 Thread carol white
Hi,
I use network manager applet 0.7.1. I had set the automatic wireless connection 
to my my wireless network (WPA key secured). Recently, I get the following 
problem: At the automatic connection, I get the message: Network manager applet 
(/usr/bin/mn-applet) needs default keyering. As I don't know what it is to type 
it and then, deny or OK, it doesn't get connected to my wireless network. How 
could I solve the problem?

Look forward to your reply,

Carol


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


Re: NetworkManager and domain names

2009-12-05 Thread Rick Jones
--On Friday, December 04, 2009 16:34:48 -0800 Dan Williams 
d...@redhat.com wrote:



On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:

I use NetworkManager with three's mobile broadband. I have just found
out that it is not able to obtain a domain name with dhcpcd. Any ideas
how I can force NetworkManager into getting a domain name from three's
DHCP servers? Thanks for any advice given!


I'm curious as to what domain name you'd expect to see, snd what it would 
do for you?


Rick


Remember that cellular mobile broadband doesn't actually use DHCP at
all; the DHCP or PPP session is between you and the 3G device itself.
What happens over the air is not DHCP, but a GPRS PDP context setup
between the 3G device and the network that does not include the domain
name.  You *may* be able to obtain a domain name through reverse-DNS,
which NM may already be doing if you haven't set a persistent machine
hostname through /etc/hostname or wherever.

Dan


___
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: NM deleting WPA key secret in Fedora 12?

2009-12-05 Thread Brian Morrison
On Fri, 04 Dec 2009 12:25:26 -0800
Dan Williams d...@redhat.com wrote:

 On Thu, 2009-12-03 at 15:03 +, Brian Morrison wrote:
  Brian Morrison wrote:
  
   The fix was to paste my WPA key into the entry field after using
   the edit menu for my home SSID and then going to the advanced tab
   (at least I think that's it, don't have it in front of me just
   now). There is only an SSID stored, no BSSID.
  
  I should have added that clicking on the network SSID in the NM
  applet's left click menu does nothing, it doesn't bring up a dialog
  asking for the connection's secrets and in fact it does precisely
  nothing.
  
  If this ever happened in F11 then I would be prompted for the WPA
  PSK which no longer happens.
 
 This is odd, but before we do anything else, can you try the NM in
 updates-testing?  I haven't seen this at all but it could point to
 keyring issues since the WPA passphrase is stored in the keyring.

Right. I have now seen a second case of this, the symptoms were sudden
loss of network throughput but NM and the Netspeed applet both showed
the connection still working.

Reselecting my home SSID from the list in NM's left click menu resulted
in an attempt to reconnect that never succeeded. On opening the WPA
settings via NM's right-click edit menu the passphrase was blank.
Re-entering it sorted the problem out.

I see there is a new wpa-supplicant in updates-testing, do I need that
too? I will restart with the updated NM and see if anything has changed.

-- 

Brian

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


Re: NetworkManager and domain names

2009-12-05 Thread Alex Buell
On Sat, 2009-12-05 at 09:54 +, Rick Jones wrote:
 --On Friday, December 04, 2009 16:34:48 -0800 Dan Williams 
 d...@redhat.com wrote:
 
  On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:
  I use NetworkManager with three's mobile broadband. I have just found
  out that it is not able to obtain a domain name with dhcpcd. Any ideas
  how I can force NetworkManager into getting a domain name from three's
  DHCP servers? Thanks for any advice given!
 
 I'm curious as to what domain name you'd expect to see, snd what it would 
 do for you?

I'd expect to see something like hostname.wibble.three.com etc., the
reason why I ask is because Evolution likes to have a FQDN when posting
to news via leafnode which I use on my laptop. If there's no FQDN or an
invalid one, leafnode refuses to accept any posts. 

This is only a problem when away from home. When at home I do have a
proper FQDN from my router.
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


[PATCH] v3 Disabling/enabling notifications in NM 0.7.2

2009-12-05 Thread Alex Buell
 Sure, I can roll v3 of my patch with these new changes, I'll have it
 sorted over the weekend. 

OK, here's v3 of my patch for the notifications, it's been cut down
considerably. Thanks, it works quite nicely!

Regards,
Alex
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
diff -uNr network-manager-applet-0.7.2.orig/src/applet.c network-manager-applet-0.7.2/src/applet.c
--- network-manager-applet-0.7.2.orig/src/applet.c	2009-11-23 19:27:58.0 +
+++ network-manager-applet-0.7.2/src/applet.c	2009-12-05 13:23:02.941969584 +
@@ -479,6 +479,12 @@
 	 strcmp (id, PREF_DISABLE_DISCONNECTED_NOTIFICATIONS))
 		return;
 
+	if ((strcmp (id, PREF_DISABLE_CONNECTED_NOTIFICATIONS) == 0)
+	|| (strcmp (id, PREF_DISABLE_DISCONNECTED_NOTIFICATIONS) == 0))
+		gtk_check_menu_item_set_active( 
+			GTK_CHECK_MENU_ITEM(
+applet-notifications_enabled_item), FALSE);
+
 	gconf_client_set_bool (applet-gconf_client, id, TRUE, NULL);
 }
 
@@ -1352,6 +1358,22 @@
 	nm_client_sleep (applet-nm_client, !state);
 }
 
+
+static void 
+nma_set_notifications_enabled_cb (GtkWidget *widget, NMApplet *applet)
+{
+	gboolean state;
+
+	g_return_if_fail (applet != NULL);
+
+	state = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget));
+
+	gconf_client_set_bool(applet-gconf_client, 
+		PREF_DISABLE_CONNECTED_NOTIFICATIONS, !state, NULL);
+	gconf_client_set_bool(applet-gconf_client,
+		PREF_DISABLE_DISCONNECTED_NOTIFICATIONS, !state, NULL);
+}
+
 /*
  * nma_menu_show_cb
  *
@@ -1580,6 +1602,20 @@
 
 	nma_menu_add_separator_item (GTK_WIDGET (menu));
 
+	/* Toggle connection notifications item */
+	applet-notifications_enabled_item = gtk_check_menu_item_new_with_mnemonic (_(Enable connection notifications));
+	if (!gconf_client_get_bool(applet-gconf_client, PREF_DISABLE_CONNECTED_NOTIFICATIONS, NULL))
+		gtk_check_menu_item_set_active( GTK_CHECK_MENU_ITEM (applet-notifications_enabled_item), TRUE);
+
+	id = g_signal_connect (applet-notifications_enabled_item,
+		toggled,
+		G_CALLBACK (nma_set_notifications_enabled_cb),
+		applet);
+	applet-notifications_toggled_id = id;
+	gtk_menu_shell_append (menu, applet-notifications_enabled_item);
+
+	nma_menu_add_separator_item (GTK_WIDGET (menu));
+
 	/* 'Connection Information' item */
 	applet-info_menu_item = gtk_image_menu_item_new_with_mnemonic (_(Connection _Information));
 	g_signal_connect_swapped (applet-info_menu_item,
diff -uNr network-manager-applet-0.7.2.orig/src/applet.h network-manager-applet-0.7.2/src/applet.h
--- network-manager-applet-0.7.2.orig/src/applet.h	2009-11-23 19:27:58.0 +
+++ network-manager-applet-0.7.2/src/applet.h	2009-12-05 13:18:23.912011524 +
@@ -139,6 +139,10 @@
 	guint   networking_enabled_toggled_id;
 	GtkWidget *		wifi_enabled_item;
 	guint   wifi_enabled_toggled_id;
+
+	GtkWidget	*notifications_enabled_item;
+	guint		notifications_toggled_id;
+
 	GtkWidget *		info_menu_item;
 	GtkWidget *		connections_menu_item;
 
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Rick Jones
--On Saturday, December 05, 2009 12:51:27 + Alex Buell 
alex.bu...@munted.org.uk wrote:


 On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:
 I use NetworkManager with three's mobile broadband. I have just found
 out that it is not able to obtain a domain name with dhcpcd. Any ideas
 how I can force NetworkManager into getting a domain name from three's
 DHCP servers? Thanks for any advice given!

I'm curious as to what domain name you'd expect to see, snd what it
would  do for you?


I'd expect to see something like hostname.wibble.three.com etc., the
reason why I ask is because Evolution likes to have a FQDN when posting
to news via leafnode which I use on my laptop. If there's no FQDN or an
invalid one, leafnode refuses to accept any posts.

This is only a problem when away from home. When at home I do have a
proper FQDN from my router.


OK, thanks. I just wondered, as I've never perceived a need for a FQDN when 
using a mobile link. I don't use Evolution.


I do find an irritating problem with 3 in that sometimes it fails to 
provide DNS addresses, and I have to disconnect and re-connect to pick them 
up. I'm pretty sure it's not a NM issue, just something glitchy with their 
connections or maybe the sh*t ZTE modem. :(. Seems to be worse with low 
signal strength, so maybe the link just loses the info. and never re-tries.


Do you ever get that?

Cheers, Rick
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Alex Buell
On Sat, 2009-12-05 at 13:34 +, Rick Jones wrote:

 OK, thanks. I just wondered, as I've never perceived a need for a FQDN when 
 using a mobile link. I don't use Evolution.

Evolution works just fine, the problem is with only posts to newsgroups
that needs a FQDN. 

 I do find an irritating problem with 3 in that sometimes it fails to 
 provide DNS addresses, and I have to disconnect and re-connect to pick them 
 up. I'm pretty sure it's not a NM issue, just something glitchy with their 
 connections or maybe the sh*t ZTE modem. :(. Seems to be worse with low 
 signal strength, so maybe the link just loses the info. and never re-tries.
 
 Do you ever get that?

Yes, loads. Rather than disconnecting, I plonk the correct DNS addresses
into /etc/resolv.conf whenever that happens. Usually I get the 10.x.x.x
ones or even more curiouser, the 4.3.2.1 ones. Any ideas why? It's
weird!
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: OpenSSH VPN support

2009-12-05 Thread Gavin McCullagh
Hi,

On Thu, 03 Dec 2009, Darren Albers wrote:

 This sounds great to me!  I have been considering trying OpenSSH VPN's
 but never bothered since OpenVPN worked so well with Network Manager.
  I might give it a shot now, I would encourage you to continue, there
 are certainly people out there who could use this.

I don't really have any technical comments to make but I'd like to say:

  Yeah me too! Please do this! I promise to use it lots!!!

As a regular user of multiple ssh port forwards, an ssh VPN always sounded
like a great idea.  A one-click setup sounds even better.  

A further thought in case there's some way to facilitate it.  I tend to ssh
into a bastion host which in turn allows me to ssh into a private host
further into the network.  I daisy chain port forwards across the two ssh
sessions.  I haven't tried but if it were possible to daisy-chain a VPN
through two or more ssh sessions that would be great and if your gnome
setup could somehow facilitate that, that would make things even more
interesting.

Gavin

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


Re: traditional static ip with nm

2009-12-05 Thread David Griffith

On Fri, 4 Dec 2009, Dan Williams wrote:


NM natively supports static IP addresses; so you can either configure
them via /etc/network/interfaces as you normally would, or you can use
nm-connection-editor along with the 'keyfile' plugin to set up a
system-wide configuration for your  machines without touching /e/n/i.


My problem with that approach is that the network goes down when the 
console is logged out.


--
David Griffith
dgri...@cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list