Re: How to connect to a WPA network that uses 10 hexadecimal digits as password

2009-04-07 Thread John Mahoney
WPA-psk is the basic method which uses any passphrase of 8 to 63 chars.  As
far as 10 digit hex, are you
sure it is not a WEP 64 hex key because that would fit the description
better.

--
John
On Wed, Apr 8, 2009 at 2:06 AM, Jaap A. Haitsma  wrote:

> Hi,
>
> I'm in a hotel currently and the wifi uses WPA encryption and password
> is a 10 digit hexadecimal number. When I use this number in Windows it
> works fine. However if I use NetworkManager it doesn't. If I look at
> the password that's actually being stored by NetworkManager I a
> hexadecimal number that is much larger. I'm assuming that's the hash
> of the password I'm entering. However I think in this case it should
> not take the hash but use the 10 digit hexadecimal number directly.
>
> Is this possible in NetworkManager?
> Are my assumptions correct? (I've never seen this WPA with a 10digit
> hexadecimal password before)
>
> Thanks
>
> Jaap
> ___
> 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


How to connect to a WPA network that uses 10 hexadecimal digits as password

2009-04-07 Thread Jaap A. Haitsma
Hi,

I'm in a hotel currently and the wifi uses WPA encryption and password
is a 10 digit hexadecimal number. When I use this number in Windows it
works fine. However if I use NetworkManager it doesn't. If I look at
the password that's actually being stored by NetworkManager I a
hexadecimal number that is much larger. I'm assuming that's the hash
of the password I'm entering. However I think in this case it should
not take the hash but use the 10 digit hexadecimal number directly.

Is this possible in NetworkManager?
Are my assumptions correct? (I've never seen this WPA with a 10digit
hexadecimal password before)

Thanks

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


Novacom GNS-60IU - how to add support

2009-04-07 Thread Alex Williams
Hello! I have Ubuntu 9.04 and Novacom GNS-60IU - GPRS USB modem. Modem
works fine through manual configuring and "wvdial". It registers in
system as /dev/ttyUSB0. I noticed, that Network Manager does not
recongnize my modem...

I have experience in using git and want to add support of this modem
in NetwokManager. How to do that?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Generic IPSEC vpn plugin

2009-04-07 Thread Paul Wouters

On Tue, 7 Apr 2009, Peter Robinson wrote:


Openswan has a GSoC project submission for this. One of the issues is
the architecture of NM, which focusses on user-based, and the the
architecture of ipsec, which is host-based. This creates some issues,
one of which is where and how to store and pass user/host credentials.


Well an ipsec vpn can be either a site-to-site tunnel which is system
wide, but it can also be client side which is just like vpnc or any of
the other current vpn ones which would be user based. I wouldn't have
thought it would be any different to the issues that were had with the
system wide ethernet vs bringing it up on login.


There is only one ethernet. There can be many tunnels, some might even
conflict between users who are logged in. Also, ethernet has no credentials,
while for IPsec and L2TP you are talking about X.509 certificates, PSK's,
username's and passwords. Openswan, xl2tpd and NM need to agree on where
this information is stored, and they all have their own methods now, and
now everything can be passed via the commandline.


By next week we should know if this project is starting. We did get a
few applications for this.


Awesome! Out of interest is there a list of the network manager gsoc
stuff for NetworkManger? Feel free to add me to the testing list. I
have access through my job for testing of either site-to-site or
client side IPSEC with cisco PIX, cisco IOS, Alteon VPN concentrator,
juniper netscreen, fortigate and checkpoint firewalls. That probably
covers most of the enterprise stuff out there.


We're hanging out on freenode at #xelerance-gsoc

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


[PATCH] fix applet rc4 build failure on gcc 4.3.3 in ubuntu/jaunty (text format issue in connection list)

2009-04-07 Thread Alexander Sack

Kind of typo fix. probably doesnt need a ChangeLog entry.

=== modified file 'src/connection-editor/nm-connection-list.c'
--- a/src/connection-editor/nm-connection-list.c2009-04-04 14:33:22 
+
+++ b/src/connection-editor/nm-connection-list.c2009-04-07 15:19:19 
+
@@ -94,17 +94,17 @@ error_dialog (GtkWindow *parent, const c
 GTK_MESSAGE_ERROR,
 GTK_BUTTONS_CLOSE,
 "%s", heading);
 
va_start (args, format);
message = g_strdup_vprintf (format, args);
va_end (args);
 
-   gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), 
message);
+   gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), 
"%s", message);
g_free (message);
 
gtk_widget_show_all (dialog);
gtk_window_present (GTK_WINDOW (dialog));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
 }
 



 - Alexander

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


[PATCH] nm-applet - fix long menu entries by using ellipsize and tooltip

2009-04-07 Thread Alexander Sack
Fix for http://bugs.launchpad.net/bugs/341940; using ellipsizing and tooltip so 
that long APs / device
names can still be read properly on hovering


=== modified file 'ChangeLog'
--- a/ChangeLog 2009-04-04 21:08:22 +
+++ b/ChangeLog 2009-04-07 15:43:05 +
@@ -1,8 +1,20 @@
+2009-04-07  Alexander Sack  
+
+   Fix long applet menu items - see LP: #341940
+
+   * src/ap-menu-item.c (nm_network_menu_item_init, 
nm_network_menu_item_set_ssid)
+ src/applet-device-cdma.ca (add_connection_items, cdma_add_menu_item)
+ src/applet-device-gsm.c (add_connection_items, gsm_add_menu_item)
+ src/applet-device-wifi.c (wireless_add_menu_item)
+ src/applet-device-wired.c (add_connection_items, 
wired_add_menu_item): use
+   ellipsized labels for menu entries; in turn we set a tooltip 
for APs so
+   users can still read the complete SSID
+
 2009-04-04  Dan Williams  
 
* Tag 0.7.1-rc4 (0.7.0.100)
 
 2009-04-04  Dan Williams  
 
* src/connection-editor/helpers.c
  src/connection-editor/helpers.h

=== modified file 'src/ap-menu-item.c'
--- a/src/ap-menu-item.c2008-12-11 22:52:35 +
+++ b/src/ap-menu-item.c2009-04-07 15:28:37 +
@@ -46,16 +46,19 @@ nm_network_menu_item_init (NMNetworkMenu
PangoLanguage * lang;
int ascent;
 
gtk_check_menu_item_set_draw_as_radio (GTK_CHECK_MENU_ITEM (item), 
TRUE);
item->hbox = gtk_hbox_new (FALSE, 6);
item->ssid = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (item->ssid), 0.0, 0.5);
 
+   gtk_label_set_max_width_chars (GTK_LABEL (item->ssid), 5);
+   gtk_label_set_ellipsize (GTK_LABEL (item->ssid), PANGO_ELLIPSIZE_END);
+
item->detail = gtk_image_new ();
 
gtk_container_add (GTK_CONTAINER (item), item->hbox);
gtk_box_pack_start (GTK_BOX (item->hbox), item->ssid, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (item->hbox), item->detail, FALSE, FALSE, 
0);
 
item->strength = gtk_progress_bar_new ();

@@ -142,18 +145,20 @@ nm_network_menu_item_set_ssid (NMNetwork
 
g_return_if_fail (item != NULL);
g_return_if_fail (ssid != NULL);
 
display_ssid = nm_utils_ssid_to_utf8 ((const char *) ssid->data, 
ssid->len);
if (!display_ssid) {
// FIXME: shouldn't happen; always coerce the SSID to 
_something_
gtk_label_set_text (GTK_LABEL (item->ssid), "");
+   gtk_widget_set_tooltip_text (GTK_WIDGET (item->ssid), 
"");
} else {
gtk_label_set_text (GTK_LABEL (item->ssid), display_ssid);
+   gtk_widget_set_tooltip_text (GTK_WIDGET (item->ssid), 
display_ssid);
g_free (display_ssid);
}
 }
 
 guint32
 nm_network_menu_item_get_strength (NMNetworkMenuItem * item)
 {
g_return_val_if_fail (item != NULL, 0);

=== modified file 'src/applet-device-cdma.c'
--- a/src/applet-device-cdma.c  2009-02-05 19:02:55 +
+++ b/src/applet-device-cdma.c  2009-04-07 15:44:13 +
@@ -120,22 +120,27 @@ add_connection_items (NMDevice *device,
   NMApplet *applet)
 {
GSList *iter;
CdmaMenuItemInfo *info;
 
for (iter = connections; iter; iter = g_slist_next (iter)) {
NMConnection *connection = NM_CONNECTION (iter->data);
NMSettingConnection *s_con;
-   GtkWidget *item;
+   GtkWidget *item, *label;
 
s_con = NM_SETTING_CONNECTION (nm_connection_get_setting 
(connection, NM_TYPE_SETTING_CONNECTION));
item = gtk_check_menu_item_new_with_label 
(nm_setting_connection_get_id (s_con));
gtk_check_menu_item_set_draw_as_radio (GTK_CHECK_MENU_ITEM 
(item), TRUE);
 
+   label = gtk_bin_get_child (GTK_BIN (item));
+   gtk_label_set_ellipsize (GTK_LABEL (label), TRUE);
+   gtk_label_set_max_width_chars (GTK_LABEL (label), 30);
+   gtk_widget_set_tooltip_text (item, gtk_label_get_text 
(GTK_LABEL (label)));
+
if (connection == active)
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM 
(item), TRUE);
 
info = g_slice_new0 (CdmaMenuItemInfo);
info->applet = applet;
info->device = g_object_ref (G_OBJECT (device));
info->connection = g_object_ref (connection);
 
@@ -249,16 +254,20 @@ cdma_add_menu_item (NMDevice *device,
g_free (text);
 
label = gtk_bin_get_child (GTK_BIN (item));
bold_text = g_markup_printf_escaped ("%s",
 gtk_label_get_text (GTK_LABEL 
(label)));
gtk_label_set_markup (GTK_LABEL (label), bold_text);
g_free (bold_text);
 
+   gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
+   gtk_label_set_max_width_chars (GTK_LABEL (label), 30);
+   gtk_widget_set_tooltip_text (

Problem with creating the CDMA network config via nm-connection-editor

2009-04-07 Thread Sunatomo Masuda
I'd posted this bug (problem with creating the CDMA network
configuration via nm-connection-editor) to bugzilla.gnome.org

So, anyone can see and change the status?

http://bugzilla.gnome.org/show_bug.cgi?id=575310

This bug-fix is inportant for use in mobile-phone network (especially in
Japan).
Because Japanese mobile-phone carrier ditribute only CDMA network (not GSM).

I'd posted the Japansese mobile-phone carrier configuration
 to provider database (serviceproviders.xml) 4 months ago,
but I can't use and check these settings because of this bug.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Generic IPSEC vpn plugin

2009-04-07 Thread Peter Robinson
>> Is there, or is there planned, a generic IPSEC vpn plugin for
>> NetworkManager? I can see support for the cisco vpnc client, and then
>> some other various ones. I would have thought with the site-to-site
>> ipsec and client side stuff being the major enterprise way of doing
>> it, and the kernel having full IPSEC support that there would have
>> been a generic ipsec plugin ages ago. And one with profiles for most
>> of the common hardware out there
>> (cisco/netscreen/alteon/checkpoint/fortigate etc) would be very cool
>> :-)
>
> Openswan has a GSoC project submission for this. One of the issues is
> the architecture of NM, which focusses on user-based, and the the
> architecture of ipsec, which is host-based. This creates some issues,
> one of which is where and how to store and pass user/host credentials.

Well an ipsec vpn can be either a site-to-site tunnel which is system
wide, but it can also be client side which is just like vpnc or any of
the other current vpn ones which would be user based. I wouldn't have
thought it would be any different to the issues that were had with the
system wide ethernet vs bringing it up on login.

> By next week we should know if this project is starting. We did get a
> few applications for this.

Awesome! Out of interest is there a list of the network manager gsoc
stuff for NetworkManger? Feel free to add me to the testing list. I
have access through my job for testing of either site-to-site or
client side IPSEC with cisco PIX, cisco IOS, Alteon VPN concentrator,
juniper netscreen, fortigate and checkpoint firewalls. That probably
covers most of the enterprise stuff out there.

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


Re: Generic IPSEC vpn plugin

2009-04-07 Thread Paul Wouters

On Tue, 7 Apr 2009, Peter Robinson wrote:


Is there, or is there planned, a generic IPSEC vpn plugin for
NetworkManager? I can see support for the cisco vpnc client, and then
some other various ones. I would have thought with the site-to-site
ipsec and client side stuff being the major enterprise way of doing
it, and the kernel having full IPSEC support that there would have
been a generic ipsec plugin ages ago. And one with profiles for most
of the common hardware out there
(cisco/netscreen/alteon/checkpoint/fortigate etc) would be very cool
:-)


Openswan has a GSoC project submission for this. One of the issues is
the architecture of NM, which focusses on user-based, and the the
architecture of ipsec, which is host-based. This creates some issues,
one of which is where and how to store and pass user/host credentials.

By next week we should know if this project is starting. We did get a
few applications for this.

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


Generic IPSEC vpn plugin

2009-04-07 Thread Peter Robinson
Hi All,

Is there, or is there planned, a generic IPSEC vpn plugin for
NetworkManager? I can see support for the cisco vpnc client, and then
some other various ones. I would have thought with the site-to-site
ipsec and client side stuff being the major enterprise way of doing
it, and the kernel having full IPSEC support that there would have
been a generic ipsec plugin ages ago. And one with profiles for most
of the common hardware out there
(cisco/netscreen/alteon/checkpoint/fortigate etc) would be very cool
:-)

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