1 diff -urN NetworkManager-0.6.5/ChangeLog NetworkManager-SVNr3284/ChangeLog
2 --- NetworkManager-0.6.5/ChangeLog 2007-04-18 20:13:10.000000000 +0200
3 +++ NetworkManager-SVNr3284/ChangeLog 2008-02-04 16:01:02.000000000 +0100
5 +2008-01-30 Tambet Ingo <tambet@ximian.com>
7 + * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Add some
8 + information on what produced the content (process name and pid).
10 +2008-01-30 Dan Williams <dcbw@redhat.com>
12 + * src/nm-device-802-3-ethernet.c
13 + - (real_update_link): factor common link checking code out into
15 + - (real_deactivate_quickly): schedule link state change in an idle
16 + handler rather than doing it immediately to prevent deadlocks
18 +2008-01-30 Tambet Ingo <tambet@ximian.com>
20 + Implement 802.1x wired authentication.
22 +2008-01-30 Dan Williams <dcbw@redhat.com>
24 + * src/nm-device-802-11-wireless.c
25 + - (set_inactive_scan_timeout): be sure to clear the source since the
26 + timeout doesn't always get rescheduled
28 +2008-01-29 Tambet Ingo <tambet@gmail.com>
30 + * src/vpn-manager/nm-dbus-vpn.c (nm_dbus_vpn_connections_update_cb): Don't
31 + try to merge the VPN connections, just add everything.
32 + (nm_dbus_vpn_connections_update_from_nmi): Remove the existing VPN connections
33 + when a new instance of NMI service appears.
35 + * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_vpn_connection_list_copy):
37 + (nm_vpn_manager_clear_connections): Implement.
39 +2008-01-29 Tambet Ingo <tambet@gmail.com>
41 + * src/backends/NetworkManagerSuSE.c (nm_system_device_get_system_config):
42 + Fix the issue where NM doesn't honor YaST static IP settings.
43 + (bugzilla.novell.com #271757).
45 +2008-01-23 Dan Williams <dcbw@redhat.com>
47 + * libnm-glib/libnm_glib.c
48 + - (libnm_glib_init): make thread joinable
49 + - (libnm_glib_ctx_free): join thread on exit to clean up memory
51 +2008-01-23 Dan Williams <dcbw@redhat.com>
53 + * test/libnm_glib_test.c
54 + - (signal_handler, setup_signals): trap SIGINT and SIGTERM
55 + - (main): set up signal handlers; call libnm_glib_shutdown
57 +2008-01-23 Dan Williams <dcbw@redhat.com>
59 + Fix gnome.org #511323
61 + * src/NetworkManagerAPList.c
62 + - (nm_ap_list_merge_scanned_ap): if the AP being merged is hiding its
63 + SSID, but there's an AP in the device's list with the same BSSID
64 + that is not hidden, only update the strength and last-seen
65 + attributes of the devlist AP and keep the existing SSID.
67 +2008-01-23 Dan Williams <dcbw@redhat.com>
69 + Fix up the scan algorithm to help gnome.org #498887.
71 + * src/nm-device-802-11-wireless.c
72 + src/nm-device-802-11-wireless.h
73 + - (nm_device_802_11_wireless_set_scan_interval): make static, and
74 + only change a specific device's scan interval. If the scan interval
75 + is now ACTIVE, schedule a scan at the earliest possible opportunity
76 + as long as the last scan was at least 20 seconds ago
77 + - (real_init, real_deactivate,
78 + - (real_start): use schedule_scan() instead of rolling the scan
79 + scheduling code manually
80 + - (set_scan_interval_cb -> set_inactive_scan_interval_cb): call
81 + nm_device_802_11_wireless_ui_activated() instead of
82 + nm_device_802_11_wireless_set_scan_interval() because the change is
83 + really global to all wireless devices
84 + - (set_inactive_scan_timeout): new function; reset the INVACTIVE scan
86 + - (nm_device_802_11_wireless_ui_activated): reset the scan interval
87 + for all wireless devices
88 + - (request_and_convert_scan_results): don't set last_scan here
89 + - (scan_results_timeout): set last_scan here instead, and after the
90 + first successful scan, set the scan interval from INIT -> ACTIVE
91 + - (nm_device_802_11_wireless_scan): cleanups
92 + - (schedule_scan): take a new argument so that callers can specify the
93 + scan interval if they desire
95 + * src/NetworkManagerDbus.c
96 + - (nm_dbus_signal_filter): call nm_device_802_11_wireless_ui_activated()
97 + instead of nm_device_802_11_wireless_set_scan_interval()
99 +2008-01-16 Dan Williams <dcbw@redhat.com>
101 + * src/nm-device-802-11-wireless.c
102 + - (real_act_stage4_ip_config_timeout): clean up the supplicant to ensure
103 + that the connection attempt starts fresh. Otherwise, when the key
104 + comes back, NM pukes and fails the new attempt because the
105 + supplicant can't terminate and start up again quickly enough
107 +2008-01-16 Tambet Ingo <tambet@gmail.com>
109 + Shuffle the code a bit in preparation for wired 802.1X authentication.
111 + * src/nm-device-802-11-wireless.c: Remove the supplicant driving code and use
112 + NMSuppicant instead.
114 + * src/nm-supplicant.[ch]: New files. The wpa_supplicant driving code is moved
115 + here from nm-device-802-11-wireless.c and refactored a bit so it can be shared
116 + by wired cards as well.
118 +2008-01-10 Dan Williams <dcbw@redhat.com>
120 + Fix gnome.org #464215. Requires the kernel patch titled
121 + "Introduce WEXT scan capabilities" but will handle the patch not being
122 + present, you'll just continue to have problems with hidden SSIDs when
123 + using mac80211-based drivers.
125 + * src/nm-device-802-11-wireless.c
126 + - (real_init): check whether or not the driver supports SSID scans
127 + - (supplicant_send_network_config): if the driver supports SSID scans,
128 + and the AP is hidden, use ap_scan=1 instead of ap_scan=2
130 +2008-01-10 Dan Williams <dcbw@redhat.com>
132 + * src/NetworkManager.c
133 + - (nm_killswitch_getpower_reply_cb): ensure DBusErrors are initialized
136 +2008-01-09 Dan Williams <dcbw@redhat.com>
138 + * src/NetworkManager.c
139 + - (nm_killswitch_getpower_reply_cb): handle different HAL versions
140 + better by matching the variable type with the D-Bus argument type
142 +2008-01-09 Dan Williams <dcbw@redhat.com>
144 + * src/nm-ap-security-wpa-eap.c
145 + - (real_write_supplicant_config): send the 'fragment_size' option (but
146 + don't fail if it's not supported)
148 +2008-01-06 Dan Williams <dcbw@redhat.com>
150 + * src/dhcp-manager/nm-dhcp-manager.c
151 + - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
152 + (gnome.org #332953)
154 +2008-01-06 Dan Williams <dcbw@redhat.com>
156 + Fixes gnome.org #466954
158 + * src/nm-device-802-11-wireless.c
159 + - (find_supported_frequency): new function; find the first frequency the
160 + card appears to support from a given list
161 + - (supplicant_send_network_config): explicitly send a frequency the
162 + Ad-Hoc config should use, some cards require it. If the version
163 + of wpa_supplicant being used does not support the 'frequency' option,
164 + NetworkManager will ignore the error and proceed.
166 +2008-01-04 Dan Williams <dcbw@redhat.com>
168 + * src/named-manager/nm-named-manager.c
169 + - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
170 + nameservers if the secondary config doesn't have any
171 + (gnome.org #346833)
173 +2008-01-04 Dan Williams <dcbw@redhat.com>
176 + - Bump libnl requirement to 1.0-pre8
178 + * src/NetworkManagerSystem.c
179 + - (new_nl_handle, destroy_nl_handle): port to libnl-1.0-pre8
180 + - (iface_to_rtnl_index, iface_to_rtnl_link,
181 + nm_system_get_rtnl_index_from_iface,
182 + nm_system_get_iface_from_rtnl_index,
183 + nm_system_device_set_from_ip4_config,
184 + nm_system_vpn_device_set_from_ip4_config,
185 + nm_system_device_set_up_down_with_iface,
186 + nm_system_set_mtu): update for libnl-1.0-pre8
188 + * src/nm-netlink-monitor.c
189 + - (nm_netlink_monitor_open_connection,
190 + nm_netlink_monitor_request_status): don't use netlink pids that
191 + conflict with libnl
193 +2007-12-14 Dan Williams <dcbw@redhat.com>
195 + * src/vpn-properties/nm-vpn-properties.c
196 + - (init_app): hook up a double-click handler; select first item in the
197 + list if there is one (gnome.org #334883)
199 +2007-12-09 Dan Williams <dcbw@redhat.com>
201 + * src/NetworkManager.c
202 + - (nm_killswitch_getpower_reply_cb): don't repeat errors too often
205 +2007-12-07 Dan Williams <dcbw@redhat.com>
207 + * src/NetworkManagerSystem.c
208 + - (new_nl_handle): ensure that the same netlink pid is never chosen
209 + twice (gnome.org #491047)
211 +2007-12-07 Dan Williams <dcbw@redhat.com>
213 + * src/nm-device-802-11-wireless.c
214 + - (nm_device_802_11_wireless_set_essid): don't lock the SSID in the
215 + driver when setting a NULL ESSID (gnome.org #499565)
217 +2007-12-07 Dan Williams <dcbw@redhat.com>
219 + * src/nm-device-802-11-wireless.c
220 + - Wrap #include of linux/mii.h to fix redefined structures due to
221 + incorrect kernel headers (gnome.org #350061)
223 +2007-12-02 Dan Williams <dcbw@redhat.com>
225 + * src/NetworkManager.c
226 + - (nm_data_free): clean up dbus connection on exit
228 +2007-12-02 Dan Williams <dcbw@redhat.com>
230 + * src/nm-device-802-11-wireless.c
231 + - (nm_device_802_11_wireless_get_mode): backport fix from trunk/r3015
234 +2007-10-28 Priit Laes <plaes@svn.gnome.org>
236 + * configure.in: Added "et" (Estonian) to ALL_LINGUAS.
238 +2007-08-30 Dan Williams <dcbw@redhat.com>
240 + * libnm-util/sha1.c
241 + - Include config.h to get defines for endiannes (gnome.org #420216)
243 +2007-07-26 Dan Williams <dcbw@redhat.com>
245 + Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
247 + * src/NetworkManagerSystem.c
248 + - (nm_system_device_set_ip4_route): don't add the route if it's on the
249 + same subnet (#437396)
251 +2007-07-26 Dan Williams <dcbw@redhat.com>
253 + * src/nm-device-802-11-wireless.c
254 + - (real_start): I hate orinoco; apparently has trouble scanning too soon
255 + after being brought up, so do the initial scan a bit later.
257 +2007-06-27 Dan Williams <dcbw@redhat.com>
259 + * src/NetworkManager.c
260 + - (nm_hal_init): set hardware RF to enabled if no killswitches are found
261 + after the initial discovery
263 +2007-06-21 Dan Williams <dcbw@redhat.com>
265 + More fixes for Fedora #194124, gnome.org #354565
267 + * src/nm-device-802-3-ethernet.c
268 + - (real_act_stage1_prepare): new function; fail activation if device
269 + doesn't have a link
271 + * src/NetworkManagerPolicy.c
272 + - (nm_policy_activation_finish): ensure device is actually activated
273 + before sending out signals. Fixes a race where device cancellation
274 + would be processed right after finish was scheduled, but not run.
275 + - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
276 + ensure device change check GSource ID is locked across threads;
277 + allow interruption of activation of 802.3 ethernet devices that no
278 + longer have an active link, and ensure that 802.3 ethernet devices
279 + have an active link before starting activation
281 +2007-06-21 Dan Williams <dcbw@redhat.com>
283 + Add HAL-based rfkill support, based on a patch from Benjamin Kahn.
285 + * src/NetworkManagerDbus.[ch]
286 + - (nm_dbus_signal_wireless_enabled): new function, emit signals when
287 + wireless enabled status changes
290 + - (nm_dbus_nm_set_wireless_enabled): handle hardware rfkill correctly;
291 + send errors when hardware switch overrides user request, and send
292 + signals when wireless enabled state changes
293 + - (nm_dbus_nm_get_wireless_enabled): send additional 'hardware rf enabled'
294 + argument in method reply
296 + * src/NetworkManager.c
297 + - (handle_killswitch_pcall_done, nm_killswitch_getpower_reply_cb,
298 + nm_poll_killswitches, nm_add_killswitch_device,
299 + nm_add_initial_killswitch_devices): new functions; detect and handle
300 + hardware killswitches exported by HAL. Unfortunately we have to
301 + poll the switches because HAL doesn't support signals for killswitches
303 + - (nm_hal_device_new_capability): detect killswitches added asynchronously
304 + - (nm_hal_init): look for killswitches when connecting to HAL
305 + - (nm_hal_deinit): dispose of killswitches when deiniting HAL data
307 + * src/NetworkManagerMain.h
308 + - Add bits to track killswitches
310 +2007-06-12 Dan Williams <dcbw@redhat.com>
313 + - (real_act_stage3_ip_config_start): sometimes the device gets downed
314 + during the wpa_supplicant association. Ensure the device is up
315 + before it's used for IP configuration.
317 +2007-06-07 Dan Williams <dcbw@redhat.com>
319 + Patch from Jon Nettleton <jon.nettleton@gmail.com>
321 + * src/nm-device-802-11-wireless.c:
322 + - (real_act_stage2_config): sleep 1 second to allow link status
325 +2007-06-07 Dan Williams <dcbw@redhat.com>
327 + * (nm_device_802_3_ethernet_link_activated,
328 + nm_device_802_3_ethernet_link_deactivated): fix ethernet link detection
329 + behavior due to races between the netlink code and when the
330 + device thread recognizes the change. Checking the link state
331 + before scheduling the change even on the device thread is wrong.
332 + (gnome.org #354565, rh #194124)
334 +2007-04-25 Dan Williams <dcbw@redhat.com>
336 + * initscript/RedHat/NetworkManager.in: remove trailing backslash
337 + (gnome.org #432401)
339 2007-04-18 Tambet Ingo <tambet@ximian.com>
341 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network_cb): Update the security
342 diff -urN NetworkManager-0.6.5/configure.in NetworkManager-SVNr3284/configure.in
343 --- NetworkManager-0.6.5/configure.in 2007-04-18 20:13:10.000000000 +0200
344 +++ NetworkManager-SVNr3284/configure.in 2008-02-04 16:01:02.000000000 +0100
346 GETTEXT_PACKAGE=NetworkManager
347 AC_SUBST(GETTEXT_PACKAGE)
348 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
349 -ALL_LINGUAS="ar be@latin bg bs ca cs da de dz el en_CA en_GB es fi fr gl gu hr hu it ja ka ko lt pl mk nb ne nl pa pt_BR rw sk sq sr@Latn sr sv uk vi wa zh_CN zh_TW"
350 +ALL_LINGUAS="ar be@latin bg bs ca cs da de dz el en_CA en_GB es et fi fr gl gu hr hu it ja ka ko lt pl mk nb ne nl pa pt_BR rw sk sq sr@Latn sr sv uk vi wa zh_CN zh_TW"
351 AC_PROG_INTLTOOL([0.27.2])
355 PKG_CHECK_MODULES(GNOME_KEYRING, gnome-keyring-1)
358 -PKG_CHECK_MODULES(LIBNL, libnl-1)
359 +PKG_CHECK_MODULES(LIBNL, libnl-1 >= 1.0-pre8)
361 AC_ARG_WITH(gcrypt, AC_HELP_STRING([--with-gcrypt], [Use gcrypt library]), ac_gcrypt=$withval, ac_gcrypt=auto)
362 if test x"$ac_gcrypt" != xno; then
364 initscript/Arch/networkmanager
365 initscript/Arch/networkmanager-dispatcher
367 -man/NetworkManager.1
368 -man/NetworkManagerDispatcher.1
369 +man/NetworkManager.8
370 +man/NetworkManagerDispatcher.8
374 diff -urN NetworkManager-0.6.5/gnome/libnm_glib/libnm_glib.c NetworkManager-SVNr3284/gnome/libnm_glib/libnm_glib.c
375 --- NetworkManager-0.6.5/gnome/libnm_glib/libnm_glib.c 2007-04-18 20:13:08.000000000 +0200
376 +++ NetworkManager-SVNr3284/gnome/libnm_glib/libnm_glib.c 2008-02-04 16:00:46.000000000 +0100
378 DBusConnection * dbus_con;
380 guint dbus_watch_interval;
382 gboolean thread_done;
383 gboolean thread_inited;
387 GMutex * callbacks_lock;
389 g_slist_foreach (ctx->callbacks, (GFunc)g_free, NULL);
390 g_slist_free (ctx->callbacks);
393 + g_thread_join (ctx->thread);
395 memset (ctx, 0, sizeof (libnm_glib_ctx));
396 memset (&(ctx->check), 0xDD, sizeof (ctx->check));
400 libnm_glib_init (void)
402 - GError *error = NULL;
403 libnm_glib_ctx *ctx = NULL;
406 @@ -496,15 +500,12 @@
407 g_thread_init (NULL);
408 dbus_g_thread_init ();
410 - if (!(ctx = libnm_glib_ctx_new()))
411 + if (!(ctx = libnm_glib_ctx_new ()))
414 - if (!g_thread_create (libnm_glib_dbus_worker, ctx, FALSE, &error))
417 - g_error_free (error);
418 + ctx->thread = g_thread_create (libnm_glib_dbus_worker, ctx, TRUE, NULL);
423 /* Wait until initialization of the thread */
424 while (!ctx->thread_inited)
425 diff -urN NetworkManager-0.6.5/gnome/vpn-properties/Makefile.am NetworkManager-SVNr3284/gnome/vpn-properties/Makefile.am
426 --- NetworkManager-0.6.5/gnome/vpn-properties/Makefile.am 2007-04-18 20:13:08.000000000 +0200
427 +++ NetworkManager-SVNr3284/gnome/vpn-properties/Makefile.am 2008-02-04 16:00:45.000000000 +0100
429 -DGLADEDIR=\""$(gladedir)"\" \
430 -DG_DISABLE_DEPRECATED \
431 -DGDK_DISABLE_DEPRECATED \
432 - -DGNOME_DISABLE_DEPRECATED \
433 - -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
434 + -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
435 -DVERSION=\"$(VERSION)\" \
438 diff -urN NetworkManager-0.6.5/gnome/vpn-properties/nm-vpn-properties.c NetworkManager-SVNr3284/gnome/vpn-properties/nm-vpn-properties.c
439 --- NetworkManager-0.6.5/gnome/vpn-properties/nm-vpn-properties.c 2007-04-18 20:13:08.000000000 +0200
440 +++ NetworkManager-SVNr3284/gnome/vpn-properties/nm-vpn-properties.c 2008-02-04 16:00:45.000000000 +0100
442 /***************************************************************************
446 * nm-vpn-properties.c : GNOME UI dialogs for manipulating VPN connections
449 update_edit_del_sensitivity ();
453 +vpn_list_row_activated_cb (GtkTreeView *treeview,
455 + GtkTreeViewColumn *column,
456 + gpointer user_data)
458 + edit_cb (NULL, NULL);
461 /* TODO: remove these once we get the GModule thing going */
462 //extern NetworkManagerVpnUI* vpn_ui_factory_vpnc (void);
463 extern NetworkManagerVpnUI* vpn_ui_factory_dummy (void);
465 GtkHBox *vpn_type_hbox1;
468 + GtkTreeIter tree_iter;
470 if (!vpn_get_clipboard ())
472 @@ -1005,13 +1015,13 @@
473 vpn_type_details = GTK_VBOX (glade_xml_get_widget (xml, "vpn-connection-druid-details-box"));
475 w = glade_xml_get_widget (xml, "add");
476 - gtk_signal_connect (GTK_OBJECT (w), "clicked", GTK_SIGNAL_FUNC (add_cb), NULL);
477 + g_signal_connect (G_OBJECT (w), "clicked", GTK_SIGNAL_FUNC (add_cb), NULL);
478 vpn_edit = glade_xml_get_widget (xml, "edit");
479 - gtk_signal_connect (GTK_OBJECT (vpn_edit), "clicked", GTK_SIGNAL_FUNC (edit_cb), NULL);
480 + g_signal_connect (G_OBJECT (vpn_edit), "clicked", GTK_SIGNAL_FUNC (edit_cb), NULL);
481 vpn_export = glade_xml_get_widget (xml, "export");
482 - gtk_signal_connect (GTK_OBJECT (vpn_export), "clicked", GTK_SIGNAL_FUNC (export_cb), NULL);
483 + g_signal_connect (G_OBJECT (vpn_export), "clicked", GTK_SIGNAL_FUNC (export_cb), NULL);
484 vpn_delete = glade_xml_get_widget (xml, "delete");
485 - gtk_signal_connect (GTK_OBJECT (vpn_delete), "clicked", GTK_SIGNAL_FUNC (delete_cb), NULL);
486 + g_signal_connect (G_OBJECT (vpn_delete), "clicked", GTK_SIGNAL_FUNC (delete_cb), NULL);
487 g_signal_connect (dialog, "response",
488 G_CALLBACK (response_cb), NULL);
489 g_signal_connect (dialog, "delete_event",
490 @@ -1029,9 +1039,12 @@
494 - gtk_signal_connect_after (GTK_OBJECT (vpn_conn_view), "cursor-changed",
495 + g_signal_connect_after (G_OBJECT (vpn_conn_view), "cursor-changed",
496 GTK_SIGNAL_FUNC (vpn_list_cursor_changed_cb), NULL);
498 + g_signal_connect (G_OBJECT (vpn_conn_view), "row-activated",
499 + GTK_SIGNAL_FUNC (vpn_list_row_activated_cb), NULL);
501 get_all_vpn_connections ();
503 column = gtk_tree_view_column_new ();
504 @@ -1045,6 +1058,12 @@
505 gtk_tree_view_set_model (vpn_conn_view, GTK_TREE_MODEL (vpn_conn_list));
506 gtk_tree_view_expand_all (vpn_conn_view);
508 + if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (vpn_conn_list), &tree_iter)) {
509 + GtkTreeSelection *selection = gtk_tree_view_get_selection (vpn_conn_view);
511 + gtk_tree_selection_select_iter (selection, &tree_iter);
514 gtk_widget_show_all (dialog);
516 /* fill in possibly choices in the druid when adding a connection */
517 @@ -1059,20 +1078,20 @@
520 druid = GNOME_DRUID (glade_xml_get_widget (xml, "vpn-create-connection-druid"));
521 - gtk_signal_connect (GTK_OBJECT (druid), "cancel", GTK_SIGNAL_FUNC (vpn_druid_cancel), NULL);
522 + g_signal_connect (GTK_OBJECT (druid), "cancel", GTK_SIGNAL_FUNC (vpn_druid_cancel), NULL);
523 druid_confirm_page = GNOME_DRUID_PAGE_EDGE (glade_xml_get_widget (xml, "vpn-druid-vpn-confirm-page"));
524 /* use connect_after, otherwise gnome_druid_set_buttons_sensitive() won't work in prepare handlers */
525 w = glade_xml_get_widget (xml, "vpn-druid-vpn-type-page");
526 - gtk_signal_connect_after (GTK_OBJECT (w), "next", GTK_SIGNAL_FUNC (vpn_druid_vpn_type_page_next), NULL);
527 + g_signal_connect_after (G_OBJECT (w), "next", GTK_SIGNAL_FUNC (vpn_druid_vpn_type_page_next), NULL);
528 w = glade_xml_get_widget (xml, "vpn-druid-vpn-details-page");
529 - gtk_signal_connect_after (GTK_OBJECT (w), "prepare", GTK_SIGNAL_FUNC (vpn_druid_vpn_details_page_prepare), NULL);
530 - gtk_signal_connect_after (GTK_OBJECT (w), "next", GTK_SIGNAL_FUNC (vpn_druid_vpn_details_page_next), NULL);
531 + g_signal_connect_after (G_OBJECT (w), "prepare", GTK_SIGNAL_FUNC (vpn_druid_vpn_details_page_prepare), NULL);
532 + g_signal_connect_after (G_OBJECT (w), "next", GTK_SIGNAL_FUNC (vpn_druid_vpn_details_page_next), NULL);
533 w = glade_xml_get_widget (xml, "vpn-druid-vpn-confirm-page");
534 - gtk_signal_connect_after (GTK_OBJECT (w), "prepare", GTK_SIGNAL_FUNC (vpn_druid_vpn_confirm_page_prepare), NULL);
535 - gtk_signal_connect_after (GTK_OBJECT (w), "finish", GTK_SIGNAL_FUNC (vpn_druid_vpn_confirm_page_finish), NULL);
536 + g_signal_connect_after (G_OBJECT (w), "prepare", GTK_SIGNAL_FUNC (vpn_druid_vpn_confirm_page_prepare), NULL);
537 + g_signal_connect_after (G_OBJECT (w), "finish", GTK_SIGNAL_FUNC (vpn_druid_vpn_confirm_page_finish), NULL);
539 toplevel = gtk_widget_get_toplevel (GTK_WIDGET (druid));
540 - gtk_signal_connect (GTK_OBJECT (toplevel), "delete_event", GTK_SIGNAL_FUNC (vpn_window_close), NULL);
541 + g_signal_connect (G_OBJECT (toplevel), "delete_event", GTK_SIGNAL_FUNC (vpn_window_close), NULL);
543 druid_window = GTK_WINDOW (glade_xml_get_widget (xml, "vpn-create-connection"));
545 diff -urN NetworkManager-0.6.5/include/NetworkManager.h NetworkManager-SVNr3284/include/NetworkManager.h
546 --- NetworkManager-0.6.5/include/NetworkManager.h 2007-04-18 20:13:03.000000000 +0200
547 +++ NetworkManager-SVNr3284/include/NetworkManager.h 2008-02-04 15:59:52.000000000 +0100
549 NETWORK_TYPE_UNKNOWN = 0,
550 NETWORK_TYPE_ALLOWED,
551 NETWORK_TYPE_INVALID,
552 - NETWORK_TYPE_DEVICE
553 + NETWORK_TYPE_DEVICE,
558 diff -urN NetworkManager-0.6.5/libnm-util/dbus-helpers.h NetworkManager-SVNr3284/libnm-util/dbus-helpers.h
559 --- NetworkManager-0.6.5/libnm-util/dbus-helpers.h 2007-04-18 20:13:09.000000000 +0200
560 +++ NetworkManager-SVNr3284/libnm-util/dbus-helpers.h 2008-02-04 16:00:48.000000000 +0100
562 char **client_cert_file,
566 dbus_bool_t nmu_security_serialize_leap (DBusMessageIter *iter,
567 const char *username,
569 diff -urN NetworkManager-0.6.5/libnm-util/sha1.c NetworkManager-SVNr3284/libnm-util/sha1.c
570 --- NetworkManager-0.6.5/libnm-util/sha1.c 2007-04-18 20:13:09.000000000 +0200
571 +++ NetworkManager-SVNr3284/libnm-util/sha1.c 2008-02-04 16:00:48.000000000 +0100
573 * See README and COPYING for more details.
576 +#ifdef HAVE_CONFIG_H
583 diff -urN NetworkManager-0.6.5/man/Makefile.am NetworkManager-SVNr3284/man/Makefile.am
584 --- NetworkManager-0.6.5/man/Makefile.am 2007-04-18 20:13:08.000000000 +0200
585 +++ NetworkManager-SVNr3284/man/Makefile.am 2008-02-04 16:00:46.000000000 +0100
589 - NetworkManagerDispatcher.1 \
591 + NetworkManagerDispatcher.8 \
596 - NetworkManager.1.in \
597 - NetworkManagerDispatcher.1.in \
598 + NetworkManager.8.in \
599 + NetworkManagerDispatcher.8.in \
601 diff -urN NetworkManager-0.6.5/man/NetworkManager.1 NetworkManager-SVNr3284/man/NetworkManager.1
602 --- NetworkManager-0.6.5/man/NetworkManager.1 2007-04-18 22:28:16.000000000 +0200
603 +++ NetworkManager-SVNr3284/man/NetworkManager.1 1970-01-01 01:00:00.000000000 +0100
605 -.\" NetworkManager(1) manual page
607 -.\" Copyright (C) 2005 Robert Love
609 -.TH NETWORKMANAGER "1"
611 -NetworkManager \- network management daemon
613 -.B NetworkManager [\-\-no-daemon] [\-\-enable-test-devices]
615 -The \fINetworkManager\fP daemon attempts to keep an active network connection
616 -available at all times. The point of NetworkManager is to make networking
617 -configuration and setup as painless and automatic as possible. If using DHCP,
618 -NetworkManager is intended to replace default routes, obtain IP addresses from
619 -a DHCP server, and change nameservers whenever it sees fit, with the aim of
620 -making networking Just Work.
622 -The following options are supported:
625 -Do not daemonize. This is useful for debugging.
627 -.I "--enable-test-devices"
628 -Enable support for virtual test devices. These are useful for debugging.
630 -.BR NetworkManagerDispatcher (1),
632 diff -urN NetworkManager-0.6.5/man/NetworkManager.1.in NetworkManager-SVNr3284/man/NetworkManager.1.in
633 --- NetworkManager-0.6.5/man/NetworkManager.1.in 2007-04-18 20:13:08.000000000 +0200
634 +++ NetworkManager-SVNr3284/man/NetworkManager.1.in 1970-01-01 01:00:00.000000000 +0100
636 -.\" NetworkManager(1) manual page
638 -.\" Copyright (C) 2005 Robert Love
640 -.TH NETWORKMANAGER "1"
642 -NetworkManager \- network management daemon
644 -.B NetworkManager [\-\-no-daemon] [\-\-enable-test-devices]
646 -The \fINetworkManager\fP daemon attempts to keep an active network connection
647 -available at all times. The point of NetworkManager is to make networking
648 -configuration and setup as painless and automatic as possible. If using DHCP,
649 -NetworkManager is intended to replace default routes, obtain IP addresses from
650 -a DHCP server, and change nameservers whenever it sees fit, with the aim of
651 -making networking Just Work.
653 -The following options are supported:
656 -Do not daemonize. This is useful for debugging.
658 -.I "--enable-test-devices"
659 -Enable support for virtual test devices. These are useful for debugging.
661 -.BR NetworkManagerDispatcher (1),
663 diff -urN NetworkManager-0.6.5/man/NetworkManager.8.in NetworkManager-SVNr3284/man/NetworkManager.8.in
664 --- NetworkManager-0.6.5/man/NetworkManager.8.in 1970-01-01 01:00:00.000000000 +0100
665 +++ NetworkManager-SVNr3284/man/NetworkManager.8.in 2008-02-04 16:00:46.000000000 +0100
667 +.\" NetworkManager(8) manual page
669 +.\" Copyright (C) 2005 Robert Love
671 +.TH NETWORKMANAGER "8"
673 +NetworkManager \- network management daemon
675 +.B NetworkManager [\-\-no-daemon] [\-\-enable-test-devices]
677 +The \fINetworkManager\fP daemon attempts to keep an active network connection
678 +available at all times. The point of NetworkManager is to make networking
679 +configuration and setup as painless and automatic as possible. If using DHCP,
680 +NetworkManager is intended to replace default routes, obtain IP addresses from
681 +a DHCP server, and change nameservers whenever it sees fit, with the aim of
682 +making networking Just Work.
684 +The following options are supported:
687 +Do not daemonize. This is useful for debugging.
689 +.I "--enable-test-devices"
690 +Enable support for virtual test devices. These are useful for debugging.
692 +.BR NetworkManagerDispatcher (8),
694 diff -urN NetworkManager-0.6.5/man/NetworkManagerDispatcher.1 NetworkManager-SVNr3284/man/NetworkManagerDispatcher.1
695 --- NetworkManager-0.6.5/man/NetworkManagerDispatcher.1 2007-04-18 22:28:16.000000000 +0200
696 +++ NetworkManager-SVNr3284/man/NetworkManagerDispatcher.1 1970-01-01 01:00:00.000000000 +0100
698 -.\" NetworkManager(1) manual page
700 -.\" Copyright (C) 2005 Robert Love
702 -.TH NETWORKMANAGERDISPATCHER "1"
704 -NetworkManagerDispatcher \- daemon that runs commands in response to off/online
706 -.B NetworkManagerDispatcher [\-\-no-daemon]
708 -The \fINetworkManagerDispatcher\fP daemon runs commands in the
709 -.I ${prefix}/etc/NetworkManager/dispatcher.d
710 -directory in response to interfaces coming up and down. The scripts are run
711 -alphabetically. The first parameter is the network interface name. The second
714 -if the interface is now up and
716 -if the interface is now down.
718 -The following options are supported:
721 -Do not daemonize. This is useful for debugging.
723 -${prefix}/etc/NetworkManager/dispatcher.d
725 -.BR NetworkManager (1),
727 diff -urN NetworkManager-0.6.5/man/NetworkManagerDispatcher.1.in NetworkManager-SVNr3284/man/NetworkManagerDispatcher.1.in
728 --- NetworkManager-0.6.5/man/NetworkManagerDispatcher.1.in 2007-04-18 20:13:08.000000000 +0200
729 +++ NetworkManager-SVNr3284/man/NetworkManagerDispatcher.1.in 1970-01-01 01:00:00.000000000 +0100
731 -.\" NetworkManager(1) manual page
733 -.\" Copyright (C) 2005 Robert Love
735 -.TH NETWORKMANAGERDISPATCHER "1"
737 -NetworkManagerDispatcher \- daemon that runs commands in response to off/online
739 -.B NetworkManagerDispatcher [\-\-no-daemon]
741 -The \fINetworkManagerDispatcher\fP daemon runs commands in the
742 -.I @sysconfdir@/NetworkManager/dispatcher.d
743 -directory in response to interfaces coming up and down. The scripts are run
744 -alphabetically. The first parameter is the network interface name. The second
747 -if the interface is now up and
749 -if the interface is now down.
751 -The following options are supported:
754 -Do not daemonize. This is useful for debugging.
756 -@sysconfdir@/NetworkManager/dispatcher.d
758 -.BR NetworkManager (1),
760 diff -urN NetworkManager-0.6.5/man/NetworkManagerDispatcher.8.in NetworkManager-SVNr3284/man/NetworkManagerDispatcher.8.in
761 --- NetworkManager-0.6.5/man/NetworkManagerDispatcher.8.in 1970-01-01 01:00:00.000000000 +0100
762 +++ NetworkManager-SVNr3284/man/NetworkManagerDispatcher.8.in 2008-02-04 16:00:46.000000000 +0100
764 +.\" NetworkManager(8) manual page
766 +.\" Copyright (C) 2005 Robert Love
768 +.TH NETWORKMANAGERDISPATCHER "8"
770 +NetworkManagerDispatcher \- daemon that runs commands in response to off/online
772 +.B NetworkManagerDispatcher [\-\-no-daemon]
774 +The \fINetworkManagerDispatcher\fP daemon runs commands in the
775 +.I @sysconfdir@/NetworkManager/dispatcher.d
776 +directory in response to interfaces coming up and down. The scripts are run
777 +alphabetically. The first parameter is the network interface name. The second
780 +if the interface is now up and
782 +if the interface is now down.
784 +The following options are supported:
787 +Do not daemonize. This is useful for debugging.
789 +@sysconfdir@/NetworkManager/dispatcher.d
791 +.BR NetworkManager (8),
793 diff -urN NetworkManager-0.6.5/man/nm-tool.1 NetworkManager-SVNr3284/man/nm-tool.1
794 --- NetworkManager-0.6.5/man/nm-tool.1 2007-04-18 22:28:16.000000000 +0200
795 +++ NetworkManager-SVNr3284/man/nm-tool.1 1970-01-01 01:00:00.000000000 +0100
797 -.\" nm-tool(1) manual page
799 -.\" Copyright (C) 2005 Robert Love
802 -nm-tool \- utility to report NetworkManager state
806 -The \fInm-tool\fP utility provides information about NetworkManager, device,
807 -and wireless networks.
809 -.BR NetworkManager (1),
810 -.BR NetworkManagerDispatcher (1)
811 diff -urN NetworkManager-0.6.5/man/nm-tool.1.in NetworkManager-SVNr3284/man/nm-tool.1.in
812 --- NetworkManager-0.6.5/man/nm-tool.1.in 2007-04-18 20:13:08.000000000 +0200
813 +++ NetworkManager-SVNr3284/man/nm-tool.1.in 2008-02-04 16:00:46.000000000 +0100
815 .\" Copyright (C) 2005 Robert Love
819 nm-tool \- utility to report NetworkManager state
823 The \fInm-tool\fP utility provides information about NetworkManager, device,
824 and wireless networks.
826 -.BR NetworkManager (1),
827 -.BR NetworkManagerDispatcher (1)
828 +.BR NetworkManager (8),
829 +.BR NetworkManagerDispatcher (8)
830 diff -urN NetworkManager-0.6.5/po/ChangeLog NetworkManager-SVNr3284/po/ChangeLog
831 --- NetworkManager-0.6.5/po/ChangeLog 2007-04-18 20:13:10.000000000 +0200
832 +++ NetworkManager-SVNr3284/po/ChangeLog 2008-02-04 16:01:02.000000000 +0100
834 +2007-11-02 Priit Laes <plaes@svn.gnome.org>
836 + * et.po: Translation updated by Mattias Põldaru.
838 +2007-10-28 Priit Laes <plaes@svn.gnome.org>
840 + * et.po: Translation updated by Priit Laes.
842 +2007-10-28 Priit Laes <plaes@svn.gnome.org>
844 + * et.po: Translation updated by Mattias Põldaru.
845 + * Forgot to add file :(
847 +2007-09-14 Clytie Siddall <clytie@riverland.net.au>
849 + * vi.po: Updated Vietnamese translation.
851 +2007-08-26 Satoru SATOH <ss@gnome.gr.jp>
853 + * ja.po: Updated Japanese translation.
855 +2007-08-22 Jorge Gonzalez <jorgegonz@svn.gnome.org>
857 + * es.po: Updated Spanish translation.
859 +2007-08-16 Ilkka Tuohela <hile@iki.fi>
861 + * fi.po: Updated Finnish translation.
863 +2007-07-03 Takeshi AIHANA <takeshi.aihana@gmail.com>
865 + * ja.po: Fixed #Bug 453314.
867 +2007-06-04 Kjartan Maraas <kmaraas@gnome.org>
869 + * nb.po: Update Norwegian bokmål translation.
871 +2007-04-23 Luca Ferretti <elle.uca@libero.it>
873 + * it.po: Updated Italian translation by Francesco Marletta.
875 2007-04-16 Ihar Hrachyshka <iharh@gnome.org>
877 * be@latin.po: Added Belarusian Latin translation.
878 diff -urN NetworkManager-0.6.5/po/es.po NetworkManager-SVNr3284/po/es.po
879 --- NetworkManager-0.6.5/po/es.po 2007-04-18 20:13:10.000000000 +0200
880 +++ NetworkManager-SVNr3284/po/es.po 2008-02-04 16:01:02.000000000 +0100
882 # Traducción de NetworkManager al español.
883 # Copyright (C) Spanish translation for NetworkManager
884 # This file is distributed under the same license as the NetworkManager package.
886 # Antonio Ognio <antonio@linux.org.pe>, 2004.
887 # Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2004, 2005.
888 # Lucas Vieites Fariña <lucas@asixinformatica.com>, 2005, 2006.
890 +# Jorge González <jorgegonz@svn.gnome.org>, 2007.
893 -"Project-Id-Version: NetworkManager.HEAD\n"
894 +"Project-Id-Version: NetworkManager.NETWORKMANAGER_0_6_0_RELEASE.es\n"
895 "Report-Msgid-Bugs-To: \n"
896 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
897 -"PO-Revision-Date: 2006-05-16 13:58\n"
898 -"Last-Translator: Novell Language <language@novell.com>\n"
899 -"Language-Team: Novell Language <language@novell.com>\n"
900 +"POT-Creation-Date: 2007-03-03 03:27+0000\n"
901 +"PO-Revision-Date: 2007-08-22 14:57+0200\n"
902 +"Last-Translator: Jorge González <jorgegonz@svn.gnome.org>\n"
903 +"Language-Team: Spanish <traductores@es.gnome.org>\n"
904 "MIME-Version: 1.0\n"
905 "Content-Type: text/plain; charset=UTF-8\n"
906 "Content-Transfer-Encoding: 8bit\n"
907 -"X-Generator: KBabel 1.11\n"
908 +"X-Generator: KBabel 1.11.4\n"
909 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
911 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
913 -msgid "Passphrase for wireless network %s"
914 -msgstr "Frase de paso para la red inalámbrica %s"
916 -#: ../gnome/applet/applet-dbus.c:265
918 -msgid "Connection to the wireless network '%s' failed."
919 -msgstr "La conexión a la red inalámbrica «%s» ha fallado."
921 -#: ../gnome/applet/applet-dbus.c:270
922 -msgid "Connection to the wired network failed."
923 -msgstr "La conexión a la red cableada ha fallado."
925 -#: ../gnome/applet/applet.c:184
926 -msgid "Error displaying connection information:"
927 -msgstr "Ha ocurrido un error al mostrar información de conexión:"
929 -#: ../gnome/applet/applet.c:202
930 -msgid "Could not find some required resources (the glade file)!"
932 -"No se han podido encontrar algunos recursos necesarios (el archivo glade)."
934 -#: ../gnome/applet/applet.c:213
935 -msgid "No active connections!"
936 -msgstr "No hay conexiones activas."
938 -#: ../gnome/applet/applet.c:234
940 -msgid "Wired Ethernet (%s)"
941 -msgstr "Red Ethernet cableada (%s)"
943 -#: ../gnome/applet/applet.c:236
945 -msgid "Wireless Ethernet (%s)"
946 -msgstr "Red Ethernet inalámbrica (%s)"
948 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
949 -msgid "NetworkManager Applet"
950 -msgstr "Miniaplicación NetworkManager"
952 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
953 -msgid "Copyright © 2004-2005 Red Hat, Inc."
954 -msgstr "Copyright © 2004-2005 Red Hat, Inc."
956 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
958 -"Notification area applet for managing your network devices and connections."
960 -"Miniaplicación del área de notificación para administrar sus dispositivos de "
963 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
964 -msgid "translator-credits"
965 -msgstr "Lucas Vieites <lucas@asixinformatica.com>, 2005"
967 -#: ../gnome/applet/applet.c:426
968 -msgid "VPN Login Failure"
969 -msgstr "Error de acceso de VPN"
971 -#: ../gnome/applet/applet.c:427
973 -msgid "Could not start the VPN connection '%s' due to a login failure."
974 -msgstr "No se pudo iniciar la conexión VPN «%s» debido a un error de acceso."
976 -#: ../gnome/applet/applet.c:431
977 -msgid "VPN Start Failure"
978 -msgstr "Error de inicio de VPN"
980 -#: ../gnome/applet/applet.c:432
983 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
986 -"No se pudo iniciar la conexión VPN «%s» debido a un error al iniciar el "
989 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
990 -msgid "VPN Connect Failure"
991 -msgstr "Error de conexión VPN"
993 -#: ../gnome/applet/applet.c:437
995 -msgid "Could not start the VPN connection '%s' due to a connection error."
997 -"No se puede iniciar la conexión VPN «%s» debido a un error de conexión."
999 -#: ../gnome/applet/applet.c:441
1000 -msgid "VPN Configuration Error"
1001 -msgstr "Error de configuración VPN"
1003 -#: ../gnome/applet/applet.c:442
1005 -msgid "The VPN connection '%s' was not correctly configured."
1006 -msgstr "La conexión VPN «%s» no estaba configurada correctamente."
1008 -#: ../gnome/applet/applet.c:447
1011 -"Could not start the VPN connection '%s' because the VPN server did not "
1012 -"return an adequate network configuration."
1014 -"No se pudo iniciar la conexión VPN «%s» porque el servidor VPN no ha "
1015 -"devuelto una configuración de red adecuada."
1017 -#: ../gnome/applet/applet.c:517
1018 -msgid "VPN Login Message"
1019 -msgstr "Mensaje de acceso VPN"
1021 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
1022 -#: ../gnome/applet/other-network-dialog.c:453
1023 -#: ../gnome/applet/passphrase-dialog.c:228
1025 -"The NetworkManager Applet could not find some required resources (the glade "
1026 -"file was not found)."
1028 -"La miniaplicación NetworkManager no pudo encontrar algunos archivos de "
1029 -"recursos (No se encontró el archivo de glade)."
1031 -#: ../gnome/applet/applet.c:753
1033 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
1035 -"El dispositivo de red «%s (%s)» no puede inspeccionar redes inalámbricas."
1037 -#: ../gnome/applet/applet.c:761
1039 -msgid "The network device \"%s (%s)\" does not support link detection."
1041 -"El dispositivo de red \"%s (%s)\" no puede realizar detección de enlaces."
1043 -#: ../gnome/applet/applet.c:908
1045 -msgid "Preparing device %s for the wired network..."
1046 -msgstr "Preparando el dispositivo %s para la red cableada..."
1048 -#: ../gnome/applet/applet.c:910
1050 -msgid "Preparing device %s for the wireless network '%s'..."
1051 -msgstr "Preparando el dispositivo %s para la red inalámbrica «%s»..."
1053 -#: ../gnome/applet/applet.c:918
1055 -msgid "Configuring device %s for the wired network..."
1056 -msgstr "Configurando el dispositivo %s para la red cableada..."
1058 -#: ../gnome/applet/applet.c:920
1060 -msgid "Attempting to join the wireless network '%s'..."
1061 -msgstr "Intentando conectar con la red inalámbrica «%s»..."
1063 -#: ../gnome/applet/applet.c:928
1065 -msgid "Waiting for Network Key for the wireless network '%s'..."
1066 -msgstr "Esperando la contraseña de red para la red inalámbrica «%s»..."
1068 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
1069 -msgid "Requesting a network address from the wired network..."
1070 -msgstr "Solicitando una dirección de red a la red cableada..."
1072 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
1074 -msgid "Requesting a network address from the wireless network '%s'..."
1075 -msgstr "Solicitando una dirección de red a la red inalámbrica «%s»..."
1077 -#: ../gnome/applet/applet.c:956
1078 -msgid "Finishing connection to the wired network..."
1079 -msgstr "Deteniendo la conexión a la red cableada..."
1081 -#: ../gnome/applet/applet.c:958
1083 -msgid "Finishing connection to the wireless network '%s'..."
1084 -msgstr "Deteniendo la conexión a la red inalámbrica «%s»..."
1086 -#: ../gnome/applet/applet.c:1075
1087 -msgid "NetworkManager is not running"
1088 -msgstr "NetworkManager no se está ejecutando"
1090 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
1091 -msgid "Networking disabled"
1092 -msgstr "Red desactivada"
1094 -#: ../gnome/applet/applet.c:1088
1095 -msgid "No network connection"
1096 -msgstr "Sin conexión de red"
1098 -#: ../gnome/applet/applet.c:1093
1099 -msgid "Wired network connection"
1100 -msgstr "Conexión de red cableada"
1102 -#: ../gnome/applet/applet.c:1097
1103 -msgid "Connected to an Ad-Hoc wireless network"
1104 -msgstr "Conectado con una red inalámbrica Ad-Hoc"
1106 -#: ../gnome/applet/applet.c:1099
1108 -msgid "Wireless network connection to '%s' (%d%%)"
1109 -msgstr "Conexión de red inalámbrica a «%s» (%d%%)"
1111 -#: ../gnome/applet/applet.c:1120
1113 -msgid "VPN connection to '%s'"
1114 -msgstr "Conexión VPN a «%s»"
1116 -#: ../gnome/applet/applet.c:1128
1118 -msgid "VPN connecting to '%s'"
1119 -msgstr "VPN conectando a «%s»"
1121 -#: ../gnome/applet/applet.c:1541
1122 -msgid "_Connect to Other Wireless Network..."
1123 -msgstr "_Conectar a otra red inalámbrica..."
1125 -#: ../gnome/applet/applet.c:1562
1126 -msgid "Create _New Wireless Network..."
1127 -msgstr "Crear una red inalámbrica _nueva..."
1129 -#: ../gnome/applet/applet.c:1685
1130 -msgid "_VPN Connections"
1131 -msgstr "Conexiones _VPN"
1133 -#: ../gnome/applet/applet.c:1730
1134 -msgid "_Configure VPN..."
1135 -msgstr "_Configurar VPN..."
1137 -#: ../gnome/applet/applet.c:1734
1138 -msgid "_Disconnect VPN..."
1139 -msgstr "_Desconectar VPN..."
1141 -#: ../gnome/applet/applet.c:1756
1142 -msgid "_Dial Up Connections"
1143 -msgstr "Conexiones de _marcado"
1145 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
1146 -#: ../gnome/applet/applet.c:1767
1148 -msgid "Connect to %s..."
1149 -msgstr "Conectar a %s..."
1151 -#: ../gnome/applet/applet.c:1773
1153 -msgid "Disconnect from %s..."
1154 -msgstr "Desconectar de %s..."
1156 -#: ../gnome/applet/applet.c:1822
1157 -msgid "No network devices have been found"
1158 -msgstr "No se ha encontrado ningún dispositivo de red"
1160 -#: ../gnome/applet/applet.c:2014
1161 -msgid "NetworkManager is not running..."
1162 -msgstr "NetworkManager no se está ejecutando..."
1164 -#. 'Enable Networking' item
1165 -#: ../gnome/applet/applet.c:2170
1166 -msgid "Enable _Networking"
1167 -msgstr "Activar _red"
1169 -#. 'Enable Wireless' item
1170 -#: ../gnome/applet/applet.c:2176
1171 -msgid "Enable _Wireless"
1172 -msgstr "Activar _inalámbrico"
1174 -#. 'Connection Information' item
1175 -#: ../gnome/applet/applet.c:2182
1176 -msgid "Connection _Information"
1177 -msgstr "_Información de la conexión"
1180 -#: ../gnome/applet/applet.c:2193
1185 -#: ../gnome/applet/applet.c:2202
1187 -msgstr "A_cerca de"
1189 -#: ../gnome/applet/applet.c:2667
1191 -"The NetworkManager applet could not find some required resources. It cannot "
1194 -"La miniaplicación NetworkManager no pudo encontrar algunos recursos "
1195 -"necesarios. No se puede continuar.\n"
1197 -#: ../gnome/applet/wireless-security-option.c:157
1198 -msgid "Open System"
1199 -msgstr "Sistema abierto"
1201 -#: ../gnome/applet/wireless-security-option.c:160
1203 -msgstr "Clave compartida"
1205 -#: ../gnome/applet/wireless-security-option.c:208
1206 -msgid "Automatic (Default)"
1207 -msgstr "Automático (Predeterminado)"
1209 -#: ../gnome/applet/wireless-security-option.c:215
1213 -#: ../gnome/applet/wireless-security-option.c:223
1217 -#: ../gnome/applet/wireless-security-option.c:231
1218 -msgid "Dynamic WEP"
1219 -msgstr "WEP dinámico"
1221 -#: ../gnome/applet/wso-none.c:53
1225 -#: ../gnome/applet/wso-wep-ascii.c:138
1226 -msgid "WEP 64/128-bit ASCII"
1227 -msgstr "ASCII WEP de 64/128 bits"
1229 -#: ../gnome/applet/wso-wep-hex.c:135
1230 -msgid "WEP 64/128-bit Hex"
1231 -msgstr "Hexadecimal WEP de 64/128 bits"
1233 -#: ../gnome/applet/wso-wep-passphrase.c:135
1234 -msgid "WEP 128-bit Passphrase"
1235 -msgstr "Frase de contraseña WEP de 128 bits"
1237 -#: ../gnome/applet/wso-wpa-eap.c:237
1241 -#: ../gnome/applet/wso-wpa-eap.c:238
1245 -#: ../gnome/applet/wso-wpa-eap.c:239
1249 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
1250 -#: ../src/nm-ap-security-wpa-eap.c:116
1251 -msgid "WPA2 Enterprise"
1252 -msgstr "WPA2 empresarial"
1254 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
1255 -#: ../src/nm-ap-security-wpa-eap.c:121
1256 -msgid "WPA Enterprise"
1257 -msgstr "WPA empresarial"
1259 -#: ../gnome/applet/wso-wpa-psk.c:178
1260 -msgid "WPA2 Personal"
1261 -msgstr "WPA2 Personal"
1263 -#: ../gnome/applet/wso-wpa-psk.c:180
1264 -msgid "WPA Personal"
1265 -msgstr "WPA Personal"
1267 -#: ../gnome/applet/eggtrayicon.c:134
1268 -msgid "Orientation"
1269 -msgstr "Orientación"
1271 -#: ../gnome/applet/eggtrayicon.c:135
1272 -msgid "The orientation of the tray."
1273 -msgstr "La orientación del área de notificación."
1275 -#: ../gnome/applet/menu-items.c:88
1277 -msgid "Wired Network (%s)"
1278 -msgstr "Red cableada (%s)"
1280 -#: ../gnome/applet/menu-items.c:91
1281 -msgid "_Wired Network"
1282 -msgstr "Red _cableada"
1284 -#: ../gnome/applet/menu-items.c:162
1286 -msgid "Wireless Network (%s)"
1287 -msgid_plural "Wireless Networks (%s)"
1288 -msgstr[0] "Red inalámbrica (%s)"
1289 -msgstr[1] "Redes inalámbricas (%s)"
1291 -#: ../gnome/applet/menu-items.c:164
1292 -msgid "Wireless Network"
1293 -msgid_plural "Wireless Networks"
1294 -msgstr[0] "Red inalámbrica"
1295 -msgstr[1] "Redes inalámbricas"
1297 -#: ../gnome/applet/menu-items.c:343
1298 -msgid " (invalid Unicode)"
1299 -msgstr " (Unicode inválido)"
1301 -#: ../gnome/applet/other-network-dialog.c:352
1304 -"By default, the wireless network's name is set to your computer's name, %s, "
1305 -"with no encryption enabled"
1307 -"Por omisión, el nombre de la red inalámbrica se establece al nombre de su "
1308 -"equipo, %s, sin ninguna encriptación activada"
1310 -#: ../gnome/applet/other-network-dialog.c:358
1311 -msgid "Create new wireless network"
1312 -msgstr "Crea una red inalámbricas nueva"
1314 -#: ../gnome/applet/other-network-dialog.c:359
1316 -"Enter the name and security settings of the wireless network you wish to "
1319 -"Introduzca el nombre y las opciones de seguridad de la red inalámbrica que "
1322 -#: ../gnome/applet/other-network-dialog.c:363
1323 -msgid "Create New Wireless Network"
1324 -msgstr "Crear una red inalámbrica nueva"
1326 -#: ../gnome/applet/other-network-dialog.c:368
1327 -msgid "Existing wireless network"
1328 -msgstr "Red inalámbrica existente"
1330 -#: ../gnome/applet/other-network-dialog.c:369
1331 -msgid "Enter the name of the wireless network to which you wish to connect."
1333 -"Introduzca el nombre de la red inalámbrica con la que quiere conectarse."
1335 -#: ../gnome/applet/other-network-dialog.c:371
1336 -msgid "Connect to Other Wireless Network"
1337 -msgstr "Conectar a otra red inalámbrica"
1339 -#: ../gnome/applet/passphrase-dialog.c:215
1340 -msgid "Error connecting to wireless network"
1341 -msgstr "Error al conectar a la red inalámbrica"
1343 -#: ../gnome/applet/passphrase-dialog.c:216
1345 -"The requested wireless network requires security capabilities unsupported by "
1348 -"La red inalámbrica solicitada requiere capacidades de seguridad que su "
1349 -"hardware no proporciona."
1351 -#: ../gnome/applet/vpn-password-dialog.c:151
1352 -#: ../gnome/applet/vpn-password-dialog.c:188
1354 -msgid "Cannot start VPN connection '%s'"
1355 -msgstr "No se puede iniciar la conexión VPN «%s»"
1357 -#: ../gnome/applet/vpn-password-dialog.c:154
1360 -"Could not find the authentication dialog for VPN connection type '%s'. "
1361 -"Contact your system administrator."
1363 -"No se ha podido encontrar el diálogo de autenticación para el tipo de "
1364 -"conexión VPN «%s». Póngase en contacto con su administrador de sistemas."
1366 -#: ../gnome/applet/vpn-password-dialog.c:191
1369 -"There was a problem launching the authentication dialog for VPN connection "
1370 -"type '%s'. Contact your system administrator."
1372 -"Ha habido un problema al iniciar el diálogo de autenticación para el tipo de "
1373 -"conexión VPN «%s». Póngase en contacto con su administrador de sistemas."
1375 -#: ../gnome/applet/applet.glade.h:1
1379 -#: ../gnome/applet/applet.glade.h:2
1381 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
1383 -"<span weight=\"bold\" size=\"larger\">Información de la conexión activa</"
1386 -#: ../gnome/applet/applet.glade.h:4
1389 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
1392 -"A passphrase or encryption key is required to access the wireless network '%"
1395 -"<span weight=\"bold\" size=\"larger\">Contraseña requerida por red "
1396 -"inalámbrica</span>\n"
1398 -"Se requiere una frase de paso o clave de encriptación para acceder a la red "
1399 -"inalámbrica «%s»."
1401 -#: ../gnome/applet/applet.glade.h:8
1404 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
1406 -"%s It will not be completely functional."
1408 -"<span weight=\"bold\" size=\"larger\">Funcionalidad de red reducida</span>\n"
1410 -"%s No será completamente funcional."
1412 -#: ../gnome/applet/applet.glade.h:12
1415 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
1418 -"You have chosen to log in to the wireless network '%s'. If you are sure "
1419 -"that this wireless network is secure, click the checkbox below and "
1420 -"NetworkManager will not require confirmation on subsequent log ins."
1422 -"<span weight=\"bold\" size=\"larger\">Confirmación de entrada a la red "
1423 -"inalámbrica</span>\n"
1425 -"Ha escogido entrar en la red inalámbrica «%s». Si está seguro de que esta "
1426 -"red es segura, marque la casilla de abajo y NetworkManager no le volverá a "
1427 -"solicitar confirmación en los siguientes accesos."
1429 -#: ../gnome/applet/applet.glade.h:15
1430 -msgid "Anonymous Identity:"
1431 -msgstr "Identidad anónima:"
1433 -#: ../gnome/applet/applet.glade.h:16
1434 -msgid "Authentication:"
1435 -msgstr "Autenticación:"
1437 -#: ../gnome/applet/applet.glade.h:17
1438 -msgid "Broadcast Address:"
1439 -msgstr "Dirección de difusión:"
1441 -#: ../gnome/applet/applet.glade.h:18
1442 -msgid "CA Certificate File:"
1443 -msgstr "Archivo de certificado de CA:"
1445 -#: ../gnome/applet/applet.glade.h:19
1449 -#: ../gnome/applet/applet.glade.h:20
1450 -msgid "Client Certificate File:"
1451 -msgstr "Archivo de certificado de cliente:"
1453 -#: ../gnome/applet/applet.glade.h:21
1454 -msgid "Connection Information"
1455 -msgstr "Información de la conexión"
1457 -#: ../gnome/applet/applet.glade.h:22
1458 -msgid "Default Route:"
1459 -msgstr "Ruta predeterminada:"
1461 -#: ../gnome/applet/applet.glade.h:23
1462 -msgid "Destination Address:"
1463 -msgstr "Dirección de destino:"
1465 -#: ../gnome/applet/applet.glade.h:24
1467 -msgstr "Controlador:"
1469 -#: ../gnome/applet/applet.glade.h:25
1470 -msgid "EAP Method:"
1471 -msgstr "Método EAP:"
1473 -#: ../gnome/applet/applet.glade.h:26
1474 -msgid "Hardware Address:"
1475 -msgstr "Dirección hardware:"
1477 -#: ../gnome/applet/applet.glade.h:27
1478 -msgid "IP Address:"
1479 -msgstr "Dirección IP:"
1481 -#: ../gnome/applet/applet.glade.h:28
1483 -msgstr "Identidad:"
1485 -#: ../gnome/applet/applet.glade.h:29
1489 -#: ../gnome/applet/applet.glade.h:30
1491 -msgstr "Tipo de clave:"
1493 -#: ../gnome/applet/applet.glade.h:31
1497 -#: ../gnome/applet/applet.glade.h:32
1500 -"WEP 128-bit Passphrase\n"
1501 -"WEP 64/128-bit Hex\n"
1502 -"WEP 64/128-bit ASCII\n"
1505 -"Frase de contraseña WEP de 128 bits\n"
1506 -"Hexadecimal WEP de 64/128 bits\n"
1507 -"ASCII WEP de 64/128 bits\n"
1509 -#: ../gnome/applet/applet.glade.h:37
1514 -"Sistema abierto\n"
1517 -#: ../gnome/applet/applet.glade.h:39
1518 -msgid "Other Wireless Network..."
1519 -msgstr "Otras redes inalámbricas..."
1521 -#: ../gnome/applet/applet.glade.h:40
1522 -msgid "Passphrase:"
1523 -msgstr "Contraseña:"
1525 -#: ../gnome/applet/applet.glade.h:41
1527 -msgstr "Contraseña:"
1529 -#: ../gnome/applet/applet.glade.h:42
1530 -msgid "Primary DNS:"
1531 -msgstr "DNS primario:"
1533 -#: ../gnome/applet/applet.glade.h:43
1534 -msgid "Private Key File:"
1535 -msgstr "Archivo de clave privada:"
1537 -#: ../gnome/applet/applet.glade.h:44
1538 -msgid "Private Key Password:"
1539 -msgstr "Contraseña de clave privada:"
1541 -#: ../gnome/applet/applet.glade.h:45
1542 -msgid "Secondary DNS:"
1543 -msgstr "DNS secundario:"
1545 -#: ../gnome/applet/applet.glade.h:46
1546 -msgid "Select the CA Certificate File"
1547 -msgstr "Seleccione el archivo de certificado de CA"
1549 -#: ../gnome/applet/applet.glade.h:47
1550 -msgid "Select the Client Certificate File"
1551 -msgstr "Seleccione el archivo de certificado de cliente"
1553 -#: ../gnome/applet/applet.glade.h:48
1554 -msgid "Select the Private Key File"
1555 -msgstr "Seleccione el archivo de clave privada"
1557 -#: ../gnome/applet/applet.glade.h:49
1559 -msgstr "Mostrar clave"
1561 -#: ../gnome/applet/applet.glade.h:50
1562 -msgid "Show passphrase"
1563 -msgstr "Mostrar frase de contraseña"
1565 -#: ../gnome/applet/applet.glade.h:51
1566 -msgid "Show password"
1567 -msgstr "Mostrar contraseña"
1569 -#: ../gnome/applet/applet.glade.h:52
1570 -msgid "Show passwords"
1571 -msgstr "Mostrar contraseñas"
1573 -#: ../gnome/applet/applet.glade.h:53
1575 -msgstr "Velocidad:"
1577 -#: ../gnome/applet/applet.glade.h:54
1578 -msgid "Subnet Mask:"
1579 -msgstr "Máscara de subred:"
1581 -#: ../gnome/applet/applet.glade.h:55
1585 -#: ../gnome/applet/applet.glade.h:56
1587 -msgstr "Nombre de usuario:"
1589 -#: ../gnome/applet/applet.glade.h:57
1590 -msgid "Wireless Network Key Required"
1591 -msgstr "Clave requerida para la red inalámbrica"
1593 -#: ../gnome/applet/applet.glade.h:58
1594 -msgid "Wireless _adapter:"
1595 -msgstr "_Adaptador inalámbrico:"
1597 -#: ../gnome/applet/applet.glade.h:59
1598 -msgid "_Always Trust this Wireless Network"
1599 -msgstr "_Siempre confiar en esta red inalámbrica"
1601 -#: ../gnome/applet/applet.glade.h:60
1602 -msgid "_Don't remind me again"
1603 -msgstr "_No volver a recordar"
1605 -#: ../gnome/applet/applet.glade.h:61
1606 -msgid "_Login to Network"
1607 -msgstr "_Entrar en la red"
1609 -#: ../gnome/applet/applet.glade.h:62
1610 -msgid "_Network Name:"
1611 -msgstr "Nombre de _red:"
1613 -#: ../gnome/applet/applet.glade.h:63
1614 -msgid "_Wireless Security:"
1615 -msgstr "_Seguridad inalámbrica:"
1617 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
1618 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
1619 msgid "Cannot add VPN connection"
1620 msgstr "No se puede añadir una conexión VPN"
1622 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
1623 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
1625 "No suitable VPN software was found on your system. Contact your system "
1627 @@ -738,11 +33,11 @@
1628 "No se ha encontrado software VPN adecuado en su sistema. Póngase en contacto "
1629 "con su administrador de sistemas."
1631 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
1632 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
1633 msgid "Cannot import VPN connection"
1634 msgstr "No se puede importar la conexión VPN"
1636 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
1637 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
1640 "Cannot find suitable software for VPN connection type '%s' to import the "
1641 @@ -752,12 +47,12 @@
1642 "s» para importar el archivo «%s». Póngase en contacto con su administrador "
1645 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
1646 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
1648 msgid "Error retrieving VPN connection '%s'"
1649 msgstr "Ha ocurrido un error al recuperar la conexión VPN «%s»"
1651 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
1652 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
1655 "Could not find the UI files for VPN connection type '%s'. Contact your "
1656 @@ -766,12 +61,12 @@
1657 "No se han encontrado los archivos de la IU para la conexión VPN de tipo «%"
1658 "s». Póngase en contacto con su administrador de sistemas."
1660 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
1661 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
1663 msgid "Delete VPN connection \"%s\"?"
1664 msgstr "¿Desea eliminar la conexión VPN «%s»?"
1666 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
1667 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
1670 "All information about the VPN connection \"%s\" will be lost and you may "
1671 @@ -781,16 +76,16 @@
1672 "Se perderá toda la información de la conexión VPN «%s» y necesitará que su "
1673 "administrador de sistemas le proporcione información para crear una conexión."
1675 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
1676 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
1677 msgid "Unable to load"
1678 msgstr "No se puede cargar"
1680 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
1681 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
1682 msgid "Cannot find some needed resources (the glade file)!"
1683 msgstr "No se pueden encontrar algunos recursos necesarios (el archivo glade)."
1686 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
1687 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
1688 msgid "Edit VPN Connection"
1689 msgstr "Editar conexión VPN"
1691 @@ -896,105 +191,53 @@
1692 msgid "WPA2 Automatic"
1693 msgstr "WPA2 automática"
1695 -#: ../src/nm-ap-security.c:320
1696 +#: ../src/nm-ap-security.c:338
1700 -#: ../src/nm-netlink-monitor.c:154
1701 +#: ../src/nm-netlink-monitor.c:170
1704 -"unable to create netlink socket for monitoring wired ethernet devices - %s"
1705 +msgid "unable to create netlink socket for monitoring wired ethernet devices - %s"
1707 "no puede crear un socket netlink para monitorizar dispositivos ethernet con "
1710 -#: ../src/nm-netlink-monitor.c:172
1711 +#: ../src/nm-netlink-monitor.c:188
1714 -"unable to bind to netlink socket for monitoring wired ethernet devices - %s"
1715 +msgid "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
1717 "no se puede asociar al socket netlink para monitorizar dispositivos ethernet "
1720 -#: ../src/nm-netlink-monitor.c:405
1721 +#: ../src/nm-netlink-monitor.c:426
1722 msgid "operation took too long"
1723 msgstr "la operación duró demasiado"
1725 -#: ../src/nm-netlink-monitor.c:502
1726 +#: ../src/nm-netlink-monitor.c:523
1727 msgid "received data from wrong type of sender"
1728 msgstr "se han recibido datos con un tipo de emisor incorrecto"
1730 -#: ../src/nm-netlink-monitor.c:515
1731 +#: ../src/nm-netlink-monitor.c:536
1732 msgid "received data from unexpected sender"
1733 msgstr "se han recibido datos de un emisor inesperado"
1735 -#: ../src/nm-netlink-monitor.c:646
1736 +#: ../src/nm-netlink-monitor.c:665
1737 msgid "too much data was sent over socket and some of it was lost"
1739 -"se han enviado demasiados datos a través del socket y algunos de perdieron"
1740 +msgstr "se han enviado demasiados datos a través del socket y algunos de perdieron"
1742 -#: ../src/nm-netlink-monitor.c:735
1743 +#: ../src/nm-netlink-monitor.c:775
1744 msgid "error occurred while waiting for data on socket"
1745 msgstr "ha ocurrido un error mientras esperaban datos en un socket"
1747 -#: ../gnome/applet/applet-dbus-devices.c:898
1749 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
1750 -msgstr "Ahora está conectado a la red inalámbrica Ad Hoc %s."
1752 -#: ../gnome/applet/applet-dbus-devices.c:903
1754 -msgid "You are now connected to the wireless network '%s'."
1755 -msgstr "Ahora está conectado a la red inalámbrica %s."
1757 -#: ../gnome/applet/applet-dbus-devices.c:910
1758 -msgid "You are now connected to the wired network."
1759 -msgstr "Ahora está conectado a la red fija."
1761 -#: ../gnome/applet/applet-dbus-devices.c:916
1762 -msgid "Connection Established"
1763 -msgstr "Conexión establecida"
1765 -#: ../gnome/applet/applet-dbus-devices.c:959
1766 -msgid "Disconnected"
1767 -msgstr "Desconectado"
1769 -#: ../gnome/applet/applet-dbus-devices.c:960
1770 -msgid "The network connection has been disconnected."
1771 -msgstr "La conexión de red se ha desconectado."
1773 -#~ msgid "Stop automatically running the networking applet?"
1774 -#~ msgstr "¿Desea detener la ejecución automática del applet de red?"
1777 -#~ "The networking applet will now terminate, but will automatically launch "
1778 -#~ "the next time you login. Would you like to stop automatically running "
1779 -#~ "the networking applet on login?"
1781 -#~ "El applet de red se cerrará ahora, pero se iniciará automáticamente la "
1782 -#~ "próxima vez que inicie sesión. ¿Desea detener la ejecución automática del "
1783 -#~ "applet de red al inicio de sesión?"
1786 -#~ msgstr "_Eliminar"
1788 -#~ msgid "VPN Error"
1789 -#~ msgstr "Error de VPN"
1791 -#~ msgid "The VPN service said: \"%s\""
1792 -#~ msgstr "El servicio VPN ha devuelto el mensaje:«%s»"
1794 -#~ msgid "VPN connection '%s' said:"
1795 -#~ msgstr "La conexión VPN «%s» ha devuelto el siguiente mensaje:"
1797 -#~ msgid "leap_subwindow"
1798 -#~ msgstr "leap_subwindow"
1799 +#: ../src/nm-ap-security-wpa-eap.c:96 ../src/nm-ap-security-wpa-eap.c:120
1800 +msgid "WPA2 Enterprise"
1801 +msgstr "WPA2 empresarial"
1803 -#~ msgid "wep_key_subwindow"
1804 -#~ msgstr "wep_key_subwindow"
1805 +#: ../src/nm-ap-security-wpa-eap.c:98 ../src/nm-ap-security-wpa-eap.c:125
1806 +msgid "WPA Enterprise"
1807 +msgstr "WPA empresarial"
1809 -#~ msgid "wep_passphrase_subwindow"
1810 -#~ msgstr "wep_passphrase_subwindow"
1811 +#: ../src/nm-ap-security-leap.c:66 ../src/nm-ap-security-leap.c:82
1815 -#~ msgid "wpa_psk_subwindow"
1816 -#~ msgstr "wpa_psk_subwindow"
1817 diff -urN NetworkManager-0.6.5/po/et.po NetworkManager-SVNr3284/po/et.po
1818 --- NetworkManager-0.6.5/po/et.po 1970-01-01 01:00:00.000000000 +0100
1819 +++ NetworkManager-SVNr3284/po/et.po 2008-02-04 16:01:02.000000000 +0100
1821 +# GNOME NetworkManager
1822 +# Copyright (C) 2007 The GNOME Project.
1823 +# This file is distributed under the same license as the NetworkManager package.
1824 +# Priit Laes <amd@store20.com>, 2007.
1825 +# Mattias Põldaru <mattias@gmail.com>, 2007.
1829 +"Project-Id-Version: NetworkManager 0.6\n"
1830 +"Report-Msgid-Bugs-To: \n"
1831 +"POT-Creation-Date: 2007-10-28 16:09+0000\n"
1832 +"PO-Revision-Date: 2007-10-31 23:13+0300\n"
1833 +"Last-Translator: Mattias Põldaru <mahfiaz@gmail.com>\n"
1834 +"Language-Team: Estonian <gnome-et@linux.ee>\n"
1835 +"MIME-Version: 1.0\n"
1836 +"Content-Type: text/plain; charset=utf-8\n"
1837 +"Content-Transfer-Encoding: 8bit\n"
1839 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
1840 +msgid "Cannot add VPN connection"
1841 +msgstr "VPN ühendust ei saa lisada"
1843 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
1844 +msgid "No suitable VPN software was found on your system. Contact your system administrator."
1845 +msgstr "Arvutist ei leitud sobilikku VPN tarkvara. Võta ühendus oma süsteemi administraatoriga."
1847 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
1848 +msgid "Cannot import VPN connection"
1849 +msgstr "VPN ühendust ei saa importida"
1851 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
1853 +msgid "Cannot find suitable software for VPN connection type '%s' to import the file '%s'. Contact your system administrator."
1854 +msgstr "'%s' tüüpi VPN ühenduse tarkvara ei leitud, et importida faili '%s'. Võta ühendust oma süsteemi administraatoriga."
1856 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
1858 +msgid "Error retrieving VPN connection '%s'"
1859 +msgstr "Viga VPN ühenduse '%s' otsimisel"
1861 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
1863 +msgid "Could not find the UI files for VPN connection type '%s'. Contact your system administrator."
1864 +msgstr "'%s' tüüpi VPN ühenduse jaoks ei leitud kasutajaliidese faile. Võta ühendust oma süsteemi administraatoriga."
1866 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
1868 +msgid "Delete VPN connection \"%s\"?"
1869 +msgstr "Kas kustutada VPN ühendus \"%s\"?"
1871 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
1873 +msgid "All information about the VPN connection \"%s\" will be lost and you may need your system administrator to provide information to create a new connection."
1874 +msgstr "Kõik VPN ühendusega \"%s\" seotud info läheb kaotsi ja sul võib vaja minna süsteemi administraatori abi uue ühenduse loomisel."
1876 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
1877 +msgid "Unable to load"
1878 +msgstr "Ei saa laadida"
1880 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
1881 +msgid "Cannot find some needed resources (the glade file)!"
1882 +msgstr "Ei leia vajalikke allikaid (glade fail)!"
1885 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
1886 +msgid "Edit VPN Connection"
1887 +msgstr "Muuda VPN ühendust"
1889 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:1
1890 +msgid "Add a new VPN connection"
1891 +msgstr "Lisa uus VPN ühendus"
1893 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:2
1894 +msgid "Choose which type of VPN connection you wish to create."
1895 +msgstr "Vali mis tüüpi VPN ühendust sa tahad luua."
1897 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:3
1898 +msgid "Connect to:"
1899 +msgstr "Ühendu kuhu:"
1901 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:4
1902 +msgid "Create VPN Connection"
1903 +msgstr "VPN ühenduse loomine"
1905 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:5
1906 +msgid "Create VPN Connection - 1 of 2"
1907 +msgstr "VPN ühenduse loomine - 1 / 2"
1909 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:6
1910 +msgid "Create VPN Connection - 2 of 2"
1911 +msgstr "VPN ühenduse loomine - 2 / 2"
1913 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:7
1914 +msgid "Delete the selected VPN connection"
1915 +msgstr "Kustuta valitud VPN ühendus"
1917 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:8
1921 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:9
1922 +msgid "Edit the selected VPN connection"
1923 +msgstr "Muuda valitud VPN ühendust"
1925 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:10
1926 +msgid "Export the VPN settings to a file"
1927 +msgstr "VPN-i seadete eksportimine faili"
1929 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:11
1930 +msgid "Export the selected VPN connection to a file"
1931 +msgstr "Valitud VPN-i eksportimine faili"
1933 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:12
1934 +msgid "Finish Creating VPN Connection"
1935 +msgstr "Lõpeta VPN ühenduse loomine"
1937 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:13
1938 +msgid "Manage Virtual Private Network Connections"
1939 +msgstr "Virtuaalsete eravõrkude ühenduste haldamine"
1941 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:14
1943 +"This assistant will guide you through the creation of a connection to a Virtual Private Network (VPN).\n"
1945 +"It will require some information, such as IP addresses and secrets. Please see your system administrator to obtain this information."
1947 +"See assistent juhatab sind Virtuaalse eravõrgu loomisel.\n"
1949 +"See vajab infot nagu IP aadressid ja salasõnad. Selle info hankimiseks võta ühendust oma süsteemi administraatoriga."
1951 +#: ../gnome/vpn-properties/nm-vpn-properties.glade.h:17
1952 +msgid "VPN Connections"
1953 +msgstr "VPN ühendused"
1955 +#: ../src/nm-ap-security-wep.c:52
1957 +msgstr "40 bitine WEP"
1959 +#: ../src/nm-ap-security-wep.c:54
1960 +msgid "104-bit WEP"
1961 +msgstr "104 bitine WEP"
1963 +#: ../src/nm-ap-security-wpa-psk.c:50
1967 +#: ../src/nm-ap-security-wpa-psk.c:52
1971 +#: ../src/nm-ap-security-wpa-psk.c:54
1972 +msgid "WPA Automatic"
1973 +msgstr "Automaatne WPA"
1975 +#: ../src/nm-ap-security-wpa-psk.c:59
1979 +#: ../src/nm-ap-security-wpa-psk.c:61
1983 +#: ../src/nm-ap-security-wpa-psk.c:63
1984 +msgid "WPA2 Automatic"
1985 +msgstr "Automaatne WPA2"
1987 +#: ../src/nm-ap-security.c:338
1991 +#: ../src/nm-netlink-monitor.c:170
1993 +msgid "unable to create netlink socket for monitoring wired ethernet devices - %s"
1994 +msgstr "ei suudeta luua netlink soklit juhtmega võrguühenduse monitoorimiseks - %s"
1996 +#: ../src/nm-netlink-monitor.c:188
1998 +msgid "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
1999 +msgstr "ei suudeta luua netlink soklit juhtmega võrguühenduse sidumiseks - %s"
2001 +#: ../src/nm-netlink-monitor.c:426
2002 +msgid "operation took too long"
2003 +msgstr "operatsiooniks kulus liiga palju aega"
2005 +#: ../src/nm-netlink-monitor.c:523
2006 +msgid "received data from wrong type of sender"
2007 +msgstr "vastuvõetud andmed on valet tüüpi saatjalt"
2009 +#: ../src/nm-netlink-monitor.c:536
2010 +msgid "received data from unexpected sender"
2011 +msgstr "vastuvõetud andmed on ootamatult saatjalt"
2013 +#: ../src/nm-netlink-monitor.c:665
2014 +msgid "too much data was sent over socket and some of it was lost"
2015 +msgstr "sokli kaudu saadeti liiga palju andmeid ning osa sellest läks kaotsi"
2017 +#: ../src/nm-netlink-monitor.c:775
2018 +msgid "error occurred while waiting for data on socket"
2019 +msgstr "soklist andmete ootamisel tekkis viga"
2021 +#: ../src/nm-ap-security-wpa-eap.c:95
2022 +#: ../src/nm-ap-security-wpa-eap.c:119
2023 +msgid "WPA2 Enterprise"
2024 +msgstr "Enterprise WPA2"
2026 +#: ../src/nm-ap-security-wpa-eap.c:97
2027 +#: ../src/nm-ap-security-wpa-eap.c:124
2028 +msgid "WPA Enterprise"
2029 +msgstr "Enterprise WPA"
2031 +#: ../src/nm-ap-security-leap.c:66
2032 +#: ../src/nm-ap-security-leap.c:82
2036 diff -urN NetworkManager-0.6.5/po/fi.po NetworkManager-SVNr3284/po/fi.po
2037 --- NetworkManager-0.6.5/po/fi.po 2007-04-18 20:13:10.000000000 +0200
2038 +++ NetworkManager-SVNr3284/po/fi.po 2008-02-04 16:01:02.000000000 +0100
2041 "Project-Id-Version: NetworkManager\n"
2042 "Report-Msgid-Bugs-To: \n"
2043 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
2044 +"POT-Creation-Date: 2007-08-16 17:52+0300\n"
2045 "PO-Revision-Date: 2006-02-28 22:15+0200\n"
2046 "Last-Translator: Ilkka Tuohela <hile@iki.fi>\n"
2047 "Language-Team: Finnish <gnome-fi-laatu@lists.sourceforge.net>\n"
2048 @@ -17,709 +17,11 @@
2049 "Content-Transfer-Encoding: 8bit\n"
2050 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
2052 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
2054 -msgid "Passphrase for wireless network %s"
2055 -msgstr "Langattoman verkon %s tunnuslause"
2057 -#: ../gnome/applet/applet-dbus.c:265
2059 -msgid "Connection to the wireless network '%s' failed."
2060 -msgstr "Yhteys langattomaan verkkoon \"%s\" epäonnistui."
2062 -#: ../gnome/applet/applet-dbus.c:270
2063 -msgid "Connection to the wired network failed."
2064 -msgstr "Yhteys kiinteään verkkoon epäonnistui."
2066 -#: ../gnome/applet/applet.c:184
2067 -msgid "Error displaying connection information:"
2068 -msgstr "Virhe näytettäessä yhteyden tietoja:"
2070 -#: ../gnome/applet/applet.c:202
2071 -msgid "Could not find some required resources (the glade file)!"
2072 -msgstr "Joitain vaadittuja osia ei löytynyt (glade-tiedostoa)!"
2074 -#: ../gnome/applet/applet.c:213
2075 -msgid "No active connections!"
2076 -msgstr "Ei aktiivisia yhteyksiä!"
2078 -#: ../gnome/applet/applet.c:234
2080 -msgid "Wired Ethernet (%s)"
2081 -msgstr "Kiinteä Ethernet-yhteys (%s)"
2083 -#: ../gnome/applet/applet.c:236
2085 -msgid "Wireless Ethernet (%s)"
2086 -msgstr "Langaton Ethernet (%s)"
2088 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
2089 -msgid "NetworkManager Applet"
2090 -msgstr "NetworkManager-sovelma"
2092 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
2093 -msgid "Copyright © 2004-2005 Red Hat, Inc."
2094 -msgstr "Copyright © 2004-2005 Red Hat, Inc."
2096 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
2098 -"Notification area applet for managing your network devices and connections."
2099 -msgstr "Ilmoitusalueen sovelma verkkolaitteiden ja yhteyksien hallintaan."
2101 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
2102 -msgid "translator-credits"
2104 -"Ilkka Tuohela, 2005.\n"
2106 -"http://www.gnome.fi/"
2108 -#: ../gnome/applet/applet.c:426
2109 -msgid "VPN Login Failure"
2110 -msgstr "Virhe kirjauduttaessa VPN:ään"
2112 -#: ../gnome/applet/applet.c:427
2114 -msgid "Could not start the VPN connection '%s' due to a login failure."
2115 -msgstr "VPN-yhteyttä \"%s\" ei voitu käynnistää kirjautumisvirheen takia."
2117 -#: ../gnome/applet/applet.c:431
2118 -msgid "VPN Start Failure"
2119 -msgstr "VPN-yhteyden käynnistysvirhe"
2121 -#: ../gnome/applet/applet.c:432
2124 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
2127 -"VPN-yhteyttä \"%s\" ei voitu käynnistää, koska VPN-ohjelman suorittaminen "
2130 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
2131 -msgid "VPN Connect Failure"
2132 -msgstr "VPN-yhteyden yhteydenottovirhe"
2134 -#: ../gnome/applet/applet.c:437
2136 -msgid "Could not start the VPN connection '%s' due to a connection error."
2137 -msgstr "VPN-yhteyttä \"%s\" ei voitu käynnistää, koska tapahtui yhteysvirhe."
2139 -#: ../gnome/applet/applet.c:441
2140 -msgid "VPN Configuration Error"
2141 -msgstr "VPN-yhteyden asetusvirhe"
2143 -#: ../gnome/applet/applet.c:442
2145 -msgid "The VPN connection '%s' was not correctly configured."
2146 -msgstr "VPN-yhteyden \"%s\" asetukset ovat virheelliset."
2148 -#: ../gnome/applet/applet.c:447
2151 -"Could not start the VPN connection '%s' because the VPN server did not "
2152 -"return an adequate network configuration."
2154 -"VPN-yhteyttä \"%s\" ei voitu käynnistää, koska VPN-palvelin ei palauttanut "
2155 -"kelvollista verkkomäärittelyä."
2157 -#: ../gnome/applet/applet.c:517
2158 -msgid "VPN Login Message"
2159 -msgstr "VPN-yhteyden kirjautumisviesti"
2161 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
2162 -#: ../gnome/applet/other-network-dialog.c:453
2163 -#: ../gnome/applet/passphrase-dialog.c:228
2165 -"The NetworkManager Applet could not find some required resources (the glade "
2166 -"file was not found)."
2168 -"NetworkManager-sovelma ei voinut ladata jotain vaadituista resursseista "
2169 -"(glade-tiedostoa ei löytynyt)."
2171 -#: ../gnome/applet/applet.c:753
2173 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
2174 -msgstr "Verkkolaite \"%s (%s)\" ei tue langattomien verkkojen etsimistä."
2176 -#: ../gnome/applet/applet.c:761
2178 -msgid "The network device \"%s (%s)\" does not support link detection."
2179 -msgstr "Verkkolaite \"%s (%s)\" ei tue verkkoyhteyden havaitsemista."
2181 -#: ../gnome/applet/applet.c:908
2183 -msgid "Preparing device %s for the wired network..."
2184 -msgstr "Valmistellaan laitetta %s kiinteälle verkkoyhteydelle..."
2186 -#: ../gnome/applet/applet.c:910
2188 -msgid "Preparing device %s for the wireless network '%s'..."
2189 -msgstr "Valmistellaan laitetta %s langattomalle verkolle \"%s\"..."
2191 -#: ../gnome/applet/applet.c:918
2193 -msgid "Configuring device %s for the wired network..."
2194 -msgstr "Määritellään laitetta %s kiinteälle verkkoyhteydelle..."
2196 -#: ../gnome/applet/applet.c:920
2198 -msgid "Attempting to join the wireless network '%s'..."
2199 -msgstr "Yritetään liittyä langattomaan verkkoon \"%s\"..."
2201 -#: ../gnome/applet/applet.c:928
2203 -msgid "Waiting for Network Key for the wireless network '%s'..."
2204 -msgstr "Odotetaan verkon avainta langattomalle verkolle \"%s\""
2206 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
2207 -msgid "Requesting a network address from the wired network..."
2208 -msgstr "Pyydetään verkko-osoitetta kiinteästä verkosta..."
2210 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
2212 -msgid "Requesting a network address from the wireless network '%s'..."
2213 -msgstr "Pyydetään verkko-osoitettta langattomasta verkosta \"%s\"..."
2215 -#: ../gnome/applet/applet.c:956
2216 -msgid "Finishing connection to the wired network..."
2217 -msgstr "Viimeistellään yhteyttä kiinteään verkkoon..."
2219 -#: ../gnome/applet/applet.c:958
2221 -msgid "Finishing connection to the wireless network '%s'..."
2222 -msgstr "Viimeistellään yhteyttä langattomaan verkkoon \"%s\"..."
2224 -#: ../gnome/applet/applet.c:1075
2225 -msgid "NetworkManager is not running"
2226 -msgstr "NetworkManager ei ole käytössä"
2228 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
2229 -msgid "Networking disabled"
2230 -msgstr "Verkko ei ole käytössä"
2232 -#: ../gnome/applet/applet.c:1088
2233 -msgid "No network connection"
2234 -msgstr "Ei verkkoyhteyttä"
2236 -#: ../gnome/applet/applet.c:1093
2237 -msgid "Wired network connection"
2238 -msgstr "Kiinteä verkkoyhteys"
2240 -#: ../gnome/applet/applet.c:1097
2241 -msgid "Connected to an Ad-Hoc wireless network"
2242 -msgstr "Yhteys langattomaan Ad-Hoc-verkkoon"
2244 -#: ../gnome/applet/applet.c:1099
2246 -msgid "Wireless network connection to '%s' (%d%%)"
2247 -msgstr "Langaton verkkoyhteys \"%s\" (%d%%)"
2249 -#: ../gnome/applet/applet.c:1120
2251 -msgid "VPN connection to '%s'"
2252 -msgstr "VPN-yhteys \"%s\""
2254 -#: ../gnome/applet/applet.c:1128
2256 -msgid "VPN connecting to '%s'"
2257 -msgstr "VPN-yhteyttä \"%s\" avataan"
2259 -#: ../gnome/applet/applet.c:1541
2260 -msgid "_Connect to Other Wireless Network..."
2261 -msgstr "_Yhdistä muihin langattomiin verkkoihin..."
2263 -#: ../gnome/applet/applet.c:1562
2264 -msgid "Create _New Wireless Network..."
2265 -msgstr "Luo _uusi langaton verkko..."
2267 -#: ../gnome/applet/applet.c:1685
2268 -msgid "_VPN Connections"
2269 -msgstr "_VPN-yhteydet"
2271 -#: ../gnome/applet/applet.c:1730
2272 -msgid "_Configure VPN..."
2273 -msgstr "_Määrittele VPN-yhteys..."
2275 -#: ../gnome/applet/applet.c:1734
2276 -msgid "_Disconnect VPN..."
2277 -msgstr "_Katkaise VPN-yhteys..."
2279 -#: ../gnome/applet/applet.c:1756
2280 -msgid "_Dial Up Connections"
2281 -msgstr "_Modeemiyhteydet"
2283 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
2284 -#: ../gnome/applet/applet.c:1767
2286 -msgid "Connect to %s..."
2287 -msgstr "Ota yhteyttä kohteeseen %s..."
2289 -#: ../gnome/applet/applet.c:1773
2291 -msgid "Disconnect from %s..."
2292 -msgstr "Katkaise yhteys kohteeseen %s..."
2294 -#: ../gnome/applet/applet.c:1822
2295 -msgid "No network devices have been found"
2296 -msgstr "Verkkolaitteita ei löytynyt"
2298 -#: ../gnome/applet/applet.c:2014
2299 -msgid "NetworkManager is not running..."
2300 -msgstr "NetworkManager ei ole käytössä..."
2302 -#. 'Enable Networking' item
2303 -#: ../gnome/applet/applet.c:2170
2304 -msgid "Enable _Networking"
2305 -msgstr "Ota _verkko käyttöön"
2307 -#. 'Enable Wireless' item
2308 -#: ../gnome/applet/applet.c:2176
2309 -msgid "Enable _Wireless"
2310 -msgstr "Ota _langaton käyttöön"
2312 -#. 'Connection Information' item
2313 -#: ../gnome/applet/applet.c:2182
2314 -msgid "Connection _Information"
2315 -msgstr "Tietoja _yhteydestä"
2318 -#: ../gnome/applet/applet.c:2193
2323 -#: ../gnome/applet/applet.c:2202
2327 -#: ../gnome/applet/applet.c:2667
2329 -"The NetworkManager applet could not find some required resources. It cannot "
2332 -"NetworkManager-sovelma ei löytänyt joitain vaadituista resursseista eikä "
2333 -"pysty jatkamaan.\n"
2335 -#: ../gnome/applet/wireless-security-option.c:157
2336 -msgid "Open System"
2337 -msgstr "Avoin järjestelmä"
2339 -#: ../gnome/applet/wireless-security-option.c:160
2341 -msgstr "Jaettu avain"
2343 -#: ../gnome/applet/wireless-security-option.c:208
2344 -msgid "Automatic (Default)"
2345 -msgstr "Automaattinen (oletus)"
2347 -#: ../gnome/applet/wireless-security-option.c:215
2351 -#: ../gnome/applet/wireless-security-option.c:223
2355 -#: ../gnome/applet/wireless-security-option.c:231
2356 -msgid "Dynamic WEP"
2357 -msgstr "Dynaaminen WEP"
2359 -#: ../gnome/applet/wso-none.c:53
2363 -#: ../gnome/applet/wso-wep-ascii.c:138
2364 -msgid "WEP 64/128-bit ASCII"
2365 -msgstr "WEP 64/128-bittinen ASCII"
2367 -#: ../gnome/applet/wso-wep-hex.c:135
2368 -msgid "WEP 64/128-bit Hex"
2369 -msgstr "WEP 64/128-bittinen heksadesimaali"
2371 -#: ../gnome/applet/wso-wep-passphrase.c:135
2372 -msgid "WEP 128-bit Passphrase"
2373 -msgstr "WEP 128-bittinen tunnuslause"
2375 -#: ../gnome/applet/wso-wpa-eap.c:237
2379 -#: ../gnome/applet/wso-wpa-eap.c:238
2383 -#: ../gnome/applet/wso-wpa-eap.c:239
2387 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
2388 -#: ../src/nm-ap-security-wpa-eap.c:116
2389 -msgid "WPA2 Enterprise"
2390 -msgstr "WPA2 Enterprise"
2392 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
2393 -#: ../src/nm-ap-security-wpa-eap.c:121
2394 -msgid "WPA Enterprise"
2395 -msgstr "WPA Enterprise"
2397 -#: ../gnome/applet/wso-wpa-psk.c:178
2398 -msgid "WPA2 Personal"
2399 -msgstr "WPA2 (henkilökohtainen)"
2401 -#: ../gnome/applet/wso-wpa-psk.c:180
2402 -msgid "WPA Personal"
2403 -msgstr "WPA (henkilökohtainen)"
2405 -#: ../gnome/applet/eggtrayicon.c:134
2406 -msgid "Orientation"
2409 -#: ../gnome/applet/eggtrayicon.c:135
2410 -msgid "The orientation of the tray."
2411 -msgstr "Ilmoitusalueen suunta."
2413 -#: ../gnome/applet/menu-items.c:88
2415 -msgid "Wired Network (%s)"
2416 -msgstr "Kiinteä verkkoyhteys (%s)"
2418 -#: ../gnome/applet/menu-items.c:91
2419 -msgid "_Wired Network"
2420 -msgstr "_Kiinteä verkkoyhteys"
2422 -#: ../gnome/applet/menu-items.c:162
2424 -msgid "Wireless Network (%s)"
2425 -msgid_plural "Wireless Networks (%s)"
2426 -msgstr[0] "Langaton verkko (%s)"
2427 -msgstr[1] "Langattomat verkot (%s)"
2429 -#: ../gnome/applet/menu-items.c:164
2430 -msgid "Wireless Network"
2431 -msgid_plural "Wireless Networks"
2432 -msgstr[0] "Langaton verkko"
2433 -msgstr[1] "Langattomat verkot"
2435 -#: ../gnome/applet/menu-items.c:343
2436 -msgid " (invalid Unicode)"
2437 -msgstr " (virheellistä Unicodea)"
2439 -#: ../gnome/applet/other-network-dialog.c:352
2442 -"By default, the wireless network's name is set to your computer's name, %s, "
2443 -"with no encryption enabled"
2445 -"Oletuksena langattoman verkon nimi asetetaan samaksi kuin tietokoneesi nimi "
2446 -"\"%s\" ja salaus on poissa käytöstä"
2448 -#: ../gnome/applet/other-network-dialog.c:358
2449 -msgid "Create new wireless network"
2450 -msgstr "Luo uusi langaton verkko"
2452 -#: ../gnome/applet/other-network-dialog.c:359
2454 -"Enter the name and security settings of the wireless network you wish to "
2456 -msgstr "Syötä luotavan langattoman verkon nimi ja turva-asetukset."
2458 -#: ../gnome/applet/other-network-dialog.c:363
2459 -msgid "Create New Wireless Network"
2460 -msgstr "Luo uusi langaton verkko"
2462 -#: ../gnome/applet/other-network-dialog.c:368
2463 -msgid "Existing wireless network"
2464 -msgstr "Olemassaoleva langaton verkko"
2466 -#: ../gnome/applet/other-network-dialog.c:369
2467 -msgid "Enter the name of the wireless network to which you wish to connect."
2468 -msgstr "Syötä sen langattoman verkon nimi, johon haluat ottaa yhteyttä."
2470 -#: ../gnome/applet/other-network-dialog.c:371
2471 -msgid "Connect to Other Wireless Network"
2472 -msgstr "Ota yhteyttä muuhun langattomaan verkkoon"
2474 -#: ../gnome/applet/passphrase-dialog.c:215
2475 -msgid "Error connecting to wireless network"
2476 -msgstr "Virhe yhdistettäessä langattomaan verkkoon"
2478 -#: ../gnome/applet/passphrase-dialog.c:216
2480 -"The requested wireless network requires security capabilities unsupported by "
2483 -"Pyydetty langaton verkko vaatii tietoturvakykyjä, joita laitteistosi ei tue."
2485 -#: ../gnome/applet/vpn-password-dialog.c:151
2486 -#: ../gnome/applet/vpn-password-dialog.c:188
2488 -msgid "Cannot start VPN connection '%s'"
2489 -msgstr "VPN-yhteyttä \"%s\" ei voida käynnistää"
2491 -#: ../gnome/applet/vpn-password-dialog.c:154
2494 -"Could not find the authentication dialog for VPN connection type '%s'. "
2495 -"Contact your system administrator."
2497 -"Kirjautumisikkunaa VPN-yhteyden tyypille \"%s\" ei löydy. Ota yhteyttä "
2498 -"järjestelmäsi ylläpitäjään."
2500 -#: ../gnome/applet/vpn-password-dialog.c:191
2503 -"There was a problem launching the authentication dialog for VPN connection "
2504 -"type '%s'. Contact your system administrator."
2506 -"Virhe käynnistettäessä kirjatumisikkunaa VPN-yhteyden tyypille \"%s\". Ota "
2507 -"yhteyttä järjestelmäsi ylläpitäjään."
2509 -#: ../gnome/applet/applet.glade.h:1
2513 -#: ../gnome/applet/applet.glade.h:2
2515 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
2517 -"<span weight=\"bold\" size=\"larger\">Tietoja aktiivisesta yhteydestä</span>"
2519 -#: ../gnome/applet/applet.glade.h:4
2522 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
2525 -"A passphrase or encryption key is required to access the wireless network '%"
2528 -"<span weight=\"bold\" size=\"larger\">Langaton verkko vaatii tunnuslausetta</"
2531 -"Tunnuslause tai salausavain vaaditaan, jotta voit ottaa yhteyttä "
2532 -"langattomaan verkkoon %s."
2534 -#: ../gnome/applet/applet.glade.h:8
2537 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
2539 -"%s It will not be completely functional."
2541 -"<span weight=\"bold\" size=\"larger\">Rajattu verkon toiminnallisuus</span>\n"
2543 -"%s Verkkoyhteys ei ole täysin toimiva."
2545 -#: ../gnome/applet/applet.glade.h:12
2548 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
2551 -"You have chosen to log in to the wireless network '%s'. If you are sure "
2552 -"that this wireless network is secure, click the checkbox below and "
2553 -"NetworkManager will not require confirmation on subsequent log ins."
2555 -"<span weight=\"bold\" size=\"larger\">Langattoman yhteyden kirjatumisen "
2556 -"vahvistus</span>\n"
2558 -"Olet ottamassa yhteyttä langattomaan verkkoon \"%s\". Jos olet varma, että "
2559 -"tämä langaton verkko on turvallinen, napsauta alla olevaa ruutua ja "
2560 -"NetworkManager ei kysy tätä vahvistusikkunaa enää uudestaan."
2562 -#: ../gnome/applet/applet.glade.h:15
2563 -msgid "Anonymous Identity:"
2564 -msgstr "Anonyymi tunniste:"
2566 -#: ../gnome/applet/applet.glade.h:16
2567 -msgid "Authentication:"
2568 -msgstr "Tunnistautuminen:"
2570 -#: ../gnome/applet/applet.glade.h:17
2571 -msgid "Broadcast Address:"
2572 -msgstr "Broadcast-osoite:"
2574 -#: ../gnome/applet/applet.glade.h:18
2575 -msgid "CA Certificate File:"
2576 -msgstr "CA-varmenteen tiedosto:"
2578 -#: ../gnome/applet/applet.glade.h:19
2582 -#: ../gnome/applet/applet.glade.h:20
2583 -msgid "Client Certificate File:"
2584 -msgstr "Asiakasvarmenteen tiedosto:"
2586 -#: ../gnome/applet/applet.glade.h:21
2587 -msgid "Connection Information"
2588 -msgstr "Tietoja yhteydestä"
2590 -#: ../gnome/applet/applet.glade.h:22
2591 -msgid "Default Route:"
2592 -msgstr "Oletusyhdyskäytävä:"
2594 -#: ../gnome/applet/applet.glade.h:23
2595 -msgid "Destination Address:"
2596 -msgstr "Kohdeosoite:"
2598 -#: ../gnome/applet/applet.glade.h:24
2602 -#: ../gnome/applet/applet.glade.h:25
2603 -msgid "EAP Method:"
2604 -msgstr "EPA-menetelmä:"
2606 -#: ../gnome/applet/applet.glade.h:26
2607 -msgid "Hardware Address:"
2608 -msgstr "Laiteosoite:"
2610 -#: ../gnome/applet/applet.glade.h:27
2611 -msgid "IP Address:"
2612 -msgstr "IP-osoite:"
2614 -#: ../gnome/applet/applet.glade.h:28
2618 -#: ../gnome/applet/applet.glade.h:29
2620 -msgstr "Verkkolaite:"
2622 -#: ../gnome/applet/applet.glade.h:30
2624 -msgstr "Avaimen tyyppi:"
2626 -#: ../gnome/applet/applet.glade.h:31
2630 -#: ../gnome/applet/applet.glade.h:32
2633 -"WEP 128-bit Passphrase\n"
2634 -"WEP 64/128-bit Hex\n"
2635 -"WEP 64/128-bit ASCII\n"
2638 -"WEP 128-bittinen tunnuslause\n"
2639 -"WEP 64/128-bittinen heksadesimaali\n"
2640 -"WEP 64/128-bittinen ASCII\n"
2642 -#: ../gnome/applet/applet.glade.h:37
2647 -"Avoin järjestelmä\n"
2650 -#: ../gnome/applet/applet.glade.h:39
2651 -msgid "Other Wireless Network..."
2652 -msgstr "Muu langaton verkko..."
2654 -#: ../gnome/applet/applet.glade.h:40
2655 -msgid "Passphrase:"
2656 -msgstr "Tunnuslause:"
2658 -#: ../gnome/applet/applet.glade.h:41
2662 -#: ../gnome/applet/applet.glade.h:42
2663 -msgid "Primary DNS:"
2664 -msgstr "Ensisijainen DNS:"
2666 -#: ../gnome/applet/applet.glade.h:43
2667 -msgid "Private Key File:"
2668 -msgstr "Salausavaimen tiedosto"
2670 -#: ../gnome/applet/applet.glade.h:44
2671 -msgid "Private Key Password:"
2672 -msgstr "Salausavaimen salasana:"
2674 -#: ../gnome/applet/applet.glade.h:45
2675 -msgid "Secondary DNS:"
2676 -msgstr "Toissijainen DNS:"
2678 -#: ../gnome/applet/applet.glade.h:46
2679 -msgid "Select the CA Certificate File"
2680 -msgstr "Valise CA-varmenteen tiedosto"
2682 -#: ../gnome/applet/applet.glade.h:47
2683 -msgid "Select the Client Certificate File"
2684 -msgstr "Valitse asiakasvarmenteen tiedosto"
2686 -#: ../gnome/applet/applet.glade.h:48
2687 -msgid "Select the Private Key File"
2688 -msgstr "Valitse salaisen avaimen tiedosto"
2690 -#: ../gnome/applet/applet.glade.h:49
2692 -msgstr "Näytä avain"
2694 -#: ../gnome/applet/applet.glade.h:50
2695 -msgid "Show passphrase"
2696 -msgstr "Näytä tunnuslause:"
2698 -#: ../gnome/applet/applet.glade.h:51
2699 -msgid "Show password"
2700 -msgstr "Näytä salasana"
2702 -#: ../gnome/applet/applet.glade.h:52
2703 -msgid "Show passwords"
2704 -msgstr "Näytä salasanat"
2706 -#: ../gnome/applet/applet.glade.h:53
2710 -#: ../gnome/applet/applet.glade.h:54
2711 -msgid "Subnet Mask:"
2712 -msgstr "Aliverkkopeite:"
2714 -#: ../gnome/applet/applet.glade.h:55
2718 -#: ../gnome/applet/applet.glade.h:56
2720 -msgstr "Käyttäjätunnus:"
2722 -#: ../gnome/applet/applet.glade.h:57
2723 -msgid "Wireless Network Key Required"
2724 -msgstr "Langattoman verkon salausavain vaaditaan"
2726 -#: ../gnome/applet/applet.glade.h:58
2727 -msgid "Wireless _adapter:"
2728 -msgstr "Langaton _verkkolaite:"
2730 -#: ../gnome/applet/applet.glade.h:59
2731 -msgid "_Always Trust this Wireless Network"
2732 -msgstr "_Luota aina tähän langattomaan verkkoon"
2734 -#: ../gnome/applet/applet.glade.h:60
2735 -msgid "_Don't remind me again"
2736 -msgstr "_Älä huomauta uudestaan"
2738 -#: ../gnome/applet/applet.glade.h:61
2739 -msgid "_Login to Network"
2740 -msgstr "_Kirjaudu verkkoon"
2742 -#: ../gnome/applet/applet.glade.h:62
2743 -msgid "_Network Name:"
2744 -msgstr "_Verkon nimi:"
2746 -#: ../gnome/applet/applet.glade.h:63
2747 -msgid "_Wireless Security:"
2748 -msgstr "_Langaton tietoturva:"
2750 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
2751 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
2752 msgid "Cannot add VPN connection"
2753 msgstr "VPN-yhteyttä ei voitu lisätä"
2755 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
2756 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
2758 "No suitable VPN software was found on your system. Contact your system "
2760 @@ -727,11 +29,11 @@
2761 "Sopivaa VPN-ohjelmistoa ei löytynyt järjestelmästäsi. Ota yhteyttä "
2762 "järjestelmäsi ylläpitäjään."
2764 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
2765 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
2766 msgid "Cannot import VPN connection"
2767 msgstr "VPN-yhteyttä ei voida tuoda"
2769 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
2770 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
2773 "Cannot find suitable software for VPN connection type '%s' to import the "
2774 @@ -740,12 +42,12 @@
2775 "Sopivaa VPN-ohjelmistoa VPN-yhteyden tyypille \"%s\" ei löydy tuotaessa "
2776 "asetustiedostoa \"%s\". Ota yhteyttä järjestelmäsi ylläpitäjään."
2778 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
2779 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
2781 msgid "Error retrieving VPN connection '%s'"
2782 msgstr "Virhe haettaessa VPN-yhteyttä \"%s\""
2784 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
2785 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
2788 "Could not find the UI files for VPN connection type '%s'. Contact your "
2789 @@ -754,12 +56,12 @@
2790 "VPN-yhteyden tyypille \"%s\" ei löydy käyttöliittymää. Ota yhteyttä "
2791 "järjestelmäsi ylläpitäjään."
2793 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
2794 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
2796 msgid "Delete VPN connection \"%s\"?"
2797 msgstr "Poistetaanko VPN-yhteys \"%s\"?"
2799 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
2800 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
2803 "All information about the VPN connection \"%s\" will be lost and you may "
2804 @@ -770,16 +72,16 @@
2805 "yhteyttä järjestelmäsiylläpitäjään, jotta saat uuden yhteyden luomiseen "
2806 "tarvittavat tiedot."
2808 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
2809 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
2810 msgid "Unable to load"
2811 msgstr "Ei voitu ladata"
2813 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
2814 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
2815 msgid "Cannot find some needed resources (the glade file)!"
2816 msgstr "Jotain tarvittavista resursseista ei löydy (glade-tiedosto)!"
2819 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
2820 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
2821 msgid "Edit VPN Connection"
2822 msgstr "Muokkaa VPN-yhteyttä"
2824 @@ -884,11 +186,11 @@
2825 msgid "WPA2 Automatic"
2826 msgstr "WPA2 (automaattinen)"
2828 -#: ../src/nm-ap-security.c:320
2829 +#: ../src/nm-ap-security.c:338
2833 -#: ../src/nm-netlink-monitor.c:154
2834 +#: ../src/nm-netlink-monitor.c:170
2837 "unable to create netlink socket for monitoring wired ethernet devices - %s"
2839 "Netlink-pistoketta kiinteiden verkkoyhteyksien tarkkailuun ei voida luoda - %"
2842 -#: ../src/nm-netlink-monitor.c:172
2843 +#: ../src/nm-netlink-monitor.c:188
2846 "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
2847 @@ -904,51 +206,569 @@
2848 "Netlink-pistoketta ei voida sitoa kiinteiden verkkoyhteyksien tarkkailua "
2851 -#: ../src/nm-netlink-monitor.c:405
2852 +#: ../src/nm-netlink-monitor.c:426
2854 msgid "operation took too long"
2855 msgstr "toimenpide kesti liian pitkään"
2857 -#: ../src/nm-netlink-monitor.c:502
2858 +#: ../src/nm-netlink-monitor.c:523
2860 msgid "received data from wrong type of sender"
2861 msgstr "vastaanotettiin tietoa väärän tyyppiseltä lähettäjältä"
2863 -#: ../src/nm-netlink-monitor.c:515
2864 +#: ../src/nm-netlink-monitor.c:536
2866 msgid "received data from unexpected sender"
2867 msgstr "vastaanotettiin tietoja odottamattomalta lähettäjältä"
2869 -#: ../src/nm-netlink-monitor.c:646
2870 +#: ../src/nm-netlink-monitor.c:665
2872 msgid "too much data was sent over socket and some of it was lost"
2873 msgstr "lähetettiin liian paljon tietoja pistekkeeseen ja osaa siitä hukkui"
2875 -#: ../src/nm-netlink-monitor.c:735
2876 +#: ../src/nm-netlink-monitor.c:775
2878 msgid "error occurred while waiting for data on socket"
2879 msgstr "virhe odotettaessa tietoja pistokkeesta"
2881 -#: ../gnome/applet/applet-dbus-devices.c:898
2883 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
2884 -msgstr "Yhteys langattomaan Ad-Hoc-verkkoon \"%s\" on nyt muodostettu."
2885 +#: ../src/nm-ap-security-wpa-eap.c:95 ../src/nm-ap-security-wpa-eap.c:119
2886 +msgid "WPA2 Enterprise"
2887 +msgstr "WPA2 Enterprise"
2889 -#: ../gnome/applet/applet-dbus-devices.c:903
2891 -msgid "You are now connected to the wireless network '%s'."
2892 -msgstr "Yhteys langattomaan verkkoon \"%s\" on nyt muodostettu."
2893 +#: ../src/nm-ap-security-wpa-eap.c:97 ../src/nm-ap-security-wpa-eap.c:124
2894 +msgid "WPA Enterprise"
2895 +msgstr "WPA Enterprise"
2897 +#: ../src/nm-ap-security-leap.c:66 ../src/nm-ap-security-leap.c:82
2901 +#~ msgid "Passphrase for wireless network %s"
2902 +#~ msgstr "Langattoman verkon %s tunnuslause"
2904 +#~ msgid "Connection to the wireless network '%s' failed."
2905 +#~ msgstr "Yhteys langattomaan verkkoon \"%s\" epäonnistui."
2907 +#~ msgid "Connection to the wired network failed."
2908 +#~ msgstr "Yhteys kiinteään verkkoon epäonnistui."
2910 +#~ msgid "Error displaying connection information:"
2911 +#~ msgstr "Virhe näytettäessä yhteyden tietoja:"
2913 +#~ msgid "Could not find some required resources (the glade file)!"
2914 +#~ msgstr "Joitain vaadittuja osia ei löytynyt (glade-tiedostoa)!"
2916 +#~ msgid "No active connections!"
2917 +#~ msgstr "Ei aktiivisia yhteyksiä!"
2919 +#~ msgid "Wired Ethernet (%s)"
2920 +#~ msgstr "Kiinteä Ethernet-yhteys (%s)"
2922 +#~ msgid "Wireless Ethernet (%s)"
2923 +#~ msgstr "Langaton Ethernet (%s)"
2925 +#~ msgid "NetworkManager Applet"
2926 +#~ msgstr "NetworkManager-sovelma"
2928 +#~ msgid "Copyright © 2004-2005 Red Hat, Inc."
2929 +#~ msgstr "Copyright © 2004-2005 Red Hat, Inc."
2932 +#~ "Notification area applet for managing your network devices and "
2934 +#~ msgstr "Ilmoitusalueen sovelma verkkolaitteiden ja yhteyksien hallintaan."
2936 +#~ msgid "translator-credits"
2938 +#~ "Ilkka Tuohela, 2005.\n"
2940 +#~ "http://www.gnome.fi/"
2942 +#~ msgid "VPN Login Failure"
2943 +#~ msgstr "Virhe kirjauduttaessa VPN:ään"
2945 +#~ msgid "Could not start the VPN connection '%s' due to a login failure."
2946 +#~ msgstr "VPN-yhteyttä \"%s\" ei voitu käynnistää kirjautumisvirheen takia."
2948 +#~ msgid "VPN Start Failure"
2949 +#~ msgstr "VPN-yhteyden käynnistysvirhe"
2952 +#~ "Could not start the VPN connection '%s' due to a failure launching the "
2955 +#~ "VPN-yhteyttä \"%s\" ei voitu käynnistää, koska VPN-ohjelman suorittaminen "
2958 +#~ msgid "VPN Connect Failure"
2959 +#~ msgstr "VPN-yhteyden yhteydenottovirhe"
2961 +#~ msgid "Could not start the VPN connection '%s' due to a connection error."
2963 +#~ "VPN-yhteyttä \"%s\" ei voitu käynnistää, koska tapahtui yhteysvirhe."
2965 +#~ msgid "VPN Configuration Error"
2966 +#~ msgstr "VPN-yhteyden asetusvirhe"
2968 +#~ msgid "The VPN connection '%s' was not correctly configured."
2969 +#~ msgstr "VPN-yhteyden \"%s\" asetukset ovat virheelliset."
2972 +#~ "Could not start the VPN connection '%s' because the VPN server did not "
2973 +#~ "return an adequate network configuration."
2975 +#~ "VPN-yhteyttä \"%s\" ei voitu käynnistää, koska VPN-palvelin ei "
2976 +#~ "palauttanut kelvollista verkkomäärittelyä."
2978 +#~ msgid "VPN Login Message"
2979 +#~ msgstr "VPN-yhteyden kirjautumisviesti"
2982 +#~ "The NetworkManager Applet could not find some required resources (the "
2983 +#~ "glade file was not found)."
2985 +#~ "NetworkManager-sovelma ei voinut ladata jotain vaadituista resursseista "
2986 +#~ "(glade-tiedostoa ei löytynyt)."
2988 +#~ msgid "The network device \"%s (%s)\" does not support wireless scanning."
2989 +#~ msgstr "Verkkolaite \"%s (%s)\" ei tue langattomien verkkojen etsimistä."
2991 +#~ msgid "The network device \"%s (%s)\" does not support link detection."
2992 +#~ msgstr "Verkkolaite \"%s (%s)\" ei tue verkkoyhteyden havaitsemista."
2994 +#~ msgid "Preparing device %s for the wired network..."
2995 +#~ msgstr "Valmistellaan laitetta %s kiinteälle verkkoyhteydelle..."
2997 +#~ msgid "Preparing device %s for the wireless network '%s'..."
2998 +#~ msgstr "Valmistellaan laitetta %s langattomalle verkolle \"%s\"..."
3000 +#~ msgid "Configuring device %s for the wired network..."
3001 +#~ msgstr "Määritellään laitetta %s kiinteälle verkkoyhteydelle..."
3003 +#~ msgid "Attempting to join the wireless network '%s'..."
3004 +#~ msgstr "Yritetään liittyä langattomaan verkkoon \"%s\"..."
3006 +#~ msgid "Waiting for Network Key for the wireless network '%s'..."
3007 +#~ msgstr "Odotetaan verkon avainta langattomalle verkolle \"%s\""
3009 +#~ msgid "Requesting a network address from the wired network..."
3010 +#~ msgstr "Pyydetään verkko-osoitetta kiinteästä verkosta..."
3012 +#~ msgid "Requesting a network address from the wireless network '%s'..."
3013 +#~ msgstr "Pyydetään verkko-osoitettta langattomasta verkosta \"%s\"..."
3015 +#~ msgid "Finishing connection to the wired network..."
3016 +#~ msgstr "Viimeistellään yhteyttä kiinteään verkkoon..."
3018 +#~ msgid "Finishing connection to the wireless network '%s'..."
3019 +#~ msgstr "Viimeistellään yhteyttä langattomaan verkkoon \"%s\"..."
3021 +#~ msgid "NetworkManager is not running"
3022 +#~ msgstr "NetworkManager ei ole käytössä"
3024 +#~ msgid "Networking disabled"
3025 +#~ msgstr "Verkko ei ole käytössä"
3027 +#~ msgid "No network connection"
3028 +#~ msgstr "Ei verkkoyhteyttä"
3030 +#~ msgid "Wired network connection"
3031 +#~ msgstr "Kiinteä verkkoyhteys"
3033 +#~ msgid "Connected to an Ad-Hoc wireless network"
3034 +#~ msgstr "Yhteys langattomaan Ad-Hoc-verkkoon"
3036 +#~ msgid "Wireless network connection to '%s' (%d%%)"
3037 +#~ msgstr "Langaton verkkoyhteys \"%s\" (%d%%)"
3039 +#~ msgid "VPN connection to '%s'"
3040 +#~ msgstr "VPN-yhteys \"%s\""
3042 +#~ msgid "VPN connecting to '%s'"
3043 +#~ msgstr "VPN-yhteyttä \"%s\" avataan"
3045 +#~ msgid "_Connect to Other Wireless Network..."
3046 +#~ msgstr "_Yhdistä muihin langattomiin verkkoihin..."
3048 +#~ msgid "Create _New Wireless Network..."
3049 +#~ msgstr "Luo _uusi langaton verkko..."
3051 +#~ msgid "_VPN Connections"
3052 +#~ msgstr "_VPN-yhteydet"
3054 +#~ msgid "_Configure VPN..."
3055 +#~ msgstr "_Määrittele VPN-yhteys..."
3057 +#~ msgid "_Disconnect VPN..."
3058 +#~ msgstr "_Katkaise VPN-yhteys..."
3060 +#~ msgid "_Dial Up Connections"
3061 +#~ msgstr "_Modeemiyhteydet"
3063 +#~ msgid "Connect to %s..."
3064 +#~ msgstr "Ota yhteyttä kohteeseen %s..."
3066 +#~ msgid "Disconnect from %s..."
3067 +#~ msgstr "Katkaise yhteys kohteeseen %s..."
3069 +#~ msgid "No network devices have been found"
3070 +#~ msgstr "Verkkolaitteita ei löytynyt"
3072 +#~ msgid "NetworkManager is not running..."
3073 +#~ msgstr "NetworkManager ei ole käytössä..."
3075 +#~ msgid "Enable _Networking"
3076 +#~ msgstr "Ota _verkko käyttöön"
3078 +#~ msgid "Enable _Wireless"
3079 +#~ msgstr "Ota _langaton käyttöön"
3081 +#~ msgid "Connection _Information"
3082 +#~ msgstr "Tietoja _yhteydestä"
3088 +#~ msgstr "_Tietoja"
3091 +#~ "The NetworkManager applet could not find some required resources. It "
3092 +#~ "cannot continue.\n"
3094 +#~ "NetworkManager-sovelma ei löytänyt joitain vaadituista resursseista eikä "
3095 +#~ "pysty jatkamaan.\n"
3097 +#~ msgid "Open System"
3098 +#~ msgstr "Avoin järjestelmä"
3100 +#~ msgid "Shared Key"
3101 +#~ msgstr "Jaettu avain"
3103 +#~ msgid "Automatic (Default)"
3104 +#~ msgstr "Automaattinen (oletus)"
3106 +#~ msgid "AES-CCMP"
3107 +#~ msgstr "AES-CCMP"
3112 +#~ msgid "Dynamic WEP"
3113 +#~ msgstr "Dynaaminen WEP"
3116 +#~ msgstr "Ei mitään"
3118 +#~ msgid "WEP 64/128-bit ASCII"
3119 +#~ msgstr "WEP 64/128-bittinen ASCII"
3121 +#~ msgid "WEP 64/128-bit Hex"
3122 +#~ msgstr "WEP 64/128-bittinen heksadesimaali"
3124 +#~ msgid "WEP 128-bit Passphrase"
3125 +#~ msgstr "WEP 128-bittinen tunnuslause"
3133 +#~ msgid "WPA2 Personal"
3134 +#~ msgstr "WPA2 (henkilökohtainen)"
3136 +#~ msgid "WPA Personal"
3137 +#~ msgstr "WPA (henkilökohtainen)"
3139 +#~ msgid "Orientation"
3142 +#~ msgid "The orientation of the tray."
3143 +#~ msgstr "Ilmoitusalueen suunta."
3145 +#~ msgid "Wired Network (%s)"
3146 +#~ msgstr "Kiinteä verkkoyhteys (%s)"
3148 +#~ msgid "_Wired Network"
3149 +#~ msgstr "_Kiinteä verkkoyhteys"
3151 +#~ msgid "Wireless Network (%s)"
3152 +#~ msgid_plural "Wireless Networks (%s)"
3153 +#~ msgstr[0] "Langaton verkko (%s)"
3154 +#~ msgstr[1] "Langattomat verkot (%s)"
3156 +#~ msgid "Wireless Network"
3157 +#~ msgid_plural "Wireless Networks"
3158 +#~ msgstr[0] "Langaton verkko"
3159 +#~ msgstr[1] "Langattomat verkot"
3161 +#~ msgid " (invalid Unicode)"
3162 +#~ msgstr " (virheellistä Unicodea)"
3165 +#~ "By default, the wireless network's name is set to your computer's name, %"
3166 +#~ "s, with no encryption enabled"
3168 +#~ "Oletuksena langattoman verkon nimi asetetaan samaksi kuin tietokoneesi "
3169 +#~ "nimi \"%s\" ja salaus on poissa käytöstä"
3171 +#~ msgid "Create new wireless network"
3172 +#~ msgstr "Luo uusi langaton verkko"
3175 +#~ "Enter the name and security settings of the wireless network you wish to "
3177 +#~ msgstr "Syötä luotavan langattoman verkon nimi ja turva-asetukset."
3179 +#~ msgid "Create New Wireless Network"
3180 +#~ msgstr "Luo uusi langaton verkko"
3182 +#~ msgid "Existing wireless network"
3183 +#~ msgstr "Olemassaoleva langaton verkko"
3185 +#~ msgid "Enter the name of the wireless network to which you wish to connect."
3186 +#~ msgstr "Syötä sen langattoman verkon nimi, johon haluat ottaa yhteyttä."
3188 +#~ msgid "Connect to Other Wireless Network"
3189 +#~ msgstr "Ota yhteyttä muuhun langattomaan verkkoon"
3191 +#~ msgid "Error connecting to wireless network"
3192 +#~ msgstr "Virhe yhdistettäessä langattomaan verkkoon"
3195 +#~ "The requested wireless network requires security capabilities unsupported "
3196 +#~ "by your hardware."
3198 +#~ "Pyydetty langaton verkko vaatii tietoturvakykyjä, joita laitteistosi ei "
3201 +#~ msgid "Cannot start VPN connection '%s'"
3202 +#~ msgstr "VPN-yhteyttä \"%s\" ei voida käynnistää"
3205 +#~ "Could not find the authentication dialog for VPN connection type '%s'. "
3206 +#~ "Contact your system administrator."
3208 +#~ "Kirjautumisikkunaa VPN-yhteyden tyypille \"%s\" ei löydy. Ota yhteyttä "
3209 +#~ "järjestelmäsi ylläpitäjään."
3212 +#~ "There was a problem launching the authentication dialog for VPN "
3213 +#~ "connection type '%s'. Contact your system administrator."
3215 +#~ "Virhe käynnistettäessä kirjatumisikkunaa VPN-yhteyden tyypille \"%s\". "
3216 +#~ "Ota yhteyttä järjestelmäsi ylläpitäjään."
3222 +#~ "<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
3224 +#~ "<span weight=\"bold\" size=\"larger\">Tietoja aktiivisesta yhteydestä</"
3228 +#~ "<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
3229 +#~ "Network</span>\n"
3231 +#~ "A passphrase or encryption key is required to access the wireless network "
3234 +#~ "<span weight=\"bold\" size=\"larger\">Langaton verkko vaatii "
3235 +#~ "tunnuslausetta</span>\n"
3237 +#~ "Tunnuslause tai salausavain vaaditaan, jotta voit ottaa yhteyttä "
3238 +#~ "langattomaan verkkoon %s."
3241 +#~ "<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</"
3244 +#~ "%s It will not be completely functional."
3246 +#~ "<span weight=\"bold\" size=\"larger\">Rajattu verkon toiminnallisuus</"
3249 +#~ "%s Verkkoyhteys ei ole täysin toimiva."
3252 +#~ "<span weight=\"bold\" size=\"larger\">Wireless Network Login "
3253 +#~ "Confirmation</span>\n"
3255 +#~ "You have chosen to log in to the wireless network '%s'. If you are sure "
3256 +#~ "that this wireless network is secure, click the checkbox below and "
3257 +#~ "NetworkManager will not require confirmation on subsequent log ins."
3259 +#~ "<span weight=\"bold\" size=\"larger\">Langattoman yhteyden kirjatumisen "
3260 +#~ "vahvistus</span>\n"
3262 +#~ "Olet ottamassa yhteyttä langattomaan verkkoon \"%s\". Jos olet varma, "
3263 +#~ "että tämä langaton verkko on turvallinen, napsauta alla olevaa ruutua ja "
3264 +#~ "NetworkManager ei kysy tätä vahvistusikkunaa enää uudestaan."
3266 +#~ msgid "Anonymous Identity:"
3267 +#~ msgstr "Anonyymi tunniste:"
3269 +#~ msgid "Authentication:"
3270 +#~ msgstr "Tunnistautuminen:"
3272 +#~ msgid "Broadcast Address:"
3273 +#~ msgstr "Broadcast-osoite:"
3275 +#~ msgid "CA Certificate File:"
3276 +#~ msgstr "CA-varmenteen tiedosto:"
3278 +#~ msgid "C_onnect"
3279 +#~ msgstr "_Yhdistä"
3281 +#~ msgid "Client Certificate File:"
3282 +#~ msgstr "Asiakasvarmenteen tiedosto:"
3284 +#~ msgid "Connection Information"
3285 +#~ msgstr "Tietoja yhteydestä"
3287 +#~ msgid "Default Route:"
3288 +#~ msgstr "Oletusyhdyskäytävä:"
3290 +#~ msgid "Destination Address:"
3291 +#~ msgstr "Kohdeosoite:"
3296 +#~ msgid "EAP Method:"
3297 +#~ msgstr "EPA-menetelmä:"
3299 +#~ msgid "Hardware Address:"
3300 +#~ msgstr "Laiteosoite:"
3302 +#~ msgid "IP Address:"
3303 +#~ msgstr "IP-osoite:"
3305 +#~ msgid "Identity:"
3306 +#~ msgstr "Tunniste:"
3308 +#~ msgid "Interface:"
3309 +#~ msgstr "Verkkolaite:"
3311 +#~ msgid "Key Type:"
3312 +#~ msgstr "Avaimen tyyppi:"
3319 +#~ "WEP 128-bit Passphrase\n"
3320 +#~ "WEP 64/128-bit Hex\n"
3321 +#~ "WEP 64/128-bit ASCII\n"
3324 +#~ "WEP 128-bittinen tunnuslause\n"
3325 +#~ "WEP 64/128-bittinen heksadesimaali\n"
3326 +#~ "WEP 64/128-bittinen ASCII\n"
3332 +#~ "Avoin järjestelmä\n"
3335 +#~ msgid "Other Wireless Network..."
3336 +#~ msgstr "Muu langaton verkko..."
3338 +#~ msgid "Passphrase:"
3339 +#~ msgstr "Tunnuslause:"
3341 +#~ msgid "Password:"
3342 +#~ msgstr "Salasana:"
3344 +#~ msgid "Primary DNS:"
3345 +#~ msgstr "Ensisijainen DNS:"
3347 +#~ msgid "Private Key File:"
3348 +#~ msgstr "Salausavaimen tiedosto"
3350 +#~ msgid "Private Key Password:"
3351 +#~ msgstr "Salausavaimen salasana:"
3353 +#~ msgid "Secondary DNS:"
3354 +#~ msgstr "Toissijainen DNS:"
3356 +#~ msgid "Select the CA Certificate File"
3357 +#~ msgstr "Valise CA-varmenteen tiedosto"
3359 +#~ msgid "Select the Client Certificate File"
3360 +#~ msgstr "Valitse asiakasvarmenteen tiedosto"
3362 +#~ msgid "Select the Private Key File"
3363 +#~ msgstr "Valitse salaisen avaimen tiedosto"
3365 +#~ msgid "Show key"
3366 +#~ msgstr "Näytä avain"
3368 +#~ msgid "Show passphrase"
3369 +#~ msgstr "Näytä tunnuslause:"
3371 +#~ msgid "Show password"
3372 +#~ msgstr "Näytä salasana"
3374 +#~ msgid "Show passwords"
3375 +#~ msgstr "Näytä salasanat"
3378 +#~ msgstr "Nopeus:"
3380 +#~ msgid "Subnet Mask:"
3381 +#~ msgstr "Aliverkkopeite:"
3384 +#~ msgstr "Tyyppi:"
3386 +#~ msgid "User Name:"
3387 +#~ msgstr "Käyttäjätunnus:"
3389 +#~ msgid "Wireless Network Key Required"
3390 +#~ msgstr "Langattoman verkon salausavain vaaditaan"
3392 +#~ msgid "Wireless _adapter:"
3393 +#~ msgstr "Langaton _verkkolaite:"
3395 +#~ msgid "_Always Trust this Wireless Network"
3396 +#~ msgstr "_Luota aina tähän langattomaan verkkoon"
3398 +#~ msgid "_Don't remind me again"
3399 +#~ msgstr "_Älä huomauta uudestaan"
3401 +#~ msgid "_Login to Network"
3402 +#~ msgstr "_Kirjaudu verkkoon"
3404 +#~ msgid "_Network Name:"
3405 +#~ msgstr "_Verkon nimi:"
3407 +#~ msgid "_Wireless Security:"
3408 +#~ msgstr "_Langaton tietoturva:"
3410 +#~ msgid "You are now connected to the Ad-Hoc wireless network '%s'."
3411 +#~ msgstr "Yhteys langattomaan Ad-Hoc-verkkoon \"%s\" on nyt muodostettu."
3413 +#~ msgid "You are now connected to the wireless network '%s'."
3414 +#~ msgstr "Yhteys langattomaan verkkoon \"%s\" on nyt muodostettu."
3416 +#~ msgid "You are now connected to the wired network."
3417 +#~ msgstr "Yhteys kiinteään verkkoon on nyt muodostettu."
3419 +#~ msgid "Connection Established"
3420 +#~ msgstr "Yhteys muodostettu"
3422 +#~ msgid "Disconnected"
3423 +#~ msgstr "Yhteys katkaistu"
3425 -#: ../gnome/applet/applet-dbus-devices.c:910
3426 -msgid "You are now connected to the wired network."
3427 -msgstr "Yhteys kiinteään verkkoon on nyt muodostettu."
3429 -#: ../gnome/applet/applet-dbus-devices.c:916
3430 -msgid "Connection Established"
3431 -msgstr "Yhteys muodostettu"
3433 -#: ../gnome/applet/applet-dbus-devices.c:959
3434 -msgid "Disconnected"
3435 -msgstr "Yhteys katkaistu"
3437 -#: ../gnome/applet/applet-dbus-devices.c:960
3438 -msgid "The network connection has been disconnected."
3439 -msgstr "Yhteys verkkoon on katkaistu."
3440 +#~ msgid "The network connection has been disconnected."
3441 +#~ msgstr "Yhteys verkkoon on katkaistu."
3443 #~ msgid "WEP 40/128-bit ASCII"
3444 #~ msgstr "WEP 40/128-bittinen ASCII"
3445 diff -urN NetworkManager-0.6.5/po/it.po NetworkManager-SVNr3284/po/it.po
3446 --- NetworkManager-0.6.5/po/it.po 2007-04-18 20:13:10.000000000 +0200
3447 +++ NetworkManager-SVNr3284/po/it.po 2008-02-04 16:01:02.000000000 +0100
3449 # Italian translation for NetworkManager
3450 # Copyright (C) 2004-2005 THE NetworkManager CopyRight Holder
3451 # This file is distributed under the same license as the NetworkManager package.
3452 -# Francesco Marletta <francesco.marletta@tiscali.it>, 2004-2005.
3453 +# Francesco Marletta <francesco.marletta@tiscali.it>, 2004-2007.
3457 -"Project-Id-Version: NetworkManager 0.1\n"
3458 +"Project-Id-Version: NetworkManager 0.6\n"
3459 "Report-Msgid-Bugs-To: \n"
3460 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
3461 -"PO-Revision-Date: 2006-06-09 09:52\n"
3462 +"POT-Creation-Date: 2007-04-23 16:32+0200\n"
3463 +"PO-Revision-Date: 2007-03-11 21:54+0100\n"
3464 "Last-Translator: Novell Language <language@novell.com>\n"
3465 "Language-Team: Novell Language <language@novell.com>\n"
3466 "MIME-Version: 1.0\n"
3467 @@ -16,726 +16,11 @@
3468 "Content-Transfer-Encoding: 8bit\n"
3469 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
3471 -# [NdT] è il titolo della finestra
3472 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
3474 -msgid "Passphrase for wireless network %s"
3475 -msgstr "Frase di accesso per la rete wireless %s"
3477 -#: ../gnome/applet/applet-dbus.c:265
3479 -msgid "Connection to the wireless network '%s' failed."
3480 -msgstr "Connessione alla rete wireless \"%s\" fallita."
3482 -#: ../gnome/applet/applet-dbus.c:270
3483 -msgid "Connection to the wired network failed."
3484 -msgstr "Connessione alla rete cablata fallita."
3486 -#: ../gnome/applet/applet.c:184
3487 -msgid "Error displaying connection information:"
3488 -msgstr "Errore nel visualizzare le informazioni di connessione:"
3490 -#: ../gnome/applet/applet.c:202
3491 -msgid "Could not find some required resources (the glade file)!"
3492 -msgstr "Impossibile trovare alcune risorse richieste (il file glade)!"
3494 -#: ../gnome/applet/applet.c:213
3495 -msgid "No active connections!"
3496 -msgstr "Nessuna connessione attiva!"
3498 -#: ../gnome/applet/applet.c:234
3500 -msgid "Wired Ethernet (%s)"
3501 -msgstr "Ethernet cablata (%s)"
3503 -#: ../gnome/applet/applet.c:236
3505 -msgid "Wireless Ethernet (%s)"
3506 -msgstr "Ethernet wireless (%s)"
3508 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
3509 -msgid "NetworkManager Applet"
3510 -msgstr "Applet NetworkManager"
3512 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
3513 -msgid "Copyright © 2004-2005 Red Hat, Inc."
3514 -msgstr "Copyright © 2004-2005 Red Hat, Inc."
3516 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
3518 -"Notification area applet for managing your network devices and connections."
3520 -"Un'applet per l'aerea di notifica per la gestione delle interfacce e delle "
3521 -"connessioni di rete"
3523 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
3524 -msgid "translator-credits"
3525 -msgstr "Francesco Marletta <francesco.marletta@tiscali.it>"
3527 -#: ../gnome/applet/applet.c:426
3528 -msgid "VPN Login Failure"
3529 -msgstr "Accesso VPN fallito"
3531 -#: ../gnome/applet/applet.c:427
3533 -msgid "Could not start the VPN connection '%s' due to a login failure."
3535 -"Impossibile avviare la connessione VPN “%s” a causa di un fallimento "
3538 -#: ../gnome/applet/applet.c:431
3539 -msgid "VPN Start Failure"
3540 -msgstr "Avvio VPN fallito"
3542 -#: ../gnome/applet/applet.c:432
3545 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
3548 -"Impossibile avviare la connessione VPN “%s” a causa di un fallimento "
3549 -"nell'avvio del programma VPN."
3551 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
3552 -msgid "VPN Connect Failure"
3553 -msgstr "Connessione VPN fallita"
3555 -#: ../gnome/applet/applet.c:437
3557 -msgid "Could not start the VPN connection '%s' due to a connection error."
3559 -"Impossibile avviare la connessione VPN “%s” a causa di un errore nella "
3562 -#: ../gnome/applet/applet.c:441
3563 -msgid "VPN Configuration Error"
3564 -msgstr "Errore di configurazione VPN"
3566 -#: ../gnome/applet/applet.c:442
3568 -msgid "The VPN connection '%s' was not correctly configured."
3569 -msgstr "La connessione VPN “%s” non è stata configurata correttamente."
3571 -#: ../gnome/applet/applet.c:447
3574 -"Could not start the VPN connection '%s' because the VPN server did not "
3575 -"return an adequate network configuration."
3577 -"Impossibile avviare la connessione “%s” perché il server VPN non ha "
3578 -"restituito una configurazione di rete adeguata."
3580 -#: ../gnome/applet/applet.c:517
3581 -msgid "VPN Login Message"
3582 -msgstr "Messaggio di accesso VPN"
3584 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
3585 -#: ../gnome/applet/other-network-dialog.c:453
3586 -#: ../gnome/applet/passphrase-dialog.c:228
3588 -"The NetworkManager Applet could not find some required resources (the glade "
3589 -"file was not found)."
3591 -"L'applet NetworkManager non è riuscita a trovare alcune risorse richieste "
3592 -"(il file glade non è stato trovato)."
3594 -#: ../gnome/applet/applet.c:753
3596 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
3597 -msgstr "Il dispositivo di rete “%s (%s)” non supporta la scansione wireless."
3599 -#: ../gnome/applet/applet.c:761
3601 -msgid "The network device \"%s (%s)\" does not support link detection."
3603 -"Il dispositivo di rete “%s (%s)” non supporta il riconoscimento del "
3606 -#: ../gnome/applet/applet.c:908
3608 -msgid "Preparing device %s for the wired network..."
3609 -msgstr "Preparazione del dispositivo %s per la rete cablata in corso..."
3611 -#: ../gnome/applet/applet.c:910
3613 -msgid "Preparing device %s for the wireless network '%s'..."
3615 -"Preparazione del dispositivo %s per la rete wireless \"%s\" in corso..."
3617 -#: ../gnome/applet/applet.c:918
3619 -msgid "Configuring device %s for the wired network..."
3620 -msgstr "Configurazione del dispositivo %s per la rete cablata in corso..."
3622 -#: ../gnome/applet/applet.c:920
3624 -msgid "Attempting to join the wireless network '%s'..."
3625 -msgstr "Tentativo di unirsi alla rete wireless \"%s\" in corso..."
3627 -#: ../gnome/applet/applet.c:928
3629 -msgid "Waiting for Network Key for the wireless network '%s'..."
3630 -msgstr "In attesa della chiave di rete per la rete wireless \"%s\"..."
3632 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
3633 -msgid "Requesting a network address from the wired network..."
3634 -msgstr "Richiesta di un indirizzo di rete dalla rete cablata in corso..."
3636 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
3638 -msgid "Requesting a network address from the wireless network '%s'..."
3640 -"Richiesta di un indirizzo di rete dalla rete wireless \"%s\" in corso..."
3642 -#: ../gnome/applet/applet.c:956
3643 -msgid "Finishing connection to the wired network..."
3644 -msgstr "Chiusura della connessione alla rete cablata in corso..."
3646 -#: ../gnome/applet/applet.c:958
3648 -msgid "Finishing connection to the wireless network '%s'..."
3649 -msgstr "Chiusura della connessione alla rete wireless \"%s\" in corso..."
3651 -#: ../gnome/applet/applet.c:1075
3652 -msgid "NetworkManager is not running"
3653 -msgstr "NetworkManager non è in esecuzione"
3655 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
3656 -msgid "Networking disabled"
3657 -msgstr "Funzionalità di rete disabilitate"
3659 -#: ../gnome/applet/applet.c:1088
3660 -msgid "No network connection"
3661 -msgstr "Nessuna connessione di rete"
3663 -#: ../gnome/applet/applet.c:1093
3664 -msgid "Wired network connection"
3665 -msgstr "Connessione di rete cablata"
3667 -#: ../gnome/applet/applet.c:1097
3668 -msgid "Connected to an Ad-Hoc wireless network"
3669 -msgstr "Connesso ad una rete wireless ad-hoc"
3671 -#: ../gnome/applet/applet.c:1099
3673 -msgid "Wireless network connection to '%s' (%d%%)"
3674 -msgstr "Connessione di rete wireless a \"%s\" (%d%%)"
3676 -#: ../gnome/applet/applet.c:1120
3678 -msgid "VPN connection to '%s'"
3679 -msgstr "Connessione VPN a “%s”"
3681 -#: ../gnome/applet/applet.c:1128
3683 -msgid "VPN connecting to '%s'"
3684 -msgstr "Connessione VPN a “%s” in corso"
3686 -#: ../gnome/applet/applet.c:1541
3687 -msgid "_Connect to Other Wireless Network..."
3688 -msgstr "_Connetti ad altre reti wireless..."
3690 -#: ../gnome/applet/applet.c:1562
3691 -msgid "Create _New Wireless Network..."
3692 -msgstr "Crea _nuova rete wireless..."
3694 -#: ../gnome/applet/applet.c:1685
3695 -msgid "_VPN Connections"
3696 -msgstr "Connessioni _VPN"
3698 -#: ../gnome/applet/applet.c:1730
3699 -msgid "_Configure VPN..."
3700 -msgstr "_Configura VPN..."
3702 -#: ../gnome/applet/applet.c:1734
3703 -msgid "_Disconnect VPN..."
3704 -msgstr "_Disconnetti VPN..."
3706 -#: ../gnome/applet/applet.c:1756
3707 -msgid "_Dial Up Connections"
3708 -msgstr "Connessioni mo_dem"
3710 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
3711 -#: ../gnome/applet/applet.c:1767
3713 -msgid "Connect to %s..."
3714 -msgstr "Connetti a %s..."
3716 -#: ../gnome/applet/applet.c:1773
3718 -msgid "Disconnect from %s..."
3719 -msgstr "Disconnetti da %s..."
3721 -#: ../gnome/applet/applet.c:1822
3722 -msgid "No network devices have been found"
3723 -msgstr "Non è stata trovata alcuna interfaccia di rete"
3725 -#: ../gnome/applet/applet.c:2014
3726 -msgid "NetworkManager is not running..."
3727 -msgstr "NetworkManager non è in esecuzione..."
3729 -#. 'Enable Networking' item
3730 -#: ../gnome/applet/applet.c:2170
3731 -msgid "Enable _Networking"
3732 -msgstr "Abilita _rete"
3734 -#. 'Enable Wireless' item
3735 -#: ../gnome/applet/applet.c:2176
3736 -msgid "Enable _Wireless"
3737 -msgstr "Abilita _wireless"
3739 -#. 'Connection Information' item
3740 -#: ../gnome/applet/applet.c:2182
3741 -msgid "Connection _Information"
3742 -msgstr "_Informazioni connessione"
3745 -#: ../gnome/applet/applet.c:2193
3750 -#: ../gnome/applet/applet.c:2202
3752 -msgstr "I_nformazioni"
3754 -#: ../gnome/applet/applet.c:2667
3756 -"The NetworkManager applet could not find some required resources. It cannot "
3759 -"L'applet NetworkManager non è riuscita a trovare alcune risorse richieste. "
3760 -"Non può continuare l'esecuzione.\n"
3762 -#: ../gnome/applet/wireless-security-option.c:157
3763 -msgid "Open System"
3764 -msgstr "Sistema aperto"
3766 -#: ../gnome/applet/wireless-security-option.c:160
3768 -msgstr "Chiave condivisa"
3771 -#: ../gnome/applet/wireless-security-option.c:208
3772 -msgid "Automatic (Default)"
3773 -msgstr "Automatica (predefinito)"
3775 -#: ../gnome/applet/wireless-security-option.c:215
3779 -#: ../gnome/applet/wireless-security-option.c:223
3783 -#: ../gnome/applet/wireless-security-option.c:231
3784 -msgid "Dynamic WEP"
3785 -msgstr "WEP dinamico"
3787 -# Dovrebbe riferirsi a "sicurezza"
3788 -#: ../gnome/applet/wso-none.c:53
3792 -#: ../gnome/applet/wso-wep-ascii.c:138
3793 -msgid "WEP 64/128-bit ASCII"
3794 -msgstr "ASCII 128 bit/WEP 40"
3796 -#: ../gnome/applet/wso-wep-hex.c:135
3797 -msgid "WEP 64/128-bit Hex"
3798 -msgstr "Esadecimale 128 bit/WEP 40"
3800 -#: ../gnome/applet/wso-wep-passphrase.c:135
3801 -msgid "WEP 128-bit Passphrase"
3802 -msgstr "Frase di accesso WEP 128 bit"
3804 -#: ../gnome/applet/wso-wpa-eap.c:237
3808 -#: ../gnome/applet/wso-wpa-eap.c:238
3812 -#: ../gnome/applet/wso-wpa-eap.c:239
3816 -# [NdT] va tradotto?
3817 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
3818 -#: ../src/nm-ap-security-wpa-eap.c:116
3819 -msgid "WPA2 Enterprise"
3820 -msgstr "WPA2 Enterprise"
3822 -# [NdT] va tradotto?
3823 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
3824 -#: ../src/nm-ap-security-wpa-eap.c:121
3825 -msgid "WPA Enterprise"
3826 -msgstr "WPA Enterprise"
3828 -#: ../gnome/applet/wso-wpa-psk.c:178
3829 -msgid "WPA2 Personal"
3830 -msgstr "WPA2 personale"
3832 -#: ../gnome/applet/wso-wpa-psk.c:180
3833 -msgid "WPA Personal"
3834 -msgstr "WPA personale"
3836 -#: ../gnome/applet/eggtrayicon.c:134
3837 -msgid "Orientation"
3838 -msgstr "Orientamento"
3840 -#: ../gnome/applet/eggtrayicon.c:135
3841 -msgid "The orientation of the tray."
3842 -msgstr "L'orientamento del vassoio."
3844 -#: ../gnome/applet/menu-items.c:88
3846 -msgid "Wired Network (%s)"
3847 -msgstr "Rete cablata (%s)"
3849 -#: ../gnome/applet/menu-items.c:91
3850 -msgid "_Wired Network"
3851 -msgstr "Rete _cablata"
3853 -#: ../gnome/applet/menu-items.c:162
3855 -msgid "Wireless Network (%s)"
3856 -msgid_plural "Wireless Networks (%s)"
3857 -msgstr[0] "Rete wireless (%s)"
3858 -msgstr[1] "Reti wireless (%s)"
3860 -#: ../gnome/applet/menu-items.c:164
3861 -msgid "Wireless Network"
3862 -msgid_plural "Wireless Networks"
3863 -msgstr[0] "Rete wireless"
3864 -msgstr[1] "Reti wireless"
3866 -#: ../gnome/applet/menu-items.c:343
3867 -msgid " (invalid Unicode)"
3868 -msgstr " (Unicode non valido)"
3870 -#: ../gnome/applet/other-network-dialog.c:352
3873 -"By default, the wireless network's name is set to your computer's name, %s, "
3874 -"with no encryption enabled"
3876 -"Come impostazione predefinita, il nome della rete wireless è impostata con "
3877 -"il nome del computer, %s, senza cifratura abilitata"
3879 -# [NdT] è il titolo della finestra
3880 -#: ../gnome/applet/other-network-dialog.c:358
3881 -msgid "Create new wireless network"
3882 -msgstr "Creazione nuova rete wireless"
3884 -#: ../gnome/applet/other-network-dialog.c:359
3886 -"Enter the name and security settings of the wireless network you wish to "
3889 -"Inserire il nome e le impostazioni di sicurezza della rete wireless che si "
3892 -#: ../gnome/applet/other-network-dialog.c:363
3893 -msgid "Create New Wireless Network"
3894 -msgstr "Crea nuova rete wireless"
3896 -#: ../gnome/applet/other-network-dialog.c:368
3897 -msgid "Existing wireless network"
3898 -msgstr "Rete wireless esistente"
3900 -#: ../gnome/applet/other-network-dialog.c:369
3901 -msgid "Enter the name of the wireless network to which you wish to connect."
3902 -msgstr "Inserire il nome delle rete wireless a cui ci si vuole connettere."
3904 -#: ../gnome/applet/other-network-dialog.c:371
3905 -msgid "Connect to Other Wireless Network"
3906 -msgstr "Connetti ad altre reti wireless"
3908 -#: ../gnome/applet/passphrase-dialog.c:215
3909 -msgid "Error connecting to wireless network"
3910 -msgstr "Errore nella connessione alla rete wireless"
3912 -#: ../gnome/applet/passphrase-dialog.c:216
3914 -"The requested wireless network requires security capabilities unsupported by "
3917 -"La rete wireless richiesta richiede funzionalità di sicurezza non supportate "
3918 -"dall'hardware presente."
3920 -#: ../gnome/applet/vpn-password-dialog.c:151
3921 -#: ../gnome/applet/vpn-password-dialog.c:188
3923 -msgid "Cannot start VPN connection '%s'"
3924 -msgstr "Impossibile avviare la connessione VPN \"%s\""
3926 -#: ../gnome/applet/vpn-password-dialog.c:154
3929 -"Could not find the authentication dialog for VPN connection type '%s'. "
3930 -"Contact your system administrator."
3932 -"Impossibile trovare la finestra di dialogo per la connessione VPN di tipo \"%"
3933 -"s\". Contattare l'amministratore di sistema."
3935 -#: ../gnome/applet/vpn-password-dialog.c:191
3938 -"There was a problem launching the authentication dialog for VPN connection "
3939 -"type '%s'. Contact your system administrator."
3941 -"Si è verificato un problema avviando la finestra di dialogo di "
3942 -"autenticazione per la connessione VPN di tipo \"%s\". Contattare "
3943 -"l'amministratore di sistema."
3945 -#: ../gnome/applet/applet.glade.h:1
3949 -#: ../gnome/applet/applet.glade.h:2
3951 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
3953 -"<span weight=\"bold\" size=\"larger\">Informazioni connessione attiva</span>"
3955 -#: ../gnome/applet/applet.glade.h:4
3958 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
3961 -"A passphrase or encryption key is required to access the wireless network '%"
3964 -"<span weight=\"bold\" size=\"larger\">Frase chiave richiesta dalla rete "
3965 -"wireless</span>\n"
3967 -"È richiesta una frase chiave o una chiave di cifratura per accedere alla "
3968 -"rete wireless \"%s\"."
3970 -#: ../gnome/applet/applet.glade.h:8
3973 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
3975 -"%s It will not be completely functional."
3977 -"<span weight=\"bold\" size=\"larger\">Funzionalità di rete ridotta</span>\n"
3979 -"%s Non sarà del funzionale."
3981 -#: ../gnome/applet/applet.glade.h:12
3984 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
3987 -"You have chosen to log in to the wireless network '%s'. If you are sure "
3988 -"that this wireless network is secure, click the checkbox below and "
3989 -"NetworkManager will not require confirmation on subsequent log ins."
3991 -"<span weight=\"bold\" size=\"larger\">Conferma accesso a rete wireless</"
3994 -"Si è scelto di accedere alla rete wireless \"%s\". Se si ha la certezza che "
3995 -"questa rete wireless è sicura, selezionare la casella di spunta sottostante "
3996 -"e NetworkManager non chiederà la conferma ai successivi accessi."
3998 -#: ../gnome/applet/applet.glade.h:15
3999 -msgid "Anonymous Identity:"
4000 -msgstr "Identità anonima:"
4002 -#: ../gnome/applet/applet.glade.h:16
4003 -msgid "Authentication:"
4004 -msgstr "Autenticazione:"
4006 -#: ../gnome/applet/applet.glade.h:17
4007 -msgid "Broadcast Address:"
4008 -msgstr "Indirizzo broadcast:"
4010 -#: ../gnome/applet/applet.glade.h:18
4011 -msgid "CA Certificate File:"
4012 -msgstr "File del certificato della CA:"
4014 -#: ../gnome/applet/applet.glade.h:19
4018 -#: ../gnome/applet/applet.glade.h:20
4019 -msgid "Client Certificate File:"
4020 -msgstr "File del certificato del client:"
4022 -#: ../gnome/applet/applet.glade.h:21
4023 -msgid "Connection Information"
4024 -msgstr "Informazioni connessione"
4026 -#: ../gnome/applet/applet.glade.h:22
4027 -msgid "Default Route:"
4028 -msgstr "Rotta predefinita:"
4030 -#: ../gnome/applet/applet.glade.h:23
4031 -msgid "Destination Address:"
4032 -msgstr "Indirizzo destinazione:"
4034 -#: ../gnome/applet/applet.glade.h:24
4038 -#: ../gnome/applet/applet.glade.h:25
4039 -msgid "EAP Method:"
4040 -msgstr "Metodo EAP:"
4042 -#: ../gnome/applet/applet.glade.h:26
4043 -msgid "Hardware Address:"
4044 -msgstr "Indirizzo hardware:"
4046 -#: ../gnome/applet/applet.glade.h:27
4047 -msgid "IP Address:"
4048 -msgstr "Indirizzo IP:"
4050 -#: ../gnome/applet/applet.glade.h:28
4054 -#: ../gnome/applet/applet.glade.h:29
4056 -msgstr "Interfaccia:"
4058 -#: ../gnome/applet/applet.glade.h:30
4060 -msgstr "Tipo di chiave:"
4062 -#: ../gnome/applet/applet.glade.h:31
4066 -#: ../gnome/applet/applet.glade.h:32
4069 -"WEP 128-bit Passphrase\n"
4070 -"WEP 64/128-bit Hex\n"
4071 -"WEP 64/128-bit ASCII\n"
4074 -"Frase di accesso WEP 128 bit\n"
4075 -"WEP 64/128 bit esadecimale\n"
4076 -"WEP 64/128 bit ASCII\n"
4078 -#: ../gnome/applet/applet.glade.h:37
4086 -#: ../gnome/applet/applet.glade.h:39
4087 -msgid "Other Wireless Network..."
4088 -msgstr "Altra rete wireless..."
4090 -#: ../gnome/applet/applet.glade.h:40
4091 -msgid "Passphrase:"
4092 -msgstr "Frase chiave:"
4094 -#: ../gnome/applet/applet.glade.h:41
4098 -#: ../gnome/applet/applet.glade.h:42
4099 -msgid "Primary DNS:"
4100 -msgstr "DNS primario:"
4102 -#: ../gnome/applet/applet.glade.h:43
4103 -msgid "Private Key File:"
4104 -msgstr "File della chiave privata:"
4106 -#: ../gnome/applet/applet.glade.h:44
4107 -msgid "Private Key Password:"
4108 -msgstr "Password della chiave privata:"
4110 -#: ../gnome/applet/applet.glade.h:45
4111 -msgid "Secondary DNS:"
4112 -msgstr "DNS secondario:"
4114 -#: ../gnome/applet/applet.glade.h:46
4115 -msgid "Select the CA Certificate File"
4116 -msgstr "Selezionare il file con il certificato della CA"
4118 -#: ../gnome/applet/applet.glade.h:47
4119 -msgid "Select the Client Certificate File"
4120 -msgstr "Selezionare il file con il certificato del client"
4122 -#: ../gnome/applet/applet.glade.h:48
4123 -msgid "Select the Private Key File"
4124 -msgstr "Selezionare il file con la chiave privata"
4126 -#: ../gnome/applet/applet.glade.h:49
4128 -msgstr "Mostra chiave"
4130 -#: ../gnome/applet/applet.glade.h:50
4131 -msgid "Show passphrase"
4132 -msgstr "Mostra frase chiave"
4134 -#: ../gnome/applet/applet.glade.h:51
4135 -msgid "Show password"
4136 -msgstr "Mostra password"
4138 -#: ../gnome/applet/applet.glade.h:52
4139 -msgid "Show passwords"
4140 -msgstr "Mostra le password"
4142 -#: ../gnome/applet/applet.glade.h:53
4146 -#: ../gnome/applet/applet.glade.h:54
4147 -msgid "Subnet Mask:"
4148 -msgstr "Maschera di rete:"
4150 -#: ../gnome/applet/applet.glade.h:55
4154 -#: ../gnome/applet/applet.glade.h:56
4156 -msgstr "Nome utente:"
4158 -#: ../gnome/applet/applet.glade.h:57
4159 -msgid "Wireless Network Key Required"
4160 -msgstr "Richiesta chiave per rete wireless"
4162 -#: ../gnome/applet/applet.glade.h:58
4163 -msgid "Wireless _adapter:"
4164 -msgstr "_Adattatore wireless:"
4166 -#: ../gnome/applet/applet.glade.h:59
4167 -msgid "_Always Trust this Wireless Network"
4168 -msgstr "Dare _sempre fiducia a questa rete wireless"
4170 -#: ../gnome/applet/applet.glade.h:60
4171 -msgid "_Don't remind me again"
4172 -msgstr "_Non ricordarlo più"
4174 -#: ../gnome/applet/applet.glade.h:61
4175 -msgid "_Login to Network"
4176 -msgstr "_Login alla rete"
4178 -#: ../gnome/applet/applet.glade.h:62
4179 -msgid "_Network Name:"
4180 -msgstr "_Nome rete:"
4182 -#: ../gnome/applet/applet.glade.h:63
4183 -msgid "_Wireless Security:"
4184 -msgstr "Sicurezza _wireless:"
4186 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
4187 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
4188 msgid "Cannot add VPN connection"
4189 msgstr "Impossibile aggiungere una connessione VPN"
4191 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
4192 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
4194 "No suitable VPN software was found on your system. Contact your system "
4196 @@ -743,59 +28,59 @@
4197 "Non è stato trovato un software VPN adatto nel sistema. Contattare "
4198 "l'amministratore di sistema."
4200 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
4201 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
4202 msgid "Cannot import VPN connection"
4203 msgstr "Impossibile importare la connessione VPN"
4205 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
4206 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
4209 "Cannot find suitable software for VPN connection type '%s' to import the "
4210 "file '%s'. Contact your system administrator."
4212 -"Impossibile trovare un software adatto ad importare il file \"%2$s\" per la "
4213 -"connessione VPN di tipo \"%1$s\". Contattare l'amministratore di sistema."
4214 +"Impossibile trovare un software adatto ad importare il file “%2$s” per la "
4215 +"connessione VPN di tipo “%1$s”. Contattare l'amministratore di sistema."
4217 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
4218 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
4220 msgid "Error retrieving VPN connection '%s'"
4221 -msgstr "Errore nel recuperare la connessione VPN \"%s\""
4222 +msgstr "Errore nel recuperare la connessione VPN “%s”"
4224 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
4225 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
4228 "Could not find the UI files for VPN connection type '%s'. Contact your "
4229 "system administrator."
4231 -"Impossibile trovare il file di interfaccia per la connessione VPN di tipo \"%"
4232 -"s\". Contattare l'amministratore di sistema."
4233 +"Impossibile trovare il file di interfaccia per la connessione VPN di tipo “%"
4234 +"s”. Contattare l'amministratore di sistema."
4236 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
4237 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
4239 msgid "Delete VPN connection \"%s\"?"
4240 -msgstr "Eliminare la connessione VPN \"%s\"?"
4241 +msgstr "Eliminare la connessione VPN “%s”?"
4243 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
4244 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
4247 "All information about the VPN connection \"%s\" will be lost and you may "
4248 "need your system administrator to provide information to create a new "
4251 -"Tutte le informazioni sulla connessione VPN \"%s\" verranno perse e sarà "
4252 +"Tutte le informazioni sulla connessione VPN “%s” verranno perse e sarà "
4253 "necessario chiedere informazioni all'amministratore di sistema per creare "
4254 "una nuova connessione."
4256 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
4257 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
4258 msgid "Unable to load"
4259 msgstr "Impossibile caricare"
4261 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
4262 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
4263 msgid "Cannot find some needed resources (the glade file)!"
4264 msgstr "Impossibile trovare alcune risorse richieste (il file glade)!"
4267 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
4268 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
4269 msgid "Edit VPN Connection"
4270 msgstr "Modifica connessione VPN"
4274 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:13
4275 msgid "Manage Virtual Private Network Connections"
4276 -msgstr "Gestione delle connessioni alle reti private virtuali (VPN)"
4277 +msgstr "Gestione connessioni Reti Private Virtuali (VPN)"
4279 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:14
4282 "It will require some information, such as IP addresses and secrets. Please "
4283 "see your system administrator to obtain this information."
4285 -"Questo assistente vi guiderà nella creazione di una connessione ad una rete "
4286 -"privata virtuale (VPN).\n"
4287 +"Questo assistente vi guiderà nella creazione di una connessione ad una Rete "
4288 +"Privata Virtuale (VPN).\n"
4290 "Richiederà alcune informazioni, come indirizzi IP e dati segreti. Contattare "
4291 "l'amministratore di sistema per ottenere queste informazioni."
4292 @@ -901,11 +186,11 @@
4293 msgid "WPA2 Automatic"
4294 msgstr "WPA2 automatica"
4296 -#: ../src/nm-ap-security.c:320
4297 +#: ../src/nm-ap-security.c:338
4301 -#: ../src/nm-netlink-monitor.c:154
4302 +#: ../src/nm-netlink-monitor.c:170
4305 "unable to create netlink socket for monitoring wired ethernet devices - %s"
4307 "impossibile creare un socket netlink per monitorare i dispositivi di rete "
4308 "cablata ethernet - %s"
4310 -#: ../src/nm-netlink-monitor.c:172
4311 +#: ../src/nm-netlink-monitor.c:188
4314 "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
4315 @@ -921,166 +206,35 @@
4316 "impossibile effettuare il bind al socket netlink per monitorare i "
4317 "dispositivi di rete cablata ethernet - %s"
4319 -#: ../src/nm-netlink-monitor.c:405
4320 +#: ../src/nm-netlink-monitor.c:426
4321 msgid "operation took too long"
4322 msgstr "l'operazione ha impiegato troppo tempo"
4324 -#: ../src/nm-netlink-monitor.c:502
4325 +#: ../src/nm-netlink-monitor.c:523
4326 msgid "received data from wrong type of sender"
4327 msgstr "dati ricevuti dal tipo di mittente errato"
4329 -#: ../src/nm-netlink-monitor.c:515
4330 +#: ../src/nm-netlink-monitor.c:536
4331 msgid "received data from unexpected sender"
4332 msgstr "dati ricevuti da un mittente inatteso"
4334 -#: ../src/nm-netlink-monitor.c:646
4335 +#: ../src/nm-netlink-monitor.c:665
4336 msgid "too much data was sent over socket and some of it was lost"
4338 "sono stati inviati troppi dati sul socket e una loro parte è stata persa"
4340 -#: ../src/nm-netlink-monitor.c:735
4341 +#: ../src/nm-netlink-monitor.c:775
4342 msgid "error occurred while waiting for data on socket"
4343 msgstr "si è verificato un errore durante l'attesa dei dati sul socket"
4345 -#: ../gnome/applet/applet-dbus-devices.c:898
4347 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
4348 -msgstr "Adesso si è connessi alla rete wireless ad-hoc \"%s\"."
4350 -#: ../gnome/applet/applet-dbus-devices.c:903
4352 -msgid "You are now connected to the wireless network '%s'."
4353 -msgstr "Adesso si è connessi alla rete wireless \"%s\"."
4355 -#: ../gnome/applet/applet-dbus-devices.c:910
4356 -msgid "You are now connected to the wired network."
4357 -msgstr "Adesso si è connessi alla rete cablata."
4359 -#: ../gnome/applet/applet-dbus-devices.c:916
4360 -msgid "Connection Established"
4361 -msgstr "Connessione stabilita"
4363 -#: ../gnome/applet/applet-dbus-devices.c:959
4364 -msgid "Disconnected"
4365 -msgstr "Disconnesso"
4367 -# [NdT] certo che l'originare era proprio brutto
4368 -#: ../gnome/applet/applet-dbus-devices.c:960
4369 -msgid "The network connection has been disconnected."
4370 -msgstr "La connessione di rete è stata interrotta."
4372 -#~ msgid "Modify Wireless Networks"
4373 -#~ msgstr "Modifica le reti wireless"
4379 -#~ "128-bit Passphrase (WEP)\n"
4380 -#~ "Ascii Key (WEP)\n"
4383 -#~ "Frase chiave a 128-bit (WEP)\n"
4384 -#~ "Chiave Ascii (WEP)\n"
4385 -#~ "Chiave Esadecimale (WEP)"
4387 -#~ msgid "Ascii Key:"
4388 -#~ msgstr "Chiave ascii:"
4390 -#~ msgid "You must log in to access the private network %s"
4391 -#~ msgstr "È necessario effettuare il login per accedere alla rete privata %s"
4393 -#~ msgid "Scanning for wireless networks..."
4394 -#~ msgstr "Scansione di reti wireless..."
4396 -#~ msgid "Pause Wireless Scanning"
4397 -#~ msgstr "Sospendere la scansione wireless"
4399 -#~ msgid "Resume Wireless Scanning"
4400 -#~ msgstr "Riprendere la scansione wireless"
4402 -#~ msgid "Stop All Wireless Devices"
4403 -#~ msgstr "Ferma tutti i dispositivi wireless"
4405 -#~ msgid "Start All Wireless Devices"
4406 -#~ msgstr "Avvia tutti i dispositivi wireless"
4409 -#~ "128-bit passphrase (WEP)\n"
4410 -#~ "Ascii key (WEP)\n"
4413 -#~ "Frase chiave a 128-bit (WEP)\n"
4414 -#~ "Chiave ASCII (WEP)\n"
4415 -#~ "Chiave esadecimale (WEP)"
4417 -#~ msgid "Key type:"
4418 -#~ msgstr "Tipo di chiave:"
4420 -#~ msgid "Wireless _network:"
4421 -#~ msgstr "_Rete wireless:"
4423 -#~ msgid "Stop automatically running the networking applet?"
4424 -#~ msgstr "Fermare l'avvio automatico dell'applet di rete?"
4427 -#~ "The networking applet will now terminate, but will automatically launch "
4428 -#~ "the next time you login. Would you like to stop automatically running "
4429 -#~ "the networking applet on login?"
4431 -#~ "L'applet di rete terminerà adesso, ma verrà avviata automaticamente al "
4432 -#~ "prossimo accesso al sistema. Si vuole fermare l'avvio automatico "
4433 -#~ "dell'applet di rete all'accesso?"
4436 -#~ msgstr "_Rimuovi"
4438 -#~ msgid "<span weight=\"bold\">Wireless Networks:</span>"
4439 -#~ msgstr "<span weight=\"bold\">Reti wireless:</span>"
4441 -#~ msgid "Hex Key:"
4442 -#~ msgstr "Chiave esadecimale:"
4444 -#~ msgid "Copyright (C) 2004-2005 Red Hat, Inc."
4445 -#~ msgstr "Copyright © 2004-2005 Red Hat, Inc."
4447 -#~ msgid "Connecting to a wired network..."
4448 -#~ msgstr "Connessione ad una rete cablata in corso..."
4450 -#~ msgid "Wireless network connection"
4451 -#~ msgstr "Connessione di rete wireless"
4453 -#~ msgid "Connecting to wireless network '%s'..."
4454 -#~ msgstr "Connessione alla rete wireless \"%s\" in corso..."
4456 -#~ msgid "Other Wireless Networks..."
4457 -#~ msgstr "Altre reti wireless..."
4459 -#~ msgid "Create new Wireless Network..."
4460 -#~ msgstr "Crea nuova rete wireless..."
4466 -#~ msgstr "Informazioni"
4469 -#~ "Enter the ESSID and security settings of the wireless network you wish to "
4472 -#~ "Inserire l'ESSID e le impostazioni di sicurezza della rete wireless che "
4473 -#~ "si desidera creare."
4475 -#~ msgid "Custom wireless network"
4476 -#~ msgstr "Rete wireless personalizzata"
4479 -#~ "Enter the ESSID of the wireless network to which you wish to connect."
4480 -#~ msgstr "Inserire l'ESSID della rete wireless a cui ci si vuole connettere."
4481 +#: ../src/nm-ap-security-wpa-eap.c:96 ../src/nm-ap-security-wpa-eap.c:120
4482 +msgid "WPA2 Enterprise"
4483 +msgstr "WPA2 aziendale"
4485 -#~ msgid "Connect with encryption enabled"
4486 -#~ msgstr "Connessione con cifratura attiva"
4487 +#: ../src/nm-ap-security-wpa-eap.c:98 ../src/nm-ap-security-wpa-eap.c:125
4488 +msgid "WPA Enterprise"
4489 +msgstr "WPA aziendale"
4491 -#~ msgid "Wired Network"
4492 -#~ msgstr "Rete cablata"
4493 +#: ../src/nm-ap-security-leap.c:66 ../src/nm-ap-security-leap.c:82
4496 diff -urN NetworkManager-0.6.5/po/ja.po NetworkManager-SVNr3284/po/ja.po
4497 --- NetworkManager-0.6.5/po/ja.po 2007-04-18 20:13:10.000000000 +0200
4498 +++ NetworkManager-SVNr3284/po/ja.po 2008-02-04 16:01:02.000000000 +0100
4500 # Japanese translation for NetworkManager
4501 # Copyright (C) 2005 Dan Williams <dcbw@redhat.com>
4502 # This file is distributed under the same license as the NetworkManager package.
4503 -# Satoru SATOH <ss@gnome.gr.jp>, 2005.
4504 +# Satoru SATOH <ss@gnome.gr.jp>, 2005 - 2007.
4508 -"Project-Id-Version: NetworkManager 0.3.1\n"
4509 +"Project-Id-Version: NetworkManager NETWORKMANAGER_0_6_0_RELEASE\n"
4510 "Report-Msgid-Bugs-To: \n"
4511 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
4512 -"PO-Revision-Date: 2006-06-16 14:06\n"
4513 -"Last-Translator: Novell Language <language@novell.com>\n"
4514 -"Language-Team: Novell Language <language@novell.com>\n"
4515 +"POT-Creation-Date: 2007-08-27 00:21+0900\n"
4516 +"PO-Revision-Date: 2007-08-26 23:34+0900\n"
4517 +"Last-Translator: Satoru SATOH <ss@gnome.gr.jp>\n"
4518 +"Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
4519 "MIME-Version: 1.0\n"
4520 "Content-Type: text/plain; charset=UTF-8\n"
4521 "Content-Transfer-Encoding: 8bit\n"
4522 "Plural-Forms: nplurals=1; plural=0;\n"
4524 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
4526 -msgid "Passphrase for wireless network %s"
4527 -msgstr "ワイヤレスネットワーク %s のパスフレーズ"
4529 -#: ../gnome/applet/applet-dbus.c:265
4531 -msgid "Connection to the wireless network '%s' failed."
4532 -msgstr "ワイヤレスネットワーク「%s」への接続に失敗しました。 "
4534 -#: ../gnome/applet/applet-dbus.c:270
4535 -msgid "Connection to the wired network failed."
4536 -msgstr "有線ネットワークへの接続に失敗しました。"
4538 -#: ../gnome/applet/applet.c:184
4539 -msgid "Error displaying connection information:"
4540 -msgstr "接続情報の表示エラー:"
4542 -#: ../gnome/applet/applet.c:202
4543 -msgid "Could not find some required resources (the glade file)!"
4544 -msgstr "必要なリソース(グレードファイル)を見つけることができませんでした。"
4546 -#: ../gnome/applet/applet.c:213
4547 -msgid "No active connections!"
4548 -msgstr "有効な接続がありません。"
4550 -#: ../gnome/applet/applet.c:234
4552 -msgid "Wired Ethernet (%s)"
4553 -msgstr "有線イーサネット(%s)"
4555 -#: ../gnome/applet/applet.c:236
4557 -msgid "Wireless Ethernet (%s)"
4558 -msgstr "ワイヤレスイーサネット(%s)"
4560 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
4561 -msgid "NetworkManager Applet"
4562 -msgstr "NetworkManagerアプレット"
4564 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
4565 -msgid "Copyright © 2004-2005 Red Hat, Inc."
4566 -msgstr "Copyright © 2004-2005 Red Hat, Inc."
4568 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
4570 -"Notification area applet for managing your network devices and connections."
4571 -msgstr "ネットワークデバイスと接続を管理する通知領域アプレット。"
4573 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
4574 -msgid "translator-credits"
4576 -"相花 毅 <aihana@gnome.gr.jp>\n"
4577 -"Akira TAGOH <tagoh@gnome.gr.jp>\n"
4578 -"Yukihiro Nakai <nakai@gnome.gr.jp>\n"
4579 -"Takuo KITAME <kitame@debian.org>\n"
4580 -"日本GNOMEユーザー会 http://www.gnome.gr.jp"
4582 -#: ../gnome/applet/applet.c:426
4583 -msgid "VPN Login Failure"
4584 -msgstr "VPNログインの失敗"
4586 -#: ../gnome/applet/applet.c:427
4588 -msgid "Could not start the VPN connection '%s' due to a login failure."
4589 -msgstr "ログインの失敗により、VPN接続「%s」を起動できませんでした。"
4591 -#: ../gnome/applet/applet.c:431
4592 -msgid "VPN Start Failure"
4595 -#: ../gnome/applet/applet.c:432
4598 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
4601 -"VPNプログラムの起動の失敗により、VPN接続「%s」を起動できませんでした。 "
4603 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
4604 -msgid "VPN Connect Failure"
4607 -#: ../gnome/applet/applet.c:437
4609 -msgid "Could not start the VPN connection '%s' due to a connection error."
4610 -msgstr "接続エラーにより、VPN接続「%s」を起動できませんでした。"
4612 -#: ../gnome/applet/applet.c:441
4613 -msgid "VPN Configuration Error"
4616 -#: ../gnome/applet/applet.c:442
4618 -msgid "The VPN connection '%s' was not correctly configured."
4619 -msgstr "VPN接続「%s」は正しく設定されていません。"
4621 -#: ../gnome/applet/applet.c:447
4624 -"Could not start the VPN connection '%s' because the VPN server did not "
4625 -"return an adequate network configuration."
4627 -"VPNサーバーが適切なネットワーク設定を返さなかったため、VPN接続「%s」を起動で"
4630 -#: ../gnome/applet/applet.c:517
4631 -msgid "VPN Login Message"
4632 -msgstr "VPNログインメッセージ "
4634 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
4635 -#: ../gnome/applet/other-network-dialog.c:453
4636 -#: ../gnome/applet/passphrase-dialog.c:228
4638 -"The NetworkManager Applet could not find some required resources (the glade "
4639 -"file was not found)."
4641 -"NetworkManager アプレットはいくつかの必要なリソースglade ファイル)をみつける"
4644 -#: ../gnome/applet/applet.c:753
4646 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
4648 -"ネットワークデバイス「%s (%s)」はワイヤレススキャニングをサポートしません。 "
4650 -#: ../gnome/applet/applet.c:761
4652 -msgid "The network device \"%s (%s)\" does not support link detection."
4653 -msgstr "ネットワークデバイス「%s (%s)」はリンク検索をサポートしません。"
4655 -#: ../gnome/applet/applet.c:908
4657 -msgid "Preparing device %s for the wired network..."
4658 -msgstr "有線ネットワークのデバイス %s を準備中..."
4660 -#: ../gnome/applet/applet.c:910
4662 -msgid "Preparing device %s for the wireless network '%s'..."
4663 -msgstr "ワイヤレスネットワーク「%s」のデバイス %s を準備中..."
4665 -#: ../gnome/applet/applet.c:918
4667 -msgid "Configuring device %s for the wired network..."
4668 -msgstr "有線ネットワークにデバイス %s を設定中..."
4670 -#: ../gnome/applet/applet.c:920
4672 -msgid "Attempting to join the wireless network '%s'..."
4673 -msgstr "ワイヤレスネットワーク「%s」に接続中..."
4675 -#: ../gnome/applet/applet.c:928
4677 -msgid "Waiting for Network Key for the wireless network '%s'..."
4678 -msgstr "ワイヤレスネットワーク「%s」のネットワークキーを待機中...."
4680 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
4681 -msgid "Requesting a network address from the wired network..."
4682 -msgstr "有線ネットワークからネットワークアドレスをリクエスト中..."
4684 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
4686 -msgid "Requesting a network address from the wireless network '%s'..."
4687 -msgstr "ワイヤレスネットワーク「%s」からネットワークアドレスをリクエスト中..."
4689 -#: ../gnome/applet/applet.c:956
4690 -msgid "Finishing connection to the wired network..."
4691 -msgstr "有線ネットワークへの接続完了..."
4693 -#: ../gnome/applet/applet.c:958
4695 -msgid "Finishing connection to the wireless network '%s'..."
4696 -msgstr "ワイヤレスネットワーク「%s」への接続完了..."
4698 -#: ../gnome/applet/applet.c:1075
4699 -msgid "NetworkManager is not running"
4700 -msgstr "NetworkManager は実行されていません"
4702 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
4703 -msgid "Networking disabled"
4704 -msgstr "ネットワークが無効です"
4706 -#: ../gnome/applet/applet.c:1088
4707 -msgid "No network connection"
4708 -msgstr "ネットワーク接続なし"
4710 -#: ../gnome/applet/applet.c:1093
4711 -msgid "Wired network connection"
4712 -msgstr "無線ネットワーク接続"
4714 -#: ../gnome/applet/applet.c:1097
4715 -msgid "Connected to an Ad-Hoc wireless network"
4716 -msgstr "Ad-Hoc 無線ネットワークに接続しました"
4718 -#: ../gnome/applet/applet.c:1099
4720 -msgid "Wireless network connection to '%s' (%d%%)"
4721 -msgstr "「%s」(%d%%)へのワイヤレスネットワーク接続"
4723 -#: ../gnome/applet/applet.c:1120
4725 -msgid "VPN connection to '%s'"
4726 -msgstr "「%s」へのVPN接続"
4728 -#: ../gnome/applet/applet.c:1128
4730 -msgid "VPN connecting to '%s'"
4731 -msgstr "「%s」へのVPN接続"
4733 -#: ../gnome/applet/applet.c:1541
4734 -msgid "_Connect to Other Wireless Network..."
4735 -msgstr "他のワイヤレスネットワークへの接続(_C)..."
4737 -#: ../gnome/applet/applet.c:1562
4738 -msgid "Create _New Wireless Network..."
4739 -msgstr "新しいワイヤレスネットワークを作成(_N)..."
4741 -#: ../gnome/applet/applet.c:1685
4742 -msgid "_VPN Connections"
4745 -#: ../gnome/applet/applet.c:1730
4746 -msgid "_Configure VPN..."
4747 -msgstr "VPNの設定(_C)..."
4749 -#: ../gnome/applet/applet.c:1734
4750 -msgid "_Disconnect VPN..."
4751 -msgstr "VPNの切断(_D)..."
4753 -#: ../gnome/applet/applet.c:1756
4754 -msgid "_Dial Up Connections"
4755 -msgstr "ダイヤルアップ接続(_D)"
4757 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
4758 -#: ../gnome/applet/applet.c:1767
4760 -msgid "Connect to %s..."
4761 -msgstr "%s に接続します..."
4763 -#: ../gnome/applet/applet.c:1773
4765 -msgid "Disconnect from %s..."
4766 -msgstr "%s から接続解除します..."
4768 -#: ../gnome/applet/applet.c:1822
4769 -msgid "No network devices have been found"
4770 -msgstr "ネットワークデバイスがみつかりませんでした"
4772 -#: ../gnome/applet/applet.c:2014
4773 -msgid "NetworkManager is not running..."
4774 -msgstr "NetworkManager は実行されていません..."
4776 -#. 'Enable Networking' item
4777 -#: ../gnome/applet/applet.c:2170
4778 -msgid "Enable _Networking"
4779 -msgstr "ネットワークの有効化(_N)"
4781 -#. 'Enable Wireless' item
4782 -#: ../gnome/applet/applet.c:2176
4783 -msgid "Enable _Wireless"
4784 -msgstr "ワイヤレスの有効化(_W)"
4786 -#. 'Connection Information' item
4787 -#: ../gnome/applet/applet.c:2182
4788 -msgid "Connection _Information"
4792 -#: ../gnome/applet/applet.c:2193
4797 -#: ../gnome/applet/applet.c:2202
4801 -#: ../gnome/applet/applet.c:2667
4803 -"The NetworkManager applet could not find some required resources. It cannot "
4806 -"NetworkManagerアプレットは必要なリソースを見つけることができませんでした。続"
4809 -#: ../gnome/applet/wireless-security-option.c:157
4810 -msgid "Open System"
4813 -#: ../gnome/applet/wireless-security-option.c:160
4817 -#: ../gnome/applet/wireless-security-option.c:208
4818 -msgid "Automatic (Default)"
4821 -#: ../gnome/applet/wireless-security-option.c:215
4825 -#: ../gnome/applet/wireless-security-option.c:223
4829 -#: ../gnome/applet/wireless-security-option.c:231
4830 -msgid "Dynamic WEP"
4833 -#: ../gnome/applet/wso-none.c:53
4837 -#: ../gnome/applet/wso-wep-ascii.c:138
4838 -msgid "WEP 64/128-bit ASCII"
4839 -msgstr "WEP 64/128ビットASCII"
4841 -#: ../gnome/applet/wso-wep-hex.c:135
4842 -msgid "WEP 64/128-bit Hex"
4843 -msgstr "WEP 64/128ビット16進数"
4845 -#: ../gnome/applet/wso-wep-passphrase.c:135
4846 -msgid "WEP 128-bit Passphrase"
4847 -msgstr "WEP 128-ビットパラフレーズ"
4849 -#: ../gnome/applet/wso-wpa-eap.c:237
4853 -#: ../gnome/applet/wso-wpa-eap.c:238
4857 -#: ../gnome/applet/wso-wpa-eap.c:239
4861 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
4862 -#: ../src/nm-ap-security-wpa-eap.c:116
4863 -msgid "WPA2 Enterprise"
4864 -msgstr "WPA Enterprise"
4866 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
4867 -#: ../src/nm-ap-security-wpa-eap.c:121
4868 -msgid "WPA Enterprise"
4869 -msgstr "WPA Enterprise"
4871 -#: ../gnome/applet/wso-wpa-psk.c:178
4872 -msgid "WPA2 Personal"
4873 -msgstr "WPA Personal"
4875 -#: ../gnome/applet/wso-wpa-psk.c:180
4876 -msgid "WPA Personal"
4877 -msgstr "WPA Personal"
4879 -#: ../gnome/applet/eggtrayicon.c:134
4880 -msgid "Orientation"
4883 -#: ../gnome/applet/eggtrayicon.c:135
4884 -msgid "The orientation of the tray."
4887 -#: ../gnome/applet/menu-items.c:88
4889 -msgid "Wired Network (%s)"
4890 -msgstr "無線ネットワーク (%s)"
4892 -#: ../gnome/applet/menu-items.c:91
4893 -msgid "_Wired Network"
4894 -msgstr "有線ネットワーク(_W)"
4896 -#: ../gnome/applet/menu-items.c:162
4898 -msgid "Wireless Network (%s)"
4899 -msgid_plural "Wireless Networks (%s)"
4900 -msgstr[0] "無線ネットワーク (%s)"
4901 -msgstr[1] "無線ネットワーク (%s)"
4903 -#: ../gnome/applet/menu-items.c:164
4904 -msgid "Wireless Network"
4905 -msgid_plural "Wireless Networks"
4906 -msgstr[0] "無線ネットワーク"
4907 -msgstr[1] "無線ネットワーク"
4909 -#: ../gnome/applet/menu-items.c:343
4910 -msgid " (invalid Unicode)"
4911 -msgstr " (不正な Unicode)"
4913 -#: ../gnome/applet/other-network-dialog.c:352
4916 -"By default, the wireless network's name is set to your computer's name, %s, "
4917 -"with no encryption enabled"
4919 -"デフォルトでは、暗号化が無効の状態で、ワイヤレスネットワーク名がコンピュータ"
4922 -#: ../gnome/applet/other-network-dialog.c:358
4923 -msgid "Create new wireless network"
4924 -msgstr "新しい無線ネットワークを作成"
4926 -#: ../gnome/applet/other-network-dialog.c:359
4928 -"Enter the name and security settings of the wireless network you wish to "
4930 -msgstr "作成するワイヤレスネットワークの名前とセキュリティ設定を入力します。"
4932 -#: ../gnome/applet/other-network-dialog.c:363
4933 -msgid "Create New Wireless Network"
4934 -msgstr "新しい無線ネットワークを作成"
4936 -#: ../gnome/applet/other-network-dialog.c:368
4937 -msgid "Existing wireless network"
4938 -msgstr "既存のワイヤレスネットワーク"
4940 -#: ../gnome/applet/other-network-dialog.c:369
4941 -msgid "Enter the name of the wireless network to which you wish to connect."
4942 -msgstr "接続するワイヤレスネットワークの名前を入力します。"
4944 -#: ../gnome/applet/other-network-dialog.c:371
4945 -msgid "Connect to Other Wireless Network"
4946 -msgstr "他のワイヤレスネットワークへの接続"
4948 -#: ../gnome/applet/passphrase-dialog.c:215
4949 -msgid "Error connecting to wireless network"
4950 -msgstr "ワイヤレスネットワークへの接続エラー"
4952 -#: ../gnome/applet/passphrase-dialog.c:216
4954 -"The requested wireless network requires security capabilities unsupported by "
4957 -"リクエストされたワイヤレスネットワークには、ハードウェアでサポートされていな"
4960 -#: ../gnome/applet/vpn-password-dialog.c:151
4961 -#: ../gnome/applet/vpn-password-dialog.c:188
4963 -msgid "Cannot start VPN connection '%s'"
4964 -msgstr "VPN接続「%s」を起動できません"
4966 -#: ../gnome/applet/vpn-password-dialog.c:154
4969 -"Could not find the authentication dialog for VPN connection type '%s'. "
4970 -"Contact your system administrator."
4972 -"VPN接続タイプ「%s」の認証ダイアログを見つけることができませんでした。システム"
4975 -#: ../gnome/applet/vpn-password-dialog.c:191
4978 -"There was a problem launching the authentication dialog for VPN connection "
4979 -"type '%s'. Contact your system administrator."
4981 -"VPN接続タイプ「%s」の認証ダイアログを起動する際に問題が発生しました。システム"
4984 -#: ../gnome/applet/applet.glade.h:1
4988 -#: ../gnome/applet/applet.glade.h:2
4990 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
4991 -msgstr "<span weight=\"bold\" size=\"larger\">有効な接続情報</span>"
4993 -#: ../gnome/applet/applet.glade.h:4
4996 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
4999 -"A passphrase or encryption key is required to access the wireless network '%"
5002 -"<span weight=\"bold\" size=\"larger\">無線ネットワークにはパスフレーズが必要"
5005 -"無線ネットワーク '%s' にアクセスするにはパスフレーズか暗号化鍵が必要です"
5007 -#: ../gnome/applet/applet.glade.h:8
5010 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
5012 -"%s It will not be completely functional."
5014 -"<span weight=\"bold\" size=\"larger\">縮小されたネットワーク機能</span>\n"
5018 -#: ../gnome/applet/applet.glade.h:12
5021 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
5024 -"You have chosen to log in to the wireless network '%s'. If you are sure "
5025 -"that this wireless network is secure, click the checkbox below and "
5026 -"NetworkManager will not require confirmation on subsequent log ins."
5028 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login 確認</span>\n"
5030 -"ワイヤレスネットワーク「%s」にログインするように選択しました。このワイヤレス"
5031 -"ネットワークがセキュアである場合、次のチェックボックスを有効にすると、"
5032 -"NetworkManagerは次回以降のログインで確認を要求しません。"
5034 -#: ../gnome/applet/applet.glade.h:15
5035 -msgid "Anonymous Identity:"
5038 -#: ../gnome/applet/applet.glade.h:16
5039 -msgid "Authentication:"
5042 -#: ../gnome/applet/applet.glade.h:17
5043 -msgid "Broadcast Address:"
5044 -msgstr "ブロードキャストアドレス:"
5046 -#: ../gnome/applet/applet.glade.h:18
5047 -msgid "CA Certificate File:"
5050 -#: ../gnome/applet/applet.glade.h:19
5054 -#: ../gnome/applet/applet.glade.h:20
5055 -msgid "Client Certificate File:"
5056 -msgstr "クライアント認定ファイル:"
5058 -#: ../gnome/applet/applet.glade.h:21
5059 -msgid "Connection Information"
5062 -#: ../gnome/applet/applet.glade.h:22
5063 -msgid "Default Route:"
5066 -#: ../gnome/applet/applet.glade.h:23
5067 -msgid "Destination Address:"
5070 -#: ../gnome/applet/applet.glade.h:24
5074 -#: ../gnome/applet/applet.glade.h:25
5075 -msgid "EAP Method:"
5078 -#: ../gnome/applet/applet.glade.h:26
5079 -msgid "Hardware Address:"
5080 -msgstr "ハードウェアアドレス:"
5082 -#: ../gnome/applet/applet.glade.h:27
5083 -msgid "IP Address:"
5086 -#: ../gnome/applet/applet.glade.h:28
5090 -#: ../gnome/applet/applet.glade.h:29
5094 -#: ../gnome/applet/applet.glade.h:30
5098 -#: ../gnome/applet/applet.glade.h:31
5102 -#: ../gnome/applet/applet.glade.h:32
5105 -"WEP 128-bit Passphrase\n"
5106 -"WEP 64/128-bit Hex\n"
5107 -"WEP 64/128-bit ASCII\n"
5110 -"WEP 128-ビットパスフレーズ\n"
5111 -"WEP 64/128-16ビット\n"
5112 -"WEP 64/128-ビット ASCII\n"
5114 -#: ../gnome/applet/applet.glade.h:37
5122 -#: ../gnome/applet/applet.glade.h:39
5123 -msgid "Other Wireless Network..."
5124 -msgstr "他のワイヤレスネットワーク..."
5126 -#: ../gnome/applet/applet.glade.h:40
5127 -msgid "Passphrase:"
5130 -#: ../gnome/applet/applet.glade.h:41
5134 -#: ../gnome/applet/applet.glade.h:42
5135 -msgid "Primary DNS:"
5138 -#: ../gnome/applet/applet.glade.h:43
5139 -msgid "Private Key File:"
5140 -msgstr "プライベートキーファイル:"
5142 -#: ../gnome/applet/applet.glade.h:44
5143 -msgid "Private Key Password:"
5144 -msgstr "プライベートキーパスワード:"
5146 -#: ../gnome/applet/applet.glade.h:45
5147 -msgid "Secondary DNS:"
5150 -#: ../gnome/applet/applet.glade.h:46
5151 -msgid "Select the CA Certificate File"
5152 -msgstr "Ca証明書ファイルを選択する"
5154 -#: ../gnome/applet/applet.glade.h:47
5155 -msgid "Select the Client Certificate File"
5156 -msgstr "クライアント証明書ファイルを選択する"
5158 -#: ../gnome/applet/applet.glade.h:48
5159 -msgid "Select the Private Key File"
5160 -msgstr "プライベートキーファイルを選択する"
5162 -#: ../gnome/applet/applet.glade.h:49
5166 -#: ../gnome/applet/applet.glade.h:50
5167 -msgid "Show passphrase"
5168 -msgstr "パスフレーズを表示する"
5170 -#: ../gnome/applet/applet.glade.h:51
5171 -msgid "Show password"
5172 -msgstr "パスワードを表示する"
5174 -#: ../gnome/applet/applet.glade.h:52
5175 -msgid "Show passwords"
5176 -msgstr "パスワードを表示する"
5178 -#: ../gnome/applet/applet.glade.h:53
5182 -#: ../gnome/applet/applet.glade.h:54
5183 -msgid "Subnet Mask:"
5186 -#: ../gnome/applet/applet.glade.h:55
5190 -#: ../gnome/applet/applet.glade.h:56
5194 -#: ../gnome/applet/applet.glade.h:57
5195 -msgid "Wireless Network Key Required"
5196 -msgstr "無線ネットワーク鍵が必要です"
5198 -#: ../gnome/applet/applet.glade.h:58
5199 -msgid "Wireless _adapter:"
5200 -msgstr "無線アダプタ(_A):"
5202 -#: ../gnome/applet/applet.glade.h:59
5203 -msgid "_Always Trust this Wireless Network"
5204 -msgstr "このワイヤレスネットワークを常に信頼する(_A)"
5206 -#: ../gnome/applet/applet.glade.h:60
5207 -msgid "_Don't remind me again"
5208 -msgstr "このダイアログを再表示しない(_D)"
5210 -#: ../gnome/applet/applet.glade.h:61
5211 -msgid "_Login to Network"
5212 -msgstr "ネットワークにログイン(_L)"
5214 -#: ../gnome/applet/applet.glade.h:62
5215 -msgid "_Network Name:"
5216 -msgstr "ネットワーク名(_N):"
5218 -#: ../gnome/applet/applet.glade.h:63
5219 -msgid "_Wireless Security:"
5220 -msgstr "ワイヤレスセキュリティ(_W):"
5222 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
5223 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
5224 msgid "Cannot add VPN connection"
5225 -msgstr "VPN接続を追加できません"
5226 +msgstr "VPN 接続を追加できません"
5228 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
5229 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
5231 "No suitable VPN software was found on your system. Contact your system "
5234 -"システムに適切なVPNソフトウェアが見つかりませんでした。システム管理者にご連絡"
5236 +"システムに適切な VPN ソフトウェアがみつかりませんでした。システム管理者にご連"
5239 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
5240 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
5241 msgid "Cannot import VPN connection"
5242 -msgstr "VPN接続をインポートできません"
5243 +msgstr "VPN 接続をインポートできません"
5245 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
5246 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
5249 "Cannot find suitable software for VPN connection type '%s' to import the "
5250 "file '%s'. Contact your system administrator."
5252 -"VPN接続タイプ「%s」がファイル「%s」をインポートするために適切なソフトウェアが"
5253 -"見つかりません。システム管理者にご連絡ください。"
5254 +"VPN 接続タイプ「%s」がファイル「%s」をインポートするために適切なソフトウェア"
5255 +"が見つかりません。システム管理者にご連絡ください。"
5257 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
5258 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
5260 msgid "Error retrieving VPN connection '%s'"
5261 -msgstr "VPN接続「%s」の取得エラー"
5262 +msgstr "VPN 接続「%s」の取得エラー"
5264 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
5265 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
5268 "Could not find the UI files for VPN connection type '%s'. Contact your "
5269 "system administrator."
5271 -"VPN接続タイプ「%s」のUIファイルが見つかりませんでした。システム管理者にご連絡"
5273 +"VPN 接続タイプ「%s」の UI ファイルがみつかりませんでした。システム管理者にご"
5276 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
5277 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
5279 msgid "Delete VPN connection \"%s\"?"
5280 -msgstr "VPN接続「%s」を削除しますか?"
5281 +msgstr "VPN 接続「%s」を削除しますか?"
5283 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
5284 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
5287 "All information about the VPN connection \"%s\" will be lost and you may "
5288 "need your system administrator to provide information to create a new "
5291 -"VPN接続「%s」に関する情報はすべて失われます。システム管理者が新しい接続を作成"
5292 -"するための情報を提供する必要があります。"
5293 +"VPN 接続「%s」に関する情報はすべて失われます。システム管理者が新しい接続を作"
5294 +"成するための情報を提供する必要があります。"
5296 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
5297 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
5298 msgid "Unable to load"
5301 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
5302 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
5303 msgid "Cannot find some needed resources (the glade file)!"
5304 msgstr "必要なリソースが見つかりません(グレードファイル)。"
5307 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
5308 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
5309 msgid "Edit VPN Connection"
5310 -msgstr "VPN接続を編集します"
5311 +msgstr "VPN 接続を編集します"
5313 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:1
5314 msgid "Add a new VPN connection"
5315 -msgstr "新しいVPN接続を追加します"
5316 +msgstr "新しい VPN 接続を追加します"
5318 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:2
5319 msgid "Choose which type of VPN connection you wish to create."
5320 -msgstr "作成するVPN接続のタイプを選択します。"
5321 +msgstr "作成する VPN 接続のタイプを選択します。"
5323 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:3
5325 @@ -795,19 +97,19 @@
5327 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:4
5328 msgid "Create VPN Connection"
5329 -msgstr "VPN接続を作成する"
5330 +msgstr "VPN 接続を作成する"
5332 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:5
5333 msgid "Create VPN Connection - 1 of 2"
5334 -msgstr "VPN接続を作成します - 1/2"
5335 +msgstr "VPN 接続を作成します - 1/2"
5337 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:6
5338 msgid "Create VPN Connection - 2 of 2"
5339 -msgstr "VPN接続を作成します - 2/2"
5340 +msgstr "VPN 接続を作成します - 2/2"
5342 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:7
5343 msgid "Delete the selected VPN connection"
5344 -msgstr "選択したVPN接続を削除します "
5345 +msgstr "選択した VPN 接続を削除します "
5347 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:8
5349 @@ -815,19 +117,19 @@
5351 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:9
5352 msgid "Edit the selected VPN connection"
5353 -msgstr "選択したVPN接続を編集する"
5354 +msgstr "選択した VPN 接続を編集する"
5356 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:10
5357 msgid "Export the VPN settings to a file"
5358 -msgstr "VPN設定をファイルにエクスポートする"
5359 +msgstr "VPN 設定をファイルにエクスポートする"
5361 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:11
5362 msgid "Export the selected VPN connection to a file"
5363 -msgstr "選択したVPN接続をファイルにエクスポートする"
5364 +msgstr "選択した VPN 接続をファイルにエクスポートする"
5366 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:12
5367 msgid "Finish Creating VPN Connection"
5368 -msgstr "VPN接続の作成を完了する"
5369 +msgstr "VPN 接続の作成を完了する"
5371 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:13
5372 msgid "Manage Virtual Private Network Connections"
5373 @@ -841,22 +143,22 @@
5374 "It will require some information, such as IP addresses and secrets. Please "
5375 "see your system administrator to obtain this information."
5377 -"このアシスタントに従って、仮想プライベートネットワーク(VPN)への接続を作成でき"
5379 +"このアシスタントに従って、仮想プライベートネットワーク (VPN) への接続を作成で"
5382 -"IPアドレスなどの情報が必要です。"
5383 +"IP アドレスなどの情報が必要です。"
5385 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:17
5386 msgid "VPN Connections"
5390 #: ../src/nm-ap-security-wep.c:52
5393 +msgstr "40-ビット WEP"
5395 #: ../src/nm-ap-security-wep.c:54
5397 -msgstr "104-ビットWEP"
5398 +msgstr "104-ビット WEP"
5400 #: ../src/nm-ap-security-wpa-psk.c:50
5404 #: ../src/nm-ap-security-wpa-psk.c:54
5405 msgid "WPA Automatic"
5409 #: ../src/nm-ap-security-wpa-psk.c:59
5411 @@ -880,13 +182,13 @@
5413 #: ../src/nm-ap-security-wpa-psk.c:63
5414 msgid "WPA2 Automatic"
5418 -#: ../src/nm-ap-security.c:320
5419 +#: ../src/nm-ap-security.c:338
5423 -#: ../src/nm-netlink-monitor.c:154
5424 +#: ../src/nm-netlink-monitor.c:170
5427 "unable to create netlink socket for monitoring wired ethernet devices - %s"
5429 "有線イーサネットデバイスをモニターするネットリンクソケットを作成できません - "
5432 -#: ../src/nm-netlink-monitor.c:172
5433 +#: ../src/nm-netlink-monitor.c:188
5436 "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
5437 @@ -902,84 +204,39 @@
5438 "有線イーサネットデバイスをモニターするネットリンクソケットをバインドできませ"
5441 -#: ../src/nm-netlink-monitor.c:405
5442 +#: ../src/nm-netlink-monitor.c:426
5444 msgid "operation took too long"
5445 msgstr "操作に時間がかかり過ぎました"
5447 -#: ../src/nm-netlink-monitor.c:502
5448 +#: ../src/nm-netlink-monitor.c:523
5450 msgid "received data from wrong type of sender"
5451 msgstr "不正な送信者からデータを受信しました"
5453 -#: ../src/nm-netlink-monitor.c:515
5454 +#: ../src/nm-netlink-monitor.c:536
5456 msgid "received data from unexpected sender"
5457 msgstr "予期せぬ送信者からデータを受信しました"
5459 -#: ../src/nm-netlink-monitor.c:646
5460 +#: ../src/nm-netlink-monitor.c:665
5462 msgid "too much data was sent over socket and some of it was lost"
5463 msgstr "ソケット上に送信されたデータが多過ぎ、その一部は失われました"
5465 -#: ../src/nm-netlink-monitor.c:735
5466 +#: ../src/nm-netlink-monitor.c:775
5468 msgid "error occurred while waiting for data on socket"
5469 msgstr "ソケット上でデータを待機中にエラーが発生しました"
5471 -#: ../gnome/applet/applet-dbus-devices.c:898
5473 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
5474 -msgstr "Ad-Hocワイヤレスネットワーク「%s」に現在接続されています。"
5475 +#: ../src/nm-ap-security-wpa-eap.c:95 ../src/nm-ap-security-wpa-eap.c:119
5476 +msgid "WPA2 Enterprise"
5477 +msgstr "WPA Enterprise"
5479 -#: ../gnome/applet/applet-dbus-devices.c:903
5481 -msgid "You are now connected to the wireless network '%s'."
5482 -msgstr "ワイヤレスネットワーク「%s」に現在接続されています。"
5484 -#: ../gnome/applet/applet-dbus-devices.c:910
5485 -msgid "You are now connected to the wired network."
5486 -msgstr "有線ネットワークに現在接続されています。"
5488 -#: ../gnome/applet/applet-dbus-devices.c:916
5489 -msgid "Connection Established"
5490 -msgstr "接続が確立されました"
5492 -#: ../gnome/applet/applet-dbus-devices.c:959
5493 -msgid "Disconnected"
5496 -#: ../gnome/applet/applet-dbus-devices.c:960
5497 -msgid "The network connection has been disconnected."
5498 -msgstr "ネットワーク接続が解除されました。"
5500 -#~ msgid "Modify Wireless Networks"
5501 -#~ msgstr "無線ネットワークを変更"
5507 -#~ "128-bit Passphrase (WEP)\n"
5508 -#~ "Ascii Key (WEP)\n"
5511 -#~ "128-bit パスフレーズ (WEP)\n"
5512 -#~ "ASCII 鍵 (WEP)\n"
5515 -#~ msgid "Ascii Key:"
5516 -#~ msgstr "ASCII 鍵:"
5518 -#~ msgid "You must log in to access the private network %s"
5520 -#~ "プライベートネットワーク %s にアクセスするにはログインしなければいけません"
5522 -#~ msgid "Stop automatically running the networking applet?"
5523 -#~ msgstr "ネットワークアップレットの実行を自動的に停止しますか?"
5526 -#~ "The networking applet will now terminate, but will automatically launch "
5527 -#~ "the next time you login. Would you like to stop automatically running "
5528 -#~ "the networking applet on login?"
5530 -#~ "ネットワークアプレットは終了しますが、次にログインする際に自動的に起動しま"
5531 -#~ "す。ログイン時にネットワークアプレットの自動起動を停止しますか?"
5532 +#: ../src/nm-ap-security-wpa-eap.c:97 ../src/nm-ap-security-wpa-eap.c:124
5533 +msgid "WPA Enterprise"
5534 +msgstr "WPA Enterprise"
5538 +#: ../src/nm-ap-security-leap.c:66 ../src/nm-ap-security-leap.c:82
5541 diff -urN NetworkManager-0.6.5/po/nb.po NetworkManager-SVNr3284/po/nb.po
5542 --- NetworkManager-0.6.5/po/nb.po 2007-04-18 20:13:10.000000000 +0200
5543 +++ NetworkManager-SVNr3284/po/nb.po 2008-02-04 16:01:02.000000000 +0100
5546 "Project-Id-Version: NetworkManager 0.1.x\n"
5547 "Report-Msgid-Bugs-To: \n"
5548 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
5549 -"PO-Revision-Date: 2006-03-02 12:59+0100\n"
5550 +"POT-Creation-Date: 2007-06-04 12:37+0200\n"
5551 +"PO-Revision-Date: 2007-06-04 12:38+0200\n"
5552 "Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
5553 "Language-Team: Norwegian Bokmal <i18n-nb@lister.ping.uio.no>\n"
5554 "MIME-Version: 1.0\n"
5555 @@ -17,710 +17,11 @@
5556 "Content-Transfer-Encoding: 8bit\n"
5557 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
5559 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
5561 -msgid "Passphrase for wireless network %s"
5562 -msgstr "Passord for trådløst nettverk %s"
5564 -#: ../gnome/applet/applet-dbus.c:265
5566 -msgid "Connection to the wireless network '%s' failed."
5567 -msgstr "Tilkobling til trådløst nettverk «%s» feilet."
5569 -#: ../gnome/applet/applet-dbus.c:270
5570 -msgid "Connection to the wired network failed."
5571 -msgstr "Tilkobling til trådløst nettverk feilet."
5573 -#: ../gnome/applet/applet.c:184
5574 -msgid "Error displaying connection information:"
5575 -msgstr "Feil under visning av tilkoblingsinformasjon:"
5577 -#: ../gnome/applet/applet.c:202
5578 -msgid "Could not find some required resources (the glade file)!"
5579 -msgstr "Fant ikke nødvendige ressurser (glade-filen)."
5581 -#: ../gnome/applet/applet.c:213
5582 -msgid "No active connections!"
5583 -msgstr "Ingen aktive tilkoblinger!"
5585 -#: ../gnome/applet/applet.c:234
5587 -msgid "Wired Ethernet (%s)"
5588 -msgstr "Kablet nettverk (%s)"
5590 -#: ../gnome/applet/applet.c:236
5592 -msgid "Wireless Ethernet (%s)"
5593 -msgstr "Trådløst nettverk (%s)"
5595 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
5596 -msgid "NetworkManager Applet"
5597 -msgstr "NetworkManager panelprogram"
5599 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
5600 -msgid "Copyright © 2004-2005 Red Hat, Inc."
5601 -msgstr "Opphavsrett © 2004-2005 Red Hat, Inc."
5603 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
5605 -"Notification area applet for managing your network devices and connections."
5606 -msgstr "Et panelprogram for å håndtere nettverksenheter og tilkoblinger."
5608 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
5609 -msgid "translator-credits"
5610 -msgstr "Kjartan Maraas <kmaraas@gnome.org>"
5612 -#: ../gnome/applet/applet.c:426
5613 -msgid "VPN Login Failure"
5614 -msgstr "Feil ved VPN-pålogging"
5616 -#: ../gnome/applet/applet.c:427
5618 -msgid "Could not start the VPN connection '%s' due to a login failure."
5619 -msgstr "Kunne ikke starte VPN-tilkobling «%s» pga en feil ved pålogging."
5621 -#: ../gnome/applet/applet.c:431
5622 -msgid "VPN Start Failure"
5623 -msgstr "Feil ved start av VPN"
5625 -#: ../gnome/applet/applet.c:432
5628 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
5631 -"Kunne ikke starte VPN-tilkobling «%s» på grunn av feil ved oppstart av VPN-"
5634 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
5635 -msgid "VPN Connect Failure"
5636 -msgstr "Feil ved tilkobling av VPN"
5638 -#: ../gnome/applet/applet.c:437
5640 -msgid "Could not start the VPN connection '%s' due to a connection error."
5641 -msgstr "Kunne ikke starte VPN-tilkobling «%s» pga en feil ved tilkobling."
5643 -#: ../gnome/applet/applet.c:441
5644 -msgid "VPN Configuration Error"
5645 -msgstr "Feil i konfigurasjon av VPN"
5647 -#: ../gnome/applet/applet.c:442
5649 -msgid "The VPN connection '%s' was not correctly configured."
5650 -msgstr "VPN-tilkobling «%s» er ikke korrekt konfigurert."
5652 -#: ../gnome/applet/applet.c:447
5655 -"Could not start the VPN connection '%s' because the VPN server did not "
5656 -"return an adequate network configuration."
5658 -"Kunne ikke starte VPN-tilkobling «%s» fordi VPN-tjeneren ikke returnerte "
5659 -"riktig nettverkskonfigurasjon."
5661 -#: ../gnome/applet/applet.c:517
5662 -msgid "VPN Login Message"
5663 -msgstr "Påloggingsmelding for VPN"
5665 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
5666 -#: ../gnome/applet/other-network-dialog.c:453
5667 -#: ../gnome/applet/passphrase-dialog.c:228
5669 -"The NetworkManager Applet could not find some required resources (the glade "
5670 -"file was not found)."
5672 -"NetworkManager fant ikke nødvendige ressurser (glade-filen ble ikke funnet)."
5674 -#: ../gnome/applet/applet.c:753
5676 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
5677 -msgstr "Nettverksenheten «%s (%s)» støtter ikke søk etter trådløse nettverk."
5679 -#: ../gnome/applet/applet.c:761
5681 -msgid "The network device \"%s (%s)\" does not support link detection."
5683 -"Nettverksenheten «%s (%s)» støtter ikke informasjon om tilkoblet status."
5685 -#: ../gnome/applet/applet.c:908
5687 -msgid "Preparing device %s for the wired network..."
5688 -msgstr "Klargjør enhet %s for det trådløse nettverket..."
5690 -#: ../gnome/applet/applet.c:910
5692 -msgid "Preparing device %s for the wireless network '%s'..."
5693 -msgstr "Klargjør enhet %s for trådløst nettverk «%s»..."
5695 -#: ../gnome/applet/applet.c:918
5697 -msgid "Configuring device %s for the wired network..."
5698 -msgstr "Konfigurerer enhet %s for kablet nettverk..."
5700 -#: ../gnome/applet/applet.c:920
5702 -msgid "Attempting to join the wireless network '%s'..."
5703 -msgstr "Forsøker å bruke trådløst nettverk «%s»..."
5705 -#: ../gnome/applet/applet.c:928
5707 -msgid "Waiting for Network Key for the wireless network '%s'..."
5708 -msgstr "Venter på nettverksnøkkel for trådløst nettverk «%s»..."
5710 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
5711 -msgid "Requesting a network address from the wired network..."
5712 -msgstr "Ber om en nettverksadresse fra kablet nettverk..."
5714 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
5716 -msgid "Requesting a network address from the wireless network '%s'..."
5717 -msgstr "Ber om en nettverksadresse fra trådløst nettverk «%s»..."
5719 -#: ../gnome/applet/applet.c:956
5720 -msgid "Finishing connection to the wired network..."
5721 -msgstr "Fullfører tilkobling til kablet nettverk..."
5723 -#: ../gnome/applet/applet.c:958
5725 -msgid "Finishing connection to the wireless network '%s'..."
5726 -msgstr "Fullfører tilkobling til trådløst nettverk «%s»..."
5728 -#: ../gnome/applet/applet.c:1075
5729 -msgid "NetworkManager is not running"
5730 -msgstr "NetworkManager kjører ikke"
5732 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
5733 -msgid "Networking disabled"
5734 -msgstr "Nettverk deaktivert"
5736 -#: ../gnome/applet/applet.c:1088
5737 -msgid "No network connection"
5738 -msgstr "Ingen nettverksforbindelse"
5740 -#: ../gnome/applet/applet.c:1093
5741 -msgid "Wired network connection"
5742 -msgstr "Kablet nettverkforbindelse"
5744 -#: ../gnome/applet/applet.c:1097
5745 -msgid "Connected to an Ad-Hoc wireless network"
5746 -msgstr "Kobler til et Ad-Hoc trådløst nettverk"
5748 -#: ../gnome/applet/applet.c:1099
5750 -msgid "Wireless network connection to '%s' (%d%%)"
5751 -msgstr "Trådløs nettverksforbindelse til «%s» (%d%%)"
5753 -#: ../gnome/applet/applet.c:1120
5755 -msgid "VPN connection to '%s'"
5756 -msgstr "VPN-tilkobling til «%s»"
5758 -#: ../gnome/applet/applet.c:1128
5760 -msgid "VPN connecting to '%s'"
5761 -msgstr "Kobler til «%s» via VPN"
5763 -#: ../gnome/applet/applet.c:1541
5764 -msgid "_Connect to Other Wireless Network..."
5765 -msgstr "_Koble til annet trådløst nettverk..."
5767 -#: ../gnome/applet/applet.c:1562
5768 -msgid "Create _New Wireless Network..."
5769 -msgstr "Opprett _nytt trådløst nettverk..."
5771 -#: ../gnome/applet/applet.c:1685
5772 -msgid "_VPN Connections"
5773 -msgstr "_VPN-tilkoblinger"
5775 -#: ../gnome/applet/applet.c:1730
5776 -msgid "_Configure VPN..."
5777 -msgstr "_Konfigurer VPN..."
5779 -#: ../gnome/applet/applet.c:1734
5780 -msgid "_Disconnect VPN..."
5781 -msgstr "Ko_ble fra VPN..."
5783 -#: ../gnome/applet/applet.c:1756
5784 -msgid "_Dial Up Connections"
5785 -msgstr "_Oppringte tilkoblinger"
5787 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
5788 -#: ../gnome/applet/applet.c:1767
5790 -msgid "Connect to %s..."
5791 -msgstr "Koble til %s..."
5793 -#: ../gnome/applet/applet.c:1773
5795 -msgid "Disconnect from %s..."
5796 -msgstr "Koble fra %s..."
5798 -#: ../gnome/applet/applet.c:1822
5799 -msgid "No network devices have been found"
5800 -msgstr "Ingen nettverksenheter ble funnet"
5802 -#: ../gnome/applet/applet.c:2014
5803 -msgid "NetworkManager is not running..."
5804 -msgstr "NetworkManager kjører ikke..."
5806 -#. 'Enable Networking' item
5807 -#: ../gnome/applet/applet.c:2170
5808 -msgid "Enable _Networking"
5809 -msgstr "_Aktiver nettverk"
5811 -#. 'Enable Wireless' item
5812 -#: ../gnome/applet/applet.c:2176
5813 -msgid "Enable _Wireless"
5814 -msgstr "Aktiver _trådløst nettverk"
5816 -#. 'Connection Information' item
5817 -#: ../gnome/applet/applet.c:2182
5818 -msgid "Connection _Information"
5819 -msgstr "Tilkoblings_informasjon"
5822 -#: ../gnome/applet/applet.c:2193
5827 -#: ../gnome/applet/applet.c:2202
5831 -#: ../gnome/applet/applet.c:2667
5833 -"The NetworkManager applet could not find some required resources. It cannot "
5836 -"Panelprogrammet for NetworkManager fant ikke noen av de nødvendige "
5837 -"ressursene. Det kan ikke fortsette.\n"
5839 -#: ../gnome/applet/wireless-security-option.c:157
5840 -msgid "Open System"
5841 -msgstr "Åpent system"
5843 -#: ../gnome/applet/wireless-security-option.c:160
5845 -msgstr "Delt nøkkel"
5847 -#: ../gnome/applet/wireless-security-option.c:208
5848 -msgid "Automatic (Default)"
5849 -msgstr "Automatisk (forvalgt)"
5851 -#: ../gnome/applet/wireless-security-option.c:215
5855 -#: ../gnome/applet/wireless-security-option.c:223
5859 -#: ../gnome/applet/wireless-security-option.c:231
5860 -msgid "Dynamic WEP"
5861 -msgstr "Dynamisk WEP"
5863 -#: ../gnome/applet/wso-none.c:53
5867 -#: ../gnome/applet/wso-wep-ascii.c:138
5868 -msgid "WEP 64/128-bit ASCII"
5869 -msgstr "WEP 64/128-bit ASCII"
5871 -#: ../gnome/applet/wso-wep-hex.c:135
5872 -msgid "WEP 64/128-bit Hex"
5873 -msgstr "WEP 64/128-bit heksadesimal"
5875 -#: ../gnome/applet/wso-wep-passphrase.c:135
5876 -msgid "WEP 128-bit Passphrase"
5877 -msgstr "WEP 128-bit passord:"
5879 -#: ../gnome/applet/wso-wpa-eap.c:237
5883 -#: ../gnome/applet/wso-wpa-eap.c:238
5887 -#: ../gnome/applet/wso-wpa-eap.c:239
5891 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
5892 -#: ../src/nm-ap-security-wpa-eap.c:116
5893 -msgid "WPA2 Enterprise"
5894 -msgstr "WPA2 enterprise"
5896 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
5897 -#: ../src/nm-ap-security-wpa-eap.c:121
5898 -msgid "WPA Enterprise"
5899 -msgstr "WPA enterprise"
5901 -#: ../gnome/applet/wso-wpa-psk.c:178
5902 -msgid "WPA2 Personal"
5903 -msgstr "WPA2 personlig"
5905 -#: ../gnome/applet/wso-wpa-psk.c:180
5906 -msgid "WPA Personal"
5907 -msgstr "WPA personlig"
5909 -#: ../gnome/applet/eggtrayicon.c:134
5910 -msgid "Orientation"
5911 -msgstr "Orientering"
5913 -#: ../gnome/applet/eggtrayicon.c:135
5914 -msgid "The orientation of the tray."
5915 -msgstr "Orientering for trauet."
5917 -#: ../gnome/applet/menu-items.c:88
5919 -msgid "Wired Network (%s)"
5920 -msgstr "Kablet nettverk (%s)"
5922 -#: ../gnome/applet/menu-items.c:91
5923 -msgid "_Wired Network"
5924 -msgstr "_Kablet nettverk"
5926 -#: ../gnome/applet/menu-items.c:162
5928 -msgid "Wireless Network (%s)"
5929 -msgid_plural "Wireless Networks (%s)"
5930 -msgstr[0] "Trådløst nettverk (%s)"
5931 -msgstr[1] "Trådløse nettverk (%s)"
5933 -#: ../gnome/applet/menu-items.c:164
5934 -msgid "Wireless Network"
5935 -msgid_plural "Wireless Networks"
5936 -msgstr[0] "Trådløst nettverk"
5937 -msgstr[1] "Trådløse nettverk"
5939 -#: ../gnome/applet/menu-items.c:343
5940 -msgid " (invalid Unicode)"
5941 -msgstr " (ugyldig Unicode)"
5943 -#: ../gnome/applet/other-network-dialog.c:352
5946 -"By default, the wireless network's name is set to your computer's name, %s, "
5947 -"with no encryption enabled"
5949 -"Nettverksnavnet er som standard satt til datamaskinens navn, %s, og "
5950 -"kryptering er ikke aktivert."
5952 -#: ../gnome/applet/other-network-dialog.c:358
5953 -msgid "Create new wireless network"
5954 -msgstr "Opprett nytt trådløst nettverk"
5956 -#: ../gnome/applet/other-network-dialog.c:359
5958 -"Enter the name and security settings of the wireless network you wish to "
5961 -"Oppgi navn og sikkerhetsinnstillinger for det trådløse nettverket du ønsker "
5964 -#: ../gnome/applet/other-network-dialog.c:363
5965 -msgid "Create New Wireless Network"
5966 -msgstr "Opprett nytt trådløst nettverk"
5968 -#: ../gnome/applet/other-network-dialog.c:368
5969 -msgid "Existing wireless network"
5970 -msgstr "Eksisterende trådløse nettverk"
5972 -#: ../gnome/applet/other-network-dialog.c:369
5973 -msgid "Enter the name of the wireless network to which you wish to connect."
5974 -msgstr "Oppgi navnet til det trådløse nettverket du ønsker å koble deg til."
5976 -#: ../gnome/applet/other-network-dialog.c:371
5977 -msgid "Connect to Other Wireless Network"
5978 -msgstr "Koble til annet trådløst nettverk"
5980 -#: ../gnome/applet/passphrase-dialog.c:215
5981 -msgid "Error connecting to wireless network"
5982 -msgstr "Feil under tilkobling til trådløst nettverk"
5984 -#: ../gnome/applet/passphrase-dialog.c:216
5986 -"The requested wireless network requires security capabilities unsupported by "
5989 -"Valgt trådløst nettverk krever en type sikkerhet som ikke er støttet av ditt "
5992 -#: ../gnome/applet/vpn-password-dialog.c:151
5993 -#: ../gnome/applet/vpn-password-dialog.c:188
5995 -msgid "Cannot start VPN connection '%s'"
5996 -msgstr "Kan ikke starte VPN-tilkobling «%s»"
5998 -#: ../gnome/applet/vpn-password-dialog.c:154
6001 -"Could not find the authentication dialog for VPN connection type '%s'. "
6002 -"Contact your system administrator."
6004 -"Fant ikke autentiseringsdialogen for VPN tilkoblingstypen «%s». Kontakt din "
6005 -"systemadministrator."
6007 -#: ../gnome/applet/vpn-password-dialog.c:191
6010 -"There was a problem launching the authentication dialog for VPN connection "
6011 -"type '%s'. Contact your system administrator."
6013 -"Det oppstod en feil under oppstart av autentiseringsdialogen for VPN "
6014 -"tilkoblingstypen «%s». Kontakt din systemadministrator."
6016 -#: ../gnome/applet/applet.glade.h:1
6020 -#: ../gnome/applet/applet.glade.h:2
6022 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
6024 -"<span weight=\"bold\" size=\"larger\">Informasjon om aktiv tilkobling</span>"
6026 -#: ../gnome/applet/applet.glade.h:4
6029 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
6032 -"A passphrase or encryption key is required to access the wireless network '%"
6035 -"<span weight=\"bold\" size=\"larger\">Passord kreves for trådløst nettverk</"
6038 -"Ett passord eller en krypteringsnøkkel kreves for å aksessere trådløst "
6041 -#: ../gnome/applet/applet.glade.h:8
6044 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
6046 -"%s It will not be completely functional."
6048 -"<span weight=\"bold\" size=\"larger\">Redusert nettverksfunksjonalitet</"
6051 -"%s Ikke fullstendig funksjonell."
6053 -#: ../gnome/applet/applet.glade.h:12
6056 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
6059 -"You have chosen to log in to the wireless network '%s'. If you are sure "
6060 -"that this wireless network is secure, click the checkbox below and "
6061 -"NetworkManager will not require confirmation on subsequent log ins."
6063 -"<span weight=\"bold\" size=\"larger\">Bekreftelse av pålogging på trådløst "
6064 -"nettverk</span>\n"
6066 -"Du har valgt å logge inn på trådløst nettverk «%s». Hvis du er sikker på at "
6067 -"dette trådløse nettverket er sikkert kan du be NetworkManager om å slutte å "
6068 -"spørre spørsmål når du kobler deg til det ved å krysse av i boksen nedenfor."
6070 -#: ../gnome/applet/applet.glade.h:15
6071 -msgid "Anonymous Identity:"
6072 -msgstr "Anonym identitet:"
6074 -#: ../gnome/applet/applet.glade.h:16
6075 -msgid "Authentication:"
6076 -msgstr "Autentisering:"
6078 -#: ../gnome/applet/applet.glade.h:17
6079 -msgid "Broadcast Address:"
6080 -msgstr "Kringkastingsadresse:"
6082 -#: ../gnome/applet/applet.glade.h:18
6083 -msgid "CA Certificate File:"
6084 -msgstr "Sertifikatfil for CA:"
6086 -#: ../gnome/applet/applet.glade.h:19
6088 -msgstr "K_oble til"
6090 -#: ../gnome/applet/applet.glade.h:20
6091 -msgid "Client Certificate File:"
6092 -msgstr "Sertifikatfil for klient:"
6094 -#: ../gnome/applet/applet.glade.h:21
6095 -msgid "Connection Information"
6096 -msgstr "Tilkoblingsinformasjon"
6098 -#: ../gnome/applet/applet.glade.h:22
6099 -msgid "Default Route:"
6100 -msgstr "Forvalgt rute:"
6102 -#: ../gnome/applet/applet.glade.h:23
6103 -msgid "Destination Address:"
6104 -msgstr "Måladresse:"
6106 -#: ../gnome/applet/applet.glade.h:24
6110 -#: ../gnome/applet/applet.glade.h:25
6111 -msgid "EAP Method:"
6112 -msgstr "EAP-metode:"
6114 -#: ../gnome/applet/applet.glade.h:26
6115 -msgid "Hardware Address:"
6116 -msgstr "Maskinvareadresse:"
6118 -#: ../gnome/applet/applet.glade.h:27
6119 -msgid "IP Address:"
6120 -msgstr "IP adresse:"
6122 -#: ../gnome/applet/applet.glade.h:28
6124 -msgstr "Identitet:"
6126 -#: ../gnome/applet/applet.glade.h:29
6128 -msgstr "Grensesnitt:"
6130 -#: ../gnome/applet/applet.glade.h:30
6132 -msgstr "Nøkkeltype:"
6134 -#: ../gnome/applet/applet.glade.h:31
6138 -#: ../gnome/applet/applet.glade.h:32
6141 -"WEP 128-bit Passphrase\n"
6142 -"WEP 64/128-bit Hex\n"
6143 -"WEP 64/128-bit ASCII\n"
6147 -"WEP 64/128-bit heksadesimal\n"
6148 -"WEP 64/128-bit ASCII\n"
6150 -#: ../gnome/applet/applet.glade.h:37
6158 -#: ../gnome/applet/applet.glade.h:39
6159 -msgid "Other Wireless Network..."
6160 -msgstr "Annet trådløst nettverk..."
6162 -#: ../gnome/applet/applet.glade.h:40
6163 -msgid "Passphrase:"
6166 -#: ../gnome/applet/applet.glade.h:41
6170 -#: ../gnome/applet/applet.glade.h:42
6171 -msgid "Primary DNS:"
6172 -msgstr "Primær DNS:"
6174 -#: ../gnome/applet/applet.glade.h:43
6175 -msgid "Private Key File:"
6176 -msgstr "Privat nøkkelfil:"
6178 -#: ../gnome/applet/applet.glade.h:44
6179 -msgid "Private Key Password:"
6180 -msgstr "Passord for privat nøkkel:"
6182 -#: ../gnome/applet/applet.glade.h:45
6183 -msgid "Secondary DNS:"
6184 -msgstr "Sekundær DNS:"
6186 -#: ../gnome/applet/applet.glade.h:46
6187 -msgid "Select the CA Certificate File"
6188 -msgstr "Velg sertifikatfil for CA"
6190 -#: ../gnome/applet/applet.glade.h:47
6191 -msgid "Select the Client Certificate File"
6192 -msgstr "Velg sertifikatfil for klient"
6194 -#: ../gnome/applet/applet.glade.h:48
6195 -msgid "Select the Private Key File"
6196 -msgstr "Velg fil med privat nøkkel"
6198 -#: ../gnome/applet/applet.glade.h:49
6200 -msgstr "Vis nøkkel"
6202 -#: ../gnome/applet/applet.glade.h:50
6203 -msgid "Show passphrase"
6204 -msgstr "Vis passord"
6206 -#: ../gnome/applet/applet.glade.h:51
6207 -msgid "Show password"
6208 -msgstr "Vis passord"
6210 -#: ../gnome/applet/applet.glade.h:52
6211 -msgid "Show passwords"
6212 -msgstr "Vis passord"
6214 -#: ../gnome/applet/applet.glade.h:53
6216 -msgstr "Hastighet:"
6218 -#: ../gnome/applet/applet.glade.h:54
6219 -msgid "Subnet Mask:"
6220 -msgstr "Subnettmaske:"
6222 -#: ../gnome/applet/applet.glade.h:55
6226 -#: ../gnome/applet/applet.glade.h:56
6228 -msgstr "Brukernavn:"
6230 -#: ../gnome/applet/applet.glade.h:57
6231 -msgid "Wireless Network Key Required"
6232 -msgstr "Nøkkel for trådløst nettverk kreves"
6234 -#: ../gnome/applet/applet.glade.h:58
6235 -msgid "Wireless _adapter:"
6236 -msgstr "Trådløst _kort:"
6238 -#: ../gnome/applet/applet.glade.h:59
6239 -msgid "_Always Trust this Wireless Network"
6240 -msgstr "Stol _alltid på dette trådløse nettverket"
6242 -#: ../gnome/applet/applet.glade.h:60
6243 -msgid "_Don't remind me again"
6244 -msgstr "_Ikke vis påminnelse igjen"
6246 -#: ../gnome/applet/applet.glade.h:61
6247 -msgid "_Login to Network"
6248 -msgstr "_Logg på nettverk"
6250 -#: ../gnome/applet/applet.glade.h:62
6251 -msgid "_Network Name:"
6252 -msgstr "_Nettverksnavn:"
6254 -#: ../gnome/applet/applet.glade.h:63
6255 -msgid "_Wireless Security:"
6256 -msgstr "Tr_ådløs sikkerhet:"
6258 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
6259 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
6260 msgid "Cannot add VPN connection"
6261 msgstr "Kan ikke legge til VPN-tilkobling"
6263 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
6264 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
6266 "No suitable VPN software was found on your system. Contact your system "
6268 @@ -728,11 +29,11 @@
6269 "Ingen passende VPN-programvare ble funnet på systemet. Kontakt din "
6270 "systemadministrator."
6272 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
6273 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
6274 msgid "Cannot import VPN connection"
6275 msgstr "Kan ikke importere VPN-tilkobling"
6277 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
6278 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
6281 "Cannot find suitable software for VPN connection type '%s' to import the "
6282 @@ -741,12 +42,12 @@
6283 "Kan ikke finne passende programvare for VPN-tilkobling av type «%s» for "
6284 "import av fil «%s». Kontakt din sysstemadministrator."
6286 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
6287 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
6289 msgid "Error retrieving VPN connection '%s'"
6290 msgstr "Feil under henting av VPN tilkobling «%s»"
6292 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
6293 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
6296 "Could not find the UI files for VPN connection type '%s'. Contact your "
6297 @@ -755,12 +56,12 @@
6298 "Kunne ikke finne brukergrensesnittfiler for VPN-tilkobling type «%s». "
6299 "Kontakt din systemadministrator."
6301 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
6302 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
6304 msgid "Delete VPN connection \"%s\"?"
6305 msgstr "Slett VPN-tilkobling «%s»?"
6307 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
6308 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
6311 "All information about the VPN connection \"%s\" will be lost and you may "
6312 @@ -770,16 +71,16 @@
6313 "All informasjon om VPN-tilkobling «%s» vil gå tapt og du vil kanskje trenge "
6314 "hjelp fra din systemadministrator for å opprette en ny tilkobling."
6316 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
6317 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
6318 msgid "Unable to load"
6319 msgstr "Kunne ikke laste"
6321 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
6322 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
6323 msgid "Cannot find some needed resources (the glade file)!"
6324 msgstr "Fant ikke nødvendige ressurser (glade-filen)."
6327 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
6328 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
6329 msgid "Edit VPN Connection"
6330 msgstr "Rediger VPN-tilkobling"
6332 @@ -885,11 +186,11 @@
6333 msgid "WPA2 Automatic"
6334 msgstr "WPA2 automatisk"
6336 -#: ../src/nm-ap-security.c:320
6337 +#: ../src/nm-ap-security.c:338
6341 -#: ../src/nm-netlink-monitor.c:154
6342 +#: ../src/nm-netlink-monitor.c:170
6345 "unable to create netlink socket for monitoring wired ethernet devices - %s"
6347 "kan ikke opprette netlink-plugg for overvåking av kablede ethernet-enheter - "
6350 -#: ../src/nm-netlink-monitor.c:172
6351 +#: ../src/nm-netlink-monitor.c:188
6354 "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
6355 @@ -905,83 +206,35 @@
6356 "kan ikke binde til netlink-plugg for overvåking av kablede ethernet-enheter "
6359 -#: ../src/nm-netlink-monitor.c:405
6360 +#: ../src/nm-netlink-monitor.c:426
6361 msgid "operation took too long"
6362 msgstr "operasjonen tok for lang tid"
6364 -#: ../src/nm-netlink-monitor.c:502
6365 +#: ../src/nm-netlink-monitor.c:523
6366 msgid "received data from wrong type of sender"
6367 msgstr "mottok data fra feil type avsender"
6369 -#: ../src/nm-netlink-monitor.c:515
6370 +#: ../src/nm-netlink-monitor.c:536
6371 msgid "received data from unexpected sender"
6372 msgstr "mottok data fra uventet avsender"
6374 -#: ../src/nm-netlink-monitor.c:646
6375 +#: ../src/nm-netlink-monitor.c:665
6376 msgid "too much data was sent over socket and some of it was lost"
6377 msgstr "for mye data ble sendt over pluggen og noe data gikk tapt"
6379 -#: ../src/nm-netlink-monitor.c:735
6380 +#: ../src/nm-netlink-monitor.c:775
6381 msgid "error occurred while waiting for data on socket"
6382 msgstr "det skjedde en feil under venting på data på sokkel"
6384 -#: ../gnome/applet/applet-dbus-devices.c:898
6386 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
6387 -msgstr "Du er nå koblet til Ad-Hoc trådløst nettverk «%s»."
6388 +#: ../src/nm-ap-security-wpa-eap.c:96 ../src/nm-ap-security-wpa-eap.c:120
6389 +msgid "WPA2 Enterprise"
6390 +msgstr "WPA2 enterprise"
6392 -#: ../gnome/applet/applet-dbus-devices.c:903
6394 -msgid "You are now connected to the wireless network '%s'."
6395 -msgstr "Du er nå koblet til trådløst nettverk «%s»."
6396 +#: ../src/nm-ap-security-wpa-eap.c:98 ../src/nm-ap-security-wpa-eap.c:125
6397 +msgid "WPA Enterprise"
6398 +msgstr "WPA enterprise"
6400 -#: ../gnome/applet/applet-dbus-devices.c:910
6401 -msgid "You are now connected to the wired network."
6402 -msgstr "Du er nå koblet til kablet nettverk."
6404 -#: ../gnome/applet/applet-dbus-devices.c:916
6405 -msgid "Connection Established"
6406 -msgstr "Tilkobling etablert"
6408 -#: ../gnome/applet/applet-dbus-devices.c:959
6409 -msgid "Disconnected"
6412 -#: ../gnome/applet/applet-dbus-devices.c:960
6413 -msgid "The network connection has been disconnected."
6414 -msgstr "Nettverksforbindelsen er frakoblet."
6416 -#~ msgid "WEP 40/128-bit ASCII"
6417 -#~ msgstr "WEP 40/128-bit ASCII"
6419 -#~ msgid "WEP 40/128-bit hex"
6420 -#~ msgstr "WEP 40/128-bit heksadesimal"
6422 -#~ msgid "WEP Passphrase"
6423 -#~ msgstr "WEP Passord:"
6427 -#~ "WEP Passphrase\n"
6428 -#~ "WEP 40/128-bit hex\n"
6429 -#~ "WEP 40/128-bit ASCII\n"
6433 -#~ "WEP 40/128-bit heksadesimal\n"
6434 -#~ "WEP 40/128-bit ASCII\n"
6436 -#~ msgid "Stop automatically running the networking applet?"
6437 -#~ msgstr "Stopp automatisk oppstart av nettverkspanelprogrammet?"
6440 -#~ "The networking applet will now terminate, but will automatically launch "
6441 -#~ "the next time you login. Would you like to stop automatically running "
6442 -#~ "the networking applet on login?"
6444 -#~ "Nettverkspanelprogrammet vil nå avslutte, men automatisk starte opp neste "
6445 -#~ "gang du logger inn. Vil du stoppe automatisk oppstart av dette "
6446 -#~ "panelprogrammet?"
6447 +#: ../src/nm-ap-security-leap.c:66 ../src/nm-ap-security-leap.c:82
6452 -#~ msgstr "Fje_rn fra panelet"
6453 diff -urN NetworkManager-0.6.5/po/vi.po NetworkManager-SVNr3284/po/vi.po
6454 --- NetworkManager-0.6.5/po/vi.po 2007-04-18 20:13:10.000000000 +0200
6455 +++ NetworkManager-SVNr3284/po/vi.po 2008-02-04 16:01:02.000000000 +0100
6457 # Vietnamese translation for Network Manager.
6458 -# Copyright © 2006 Gnome i18n Project for Vietnamese.
6459 -# Clytie Siddall <clytie@riverland.net.au>, 2006.
6460 +# Copyright © 2007 Gnome i18n Project for Vietnamese.
6461 +# Clytie Siddall <clytie@riverland.net.au>, 2006-2007.
6465 "Project-Id-Version: NetworkManager HEAD\n"
6466 "Report-Msgid-Bugs-To: \n"
6467 -"POT-Creation-Date: 2006-05-29 18:33+0200\n"
6468 -"PO-Revision-Date: 2006-02-28 17:28+1030\n"
6469 +"POT-Creation-Date: 2007-03-03 03:27+0000\n"
6470 +"PO-Revision-Date: 2007-09-14 22:38+0930\n"
6471 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
6472 "Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
6473 "MIME-Version: 1.0\n"
6474 "Content-Type: text/plain; charset=UTF-8\n"
6475 "Content-Transfer-Encoding: 8bit\n"
6476 -"Plural-Forms: nplurals=1; plural=0\n"
6477 -"X-Generator: LocFactoryEditor 1.6b36\n"
6478 +"Plural-Forms: nplurals=1; plural=0;\n"
6479 +"X-Generator: LocFactoryEditor 1.7b1\n"
6481 -#: ../gnome/applet/applet-compat.c:171 ../gnome/applet/applet-dbus-info.c:919
6483 -msgid "Passphrase for wireless network %s"
6484 -msgstr "Cụm từ mật khẩu cho mạng vô tuyến %s"
6486 -#: ../gnome/applet/applet-dbus.c:265
6488 -msgid "Connection to the wireless network '%s' failed."
6489 -msgstr "Việc kết nối đến mạng vô tuyến « %s » bị lỗi."
6491 -#: ../gnome/applet/applet-dbus.c:270
6492 -msgid "Connection to the wired network failed."
6493 -msgstr "Việc kết nối đến mạng tuyến bị lỗi."
6495 -#: ../gnome/applet/applet.c:184
6496 -msgid "Error displaying connection information:"
6497 -msgstr "Gặp lỗi khi hiển thị thông tin kết nối:"
6499 -#: ../gnome/applet/applet.c:202
6500 -msgid "Could not find some required resources (the glade file)!"
6501 -msgstr "• Không thể tìm thấy một số tài nguyên cần thiết (tập tin glade). •"
6503 -#: ../gnome/applet/applet.c:213
6504 -msgid "No active connections!"
6505 -msgstr "• Không có kết nối hoạt động. •"
6507 -#: ../gnome/applet/applet.c:234
6509 -msgid "Wired Ethernet (%s)"
6510 -msgstr "Ethernet tuyến (%s)"
6512 -#: ../gnome/applet/applet.c:236
6514 -msgid "Wireless Ethernet (%s)"
6515 -msgstr "Ethernet vô tuyến (%s)"
6517 -#: ../gnome/applet/applet.c:337 ../gnome/applet/applet.c:362
6518 -msgid "NetworkManager Applet"
6519 -msgstr "Tiểu dụng Quản lý mạng"
6521 -#: ../gnome/applet/applet.c:339 ../gnome/applet/applet.c:364
6522 -msgid "Copyright © 2004-2005 Red Hat, Inc."
6523 -msgstr "Bản quyền © năm 2004-2005 Red Hat, Inc."
6525 -#: ../gnome/applet/applet.c:340 ../gnome/applet/applet.c:365
6527 -"Notification area applet for managing your network devices and connections."
6529 -"Tiểu dụng vùng thông báo để quản lý các thiết bị và kết nối mạng của bạn."
6531 -#: ../gnome/applet/applet.c:343 ../gnome/applet/applet.c:370
6532 -msgid "translator-credits"
6533 -msgstr "Nhóm Việt hóa Gnome <gnomevi-list@lists.sourceforge.net>"
6535 -#: ../gnome/applet/applet.c:426
6536 -msgid "VPN Login Failure"
6537 -msgstr "Đăng nhập VPN bị lỗi"
6539 -#: ../gnome/applet/applet.c:427
6541 -msgid "Could not start the VPN connection '%s' due to a login failure."
6542 -msgstr "Không thể khởi chạy kết nối VPN « %s » do việc đăng nhập bị lỗi."
6544 -#: ../gnome/applet/applet.c:431
6545 -msgid "VPN Start Failure"
6546 -msgstr "Khởi chạy VPN bị lỗi"
6548 -#: ../gnome/applet/applet.c:432
6551 -"Could not start the VPN connection '%s' due to a failure launching the VPN "
6554 -"Không thể khởi chạy kết nối VPN « %s » do việc khởi chạy chương trình VPN bị "
6557 -#: ../gnome/applet/applet.c:436 ../gnome/applet/applet.c:446
6558 -msgid "VPN Connect Failure"
6559 -msgstr "Kết nối VPN bị lỗi"
6561 -#: ../gnome/applet/applet.c:437
6563 -msgid "Could not start the VPN connection '%s' due to a connection error."
6564 -msgstr "Không thể khởi chạy kết nối VPN « %s » do lỗi kết nối."
6566 -#: ../gnome/applet/applet.c:441
6567 -msgid "VPN Configuration Error"
6568 -msgstr "Lỗi cấu hình VPN"
6570 -#: ../gnome/applet/applet.c:442
6572 -msgid "The VPN connection '%s' was not correctly configured."
6573 -msgstr "Chưa cấu hình đúng sự kết nối VPN « %s »."
6575 -#: ../gnome/applet/applet.c:447
6578 -"Could not start the VPN connection '%s' because the VPN server did not "
6579 -"return an adequate network configuration."
6581 -"Không thể khởi chạy kết nối VPN « %s » vì trình phục vụ VPN chưa trả gởi cấu "
6582 -"hình mạng hợp lệ."
6584 -#: ../gnome/applet/applet.c:517
6585 -msgid "VPN Login Message"
6586 -msgstr "Thông điệp đăng nhập VPN"
6588 -#: ../gnome/applet/applet.c:741 ../gnome/applet/applet.c:2508
6589 -#: ../gnome/applet/other-network-dialog.c:453
6590 -#: ../gnome/applet/passphrase-dialog.c:228
6592 -"The NetworkManager Applet could not find some required resources (the glade "
6593 -"file was not found)."
6595 -"Tiểu dụng Quản lý mạng không thể tìm một số tài nguyên cần thiết (không tìm "
6596 -"thấy tập tin glade)."
6598 -#: ../gnome/applet/applet.c:753
6600 -msgid "The network device \"%s (%s)\" does not support wireless scanning."
6601 -msgstr "Thiết bị mạng « %s (%s) » không hỗ trợ khả năng quét vô tuyến."
6603 -#: ../gnome/applet/applet.c:761
6605 -msgid "The network device \"%s (%s)\" does not support link detection."
6606 -msgstr "Thiết bị mạng « %s (%s) » không hỗ trợ khả năng phát hiện liên kết."
6608 -#: ../gnome/applet/applet.c:908
6610 -msgid "Preparing device %s for the wired network..."
6611 -msgstr "Đang chuẩn bị thiết bị %s cho mạng tuyến..."
6613 -#: ../gnome/applet/applet.c:910
6615 -msgid "Preparing device %s for the wireless network '%s'..."
6616 -msgstr "Đang chuẩn bị thiết bị %s cho mạng vô tuyến « %s »..."
6618 -#: ../gnome/applet/applet.c:918
6620 -msgid "Configuring device %s for the wired network..."
6621 -msgstr "Đang cấu hình thiết bị %s cho mạng tuyến..."
6623 -#: ../gnome/applet/applet.c:920
6625 -msgid "Attempting to join the wireless network '%s'..."
6626 -msgstr "Đang cố tham gia mạng vô tuyến « %s »..."
6628 -#: ../gnome/applet/applet.c:928
6630 -msgid "Waiting for Network Key for the wireless network '%s'..."
6631 -msgstr "Đang đợi Khóa mạng cho mạng vô tuyến « %s »..."
6633 -#: ../gnome/applet/applet.c:936 ../gnome/applet/applet.c:946
6634 -msgid "Requesting a network address from the wired network..."
6635 -msgstr "Đang yêu cầu địa chỉ mạng từ mạng tuyến..."
6637 -#: ../gnome/applet/applet.c:938 ../gnome/applet/applet.c:948
6639 -msgid "Requesting a network address from the wireless network '%s'..."
6640 -msgstr "Đang yêu cầu địa chỉ mạng từ mạng vô tuyến « %s »..."
6642 -#: ../gnome/applet/applet.c:956
6643 -msgid "Finishing connection to the wired network..."
6644 -msgstr "Đang kết nối xong tới mạng tuyến..."
6646 -#: ../gnome/applet/applet.c:958
6648 -msgid "Finishing connection to the wireless network '%s'..."
6649 -msgstr "Đang kết nối xong tới mạng vô tuyến « %s »..."
6651 -#: ../gnome/applet/applet.c:1075
6652 -msgid "NetworkManager is not running"
6653 -msgstr "Trình NetworkManager chưa chạy."
6655 -#: ../gnome/applet/applet.c:1083 ../gnome/applet/applet.c:1828
6656 -msgid "Networking disabled"
6657 -msgstr "Chạy mạng bị tắt"
6659 -#: ../gnome/applet/applet.c:1088
6660 -msgid "No network connection"
6661 -msgstr "Không có kết nối mạng"
6663 -#: ../gnome/applet/applet.c:1093
6664 -msgid "Wired network connection"
6665 -msgstr "Kết nối mạng tuyến"
6667 -#: ../gnome/applet/applet.c:1097
6668 -msgid "Connected to an Ad-Hoc wireless network"
6669 -msgstr "Đã kết nối tới một mạng vô tuyến Như có"
6671 -#: ../gnome/applet/applet.c:1099
6673 -msgid "Wireless network connection to '%s' (%d%%)"
6674 -msgstr "Cách kết nối mạng vô tuyến tới « %s » (%d%%)"
6676 -#: ../gnome/applet/applet.c:1120
6678 -msgid "VPN connection to '%s'"
6679 -msgstr "Cách kết nối VPN tới « %s »"
6681 -#: ../gnome/applet/applet.c:1128
6683 -msgid "VPN connecting to '%s'"
6684 -msgstr "Đang kết nối VPN tới « %s »..."
6686 -#: ../gnome/applet/applet.c:1541
6687 -msgid "_Connect to Other Wireless Network..."
6688 -msgstr "_Kết nối tới mạng Vô tuyến Khác..."
6690 -#: ../gnome/applet/applet.c:1562
6691 -msgid "Create _New Wireless Network..."
6692 -msgstr "Tạo mạng Vô tuyến _Mới..."
6694 -#: ../gnome/applet/applet.c:1685
6695 -msgid "_VPN Connections"
6696 -msgstr "Kết nối _VPN"
6698 -#: ../gnome/applet/applet.c:1730
6699 -msgid "_Configure VPN..."
6700 -msgstr "_Cấu hình VPN..."
6702 -#: ../gnome/applet/applet.c:1734
6703 -msgid "_Disconnect VPN..."
6704 -msgstr "_Ngắt kết nối VPN..."
6706 -#: ../gnome/applet/applet.c:1756
6707 -msgid "_Dial Up Connections"
6708 -msgstr "Kết nối _quay số"
6710 -#. FIXME: We should save and then check the state of the devices and show Connect _or_ Disconnect for each item
6711 -#: ../gnome/applet/applet.c:1767
6713 -msgid "Connect to %s..."
6714 -msgstr "Kết nối đến %s..."
6716 -#: ../gnome/applet/applet.c:1773
6718 -msgid "Disconnect from %s..."
6719 -msgstr "Ngắt kết nối từ %s..."
6721 -#: ../gnome/applet/applet.c:1822
6722 -msgid "No network devices have been found"
6723 -msgstr "Không tìm thấy thiết bị mạng nào"
6725 -#: ../gnome/applet/applet.c:2014
6726 -msgid "NetworkManager is not running..."
6727 -msgstr "Trình NetworkManager chưa chạy..."
6729 -#. 'Enable Networking' item
6730 -#: ../gnome/applet/applet.c:2170
6731 -msgid "Enable _Networking"
6732 -msgstr "Bật chạy _mạng"
6734 -#. 'Enable Wireless' item
6735 -#: ../gnome/applet/applet.c:2176
6736 -msgid "Enable _Wireless"
6737 -msgstr "Bật _Vô tuyến"
6739 -#. 'Connection Information' item
6740 -#: ../gnome/applet/applet.c:2182
6741 -msgid "Connection _Information"
6742 -msgstr "Thông t_in kết nối"
6745 -#: ../gnome/applet/applet.c:2193
6750 -#: ../gnome/applet/applet.c:2202
6752 -msgstr "_Giới thiệu"
6754 -#: ../gnome/applet/applet.c:2667
6756 -"The NetworkManager applet could not find some required resources. It cannot "
6759 -"Tiểu dụng Quản lý mạng không thể tìm một số tài nguyên nên không thể tiếp "
6762 -#: ../gnome/applet/wireless-security-option.c:157
6763 -msgid "Open System"
6764 -msgstr "Hệ thống mở"
6766 -#: ../gnome/applet/wireless-security-option.c:160
6768 -msgstr "Khóa dùng chung"
6770 -#: ../gnome/applet/wireless-security-option.c:208
6771 -msgid "Automatic (Default)"
6772 -msgstr "Tự động (Mặc định)"
6774 -# Name: don't translate / Tên: đừng dịch
6775 -#: ../gnome/applet/wireless-security-option.c:215
6779 -# Literal: don't translate / Nghĩa chữ: đừng dịch
6780 -#: ../gnome/applet/wireless-security-option.c:223
6784 -#: ../gnome/applet/wireless-security-option.c:231
6785 -msgid "Dynamic WEP"
6788 -#: ../gnome/applet/wso-none.c:53
6792 -# Name: don't translate / Tên: đừng dịch
6793 -#: ../gnome/applet/wso-wep-ascii.c:138
6794 -msgid "WEP 64/128-bit ASCII"
6795 -msgstr "WEP 64/128-bit ASCII"
6797 -#: ../gnome/applet/wso-wep-hex.c:135
6798 -msgid "WEP 64/128-bit Hex"
6799 -msgstr "WEP 64/128-bit thập lục"
6801 -#: ../gnome/applet/wso-wep-passphrase.c:135
6802 -msgid "WEP 128-bit Passphrase"
6803 -msgstr "WEP 128-bit cụm từ mật khẩu"
6805 -#: ../gnome/applet/wso-wpa-eap.c:237
6809 -#: ../gnome/applet/wso-wpa-eap.c:238
6813 -#: ../gnome/applet/wso-wpa-eap.c:239
6817 -# Name: don't translate / Tên: đừng dịch
6818 -#: ../gnome/applet/wso-wpa-eap.c:247 ../src/nm-ap-security-wpa-eap.c:92
6819 -#: ../src/nm-ap-security-wpa-eap.c:116
6820 -msgid "WPA2 Enterprise"
6821 -msgstr "WPA2 Enterprise"
6823 -# Name: don't translate / Tên: đừng dịch
6824 -#: ../gnome/applet/wso-wpa-eap.c:249 ../src/nm-ap-security-wpa-eap.c:94
6825 -#: ../src/nm-ap-security-wpa-eap.c:121
6826 -msgid "WPA Enterprise"
6827 -msgstr "WPA Enterprise"
6829 -#: ../gnome/applet/wso-wpa-psk.c:178
6830 -msgid "WPA2 Personal"
6831 -msgstr "WPA2 Cá nhân"
6833 -#: ../gnome/applet/wso-wpa-psk.c:180
6834 -msgid "WPA Personal"
6835 -msgstr "WPA Cá nhân"
6837 -#: ../gnome/applet/eggtrayicon.c:134
6838 -msgid "Orientation"
6841 -#: ../gnome/applet/eggtrayicon.c:135
6842 -msgid "The orientation of the tray."
6843 -msgstr "Hướng khay."
6845 -#: ../gnome/applet/menu-items.c:88
6847 -msgid "Wired Network (%s)"
6848 -msgstr "mạng tuyến (%s)"
6850 -#: ../gnome/applet/menu-items.c:91
6851 -msgid "_Wired Network"
6852 -msgstr "mạng t_uyến"
6854 -#: ../gnome/applet/menu-items.c:162
6856 -msgid "Wireless Network (%s)"
6857 -msgid_plural "Wireless Networks (%s)"
6858 -msgstr[0] "mạng vô tuyến (%s)"
6860 -#: ../gnome/applet/menu-items.c:164
6861 -msgid "Wireless Network"
6862 -msgid_plural "Wireless Networks"
6863 -msgstr[0] "mạng vô tuyến"
6865 -#: ../gnome/applet/menu-items.c:343
6866 -msgid " (invalid Unicode)"
6867 -msgstr " (Unicode không hợp lệ)"
6869 -#: ../gnome/applet/other-network-dialog.c:352
6872 -"By default, the wireless network's name is set to your computer's name, %s, "
6873 -"with no encryption enabled"
6875 -"Mặc định là tên của mạng vô tuyến được đặt thành tên của máy tính bạn, %s, "
6876 -"không có mật mã được bật."
6878 -#: ../gnome/applet/other-network-dialog.c:358
6879 -msgid "Create new wireless network"
6880 -msgstr "Tạo mạng vô tuyến mới"
6882 -#: ../gnome/applet/other-network-dialog.c:359
6884 -"Enter the name and security settings of the wireless network you wish to "
6886 -msgstr "Hãy nhập tên tên và thiết lập bảo mật của mạng vô tuyến bạn muốn thêm."
6888 -#: ../gnome/applet/other-network-dialog.c:363
6889 -msgid "Create New Wireless Network"
6890 -msgstr "Tạo mạng vô tuyến mới"
6892 -#: ../gnome/applet/other-network-dialog.c:368
6893 -msgid "Existing wireless network"
6894 -msgstr "mạng vô tuyến đã có"
6896 -#: ../gnome/applet/other-network-dialog.c:369
6897 -msgid "Enter the name of the wireless network to which you wish to connect."
6898 -msgstr "Hãy gõ tên của mạng vô tuyến đến mà bạn muốn kết nối."
6900 -#: ../gnome/applet/other-network-dialog.c:371
6901 -msgid "Connect to Other Wireless Network"
6902 -msgstr "Kết nối đến mạng Vô tuyến Khác"
6904 -#: ../gnome/applet/passphrase-dialog.c:215
6905 -msgid "Error connecting to wireless network"
6906 -msgstr "Gặp lỗi khi kết nối đến mạng vô tuyến"
6908 -#: ../gnome/applet/passphrase-dialog.c:216
6910 -"The requested wireless network requires security capabilities unsupported by "
6913 -"mạng vô tuyến đã yêu cầu cần thiết khả năng bảo mật không được hỗ trợ bởi "
6914 -"phần cứng của bạn."
6916 -#: ../gnome/applet/vpn-password-dialog.c:151
6917 -#: ../gnome/applet/vpn-password-dialog.c:188
6919 -msgid "Cannot start VPN connection '%s'"
6920 -msgstr "Không thể khởi chạy kết nối VPN tới « %s »"
6922 -#: ../gnome/applet/vpn-password-dialog.c:154
6925 -"Could not find the authentication dialog for VPN connection type '%s'. "
6926 -"Contact your system administrator."
6928 -"Không tìm thấy hộp thoại xác thực cho cách kết nối VPN « %s ». Hãy liên lạc "
6929 -"với quản trị hệ thống."
6931 -#: ../gnome/applet/vpn-password-dialog.c:191
6934 -"There was a problem launching the authentication dialog for VPN connection "
6935 -"type '%s'. Contact your system administrator."
6937 -"Gặp lỗi khi khởi chạy hộp thoại xác thực cho cách kết nối VPN « %s ». Hãy "
6938 -"liên lạc với quản trị hệ thống."
6940 -#: ../gnome/applet/applet.glade.h:1
6944 -#: ../gnome/applet/applet.glade.h:2
6946 -"<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
6948 -"<span weight=\"bold\" size=\"larger\">Thông tin kết nối hoạt động</span>"
6950 -#: ../gnome/applet/applet.glade.h:4
6953 -"<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
6956 -"A passphrase or encryption key is required to access the wireless network '%"
6959 -"<span weight=\"bold\" size=\"larger\">Cụm từ Mật khẩu Cần thiết cho mạng Vô "
6962 -"Cần thiết cụm từ mật khẩu hay khóa mật mã để truy cập mạng vô tuyến « %s »."
6964 -#: ../gnome/applet/applet.glade.h:8
6967 -"<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</span>\n"
6969 -"%s It will not be completely functional."
6971 -"<span weight=\"bold\" size=\"larger\">Chức năng mạng bị giảm</span>\n"
6973 -"%s Nó sẽ không hoạt động hoàn toàn."
6975 -#: ../gnome/applet/applet.glade.h:12
6978 -"<span weight=\"bold\" size=\"larger\">Wireless Network Login Confirmation</"
6981 -"You have chosen to log in to the wireless network '%s'. If you are sure "
6982 -"that this wireless network is secure, click the checkbox below and "
6983 -"NetworkManager will not require confirmation on subsequent log ins."
6985 -"<span weight=\"bold\" size=\"larger\">Xác thực Đăng nhập với mạng Vô tuyến</"
6988 -"Bạn đã chọn đăng nhập với mạng vô tuyến « %s ». Nếu bạn có chắc là mạng này "
6989 -"bảo mật, hãy đánh dấu trong hộp chọn bên dưới, vậy trình Quản lý mạng sẽ "
6990 -"không cần thiết xác thực khi đăng nhập sau."
6992 -#: ../gnome/applet/applet.glade.h:15
6993 -msgid "Anonymous Identity:"
6994 -msgstr "Thực thể vô danh:"
6996 -#: ../gnome/applet/applet.glade.h:16
6997 -msgid "Authentication:"
7000 -#: ../gnome/applet/applet.glade.h:17
7001 -msgid "Broadcast Address:"
7002 -msgstr "Địa chỉ phát thanh:"
7004 -#: ../gnome/applet/applet.glade.h:18
7005 -msgid "CA Certificate File:"
7006 -msgstr "Tập tin chứng nhận của CA:"
7008 -#: ../gnome/applet/applet.glade.h:19
7012 -#: ../gnome/applet/applet.glade.h:20
7013 -msgid "Client Certificate File:"
7014 -msgstr "Tập tin chứng nhận của ứng dụng khách:"
7016 -#: ../gnome/applet/applet.glade.h:21
7017 -msgid "Connection Information"
7018 -msgstr "Thông tin kết nối"
7020 -#: ../gnome/applet/applet.glade.h:22
7021 -msgid "Default Route:"
7022 -msgstr "Tuyến mặc định:"
7024 -#: ../gnome/applet/applet.glade.h:23
7025 -msgid "Destination Address:"
7026 -msgstr "Địa chỉ đích:"
7028 -#: ../gnome/applet/applet.glade.h:24
7030 -msgstr "Trình điều khiển:"
7032 -#: ../gnome/applet/applet.glade.h:25
7033 -msgid "EAP Method:"
7034 -msgstr "Phương pháp EAP:"
7036 -#: ../gnome/applet/applet.glade.h:26
7037 -msgid "Hardware Address:"
7038 -msgstr "Địa chỉ phần cứng:"
7040 -#: ../gnome/applet/applet.glade.h:27
7041 -msgid "IP Address:"
7042 -msgstr "Địa chỉ IP:"
7044 -#: ../gnome/applet/applet.glade.h:28
7048 -#: ../gnome/applet/applet.glade.h:29
7050 -msgstr "Giao diện:"
7052 -#: ../gnome/applet/applet.glade.h:30
7054 -msgstr "Kiểu khoá :"
7056 -#: ../gnome/applet/applet.glade.h:31
7060 -#: ../gnome/applet/applet.glade.h:32
7063 -"WEP 128-bit Passphrase\n"
7064 -"WEP 64/128-bit Hex\n"
7065 -"WEP 64/128-bit ASCII\n"
7068 -"WEP 128-bit cụm từ mật khẩu\n"
7069 -"WEP 64/128-bit thập lục\n"
7070 -"WEP 64/128-bit ASCII\n"
7072 -#: ../gnome/applet/applet.glade.h:37
7080 -#: ../gnome/applet/applet.glade.h:39
7081 -msgid "Other Wireless Network..."
7082 -msgstr "mạng Vô tuyến khác..."
7084 -#: ../gnome/applet/applet.glade.h:40
7085 -msgid "Passphrase:"
7086 -msgstr "Cụm từ mật khẩu :"
7088 -#: ../gnome/applet/applet.glade.h:41
7090 -msgstr "Mật khẩu :"
7092 -#: ../gnome/applet/applet.glade.h:42
7093 -msgid "Primary DNS:"
7094 -msgstr "DNS chính:"
7096 -#: ../gnome/applet/applet.glade.h:43
7097 -msgid "Private Key File:"
7098 -msgstr "Tập tin khoá riêng:"
7100 -#: ../gnome/applet/applet.glade.h:44
7101 -msgid "Private Key Password:"
7102 -msgstr "Mật khẩu khoá riêng:"
7104 -#: ../gnome/applet/applet.glade.h:45
7105 -msgid "Secondary DNS:"
7108 -#: ../gnome/applet/applet.glade.h:46
7109 -msgid "Select the CA Certificate File"
7110 -msgstr "Chọn tập tin chứng nhận của nhà cầm quyền chứng nhận (CA)."
7112 -#: ../gnome/applet/applet.glade.h:47
7113 -msgid "Select the Client Certificate File"
7114 -msgstr "Chọn tập tin chứng nhận của ứng dụng khách."
7116 -#: ../gnome/applet/applet.glade.h:48
7117 -msgid "Select the Private Key File"
7118 -msgstr "Chọn tập tin là khóa riêng."
7120 -#: ../gnome/applet/applet.glade.h:49
7124 -#: ../gnome/applet/applet.glade.h:50
7125 -msgid "Show passphrase"
7126 -msgstr "HIện cụm từ mật khẩu"
7128 -#: ../gnome/applet/applet.glade.h:51
7129 -msgid "Show password"
7130 -msgstr "Hiện mật khẩu"
7132 -#: ../gnome/applet/applet.glade.h:52
7133 -msgid "Show passwords"
7134 -msgstr "Hiện các mật khẩu"
7136 -#: ../gnome/applet/applet.glade.h:53
7140 -#: ../gnome/applet/applet.glade.h:54
7141 -msgid "Subnet Mask:"
7142 -msgstr "Mặt nạ mạng cấp dưới:"
7144 -#: ../gnome/applet/applet.glade.h:55
7148 -#: ../gnome/applet/applet.glade.h:56
7150 -msgstr "Tên người dùng:"
7152 -#: ../gnome/applet/applet.glade.h:57
7153 -msgid "Wireless Network Key Required"
7154 -msgstr "Cần thiết Khóa mạng Vô tuyến:"
7156 -#: ../gnome/applet/applet.glade.h:58
7157 -msgid "Wireless _adapter:"
7158 -msgstr "_Bộ điều hợp vô tuyến"
7160 -#: ../gnome/applet/applet.glade.h:59
7161 -msgid "_Always Trust this Wireless Network"
7162 -msgstr "_Luôn luôn tin cây mạng vô tuyến này"
7164 -#: ../gnome/applet/applet.glade.h:60
7165 -msgid "_Don't remind me again"
7166 -msgstr "_Đừng nhắc nhở tôi lần nữa"
7168 -#: ../gnome/applet/applet.glade.h:61
7169 -msgid "_Login to Network"
7170 -msgstr "_Đăng nhập với mạng"
7172 -#: ../gnome/applet/applet.glade.h:62
7173 -msgid "_Network Name:"
7174 -msgstr "T_ên mạng:"
7176 -#: ../gnome/applet/applet.glade.h:63
7177 -msgid "_Wireless Security:"
7178 -msgstr "_Bảo mật vô tuyến:"
7180 -#: ../gnome/vpn-properties/nm-vpn-properties.c:383
7181 +#: ../gnome/vpn-properties/nm-vpn-properties.c:405
7182 msgid "Cannot add VPN connection"
7183 msgstr "Không thể thêm sự kết nối VPN"
7185 -#: ../gnome/vpn-properties/nm-vpn-properties.c:385
7186 +#: ../gnome/vpn-properties/nm-vpn-properties.c:407
7188 "No suitable VPN software was found on your system. Contact your system "
7191 -"Không tìm thấy phần mềm VPN thích hợp nào trong hệ thống của bạn. Hãy liên "
7192 +"Không tìm thấy phần mềm VPN thích hợp trong hệ thống của bạn. Hãy liên "
7193 "lạc với quản trị hệ thống."
7195 -#: ../gnome/vpn-properties/nm-vpn-properties.c:437
7196 +#: ../gnome/vpn-properties/nm-vpn-properties.c:457
7197 msgid "Cannot import VPN connection"
7198 -msgstr "Không thể nhập sự kết nối VPN"
7199 +msgstr "Không thể nhập khẩu sự kết nối VPN"
7201 -#: ../gnome/vpn-properties/nm-vpn-properties.c:439
7202 +#: ../gnome/vpn-properties/nm-vpn-properties.c:459
7205 "Cannot find suitable software for VPN connection type '%s' to import the "
7206 "file '%s'. Contact your system administrator."
7208 -"Không tìm thấy phần mềm thích hợp cho kiểu kết nối VPN « %s » để nhập tập "
7209 -"tin « %s ». Hãy liên lạc với quản trị hệ thống."
7210 +"Không tìm thấy phần mềm thích hợp cho kết nối VPN kiểu « %s » để nhập khẩu tập tin « %s ». Hãy liên lạc với quản trị hệ thống."
7212 -#: ../gnome/vpn-properties/nm-vpn-properties.c:579
7213 +#: ../gnome/vpn-properties/nm-vpn-properties.c:596
7215 msgid "Error retrieving VPN connection '%s'"
7216 msgstr "Gặp lỗi khi lấy kết nối PN « %s »"
7218 -#: ../gnome/vpn-properties/nm-vpn-properties.c:582
7219 +#: ../gnome/vpn-properties/nm-vpn-properties.c:599
7222 "Could not find the UI files for VPN connection type '%s'. Contact your "
7223 "system administrator."
7225 -"Không tìm thấy những tập tin giao diện người dùng cho kiểu kết nối VPN « %s "
7226 -"». Hãy liên lạc với quản trị hệ thống."
7227 +"Không tìm thấy những tập tin giao diện người dùng cho kết nối VPN kiểu « %s ». Hãy liên lạc với quản trị hệ thống."
7229 -#: ../gnome/vpn-properties/nm-vpn-properties.c:739
7230 +#: ../gnome/vpn-properties/nm-vpn-properties.c:746
7232 msgid "Delete VPN connection \"%s\"?"
7233 -msgstr "Xóa bỏ sự kết nối VPN « %s » không?"
7234 +msgstr "Xóa kết nối VPN « %s » không?"
7236 -#: ../gnome/vpn-properties/nm-vpn-properties.c:742
7237 +#: ../gnome/vpn-properties/nm-vpn-properties.c:749
7240 "All information about the VPN connection \"%s\" will be lost and you may "
7241 "need your system administrator to provide information to create a new "
7244 -"Mọi thông tin về sự kết nối VPN « %s » sẽ bị mất và có lẽ bạn sẽ cần quản "
7245 +"Mọi thông tin về sự kết nối VPN « %s » sẽ bị mất thì bạn có thể cần phải yêu cầu quản "
7246 "trị hệ thống cung cấp thông tin để tạo sự kết nối mới."
7248 -#: ../gnome/vpn-properties/nm-vpn-properties.c:959
7249 +#: ../gnome/vpn-properties/nm-vpn-properties.c:963
7250 msgid "Unable to load"
7251 -msgstr "Không thể tải"
7252 +msgstr "Không thể nạp"
7254 -#: ../gnome/vpn-properties/nm-vpn-properties.c:961
7255 +#: ../gnome/vpn-properties/nm-vpn-properties.c:965
7256 msgid "Cannot find some needed resources (the glade file)!"
7257 -msgstr "• Không tìm thấy một số tài nguyên cần thiết (tải tập tin glade). •"
7258 +msgstr "Không tìm thấy một số tài nguyên cần thiết (tải tập tin glade) !"
7260 +#: ../gnome/vpn-properties/nm-vpn-properties.c:1084
7262 -#: ../gnome/vpn-properties/nm-vpn-properties.c:1071
7263 msgid "Edit VPN Connection"
7264 -msgstr "Sửa đổi sự kết nối VPN"
7265 +msgstr "Sửa kết nối VPN"
7267 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:1
7268 msgid "Add a new VPN connection"
7269 -msgstr "Thêm sự kết nối VPN mới"
7270 +msgstr "Thêm kết nối VPN mới"
7272 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:2
7273 msgid "Choose which type of VPN connection you wish to create."
7274 @@ -796,19 +95,19 @@
7276 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:4
7277 msgid "Create VPN Connection"
7278 -msgstr "Tạo sự kết nối VPN"
7279 +msgstr "Tạo kết nối VPN"
7281 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:5
7282 msgid "Create VPN Connection - 1 of 2"
7283 -msgstr "Tạo sự kết nối VPN — bước 1 trên 2"
7284 +msgstr "Tạo kết nối VPN — bước 1 trên 2"
7286 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:6
7287 msgid "Create VPN Connection - 2 of 2"
7288 -msgstr "Tạo sự kết nối VPN — bước 2 trên 2"
7289 +msgstr "Tạo kết nối VPN — bước 2 trên 2"
7291 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:7
7292 msgid "Delete the selected VPN connection"
7293 -msgstr "Xóa bỏ kết nối VPN đã chọn"
7294 +msgstr "Xoá kết nối VPN đã chọn"
7296 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:8
7298 @@ -816,11 +115,11 @@
7300 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:9
7301 msgid "Edit the selected VPN connection"
7302 -msgstr "Sửa đổi kết nối VPN đã chọn."
7303 +msgstr "Sửa kết nối VPN đã chọn."
7305 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:10
7306 msgid "Export the VPN settings to a file"
7307 -msgstr "Xuất các thiết lập VPN vào tập tin"
7308 +msgstr "Xuất thiết lập VPN vào tập tin"
7310 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:11
7311 msgid "Export the selected VPN connection to a file"
7314 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:13
7315 msgid "Manage Virtual Private Network Connections"
7316 -msgstr "Quản lý các Kết nối mạng Riêng Ảo (VPN)"
7317 +msgstr "Quản lý các Kết nối Mạng Riêng Ảo (VPN)"
7319 #: ../gnome/vpn-properties/nm-vpn-properties.glade.h:14
7322 "It will require some information, such as IP addresses and secrets. Please "
7323 "see your system administrator to obtain this information."
7325 -"Trợ lý này sẽ hướng dẫn bạn qua tiến trình tạo kết nối đến một mạng Riêng Ảo "
7326 +"Trợ lý này sẽ hướng dẫn bạn qua tiến trình tạo kết nối đến một Mạng Riêng Ảo "
7329 "Cần thiết một phần thông tin, như địa chỉ IP và điều bí mật. Hãy hỏi quan "
7330 @@ -890,11 +189,11 @@
7331 msgid "WPA2 Automatic"
7332 msgstr "WPA2 Tự động"
7334 -#: ../src/nm-ap-security.c:320
7335 +#: ../src/nm-ap-security.c:338
7339 -#: ../src/nm-netlink-monitor.c:154
7340 +#: ../src/nm-netlink-monitor.c:170
7343 "unable to create netlink socket for monitoring wired ethernet devices - %s"
7345 "không thể tạo ổ cắm kiểu liên kết mạng, để theo dõi các thiết bị Ethernet "
7348 -#: ../src/nm-netlink-monitor.c:172
7349 +#: ../src/nm-netlink-monitor.c:188
7352 "unable to bind to netlink socket for monitoring wired ethernet devices - %s"
7353 @@ -910,51 +209,566 @@
7354 "không thể đóng kết tới ổ cắm kiểu liên kết mạng, để theo dõi các thiết bị "
7355 "Ethernet tuyến — %s"
7357 -#: ../src/nm-netlink-monitor.c:405
7358 +#: ../src/nm-netlink-monitor.c:426
7359 msgid "operation took too long"
7360 -msgstr "thao tác quá lâu"
7361 +msgstr "thao tác đã chạy quá lâu"
7363 -#: ../src/nm-netlink-monitor.c:502
7364 +#: ../src/nm-netlink-monitor.c:523
7365 msgid "received data from wrong type of sender"
7366 -msgstr "đã nhận dữ liệu từ bộ gởi kiểu không đúng"
7367 +msgstr "đã nhận dữ liệu từ nhà gửi kiểu sai"
7369 -#: ../src/nm-netlink-monitor.c:515
7370 +#: ../src/nm-netlink-monitor.c:536
7371 msgid "received data from unexpected sender"
7372 -msgstr "đã nhận dữ liệu từ bộ gởi bất ngờ"
7373 +msgstr "đã nhận dữ liệu từ nhà gửi bất thường"
7375 -#: ../src/nm-netlink-monitor.c:646
7376 +#: ../src/nm-netlink-monitor.c:665
7377 msgid "too much data was sent over socket and some of it was lost"
7378 -msgstr "quá nhiều dữ liệu đã được gởi qua ổ cắm, và một phần nó bị mất"
7379 +msgstr "quá nhiều dữ liệu đã được gửi qua ổ cắm, thì mất một số dữ liệu"
7381 -#: ../src/nm-netlink-monitor.c:735
7382 +#: ../src/nm-netlink-monitor.c:775
7383 msgid "error occurred while waiting for data on socket"
7384 msgstr "gặp lỗi khi đợi dữ liệu trên ổ cắm"
7386 -#: ../gnome/applet/applet-dbus-devices.c:898
7388 -msgid "You are now connected to the Ad-Hoc wireless network '%s'."
7389 -msgstr "Bây giờ bạn có kết nối hoạt động đến mạng vô tuyến Như có « %s »."
7390 +# Name: don't translate / Tên: đừng dịch
7391 +#: ../src/nm-ap-security-wpa-eap.c:96
7392 +#: ../src/nm-ap-security-wpa-eap.c:120
7393 +msgid "WPA2 Enterprise"
7394 +msgstr "WPA2 Enterprise"
7396 -#: ../gnome/applet/applet-dbus-devices.c:903
7398 -msgid "You are now connected to the wireless network '%s'."
7399 -msgstr "Bây giờ bạn có kết nối hoạt động đến mạng vô tuyến « %s »."
7400 +# Name: don't translate / Tên: đừng dịch
7401 +#: ../src/nm-ap-security-wpa-eap.c:98
7402 +#: ../src/nm-ap-security-wpa-eap.c:125
7403 +msgid "WPA Enterprise"
7404 +msgstr "WPA Enterprise"
7406 +#: ../src/nm-ap-security-leap.c:66
7407 +#: ../src/nm-ap-security-leap.c:82
7411 +#~ msgid "Passphrase for wireless network %s"
7412 +#~ msgstr "Cụm từ mật khẩu cho mạng vô tuyến %s"
7414 +#~ msgid "Connection to the wireless network '%s' failed."
7415 +#~ msgstr "Việc kết nối đến mạng vô tuyến « %s » bị lỗi."
7417 +#~ msgid "Connection to the wired network failed."
7418 +#~ msgstr "Việc kết nối đến mạng tuyến bị lỗi."
7420 +#~ msgid "Error displaying connection information:"
7421 +#~ msgstr "Gặp lỗi khi hiển thị thông tin kết nối:"
7423 +#~ msgid "Could not find some required resources (the glade file)!"
7424 +#~ msgstr "• Không thể tìm thấy một số tài nguyên cần thiết (tập tin glade). •"
7426 +#~ msgid "No active connections!"
7427 +#~ msgstr "• Không có kết nối hoạt động. •"
7429 +#~ msgid "Wired Ethernet (%s)"
7430 +#~ msgstr "Ethernet tuyến (%s)"
7432 +#~ msgid "Wireless Ethernet (%s)"
7433 +#~ msgstr "Ethernet vô tuyến (%s)"
7435 +#~ msgid "NetworkManager Applet"
7436 +#~ msgstr "Tiểu dụng Quản lý mạng"
7438 +#~ msgid "Copyright © 2004-2005 Red Hat, Inc."
7439 +#~ msgstr "Bản quyền © năm 2004-2005 Red Hat, Inc."
7442 +#~ "Notification area applet for managing your network devices and "
7445 +#~ "Tiểu dụng vùng thông báo để quản lý các thiết bị và kết nối mạng của bạn."
7447 +#~ msgid "translator-credits"
7448 +#~ msgstr "Nhóm Việt hóa Gnome <gnomevi-list@lists.sourceforge.net>"
7450 +#~ msgid "VPN Login Failure"
7451 +#~ msgstr "Đăng nhập VPN bị lỗi"
7453 +#~ msgid "Could not start the VPN connection '%s' due to a login failure."
7454 +#~ msgstr "Không thể khởi chạy kết nối VPN « %s » do việc đăng nhập bị lỗi."
7456 +#~ msgid "VPN Start Failure"
7457 +#~ msgstr "Khởi chạy VPN bị lỗi"
7460 +#~ "Could not start the VPN connection '%s' due to a failure launching the "
7463 +#~ "Không thể khởi chạy kết nối VPN « %s » do việc khởi chạy chương trình VPN "
7466 +#~ msgid "VPN Connect Failure"
7467 +#~ msgstr "Kết nối VPN bị lỗi"
7469 +#~ msgid "Could not start the VPN connection '%s' due to a connection error."
7470 +#~ msgstr "Không thể khởi chạy kết nối VPN « %s » do lỗi kết nối."
7472 +#~ msgid "VPN Configuration Error"
7473 +#~ msgstr "Lỗi cấu hình VPN"
7475 +#~ msgid "The VPN connection '%s' was not correctly configured."
7476 +#~ msgstr "Chưa cấu hình đúng sự kết nối VPN « %s »."
7479 +#~ "Could not start the VPN connection '%s' because the VPN server did not "
7480 +#~ "return an adequate network configuration."
7482 +#~ "Không thể khởi chạy kết nối VPN « %s » vì trình phục vụ VPN chưa trả gởi "
7483 +#~ "cấu hình mạng hợp lệ."
7485 +#~ msgid "VPN Login Message"
7486 +#~ msgstr "Thông điệp đăng nhập VPN"
7489 +#~ "The NetworkManager Applet could not find some required resources (the "
7490 +#~ "glade file was not found)."
7492 +#~ "Tiểu dụng Quản lý mạng không thể tìm một số tài nguyên cần thiết (không "
7493 +#~ "tìm thấy tập tin glade)."
7495 +#~ msgid "The network device \"%s (%s)\" does not support wireless scanning."
7496 +#~ msgstr "Thiết bị mạng « %s (%s) » không hỗ trợ khả năng quét vô tuyến."
7498 +#~ msgid "The network device \"%s (%s)\" does not support link detection."
7499 +#~ msgstr "Thiết bị mạng « %s (%s) » không hỗ trợ khả năng phát hiện liên kết."
7501 +#~ msgid "Preparing device %s for the wired network..."
7502 +#~ msgstr "Đang chuẩn bị thiết bị %s cho mạng tuyến..."
7504 +#~ msgid "Preparing device %s for the wireless network '%s'..."
7505 +#~ msgstr "Đang chuẩn bị thiết bị %s cho mạng vô tuyến « %s »..."
7507 +#~ msgid "Configuring device %s for the wired network..."
7508 +#~ msgstr "Đang cấu hình thiết bị %s cho mạng tuyến..."
7510 +#~ msgid "Attempting to join the wireless network '%s'..."
7511 +#~ msgstr "Đang cố tham gia mạng vô tuyến « %s »..."
7513 +#~ msgid "Waiting for Network Key for the wireless network '%s'..."
7514 +#~ msgstr "Đang đợi Khóa mạng cho mạng vô tuyến « %s »..."
7516 +#~ msgid "Requesting a network address from the wired network..."
7517 +#~ msgstr "Đang yêu cầu địa chỉ mạng từ mạng tuyến..."
7519 +#~ msgid "Requesting a network address from the wireless network '%s'..."
7520 +#~ msgstr "Đang yêu cầu địa chỉ mạng từ mạng vô tuyến « %s »..."
7522 +#~ msgid "Finishing connection to the wired network..."
7523 +#~ msgstr "Đang kết nối xong tới mạng tuyến..."
7525 +#~ msgid "Finishing connection to the wireless network '%s'..."
7526 +#~ msgstr "Đang kết nối xong tới mạng vô tuyến « %s »..."
7528 +#~ msgid "NetworkManager is not running"
7529 +#~ msgstr "Trình NetworkManager chưa chạy."
7531 +#~ msgid "Networking disabled"
7532 +#~ msgstr "Chạy mạng bị tắt"
7534 +#~ msgid "No network connection"
7535 +#~ msgstr "Không có kết nối mạng"
7537 +#~ msgid "Wired network connection"
7538 +#~ msgstr "Kết nối mạng tuyến"
7540 +#~ msgid "Connected to an Ad-Hoc wireless network"
7541 +#~ msgstr "Đã kết nối tới một mạng vô tuyến Như có"
7543 +#~ msgid "Wireless network connection to '%s' (%d%%)"
7544 +#~ msgstr "Cách kết nối mạng vô tuyến tới « %s » (%d%%)"
7546 +#~ msgid "VPN connection to '%s'"
7547 +#~ msgstr "Cách kết nối VPN tới « %s »"
7549 +#~ msgid "VPN connecting to '%s'"
7550 +#~ msgstr "Đang kết nối VPN tới « %s »..."
7552 +#~ msgid "_Connect to Other Wireless Network..."
7553 +#~ msgstr "_Kết nối tới mạng Vô tuyến Khác..."
7555 +#~ msgid "Create _New Wireless Network..."
7556 +#~ msgstr "Tạo mạng Vô tuyến _Mới..."
7558 +#~ msgid "_VPN Connections"
7559 +#~ msgstr "Kết nối _VPN"
7561 +#~ msgid "_Configure VPN..."
7562 +#~ msgstr "_Cấu hình VPN..."
7564 +#~ msgid "_Disconnect VPN..."
7565 +#~ msgstr "_Ngắt kết nối VPN..."
7567 +#~ msgid "_Dial Up Connections"
7568 +#~ msgstr "Kết nối _quay số"
7570 +#~ msgid "Connect to %s..."
7571 +#~ msgstr "Kết nối đến %s..."
7573 +#~ msgid "Disconnect from %s..."
7574 +#~ msgstr "Ngắt kết nối từ %s..."
7576 +#~ msgid "No network devices have been found"
7577 +#~ msgstr "Không tìm thấy thiết bị mạng nào"
7579 +#~ msgid "NetworkManager is not running..."
7580 +#~ msgstr "Trình NetworkManager chưa chạy..."
7582 +#~ msgid "Enable _Networking"
7583 +#~ msgstr "Bật chạy _mạng"
7585 +#~ msgid "Enable _Wireless"
7586 +#~ msgstr "Bật _Vô tuyến"
7588 +#~ msgid "Connection _Information"
7589 +#~ msgstr "Thông t_in kết nối"
7592 +#~ msgstr "Trợ _giúp"
7595 +#~ msgstr "_Giới thiệu"
7598 +#~ "The NetworkManager applet could not find some required resources. It "
7599 +#~ "cannot continue.\n"
7601 +#~ "Tiểu dụng Quản lý mạng không thể tìm một số tài nguyên nên không thể tiếp "
7604 +#~ msgid "Open System"
7605 +#~ msgstr "Hệ thống mở"
7607 +#~ msgid "Shared Key"
7608 +#~ msgstr "Khóa dùng chung"
7610 +#~ msgid "Automatic (Default)"
7611 +#~ msgstr "Tự động (Mặc định)"
7613 +# Name: don't translate / Tên: đừng dịch
7614 +#~ msgid "AES-CCMP"
7615 +#~ msgstr "AES-CCMP"
7617 +# Literal: don't translate / Nghĩa chữ: đừng dịch
7621 +#~ msgid "Dynamic WEP"
7622 +#~ msgstr "WEP động"
7625 +#~ msgstr "Không có"
7627 +# Name: don't translate / Tên: đừng dịch
7628 +#~ msgid "WEP 64/128-bit ASCII"
7629 +#~ msgstr "WEP 64/128-bit ASCII"
7631 +#~ msgid "WEP 64/128-bit Hex"
7632 +#~ msgstr "WEP 64/128-bit thập lục"
7634 +#~ msgid "WEP 128-bit Passphrase"
7635 +#~ msgstr "WEP 128-bit cụm từ mật khẩu"
7643 +#~ msgid "WPA2 Personal"
7644 +#~ msgstr "WPA2 Cá nhân"
7646 +#~ msgid "WPA Personal"
7647 +#~ msgstr "WPA Cá nhân"
7649 +#~ msgid "Orientation"
7652 +#~ msgid "The orientation of the tray."
7653 +#~ msgstr "Hướng khay."
7655 +#~ msgid "Wired Network (%s)"
7656 +#~ msgstr "mạng tuyến (%s)"
7658 +#~ msgid "_Wired Network"
7659 +#~ msgstr "mạng t_uyến"
7661 +#~ msgid "Wireless Network (%s)"
7662 +#~ msgid_plural "Wireless Networks (%s)"
7663 +#~ msgstr[0] "mạng vô tuyến (%s)"
7665 +#~ msgid "Wireless Network"
7666 +#~ msgid_plural "Wireless Networks"
7667 +#~ msgstr[0] "mạng vô tuyến"
7669 +#~ msgid " (invalid Unicode)"
7670 +#~ msgstr " (Unicode không hợp lệ)"
7673 +#~ "By default, the wireless network's name is set to your computer's name, %"
7674 +#~ "s, with no encryption enabled"
7676 +#~ "Mặc định là tên của mạng vô tuyến được đặt thành tên của máy tính bạn, %"
7677 +#~ "s, không có mật mã được bật."
7679 +#~ msgid "Create new wireless network"
7680 +#~ msgstr "Tạo mạng vô tuyến mới"
7683 +#~ "Enter the name and security settings of the wireless network you wish to "
7686 +#~ "Hãy nhập tên tên và thiết lập bảo mật của mạng vô tuyến bạn muốn thêm."
7688 +#~ msgid "Create New Wireless Network"
7689 +#~ msgstr "Tạo mạng vô tuyến mới"
7691 +#~ msgid "Existing wireless network"
7692 +#~ msgstr "mạng vô tuyến đã có"
7694 +#~ msgid "Enter the name of the wireless network to which you wish to connect."
7695 +#~ msgstr "Hãy gõ tên của mạng vô tuyến đến mà bạn muốn kết nối."
7697 +#~ msgid "Connect to Other Wireless Network"
7698 +#~ msgstr "Kết nối đến mạng Vô tuyến Khác"
7700 +#~ msgid "Error connecting to wireless network"
7701 +#~ msgstr "Gặp lỗi khi kết nối đến mạng vô tuyến"
7704 +#~ "The requested wireless network requires security capabilities unsupported "
7705 +#~ "by your hardware."
7707 +#~ "mạng vô tuyến đã yêu cầu cần thiết khả năng bảo mật không được hỗ trợ bởi "
7708 +#~ "phần cứng của bạn."
7710 +#~ msgid "Cannot start VPN connection '%s'"
7711 +#~ msgstr "Không thể khởi chạy kết nối VPN tới « %s »"
7714 +#~ "Could not find the authentication dialog for VPN connection type '%s'. "
7715 +#~ "Contact your system administrator."
7717 +#~ "Không tìm thấy hộp thoại xác thực cho cách kết nối VPN « %s ». Hãy liên "
7718 +#~ "lạc với quản trị hệ thống."
7721 +#~ "There was a problem launching the authentication dialog for VPN "
7722 +#~ "connection type '%s'. Contact your system administrator."
7724 +#~ "Gặp lỗi khi khởi chạy hộp thoại xác thực cho cách kết nối VPN « %s ». Hãy "
7725 +#~ "liên lạc với quản trị hệ thống."
7731 +#~ "<span weight=\"bold\" size=\"larger\">Active Connection Information</span>"
7733 +#~ "<span weight=\"bold\" size=\"larger\">Thông tin kết nối hoạt động</span>"
7736 +#~ "<span weight=\"bold\" size=\"larger\">Passphrase Required by Wireless "
7737 +#~ "Network</span>\n"
7739 +#~ "A passphrase or encryption key is required to access the wireless network "
7742 +#~ "<span weight=\"bold\" size=\"larger\">Cụm từ Mật khẩu Cần thiết cho mạng "
7743 +#~ "Vô tuyến</span>\n"
7745 +#~ "Cần thiết cụm từ mật khẩu hay khóa mật mã để truy cập mạng vô tuyến « %s "
7749 +#~ "<span weight=\"bold\" size=\"larger\">Reduced Network Functionality</"
7752 +#~ "%s It will not be completely functional."
7754 +#~ "<span weight=\"bold\" size=\"larger\">Chức năng mạng bị giảm</span>\n"
7756 +#~ "%s Nó sẽ không hoạt động hoàn toàn."
7759 +#~ "<span weight=\"bold\" size=\"larger\">Wireless Network Login "
7760 +#~ "Confirmation</span>\n"
7762 +#~ "You have chosen to log in to the wireless network '%s'. If you are sure "
7763 +#~ "that this wireless network is secure, click the checkbox below and "
7764 +#~ "NetworkManager will not require confirmation on subsequent log ins."
7766 +#~ "<span weight=\"bold\" size=\"larger\">Xác thực Đăng nhập với mạng Vô "
7767 +#~ "tuyến</span>\n"
7769 +#~ "Bạn đã chọn đăng nhập với mạng vô tuyến « %s ». Nếu bạn có chắc là mạng "
7770 +#~ "này bảo mật, hãy đánh dấu trong hộp chọn bên dưới, vậy trình Quản lý mạng "
7771 +#~ "sẽ không cần thiết xác thực khi đăng nhập sau."
7773 +#~ msgid "Anonymous Identity:"
7774 +#~ msgstr "Thực thể vô danh:"
7776 +#~ msgid "Authentication:"
7777 +#~ msgstr "Xác thực:"
7779 +#~ msgid "Broadcast Address:"
7780 +#~ msgstr "Địa chỉ phát thanh:"
7782 +#~ msgid "CA Certificate File:"
7783 +#~ msgstr "Tập tin chứng nhận của CA:"
7785 +#~ msgid "C_onnect"
7786 +#~ msgstr "_Kết nối"
7788 +#~ msgid "Client Certificate File:"
7789 +#~ msgstr "Tập tin chứng nhận của ứng dụng khách:"
7791 +#~ msgid "Connection Information"
7792 +#~ msgstr "Thông tin kết nối"
7794 +#~ msgid "Default Route:"
7795 +#~ msgstr "Tuyến mặc định:"
7797 +#~ msgid "Destination Address:"
7798 +#~ msgstr "Địa chỉ đích:"
7801 +#~ msgstr "Trình điều khiển:"
7803 +#~ msgid "EAP Method:"
7804 +#~ msgstr "Phương pháp EAP:"
7806 +#~ msgid "Hardware Address:"
7807 +#~ msgstr "Địa chỉ phần cứng:"
7809 +#~ msgid "IP Address:"
7810 +#~ msgstr "Địa chỉ IP:"
7812 +#~ msgid "Identity:"
7813 +#~ msgstr "Thực thể:"
7815 +#~ msgid "Interface:"
7816 +#~ msgstr "Giao diện:"
7818 +#~ msgid "Key Type:"
7819 +#~ msgstr "Kiểu khoá :"
7826 +#~ "WEP 128-bit Passphrase\n"
7827 +#~ "WEP 64/128-bit Hex\n"
7828 +#~ "WEP 64/128-bit ASCII\n"
7831 +#~ "WEP 128-bit cụm từ mật khẩu\n"
7832 +#~ "WEP 64/128-bit thập lục\n"
7833 +#~ "WEP 64/128-bit ASCII\n"
7840 +#~ "Khóa dùng chung"
7842 +#~ msgid "Other Wireless Network..."
7843 +#~ msgstr "mạng Vô tuyến khác..."
7845 +#~ msgid "Passphrase:"
7846 +#~ msgstr "Cụm từ mật khẩu :"
7848 +#~ msgid "Password:"
7849 +#~ msgstr "Mật khẩu :"
7851 +#~ msgid "Primary DNS:"
7852 +#~ msgstr "DNS chính:"
7854 +#~ msgid "Private Key File:"
7855 +#~ msgstr "Tập tin khoá riêng:"
7857 +#~ msgid "Private Key Password:"
7858 +#~ msgstr "Mật khẩu khoá riêng:"
7860 +#~ msgid "Secondary DNS:"
7861 +#~ msgstr "DNS phụ :"
7863 +#~ msgid "Select the CA Certificate File"
7864 +#~ msgstr "Chọn tập tin chứng nhận của nhà cầm quyền chứng nhận (CA)."
7866 +#~ msgid "Select the Client Certificate File"
7867 +#~ msgstr "Chọn tập tin chứng nhận của ứng dụng khách."
7869 +#~ msgid "Select the Private Key File"
7870 +#~ msgstr "Chọn tập tin là khóa riêng."
7872 +#~ msgid "Show key"
7873 +#~ msgstr "Hiện khoá"
7875 +#~ msgid "Show passphrase"
7876 +#~ msgstr "HIện cụm từ mật khẩu"
7878 +#~ msgid "Show password"
7879 +#~ msgstr "Hiện mật khẩu"
7881 +#~ msgid "Show passwords"
7882 +#~ msgstr "Hiện các mật khẩu"
7885 +#~ msgstr "Tốc độ :"
7887 +#~ msgid "Subnet Mask:"
7888 +#~ msgstr "Mặt nạ mạng cấp dưới:"
7893 +#~ msgid "User Name:"
7894 +#~ msgstr "Tên người dùng:"
7896 +#~ msgid "Wireless Network Key Required"
7897 +#~ msgstr "Cần thiết Khóa mạng Vô tuyến:"
7899 +#~ msgid "Wireless _adapter:"
7900 +#~ msgstr "_Bộ điều hợp vô tuyến"
7902 +#~ msgid "_Always Trust this Wireless Network"
7903 +#~ msgstr "_Luôn luôn tin cây mạng vô tuyến này"
7905 +#~ msgid "_Don't remind me again"
7906 +#~ msgstr "_Đừng nhắc nhở tôi lần nữa"
7908 +#~ msgid "_Login to Network"
7909 +#~ msgstr "_Đăng nhập với mạng"
7911 +#~ msgid "_Network Name:"
7912 +#~ msgstr "T_ên mạng:"
7914 +#~ msgid "_Wireless Security:"
7915 +#~ msgstr "_Bảo mật vô tuyến:"
7917 +#~ msgid "You are now connected to the Ad-Hoc wireless network '%s'."
7918 +#~ msgstr "Bây giờ bạn có kết nối hoạt động đến mạng vô tuyến Như có « %s »."
7920 +#~ msgid "You are now connected to the wireless network '%s'."
7921 +#~ msgstr "Bây giờ bạn có kết nối hoạt động đến mạng vô tuyến « %s »."
7923 +#~ msgid "You are now connected to the wired network."
7924 +#~ msgstr "Bây giờ bạn có kết nối hoạt động đến mạng tuyến."
7926 +#~ msgid "Connection Established"
7927 +#~ msgstr "Kết nối đã được thiết lập"
7929 +#~ msgid "Disconnected"
7930 +#~ msgstr "Bị ngắt kết nối"
7932 -#: ../gnome/applet/applet-dbus-devices.c:910
7933 -msgid "You are now connected to the wired network."
7934 -msgstr "Bây giờ bạn có kết nối hoạt động đến mạng tuyến."
7936 -#: ../gnome/applet/applet-dbus-devices.c:916
7937 -msgid "Connection Established"
7938 -msgstr "Kết nối đã được thiết lập"
7940 -#: ../gnome/applet/applet-dbus-devices.c:959
7941 -msgid "Disconnected"
7942 -msgstr "Bị ngắt kết nối"
7944 -#: ../gnome/applet/applet-dbus-devices.c:960
7945 -msgid "The network connection has been disconnected."
7946 -msgstr "Kết nối mạng đã bị ngắt."
7947 +#~ msgid "The network connection has been disconnected."
7948 +#~ msgstr "Kết nối mạng đã bị ngắt."
7950 # Name: don't translate / Tên: đừng dịch
7951 #~ msgid "WEP 40/128-bit ASCII"
7952 diff -urN NetworkManager-0.6.5/README NetworkManager-SVNr3284/README
7953 --- NetworkManager-0.6.5/README 2007-04-18 20:13:10.000000000 +0200
7954 +++ NetworkManager-SVNr3284/README 2008-02-04 16:01:02.000000000 +0100
7956 For wireless networking support, NetworkManager keeps a list of wireless
7957 networks, the preferred list. Preferred Networks are wireless networks that
7958 the user has explicitly made NetworkManager associate with at some previous
7959 -time. So if the user walks into a Starbucks and explicitly asks NetworkManager to associate with that Starbucks network, NetworkManager will remember the
7960 +time. So if the user walks into a Starbucks and explicitly asks NetworkManager
7961 +to associate with that Starbucks network, NetworkManager will remember the
7962 Starbucks network information from that point on. Upon returning to that
7963 Starbucks, NetworkManager will attempt to associate _automatically_ with the
7964 Starbucks network since it is now in the Preferred Networks list. The point of
7965 diff -urN NetworkManager-0.6.5/src/dhcp-manager/nm-dhcp-manager.c NetworkManager-SVNr3284/src/dhcp-manager/nm-dhcp-manager.c
7966 --- NetworkManager-0.6.5/src/dhcp-manager/nm-dhcp-manager.c 2007-04-18 20:13:04.000000000 +0200
7967 +++ NetworkManager-SVNr3284/src/dhcp-manager/nm-dhcp-manager.c 2008-02-04 16:00:00.000000000 +0100
7969 guint32 * ip4_nis_servers = NULL;
7970 struct in_addr temp_addr;
7971 nm_completion_args args;
7973 + guint32 * dhcp_mtus = NULL;
7975 g_return_val_if_fail (manager != NULL, NULL);
7976 g_return_val_if_fail (req != NULL, NULL);
7977 @@ -580,10 +582,19 @@
7981 - * Grab the MTU from the backend. If DHCP servers can send recommended MTU's,
7982 - * should set that here if the backend returns zero.
7983 + * MTU from the system backend is preferred; otherwise the DHCP-provided
7986 - nm_ip4_config_set_mtu (ip4_config, nm_system_get_mtu (dev));
7987 + mtu = nm_system_get_mtu (dev);
7989 + if (get_ip4_uint32s (manager, dev, "interface_mtu", &dhcp_mtus, &count, TRUE)) {
7991 + mtu = dhcp_mtus[0];
7996 + nm_ip4_config_set_mtu (ip4_config, mtu);
8000 diff -urN NetworkManager-0.6.5/src/Makefile.am NetworkManager-SVNr3284/src/Makefile.am
8001 --- NetworkManager-0.6.5/src/Makefile.am 2007-04-18 20:13:06.000000000 +0200
8002 +++ NetworkManager-SVNr3284/src/Makefile.am 2008-02-04 16:00:13.000000000 +0100
8004 nm-ap-security-wpa-psk.h \
8005 nm-ap-security-leap.c \
8006 nm-ap-security-leap.h \
8009 + nm-wired-network.c \
8010 + nm-wired-network.h \
8014 diff -urN NetworkManager-0.6.5/src/named-manager/nm-named-manager.c NetworkManager-SVNr3284/src/named-manager/nm-named-manager.c
8015 --- NetworkManager-0.6.5/src/named-manager/nm-named-manager.c 2007-04-18 20:13:05.000000000 +0200
8016 +++ NetworkManager-SVNr3284/src/named-manager/nm-named-manager.c 2008-02-04 16:00:05.000000000 +0100
8018 const char * tmp_resolv_conf = RESOLV_CONF ".tmp";
8019 char * searches = NULL;
8021 + NMIP4Config *ns_config = config;
8023 /* If no config, we don't have anything to update, so exit silently */
8025 @@ -367,21 +368,35 @@
8026 if ((f = fopen (tmp_resolv_conf, "w")) == NULL)
8029 - if (fprintf (f, "%s","# generated by NetworkManager, do not edit!\n\n") < 0)
8030 + if (fprintf (f, "### BEGIN INFO\n#\n") < 0)
8032 + if (fprintf (f, "# Modified_by: NetworkManager\n") < 0)
8034 + if (fprintf (f, "# Process: /usr/bin/NetworkManager\n") < 0)
8036 + if (fprintf (f, "# Process_id: %d\n", getpid ()) < 0)
8038 + if (fprintf (f, "#\n### END INFO\n\n") < 0)
8041 - searches = compute_searches (mgr, config);
8042 + /* If the ip4 config is a secondary config and has no nameservers, use the
8043 + * nameservers from the primary config.
8045 + if ( nm_ip4_config_get_secondary (config)
8046 + && !nm_ip4_config_get_num_nameservers (config)) {
8047 + ns_config = mgr->priv->configs->data;
8049 + g_return_val_if_fail (ns_config != NULL, FALSE);
8051 - if (mgr->priv->use_named == TRUE)
8053 + searches = compute_searches (mgr, ns_config);
8055 + if (mgr->priv->use_named == TRUE) {
8056 /* Using caching-nameserver & local DNS */
8057 if (fprintf (f, "%s%s%s", "; Use a local caching nameserver controlled by NetworkManager\n\n", searches, "\nnameserver 127.0.0.1\n") < 0)
8063 /* Using glibc resolver */
8064 - char *nameservers = compute_nameservers (mgr, config);
8065 + char *nameservers = compute_nameservers (mgr, ns_config);
8067 fprintf (f, "%s\n\n", searches);
8070 add_ip4_config_to_named (NMNamedManager *mgr, NMIP4Config *config)
8073 + NMIP4Config *ns_config = config;
8074 int i, num_nameservers;
8075 DBusMessage * message;
8076 DBusMessage * reply;
8077 @@ -455,10 +471,18 @@
8079 dbus_message_append_args (message, DBUS_TYPE_STRING, &domain, DBUS_TYPE_INVALID);
8081 - num_nameservers = nm_ip4_config_get_num_nameservers (config);
8082 - for (i = 0; i < num_nameservers; i++)
8084 - dbus_uint32_t server = nm_ip4_config_get_nameserver (config, i);
8085 + /* If the ip4 config is a secondary config and has no nameservers, use the
8086 + * nameservers from the primary config.
8088 + if ( nm_ip4_config_get_secondary (config)
8089 + && !nm_ip4_config_get_num_nameservers (config)) {
8090 + ns_config = mgr->priv->configs->data;
8092 + g_return_val_if_fail (ns_config != NULL, FALSE);
8094 + num_nameservers = nm_ip4_config_get_num_nameservers (ns_config);
8095 + for (i = 0; i < num_nameservers; i++) {
8096 + dbus_uint32_t server = nm_ip4_config_get_nameserver (ns_config, i);
8097 dbus_uint16_t port = htons (53); /* default DNS port */
8098 char fwd_policy = dflt ? 1 : 2; /* 'first' : 'only' */
8100 diff -urN NetworkManager-0.6.5/src/NetworkManagerAPList.c NetworkManager-SVNr3284/src/NetworkManagerAPList.c
8101 --- NetworkManager-0.6.5/src/NetworkManagerAPList.c 2007-04-18 20:13:06.000000000 +0200
8102 +++ NetworkManager-SVNr3284/src/NetworkManagerAPList.c 2008-02-04 16:00:13.000000000 +0100
8103 @@ -463,32 +463,33 @@
8104 const char * merge_essid = nm_ap_get_essid (merge_ap);
8105 const GTimeVal *merge_ap_seen = nm_ap_get_last_seen (merge_ap);
8107 - /* Did the AP's name change? */
8108 - if (!devlist_essid || !merge_essid || nm_null_safe_strcmp (devlist_essid, merge_essid))
8110 - nm_dbus_signal_wireless_network_change (app_data->dbus_connection,
8111 - dev, list_ap, NETWORK_STATUS_DISAPPEARED, -1);
8113 + /* All attributes should be updated when merging a non-hidden SSID,
8114 + * but prefer most attributes of existing non-hidden SSIDs when the
8115 + * merge AP is hidden.
8117 + if (merge_essid) {
8118 + /* Did the AP's name change? */
8119 + if (!devlist_essid || nm_null_safe_strcmp (devlist_essid, merge_essid)) {
8120 + nm_dbus_signal_wireless_network_change (app_data->dbus_connection,
8121 + dev, list_ap, NETWORK_STATUS_DISAPPEARED, -1);
8125 + nm_ap_set_capabilities (list_ap, nm_ap_get_capabilities (merge_ap));
8126 + nm_ap_set_broadcast (list_ap, nm_ap_get_broadcast (merge_ap));
8127 + nm_ap_set_essid (list_ap, merge_essid);
8130 - nm_ap_set_capabilities (list_ap, nm_ap_get_capabilities (merge_ap));
8131 - if (nm_ap_get_strength (merge_ap) != nm_ap_get_strength (list_ap))
8133 + if (nm_ap_get_strength (merge_ap) != nm_ap_get_strength (list_ap)) {
8134 nm_ap_set_strength (list_ap, nm_ap_get_strength (merge_ap));
8135 strength_changed = TRUE;
8137 nm_ap_set_last_seen (list_ap, merge_ap_seen);
8138 - nm_ap_set_broadcast (list_ap, nm_ap_get_broadcast (merge_ap));
8140 /* If the AP is noticed in a scan, it's automatically no longer
8141 * artificial, since it clearly exists somewhere.
8143 nm_ap_set_artificial (list_ap, FALSE);
8145 - /* Have to change AP's name _after_ dbus signal for old network name
8148 - nm_ap_set_essid (list_ap, merge_essid);
8150 else if ((list_ap = nm_ap_list_get_ap_by_essid (list, nm_ap_get_essid (merge_ap))))
8152 diff -urN NetworkManager-0.6.5/src/NetworkManager.c NetworkManager-SVNr3284/src/NetworkManager.c
8153 --- NetworkManager-0.6.5/src/NetworkManager.c 2007-04-18 20:13:06.000000000 +0200
8154 +++ NetworkManager-SVNr3284/src/NetworkManager.c 2008-02-04 16:00:13.000000000 +0100
8157 static NMData *nm_data = NULL;
8159 +char *ks_err_message = NULL;
8161 static gboolean sigterm_pipe_handler (GIOChannel *src, GIOCondition condition, gpointer data);
8162 static void nm_data_free (NMData *data);
8163 +static gboolean nm_poll_killswitches(gpointer user_data);
8166 * nm_get_device_interface_from_hal
8167 @@ -274,6 +277,204 @@
8171 +static void handle_killswitch_pcall_done (NMData *data, DBusPendingCall * pcall)
8174 + gboolean now_enabled = FALSE;
8175 + gboolean now_disabled = FALSE;
8177 + data->ks_pcall_list = g_slist_remove (data->ks_pcall_list, pcall);
8178 + if (g_slist_length (data->ks_pcall_list) > 0)
8179 + return; /* not done with all killswitches yet */
8181 + if (data->hw_rf_enabled != data->tmp_hw_rf_enabled) {
8182 + nm_info ("Wireless now %s by radio killswitch",
8183 + data->tmp_hw_rf_enabled ? "enabled" : "disabled");
8184 + if (data->tmp_hw_rf_enabled)
8185 + now_enabled = TRUE;
8187 + now_disabled = TRUE;
8189 + data->hw_rf_enabled = data->tmp_hw_rf_enabled;
8192 + if (data->hw_rf_enabled == data->wireless_enabled)
8195 + /* Only re-enabled wireless if killswitch just changed, otherwise
8196 + * ignore hardware rf enabled state.
8198 + if (now_enabled && !data->wireless_enabled) {
8199 + data->wireless_enabled = TRUE;
8200 + nm_policy_schedule_device_change_check (data);
8201 + nm_dbus_signal_wireless_enabled (data);
8202 + } else if (!data->hw_rf_enabled && data->wireless_enabled) {
8205 + /* Deactivate all wireless devices and force them down so they
8206 + * turn off their radios.
8208 + nm_lock_mutex (data->dev_list_mutex, __FUNCTION__);
8209 + for (elt = data->dev_list; elt; elt = g_slist_next (elt)) {
8210 + NMDevice * dev = (NMDevice *) elt->data;
8211 + if (nm_device_is_802_11_wireless (dev)) {
8212 + nm_device_deactivate (dev);
8213 + nm_device_bring_down (dev);
8216 + nm_unlock_mutex (data->dev_list_mutex, __FUNCTION__);
8218 + data->wireless_enabled = FALSE;
8219 + nm_policy_schedule_device_change_check (data);
8220 + nm_dbus_signal_wireless_enabled (data);
8224 + /* Schedule another killswitch poll */
8225 + source = g_timeout_source_new (6000);
8226 + g_source_set_callback (source, nm_poll_killswitches, data, NULL);
8227 + g_source_attach (source, data->main_context);
8228 + g_source_unref (source);
8231 +static void nm_killswitch_getpower_reply_cb (DBusPendingCall *pcall, NMData * data)
8234 + DBusMessage * reply = NULL;
8235 + gint32 int_status = 1;
8236 + guint32 uint_status = 1;
8238 + g_return_if_fail (pcall != NULL);
8239 + g_return_if_fail (data != NULL);
8241 + if (!dbus_pending_call_get_completed (pcall))
8244 + if (!(reply = dbus_pending_call_steal_reply (pcall)))
8247 + if (message_is_error (reply)) {
8248 + dbus_error_init (&err);
8249 + dbus_set_error_from_message (&err, reply);
8250 + if (!ks_err_message || strcmp (ks_err_message, err.message)) {
8251 + nm_info ("Error getting killswitch power: %s - %s", err.name, err.message);
8252 + g_free (ks_err_message);
8253 + ks_err_message = g_strdup (err.message);
8255 + dbus_error_free (&err);
8259 + /* Handle both HAL <= 0.5.9 which uses UINT and HAL >= 0.5.10 which
8262 + dbus_error_init (&err);
8263 + if (!dbus_message_get_args (reply, &err, DBUS_TYPE_UINT32, &uint_status, DBUS_TYPE_INVALID)) {
8264 + dbus_error_free (&err);
8266 + dbus_error_init (&err);
8267 + if (!dbus_message_get_args (reply, &err, DBUS_TYPE_INT32, &int_status, DBUS_TYPE_INVALID)) {
8268 + if (!ks_err_message || strcmp (ks_err_message, err.message)) {
8269 + nm_info ("Error getting killswitch power arguments: %s - %s", err.name, err.message);
8270 + g_free (ks_err_message);
8271 + ks_err_message = g_strdup (err.message);
8273 + dbus_error_free (&err);
8276 + if (int_status == 0)
8277 + data->tmp_hw_rf_enabled = FALSE;
8280 + if (uint_status == 0)
8281 + data->tmp_hw_rf_enabled = FALSE;
8286 + dbus_message_unref (reply);
8288 + handle_killswitch_pcall_done (data, pcall);
8289 + dbus_pending_call_unref (pcall);
8293 +static gboolean nm_poll_killswitches (gpointer user_data)
8295 + NMData * data = (NMData *) user_data;
8296 + DBusConnection * connection = data->dbus_connection;
8299 + g_return_val_if_fail (data != NULL, FALSE);
8301 + data->tmp_hw_rf_enabled = TRUE;
8303 + for (elt = data->killswitch_list; elt; elt = g_slist_next (elt))
8305 + DBusPendingCall * pcall;
8306 + DBusMessage * message;
8308 + message = dbus_message_new_method_call ("org.freedesktop.Hal",
8310 + "org.freedesktop.Hal.Device.KillSwitch",
8312 + if (!dbus_connection_send_with_reply (connection, message, &pcall, 5000)) {
8313 + nm_warning ("%s(): could not send dbus message", __func__);
8314 + } else if (!pcall) {
8315 + nm_warning ("%s(): could not send dbus message; pcall was NULL", __func__);
8317 + dbus_pending_call_set_notify (pcall,
8318 + (DBusPendingCallNotifyFunction) nm_killswitch_getpower_reply_cb,
8321 + data->ks_pcall_list = g_slist_append (data->ks_pcall_list, pcall);
8323 + dbus_message_unref (message);
8330 + * nm_add_killswitch_device
8332 + * Adds a killswitch device to the list
8335 +static void nm_add_killswitch_device (NMData * data, const char * udi)
8340 + type = libhal_device_get_property_string (data->hal_ctx, udi, "killswitch.type", NULL);
8344 + if (strcmp (type, "wlan") != 0)
8347 + /* see if it's already in the list */
8348 + for (elt = data->killswitch_list; elt; elt = g_slist_next (elt)) {
8349 + const char * list_udi = (const char *) elt->data;
8350 + if (strcmp (list_udi, udi) == 0)
8354 + /* Start polling switches if this is the first switch we've found */
8355 + if (g_slist_length (data->killswitch_list) == 0) {
8356 + GSource * source = g_idle_source_new ();
8357 + g_source_set_callback (source, nm_poll_killswitches, data, NULL);
8358 + g_source_attach (source, data->main_context);
8359 + g_source_unref (source);
8362 + data->killswitch_list = g_slist_append (data->killswitch_list, g_strdup (udi));
8363 + nm_info ("Found radio killswitch %s", udi);
8366 + libhal_free_string (type);
8370 * nm_hal_device_new_capability
8372 @@ -283,10 +484,9 @@
8373 NMData *data = (NMData *)libhal_ctx_get_user_data (ctx);
8375 g_return_if_fail (data != NULL);
8376 + g_return_if_fail (capability != NULL);
8378 - /*nm_debug ("nm_hal_device_new_capability() called with udi = %s, capability = %s", udi, capability );*/
8380 - if (capability && ((strcmp (capability, "net.80203") == 0) || (strcmp (capability, "net.80211") == 0)))
8381 + if (((strcmp (capability, "net.80203") == 0) || (strcmp (capability, "net.80211") == 0)))
8385 @@ -296,6 +496,10 @@
8389 + else if (strcmp (capability, "killswitch") == 0)
8391 + nm_add_killswitch_device (data, udi);
8396 @@ -340,6 +544,30 @@
8397 libhal_free_string_array (net_devices);
8400 +void nm_add_initial_killswitch_devices (NMData * data)
8406 + g_return_if_fail (data != NULL);
8408 + dbus_error_init (&error);
8409 + udis = libhal_find_device_by_capability (data->hal_ctx, "killswitch", &num_udis, &error);
8413 + if (dbus_error_is_set (&error)) {
8414 + nm_warning("Could not find killswitch devices: %s", error.message);
8415 + dbus_error_free (&error);
8419 + for (i = 0; i < num_udis; i++)
8420 + nm_add_killswitch_device (data, udis[i]);
8421 + libhal_free_string_array (udis);
8426 * nm_state_change_signal_broadcast
8429 nm_hal_deinit (data);
8431 + if (data->dbus_connection)
8432 + dbus_connection_unref (data->dbus_connection);
8434 memset (data, 0, sizeof (NMData));
8438 nm_hal_mainloop_integration (ctx, data->dbus_connection);
8439 libhal_ctx_set_dbus_connection (ctx, data->dbus_connection);
8440 dbus_error_init (&error);
8441 - if(!libhal_ctx_init (ctx, &error))
8442 + if (!libhal_ctx_init (ctx, &error))
8444 nm_error ("libhal_ctx_init() failed: %s\n"
8445 "Make sure the hal daemon is running?",
8446 @@ -616,28 +847,39 @@
8447 g_return_if_fail (data != NULL);
8449 if ((data->hal_ctx = nm_get_hal_ctx (data)))
8451 + nm_add_initial_killswitch_devices (data);
8452 nm_add_initial_devices (data);
8455 + /* If there weren't any killswitches, mark hardware RF to on */
8456 + if (g_slist_length (data->killswitch_list) == 0)
8457 + data->hw_rf_enabled = TRUE;
8461 void nm_hal_deinit (NMData *data)
8465 g_return_if_fail (data != NULL);
8467 - if (data->hal_ctx)
8470 + if (!data->hal_ctx)
8473 - dbus_error_init (&error);
8474 - libhal_ctx_shutdown (data->hal_ctx, &error);
8475 - if (dbus_error_is_set (&error))
8477 - nm_warning ("libhal shutdown failed - %s", error.message);
8478 - dbus_error_free (&error);
8480 - libhal_ctx_free (data->hal_ctx);
8481 - data->hal_ctx = NULL;
8482 + g_slist_foreach (data->killswitch_list, (GFunc) g_free, NULL);
8483 + g_slist_free (data->killswitch_list);
8484 + data->killswitch_list = NULL;
8486 + dbus_error_init (&error);
8487 + libhal_ctx_shutdown (data->hal_ctx, &error);
8488 + if (dbus_error_is_set (&error))
8490 + nm_warning ("libhal shutdown failed - %s", error.message);
8491 + dbus_error_free (&error);
8493 + libhal_ctx_free (data->hal_ctx);
8494 + data->hal_ctx = NULL;
8498 diff -urN NetworkManager-0.6.5/src/NetworkManagerDbus.c NetworkManager-SVNr3284/src/NetworkManagerDbus.c
8499 --- NetworkManager-0.6.5/src/NetworkManagerDbus.c 2007-04-18 20:13:06.000000000 +0200
8500 +++ NetworkManager-SVNr3284/src/NetworkManagerDbus.c 2008-02-04 16:00:13.000000000 +0100
8505 - NMAccessPoint * ap;
8507 DeviceStatus status;
8508 } NMStatusChangeData;
8510 @@ -232,11 +232,9 @@
8513 /* If the device was wireless, attach the name of the wireless network that failed to activate */
8515 + if (cb_data->essid)
8517 - const char *essid = nm_ap_get_essid (cb_data->ap);
8519 - dbus_message_append_args (message, DBUS_TYPE_OBJECT_PATH, &dev_path, DBUS_TYPE_STRING, &essid, DBUS_TYPE_INVALID);
8520 + dbus_message_append_args (message, DBUS_TYPE_OBJECT_PATH, &dev_path, DBUS_TYPE_STRING, &cb_data->essid, DBUS_TYPE_INVALID);
8523 dbus_message_append_args (message, DBUS_TYPE_OBJECT_PATH, &dev_path, DBUS_TYPE_INVALID);
8526 dbus_message_unref (message);
8529 - nm_ap_unref (cb_data->ap);
8530 + g_free (cb_data->essid);
8533 g_object_unref (G_OBJECT (cb_data->dev));
8538 -void nm_dbus_schedule_device_status_change_signal (NMData *data, NMDevice *dev, NMAccessPoint *ap, DeviceStatus status)
8539 +void nm_dbus_schedule_device_status_change_signal (NMData *data, NMDevice *dev, const char *essid, DeviceStatus status)
8541 NMStatusChangeData *cb_data = NULL;
8543 @@ -271,11 +268,9 @@
8544 g_object_ref (G_OBJECT (dev));
8545 cb_data->data = data;
8553 + cb_data->essid = g_strdup (essid);
8555 cb_data->status = status;
8557 source = g_idle_source_new ();
8558 @@ -434,6 +429,29 @@
8562 +void nm_dbus_signal_wireless_enabled (NMData * data)
8564 + DBusMessage * message;
8566 + g_return_if_fail (data != NULL);
8567 + g_return_if_fail (data->dbus_connection != NULL);
8569 + if (!(message = dbus_message_new_signal (NM_DBUS_PATH, NM_DBUS_INTERFACE, "WirelessEnabled")))
8571 + nm_warning ("%s(): Not enough memory for new dbus message!", __func__);
8575 + dbus_message_append_args (message,
8576 + DBUS_TYPE_BOOLEAN, &data->wireless_enabled,
8577 + DBUS_TYPE_BOOLEAN, &data->hw_rf_enabled,
8578 + DBUS_TYPE_INVALID);
8579 + if (!dbus_connection_send (data->dbus_connection, message, NULL))
8580 + nm_warning ("%s(): Could not emit the WirelessEnabled signal!", __func__);
8582 + dbus_message_unref (message);
8586 * nm_dbus_signal_filter
8590 else if (dbus_message_is_signal (message, NMI_DBUS_INTERFACE, "UserInterfaceActivated"))
8592 - nm_device_802_11_wireless_set_scan_interval (data, NULL, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
8593 + nm_device_802_11_wireless_ui_activated (data, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
8597 diff -urN NetworkManager-0.6.5/src/NetworkManagerDbus.h NetworkManager-SVNr3284/src/NetworkManagerDbus.h
8598 --- NetworkManager-0.6.5/src/NetworkManagerDbus.h 2007-04-18 20:13:06.000000000 +0200
8599 +++ NetworkManager-SVNr3284/src/NetworkManagerDbus.h 2008-02-04 16:00:13.000000000 +0100
8601 char * nm_dbus_get_object_path_for_device (NMDevice *dev);
8602 char * nm_dbus_get_object_path_for_network (NMDevice *dev, NMAccessPoint *ap);
8604 -void nm_dbus_schedule_device_status_change_signal (NMData *data, NMDevice *dev, NMAccessPoint *ap, DeviceStatus status);
8605 +void nm_dbus_schedule_device_status_change_signal (NMData *data, NMDevice *dev, const char *essid, DeviceStatus status);
8607 void nm_dbus_signal_state_change (DBusConnection *connection, NMData *data);
8609 void nm_dbus_signal_wireless_network_change (DBusConnection *connection, NMDevice80211Wireless *dev, NMAccessPoint *ap, NMNetworkStatus status, gint strength);
8610 void nm_dbus_signal_device_strength_change (DBusConnection *connection, NMDevice80211Wireless *dev, gint strength);
8611 +void nm_dbus_signal_wireless_enabled (NMData * data);
8613 NMDevice * nm_dbus_get_device_from_escaped_object_path (NMData *data, const char *path);
8615 diff -urN NetworkManager-0.6.5/src/NetworkManagerMain.h NetworkManager-SVNr3284/src/NetworkManagerMain.h
8616 --- NetworkManager-0.6.5/src/NetworkManagerMain.h 2007-04-18 20:13:06.000000000 +0200
8617 +++ NetworkManager-SVNr3284/src/NetworkManagerMain.h 2008-02-04 16:00:13.000000000 +0100
8620 GMutex * dev_list_mutex;
8622 + gboolean hw_rf_enabled;
8623 gboolean wireless_enabled;
8624 gboolean modem_active;
8627 GSList * dialup_list;
8628 GMutex * dialup_list_mutex;
8630 + GSList * killswitch_list;
8631 + GSList * ks_pcall_list; /* track killswitch D-Bus pending calls */
8632 + gboolean tmp_hw_rf_enabled;
8634 struct NMAccessPointList *allowed_ap_list;
8635 struct NMAccessPointList *invalid_ap_list;
8637 diff -urN NetworkManager-0.6.5/src/NetworkManagerPolicy.c NetworkManager-SVNr3284/src/NetworkManagerPolicy.c
8638 --- NetworkManager-0.6.5/src/NetworkManagerPolicy.c 2007-04-18 20:13:06.000000000 +0200
8639 +++ NetworkManager-SVNr3284/src/NetworkManagerPolicy.c 2008-02-04 16:00:13.000000000 +0100
8642 NMDevice *dev = NULL;
8643 NMData *data = NULL;
8644 - NMAccessPoint * ap = NULL;
8645 + NMActRequest * dev_req;
8646 + const char *network_id = NULL;
8648 g_return_val_if_fail (req != NULL, FALSE);
8651 dev = nm_act_request_get_dev (req);
8654 - if (nm_device_is_802_11_wireless (dev))
8655 - ap = nm_act_request_get_ap (req);
8656 + /* Ensure that inactive devices don't get the activated signal
8657 + * sent due to race conditions.
8659 + dev_req = nm_device_get_act_request (dev);
8660 + if (!dev_req || (dev_req != req))
8663 + if (NM_IS_DEVICE_802_11_WIRELESS (dev))
8664 + network_id = nm_ap_get_essid (nm_act_request_get_ap (req));
8665 + else if (NM_IS_DEVICE_802_3_ETHERNET (dev)) {
8666 + NMWiredNetwork *wired_net = nm_act_request_get_wired_network (req);
8668 + network_id = nm_wired_network_get_network_id (wired_net);
8671 nm_device_activation_success_handler (dev, req);
8673 nm_act_request_unref (req);
8674 nm_info ("Activation (%s) successful, device activated.", nm_device_get_iface (dev));
8675 - nm_dbus_schedule_device_status_change_signal (data, dev, ap, DEVICE_NOW_ACTIVE);
8676 + nm_dbus_schedule_device_status_change_signal (data, dev, network_id, DEVICE_NOW_ACTIVE);
8677 nm_schedule_state_change_signal_broadcast (data);
8682 NMDevice * dev = NULL;
8683 NMData * data = NULL;
8684 - NMAccessPoint *ap = NULL;
8685 + const char *network_id = NULL;
8687 g_return_val_if_fail (req != NULL, FALSE);
8689 @@ -127,11 +140,16 @@
8691 nm_device_activation_failure_handler (dev, req);
8693 - if (nm_device_is_802_11_wireless (dev))
8694 - ap = nm_act_request_get_ap (req);
8695 + if (NM_IS_DEVICE_802_11_WIRELESS (dev))
8696 + network_id = nm_ap_get_essid (nm_act_request_get_ap (req));
8697 + else if (NM_IS_DEVICE_802_3_ETHERNET (dev)) {
8698 + NMWiredNetwork *wired_net = nm_act_request_get_wired_network (req);
8700 + network_id = nm_wired_network_get_network_id (wired_net);
8703 nm_info ("Activation (%s) failed.", nm_device_get_iface (dev));
8704 - nm_dbus_schedule_device_status_change_signal (data, dev, ap, DEVICE_ACTIVATION_FAILED);
8705 + nm_dbus_schedule_device_status_change_signal (data, dev, network_id, DEVICE_ACTIVATION_FAILED);
8707 nm_device_deactivate (dev);
8708 nm_schedule_state_change_signal_broadcast (data);
8709 @@ -265,14 +283,16 @@
8713 - nm_info ("AUTO: Best wired device = %s, best wireless device = %s (%s)", best_wired_dev ? nm_device_get_iface (best_wired_dev) : "(null)",
8714 - best_wireless_dev ? nm_device_get_iface (best_wireless_dev) : "(null)", (best_wireless_dev && *ap) ? nm_ap_get_essid (*ap) : "null" );
8715 + nm_info ("AUTO: Best wired device = %s, best wireless device = %s (%s)", best_wired_dev ? nm_device_get_iface (NM_DEVICE (best_wired_dev)) : "(null)",
8716 + best_wireless_dev ? nm_device_get_iface (NM_DEVICE (best_wireless_dev)) : "(null)", (best_wireless_dev && *ap) ? nm_ap_get_essid (*ap) : "null" );
8719 return highest_priority_dev;
8723 +static GStaticMutex dcc_mutex = G_STATIC_MUTEX_INIT;
8726 * nm_policy_device_change_check
8730 g_return_val_if_fail (data != NULL, FALSE);
8732 + g_static_mutex_lock (&dcc_mutex);
8733 data->dev_change_check_idle_id = 0;
8734 + g_static_mutex_unlock (&dcc_mutex);
8736 old_dev = nm_get_active_device (data);
8738 @@ -303,11 +325,19 @@
8742 + gboolean has_link = TRUE;
8743 guint32 caps = nm_device_get_capabilities (old_dev);
8745 + /* Ensure ethernet devices have a link before starting activation,
8746 + * partially works around Fedora #194124.
8748 + if (nm_device_is_802_3_ethernet (old_dev))
8749 + has_link = nm_device_has_active_link (old_dev);
8751 /* Don't interrupt a currently activating device. */
8752 if ( nm_device_is_activating (old_dev)
8753 - && !nm_device_can_interrupt_activation (old_dev))
8754 + && !nm_device_can_interrupt_activation (old_dev)
8757 nm_info ("Old device '%s' activating, won't change.", nm_device_get_iface (old_dev));
8759 @@ -425,12 +455,41 @@
8760 if (do_switch && (nm_device_is_802_3_ethernet (new_dev) || (nm_device_is_802_11_wireless (new_dev) && ap)))
8762 NMActRequest * act_req = NULL;
8763 + gboolean has_link = TRUE;
8765 - if ((act_req = nm_act_request_new (data, new_dev, ap, FALSE)))
8766 + /* Ensure ethernet devices have a link before starting activation,
8767 + * partially works around Fedora #194124.
8769 + if (nm_device_is_802_3_ethernet (new_dev))
8770 + has_link = nm_device_has_active_link (new_dev);
8774 - nm_info ("Will activate connection '%s%s%s'.", nm_device_get_iface (new_dev), ap ? "/" : "", ap ? nm_ap_get_essid (ap) : "");
8775 - nm_policy_schedule_device_activation (act_req);
8776 - nm_act_request_unref (act_req);
8777 + if ((act_req = nm_act_request_new (data, new_dev, FALSE)))
8779 + nm_info ("Will activate connection '%s%s%s'.",
8780 + nm_device_get_iface (new_dev),
8782 + ap ? nm_ap_get_essid (ap) : "");
8785 + nm_act_request_set_ap (act_req, ap);
8789 + nm_policy_schedule_device_activation (act_req);
8790 + nm_act_request_unref (act_req);
8794 + nm_info ("Error creating activation request for %s",
8795 + nm_device_get_iface (new_dev));
8800 + nm_info ("Won't activate %s because it no longer has a link.",
8801 + nm_device_get_iface (new_dev));
8805 @@ -452,11 +511,9 @@
8807 void nm_policy_schedule_device_change_check (NMData *data)
8809 - static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
8811 g_return_if_fail (data != NULL);
8813 - g_static_mutex_lock (&mutex);
8814 + g_static_mutex_lock (&dcc_mutex);
8816 if (data->dev_change_check_idle_id == 0)
8819 data->dev_change_check_idle_id = g_source_attach (source, data->main_context);
8820 g_source_unref (source);
8823 - g_static_mutex_unlock (&mutex);
8824 + g_static_mutex_unlock (&dcc_mutex);
8828 diff -urN NetworkManager-0.6.5/src/NetworkManagerSystem.c NetworkManager-SVNr3284/src/NetworkManagerSystem.c
8829 --- NetworkManager-0.6.5/src/NetworkManagerSystem.c 2007-04-18 20:13:06.000000000 +0200
8830 +++ NetworkManager-SVNr3284/src/NetworkManagerSystem.c 2008-02-04 16:00:13.000000000 +0100
8832 struct sockaddr_in *p;
8835 + NMIP4Config * config = NULL;
8837 iface = nm_device_get_iface (dev);
8840 if (ip4_gateway == 0)
8844 + * Do not add the route if the destination is on the same subnet.
8846 + config = nm_device_get_ip4_config(dev);
8848 + ((guint32)ip4_dest & nm_ip4_config_get_netmask(config)) ==
8849 + (nm_ip4_config_get_address(config) & nm_ip4_config_get_netmask(config)))
8852 if ((sk = nm_dev_sock_open (dev, NETWORK_CONTROL, __FUNCTION__, NULL)) == NULL)
8855 @@ -167,24 +177,6 @@
8859 -static struct nl_cache * get_link_cache (struct nl_handle *nlh)
8861 - static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
8862 - static struct nl_cache * link_cache = NULL;
8864 - g_static_mutex_lock (&mutex);
8866 - link_cache = rtnl_link_alloc_cache (nlh);
8868 - nm_warning ("ERROR: couldn't allocate rtnl link cache!");
8870 - nl_cache_update (nlh, link_cache);
8871 - g_static_mutex_unlock (&mutex);
8873 - return link_cache;
8877 static void iface_to_rtnl_index (const char *iface, struct nl_handle *nlh, struct rtnl_addr *addr)
8879 struct nl_cache * cache = NULL;
8880 @@ -194,14 +186,17 @@
8881 g_return_if_fail (nlh != NULL);
8882 g_return_if_fail (addr != NULL);
8884 - if ((cache = get_link_cache (nlh)))
8886 - i = rtnl_link_name2i (cache, iface);
8887 - if (RTNL_LINK_NOT_FOUND != i)
8888 - rtnl_addr_set_ifindex (addr, i);
8889 + cache = rtnl_link_alloc_cache (nlh);
8891 + nm_warning ("%s: couldn't allocate link cache.", __func__);
8895 - nm_warning ("iface_to_rtnl_link() couldn't allocate link cache.");
8897 + nl_cache_update (nlh, cache);
8898 + i = rtnl_link_name2i (cache, iface);
8899 + if (RTNL_LINK_NOT_FOUND != i)
8900 + rtnl_addr_set_ifindex (addr, i);
8901 + nl_cache_free (cache);
8905 @@ -213,45 +208,85 @@
8906 g_return_val_if_fail (iface != NULL, NULL);
8907 g_return_val_if_fail (nlh != NULL, NULL);
8909 - if ((cache = get_link_cache (nlh)))
8910 - have_link = rtnl_link_get_by_name (cache, iface);
8912 - nm_warning ("iface_to_rtnl_link() couldn't allocate link cache.");
8913 + cache = rtnl_link_alloc_cache (nlh);
8915 + nm_warning ("%s: couldn't allocate link cache.", __func__);
8919 + nl_cache_update (nlh, cache);
8920 + have_link = rtnl_link_get_by_name (cache, iface);
8921 + nl_cache_free (cache);
8927 -static struct nl_handle * new_nl_handle (void)
8929 +nl_handle *new_nl_handle (gboolean recursive)
8931 - struct nl_handle * nlh = NULL;
8932 + struct nl_handle *nlh = NULL;
8935 - nlh = nl_handle_alloc_nondefault(NL_CB_VERBOSE);
8936 - nl_handle_set_pid (nlh, (pthread_self() << 16 | getpid()));
8937 - if (nl_connect(nlh, NETLINK_ROUTE) < 0)
8939 - nm_warning ("%s: couldn't connecto to netlink: %s", __func__, nl_geterror());
8940 + cb = nl_cb_alloc (NL_CB_VERBOSE);
8941 + nlh = nl_handle_alloc_cb (cb);
8943 + nm_warning ("%s: couldn't allocate netlink handle: %s", __func__, nl_geterror ());
8947 + if (nl_connect (nlh, NETLINK_ROUTE) < 0) {
8948 + /* HACK: try one more time. Because the netlink monitor for link state
8949 + * inits before we get here, it grabs the port that matches the PID
8950 + * of the NM process, which also happens to be the PID that libnl uses
8951 + * the first time too. The real fix is to convert nm-netlink-monitor.c
8952 + * over to use libnl.
8954 nl_handle_destroy (nlh);
8959 + nlh = new_nl_handle (TRUE);
8961 + nm_warning ("%s: couldn't connect to netlink: %s", __func__, nl_geterror ());
8970 +destroy_nl_handle (struct nl_handle *nlh)
8972 + g_return_if_fail (nlh != NULL);
8975 + nl_handle_destroy (nlh);
8979 nm_system_get_rtnl_index_from_iface (const char *iface)
8981 struct nl_handle * nlh = NULL;
8982 - struct nl_cache * cache = NULL;
8983 + struct nl_cache * cache;
8984 int i = RTNL_LINK_NOT_FOUND;
8986 - nlh = new_nl_handle ();
8987 - if (nlh && (cache = get_link_cache (nlh)))
8988 - i = rtnl_link_name2i (cache, iface);
8990 - nl_handle_destroy (nlh);
8991 + nlh = new_nl_handle (FALSE);
8993 + return RTNL_LINK_NOT_FOUND;
8995 + cache = rtnl_link_alloc_cache (nlh);
8997 + nm_warning ("%s: couldn't allocate link cache.", iface);
9001 + nl_cache_update (nlh, cache);
9002 + i = rtnl_link_name2i (cache, iface);
9003 + nl_cache_free (cache);
9006 + destroy_nl_handle (nlh);
9010 @@ -264,19 +299,32 @@
9011 struct nl_cache * cache = NULL;
9014 - nlh = new_nl_handle ();
9015 - if (nlh && (cache = get_link_cache (nlh)))
9017 - buf = g_malloc0 (MAX_IFACE_LEN);
9018 - if (!rtnl_link_i2name (cache, rtnl_index, buf, MAX_IFACE_LEN - 1))
9023 + nlh = new_nl_handle (FALSE);
9027 + cache = rtnl_link_alloc_cache (nlh);
9029 + nm_warning ("Couldn't allocate link cache.");
9033 + nl_cache_update (nlh, cache);
9035 + buf = g_malloc0 (MAX_IFACE_LEN);
9037 + goto destroy_cache;
9039 + if (!rtnl_link_i2name (cache, rtnl_index, buf, MAX_IFACE_LEN - 1)) {
9044 - nl_handle_destroy (nlh);
9047 + nl_cache_free (cache);
9050 + destroy_nl_handle (nlh);
9054 @@ -303,13 +351,15 @@
9055 config = nm_device_get_ip4_config (dev);
9056 g_return_val_if_fail (config != NULL, FALSE);
9058 + nlh = new_nl_handle (FALSE);
9062 nm_system_delete_default_route ();
9063 nm_system_device_flush_addresses (dev);
9064 nm_system_device_flush_routes (dev);
9065 nm_system_flush_arp_cache ();
9067 - nlh = new_nl_handle ();
9069 if ((addr = nm_ip4_config_to_rtnl_addr (config, NM_RTNL_ADDR_DEFAULT)))
9071 iface_to_rtnl_index (nm_device_get_iface (dev), nlh, addr);
9074 nm_warning ("nm_system_device_set_from_ip4_config(): couldn't create rtnl address!\n");
9077 - nl_handle_destroy (nlh);
9078 + destroy_nl_handle (nlh);
9081 nm_system_device_set_ip4_route (dev, nm_ip4_config_get_gateway (config), 0, 0, nm_ip4_config_get_mss (config));
9082 @@ -414,7 +463,13 @@
9083 * Set IPv4 configuration of a VPN device from an NMIP4Config object.
9086 -gboolean nm_system_vpn_device_set_from_ip4_config (NMNamedManager *named, NMDevice *active_device, const char *iface, NMIP4Config *config, char **routes, int num_routes)
9088 +nm_system_vpn_device_set_from_ip4_config (NMNamedManager *named,
9089 + NMDevice *active_device,
9090 + const char *iface,
9091 + NMIP4Config *config,
9095 NMIP4Config * ad_config = NULL;
9096 struct nl_handle * nlh = NULL;
9097 @@ -427,71 +482,73 @@
9098 if (active_device && (ad_config = nm_device_get_ip4_config (active_device)))
9099 nm_system_device_set_ip4_route (active_device, nm_ip4_config_get_gateway (ad_config), nm_ip4_config_get_gateway (config), 0xFFFFFFFF, nm_ip4_config_get_mss (config));
9101 - if (iface != NULL && strlen (iface))
9103 - nm_system_device_set_up_down_with_iface (iface, TRUE);
9104 + if (!iface || !strlen (iface))
9107 - nlh = new_nl_handle ();
9108 + nlh = new_nl_handle (FALSE);
9112 - if ((addr = nm_ip4_config_to_rtnl_addr (config, NM_RTNL_ADDR_PTP_DEFAULT)))
9115 - iface_to_rtnl_index (iface, nlh, addr);
9116 - if ((err = rtnl_addr_add (nlh, addr, 0)) < 0)
9117 - nm_warning ("nm_system_device_set_from_ip4_config(): error %d returned from rtnl_addr_add():\n%s", err, nl_geterror());
9118 - rtnl_addr_put (addr);
9121 - nm_warning ("nm_system_vpn_device_set_from_ip4_config(): couldn't create rtnl address!\n");
9122 + nm_system_device_set_up_down_with_iface (iface, TRUE);
9125 - if ((request = rtnl_link_alloc ()))
9127 - struct rtnl_link * old;
9128 + if ((addr = nm_ip4_config_to_rtnl_addr (config, NM_RTNL_ADDR_PTP_DEFAULT)))
9131 + iface_to_rtnl_index (iface, nlh, addr);
9132 + if ((err = rtnl_addr_add (nlh, addr, 0)) < 0)
9133 + nm_warning ("nm_system_device_set_from_ip4_config(): error %d returned from rtnl_addr_add():\n%s", err, nl_geterror());
9134 + rtnl_addr_put (addr);
9137 + nm_warning ("nm_system_vpn_device_set_from_ip4_config(): couldn't create rtnl address!\n");
9139 - old = iface_to_rtnl_link (iface, nlh);
9140 - rtnl_link_set_mtu (request, 1412);
9141 - rtnl_link_change (nlh, old, request, 0);
9143 + if ((request = rtnl_link_alloc ()))
9145 + struct rtnl_link * old;
9147 - rtnl_link_put (old);
9148 - rtnl_link_put (request);
9150 + old = iface_to_rtnl_link (iface, nlh);
9151 + rtnl_link_set_mtu (request, 1412);
9152 + rtnl_link_change (nlh, old, request, 0);
9155 - nl_handle_destroy (nlh);
9156 + rtnl_link_put (old);
9157 + rtnl_link_put (request);
9161 + destroy_nl_handle (nlh);
9163 - nm_system_device_flush_routes_with_iface (iface);
9164 - if (num_routes <= 0)
9166 - nm_system_delete_default_route ();
9167 - nm_system_device_add_default_route_via_device_with_iface (iface);
9172 + nm_system_device_flush_routes_with_iface (iface);
9173 + if (num_routes <= 0)
9175 + nm_system_delete_default_route ();
9176 + nm_system_device_add_default_route_via_device_with_iface (iface);
9181 + for (i = 0; i < num_routes; i++)
9184 - for (i = 0; i < num_routes; i++)
9186 - char *valid_ip4_route;
9187 + char *valid_ip4_route;
9189 - /* Make sure the route is valid, otherwise it's a security risk as the route
9190 - * text is simply taken from the user, and passed directly to system(). If
9191 - * we did not check the route, think of:
9193 - * system("/sbin/ip route add `rm -rf /` dev eth0")
9195 - * where `rm -rf /` was the route text. As UID 0 (root), we have to be careful.
9197 - if ((valid_ip4_route = validate_ip4_route (routes[i])))
9199 - nm_system_device_add_route_via_device_with_iface (iface, valid_ip4_route);
9200 - g_free (valid_ip4_route);
9202 + /* Make sure the route is valid, otherwise it's a security risk as the route
9203 + * text is simply taken from the user, and passed directly to system(). If
9204 + * we did not check the route, think of:
9206 + * system("/sbin/ip route add `rm -rf /` dev eth0")
9208 + * where `rm -rf /` was the route text. As UID 0 (root), we have to be careful.
9210 + if ((valid_ip4_route = validate_ip4_route (routes[i])))
9212 + nm_system_device_add_route_via_device_with_iface (iface, valid_ip4_route);
9213 + g_free (valid_ip4_route);
9219 nm_named_manager_add_ip4_config (named, config);
9224 g_return_val_if_fail (iface != NULL, FALSE);
9226 - if (!(nlh = new_nl_handle ()))
9227 + nlh = new_nl_handle (FALSE);
9231 if (!(request = rtnl_link_alloc ()))
9237 - nl_handle_destroy (nlh);
9239 + destroy_nl_handle (nlh);
9247 - nlh = new_nl_handle ();
9248 + nlh = new_nl_handle (FALSE);
9254 rtnl_link_put (request);
9257 - nl_handle_destroy (nlh);
9258 + destroy_nl_handle (nlh);
9261 diff -urN NetworkManager-0.6.5/src/nm-activation-request.c NetworkManager-SVNr3284/src/nm-activation-request.c
9262 --- NetworkManager-0.6.5/src/nm-activation-request.c 2007-04-18 20:13:06.000000000 +0200
9263 +++ NetworkManager-SVNr3284/src/nm-activation-request.c 2008-02-04 16:00:13.000000000 +0100
9268 + NMWiredNetwork *wired_net;
9269 NMIP4Config * ip4_config;
9271 gboolean user_requested;
9276 -NMActRequest * nm_act_request_new (NMData *data, NMDevice *dev, NMAccessPoint *ap, gboolean user_requested)
9277 +NMActRequest * nm_act_request_new (NMData *data, NMDevice *dev, gboolean user_requested)
9281 g_return_val_if_fail (data != NULL, NULL);
9282 g_return_val_if_fail (dev != NULL, NULL);
9284 - if (nm_device_is_802_11_wireless (dev))
9285 - g_return_val_if_fail (ap != NULL, NULL);
9287 req = g_malloc0 (sizeof (NMActRequest));
9291 g_object_ref (G_OBJECT (dev));
9298 req->user_requested = user_requested;
9299 req->dhcp_state = nm_dhcp_manager_get_state_for_device (data->dhcp_manager, dev);
9302 g_source_destroy (source);
9305 + if (req->wired_net)
9306 + g_object_unref (req->wired_net);
9308 memset (req, 0, sizeof (NMActRequest));
9311 @@ -124,6 +121,14 @@
9315 +gboolean nm_act_request_get_user_requested (NMActRequest *req)
9317 + g_return_val_if_fail (req != NULL, FALSE);
9319 + return req->user_requested;
9323 NMAccessPoint * nm_act_request_get_ap (NMActRequest *req)
9325 g_return_val_if_fail (req != NULL, NULL);
9326 @@ -132,11 +137,42 @@
9330 -gboolean nm_act_request_get_user_requested (NMActRequest *req)
9331 +void nm_act_request_set_ap (NMActRequest *req, NMAccessPoint *ap)
9333 - g_return_val_if_fail (req != NULL, FALSE);
9334 + g_return_if_fail (req != NULL);
9336 - return req->user_requested;
9339 + nm_ap_unref (req->ap);
9350 +NMWiredNetwork *nm_act_request_get_wired_network (NMActRequest *req)
9352 + g_return_val_if_fail (req != NULL, NULL);
9354 + return req->wired_net;
9358 +void nm_act_request_set_wired_network (NMActRequest *req, NMWiredNetwork *wired_net)
9360 + g_return_if_fail (req != NULL);
9362 + if (req->wired_net)
9364 + g_object_unref (req->wired_net);
9365 + req->wired_net = NULL;
9368 + req->wired_net = g_object_ref (wired_net);
9374 req->dhcp_timeout = dhcp_timeout;
9377 diff -urN NetworkManager-0.6.5/src/nm-activation-request.h NetworkManager-SVNr3284/src/nm-activation-request.h
9378 --- NetworkManager-0.6.5/src/nm-activation-request.h 2007-04-18 20:13:06.000000000 +0200
9379 +++ NetworkManager-SVNr3284/src/nm-activation-request.h 2008-02-04 16:00:13.000000000 +0100
9381 #include "NetworkManagerMain.h"
9382 #include "nm-device.h"
9383 #include "NetworkManagerAP.h"
9384 +#include "nm-wired-network.h"
9385 #include "nm-ip4-config.h"
9389 -NMActRequest * nm_act_request_new (NMData *data, NMDevice *dev, NMAccessPoint *ap, gboolean user_requested);
9390 +NMActRequest * nm_act_request_new (NMData *data, NMDevice *dev, gboolean user_requested);
9391 void nm_act_request_ref (NMActRequest *req);
9392 void nm_act_request_unref (NMActRequest *req);
9394 NMDevice * nm_act_request_get_dev (NMActRequest *req);
9395 NMData * nm_act_request_get_data (NMActRequest *req);
9396 -NMAccessPoint * nm_act_request_get_ap (NMActRequest *req);
9397 gboolean nm_act_request_get_user_requested (NMActRequest *req);
9399 +NMAccessPoint * nm_act_request_get_ap (NMActRequest *req);
9400 +void nm_act_request_set_ap (NMActRequest *req, NMAccessPoint *ap);
9402 +NMWiredNetwork *nm_act_request_get_wired_network (NMActRequest *req);
9403 +void nm_act_request_set_wired_network (NMActRequest *req, NMWiredNetwork *network);
9405 NMIP4Config * nm_act_request_get_ip4_config (NMActRequest *req);
9406 void nm_act_request_set_ip4_config (NMActRequest *req, NMIP4Config *ip4_config);
9408 diff -urN NetworkManager-0.6.5/src/nm-ap-security.c NetworkManager-SVNr3284/src/nm-ap-security.c
9409 --- NetworkManager-0.6.5/src/nm-ap-security.c 2007-04-18 20:13:06.000000000 +0200
9410 +++ NetworkManager-SVNr3284/src/nm-ap-security.c 2008-02-04 16:00:13.000000000 +0100
9412 nm_ap_security_write_supplicant_config (NMAPSecurity *self,
9413 struct wpa_ctrl *ctrl,
9416 + NMAPSecurityWriteFlags flag)
9418 g_return_val_if_fail (self != NULL, FALSE);
9419 g_return_val_if_fail (ctrl != NULL, FALSE);
9423 return NM_AP_SECURITY_GET_CLASS (self)->write_supplicant_config_func (self,
9424 - ctrl, nwid, adhoc);
9425 + ctrl, nwid, flag);
9430 real_write_supplicant_config (NMAPSecurity *self,
9431 struct wpa_ctrl *ctrl,
9434 + NMAPSecurityWriteFlags flag)
9436 /* Unencrypted network setup */
9437 if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
9438 diff -urN NetworkManager-0.6.5/src/nm-ap-security.h NetworkManager-SVNr3284/src/nm-ap-security.h
9439 --- NetworkManager-0.6.5/src/nm-ap-security.h 2007-04-18 20:13:06.000000000 +0200
9440 +++ NetworkManager-SVNr3284/src/nm-ap-security.h 2008-02-04 16:00:13.000000000 +0100
9442 #define NM_IS_AP_SECURITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_AP_SECURITY))
9443 #define NM_AP_SECURITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_AP_SECURITY, NMAPSecurityClass))
9446 + NM_AP_SECURITY_WRITE_FLAG_NONE,
9447 + NM_AP_SECURITY_WRITE_FLAG_ADHOC,
9448 + NM_AP_SECURITY_WRITE_FLAG_WIRED
9449 +} NMAPSecurityWriteFlags;
9451 typedef struct _NMAPSecurity NMAPSecurity;
9452 typedef struct _NMAPSecurityClass NMAPSecurityClass;
9453 typedef struct _NMAPSecurityPrivate NMAPSecurityPrivate;
9455 gboolean (*write_supplicant_config_func)(NMAPSecurity *self,
9456 struct wpa_ctrl *ctrl,
9459 + NMAPSecurityWriteFlags flag);
9461 guint32 (*get_default_capabilities_func)(NMAPSecurity *self);
9462 gboolean (*get_authentication_required_func)(NMAPSecurity *self);
9464 gboolean nm_ap_security_write_supplicant_config (NMAPSecurity *self,
9465 struct wpa_ctrl *ctrl,
9468 + NMAPSecurityWriteFlags flag);
9470 const char * nm_ap_security_get_description (NMAPSecurity *self);
9472 diff -urN NetworkManager-0.6.5/src/nm-ap-security-leap.c NetworkManager-SVNr3284/src/nm-ap-security-leap.c
9473 --- NetworkManager-0.6.5/src/nm-ap-security-leap.c 2007-04-18 20:13:06.000000000 +0200
9474 +++ NetworkManager-SVNr3284/src/nm-ap-security-leap.c 2008-02-04 16:00:13.000000000 +0100
9476 real_write_supplicant_config (NMAPSecurity *instance,
9477 struct wpa_ctrl *ctrl,
9479 - gboolean user_created)
9480 + NMAPSecurityWriteFlags flag)
9482 NMAPSecurityLEAP * self = NM_AP_SECURITY_LEAP (instance);
9483 gboolean success = FALSE;
9484 @@ -109,6 +109,11 @@
9486 g_return_val_if_fail (nm_ap_security_get_we_cipher (instance) == NM_AUTH_TYPE_LEAP, FALSE);
9488 + /* LEAP is not valid for wired */
9489 + if (flag == NM_AP_SECURITY_WRITE_FLAG_WIRED)
9493 if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i proto WPA", nwid))
9496 diff -urN NetworkManager-0.6.5/src/nm-ap-security-wep.c NetworkManager-SVNr3284/src/nm-ap-security-wep.c
9497 --- NetworkManager-0.6.5/src/nm-ap-security-wep.c 2007-04-18 20:13:06.000000000 +0200
9498 +++ NetworkManager-SVNr3284/src/nm-ap-security-wep.c 2008-02-04 16:00:13.000000000 +0100
9499 @@ -115,12 +115,16 @@
9500 real_write_supplicant_config (NMAPSecurity *instance,
9501 struct wpa_ctrl *ctrl,
9504 + NMAPSecurityWriteFlags flag)
9506 gboolean success = FALSE;
9508 const char * key = nm_ap_security_get_key (instance);
9510 + /* WEP is not valid for wired */
9511 + if (flag == NM_AP_SECURITY_WRITE_FLAG_WIRED)
9514 /* WEP network setup */
9515 if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
9516 "SET_NETWORK %i key_mgmt NONE", nwid))
9517 diff -urN NetworkManager-0.6.5/src/nm-ap-security-wpa-eap.c NetworkManager-SVNr3284/src/nm-ap-security-wpa-eap.c
9518 --- NetworkManager-0.6.5/src/nm-ap-security-wpa-eap.c 2007-04-18 20:13:06.000000000 +0200
9519 +++ NetworkManager-SVNr3284/src/nm-ap-security-wpa-eap.c 2008-02-04 16:00:13.000000000 +0100
9521 NMAPSecurityWPA_EAP * security = NULL;
9526 char * identity = NULL;
9527 char * passwd = NULL;
9529 real_write_supplicant_config (NMAPSecurity *instance,
9530 struct wpa_ctrl *ctrl,
9533 + NMAPSecurityWriteFlags flag)
9535 NMAPSecurityWPA_EAP * self = NM_AP_SECURITY_WPA_EAP (instance);
9536 gboolean success = FALSE;
9537 @@ -213,15 +212,17 @@
9539 /* WPA-EAP network setup */
9541 - if (self->priv->wpa_version == IW_AUTH_WPA_VERSION_WPA)
9543 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i proto WPA", nwid))
9548 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i proto WPA2", nwid))
9550 + if (flag != NM_AP_SECURITY_WRITE_FLAG_WIRED) {
9551 + if (self->priv->wpa_version == IW_AUTH_WPA_VERSION_WPA)
9553 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i proto WPA", nwid))
9558 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i proto WPA2", nwid))
9563 if (key_type != IW_AUTH_CIPHER_WEP104)
9565 * Set the pairwise and group cipher, if the user provided one. If user selected "Automatic", we
9566 * let wpa_supplicant sort it out. Likewise, if the user selected "Dynamic WEP", we do nothing.
9568 - if (key_type != NM_AUTH_TYPE_WPA_PSK_AUTO && key_type != IW_AUTH_CIPHER_WEP104)
9569 + if (flag != NM_AP_SECURITY_WRITE_FLAG_WIRED &&
9570 + key_type != NM_AUTH_TYPE_WPA_PSK_AUTO && key_type != IW_AUTH_CIPHER_WEP104)
9574 @@ -330,6 +332,10 @@
9578 + if (flag != NM_AP_SECURITY_WRITE_FLAG_WIRED)
9579 + nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
9580 + "SET_NETWORK %i fragment_size 1300", nwid);
9585 diff -urN NetworkManager-0.6.5/src/nm-ap-security-wpa-psk.c NetworkManager-SVNr3284/src/nm-ap-security-wpa-psk.c
9586 --- NetworkManager-0.6.5/src/nm-ap-security-wpa-psk.c 2007-04-18 20:13:06.000000000 +0200
9587 +++ NetworkManager-SVNr3284/src/nm-ap-security-wpa-psk.c 2008-02-04 16:00:13.000000000 +0100
9589 real_write_supplicant_config (NMAPSecurity *instance,
9590 struct wpa_ctrl *ctrl,
9593 + NMAPSecurityWriteFlags flag)
9595 NMAPSecurityWPA_PSK * self = NM_AP_SECURITY_WPA_PSK (instance);
9596 gboolean success = FALSE;
9597 @@ -145,6 +145,11 @@
9598 char * pairwise_cipher = NULL;
9599 char * group_cipher = NULL;
9602 + /* WPA-PSK is not valid for wired */
9603 + if (flag == NM_AP_SECURITY_WRITE_FLAG_WIRED)
9606 /* WPA-PSK network setup */
9608 if (self->priv->wpa_version == IW_AUTH_WPA_VERSION_WPA)
9612 /* Ad-Hoc has to be WPA-NONE */
9614 + if (flag == NM_AP_SECURITY_WRITE_FLAG_ADHOC)
9615 key_mgmt = "WPA-NONE";
9617 if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
9619 pairwise_cipher = group_cipher = "NONE";
9621 /* Ad-Hoc requires pairwise cipher of NONE */
9623 + if (flag == NM_AP_SECURITY_WRITE_FLAG_ADHOC)
9624 pairwise_cipher = "NONE";
9626 /* If user selected "Automatic", we let wpa_supplicant sort it out */
9627 diff -urN NetworkManager-0.6.5/src/nm-dbus-device.c NetworkManager-SVNr3284/src/nm-dbus-device.c
9628 --- NetworkManager-0.6.5/src/nm-dbus-device.c 2007-04-18 20:13:06.000000000 +0200
9629 +++ NetworkManager-SVNr3284/src/nm-dbus-device.c 2008-02-04 16:00:13.000000000 +0100
9630 @@ -448,8 +448,17 @@
9636 + NMActRequest *req = nm_device_get_act_request (dev);
9639 + NMWiredNetwork *wired_net = nm_act_request_get_wired_network (req);
9641 + active_network_path = g_strdup (nm_wired_network_get_network_id (wired_net));
9644 speed = nm_device_802_3_ethernet_get_speed (NM_DEVICE_802_3_ETHERNET (dev));
9647 if (!active_network_path)
9648 active_network_path = g_strdup ("");
9649 diff -urN NetworkManager-0.6.5/src/nm-dbus-nm.c NetworkManager-SVNr3284/src/nm-dbus-nm.c
9650 --- NetworkManager-0.6.5/src/nm-dbus-nm.c 2007-04-18 20:13:06.000000000 +0200
9651 +++ NetworkManager-SVNr3284/src/nm-dbus-nm.c 2008-02-04 16:00:13.000000000 +0100
9653 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
9655 /* NetworkManager -- Network link manager
9657 * Dan Williams <dcbw@redhat.com>
9658 @@ -227,10 +229,11 @@
9659 const char * INVALID_ARGS_MESSAGE = "NetworkManager::setActiveDevice called with invalid arguments.";
9660 NMDevice * dev = NULL;
9661 DBusMessage * reply = NULL;
9663 - NMAccessPoint * ap = NULL;
9664 + char * dev_path = NULL;
9665 + NMAPSecurity * security = NULL;
9667 DBusMessageIter iter;
9668 + char * network_id = NULL;
9670 g_return_val_if_fail (connection != NULL, NULL);
9671 g_return_val_if_fail (message != NULL, NULL);
9672 @@ -253,62 +256,62 @@
9673 if (!dev || !(nm_device_get_capabilities (dev) & NM_DEVICE_CAP_NM_SUPPORTED))
9675 reply = nm_dbus_create_error_message (message, NM_DBUS_INTERFACE, "DeviceNotFound",
9676 - "The requested network device does not exist.");
9677 + "The requested network device does not exist.");
9678 nm_warning ("%s:%d (%s): Invalid device (device not found).", __FILE__, __LINE__, __func__);
9682 - if (nm_device_is_802_11_wireless (dev))
9684 - NMAPSecurity * security = NULL;
9685 - char * essid = NULL;
9687 - if (!dbus_message_iter_next (&iter) || (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_STRING))
9689 - nm_warning ("%s:%d (%s): Invalid argument type (essid).", __FILE__, __LINE__, __func__);
9690 + /* Next up is the network id... */
9691 + if (dbus_message_iter_next (&iter) && (dbus_message_iter_get_arg_type (&iter) == DBUS_TYPE_STRING))
9692 + dbus_message_iter_get_basic (&iter, &network_id);
9694 + /* and finally, the security object */
9695 + if (dbus_message_iter_next (&iter)) {
9696 + security = nm_ap_security_new_deserialize (&iter);
9698 + /* There was security info, but it was invalid */
9699 + reply = nm_dbus_create_error_message (message, NM_DBUS_INTERFACE, INVALID_ARGS_ERROR, INVALID_ARGS_MESSAGE);
9700 + nm_warning ("%s:%d (%s): Invalid argument (security info).", __FILE__, __LINE__, __func__);
9705 - /* grab ssid and ensure validity */
9706 - dbus_message_iter_get_basic (&iter, &essid);
9707 - if (!essid || (strlen (essid) <= 0))
9709 - nm_warning ("%s:%d (%s): Invalid argument (essid).", __FILE__, __LINE__, __func__);
9712 + req = nm_act_request_new (data->data, dev, TRUE);
9714 - /* If there's security information, we use that. If not, we
9715 - * make some up from the scan list.
9717 - if (dbus_message_iter_next (&iter))
9719 - if (!(security = nm_ap_security_new_deserialize (&iter)))
9721 - /* There was security info, but it was invalid */
9722 - reply = nm_dbus_create_error_message (message, NM_DBUS_INTERFACE, INVALID_ARGS_ERROR, INVALID_ARGS_MESSAGE);
9723 - nm_warning ("%s:%d (%s): Invalid argument (wireless security info).", __FILE__, __LINE__, __func__);
9726 + if (nm_device_is_802_11_wireless (dev)) {
9727 + NMAccessPoint *ap;
9729 + if (!network_id || (strlen (network_id) <= 0)) {
9730 + nm_warning ("%s:%d (%s): Invalid argument type (essid).", __FILE__, __LINE__, __func__);
9734 /* Set up the wireless-specific activation request properties */
9735 - ap = nm_device_802_11_wireless_get_activation_ap (NM_DEVICE_802_11_WIRELESS (dev), essid, security);
9737 - g_object_unref (G_OBJECT (security));
9738 + ap = nm_device_802_11_wireless_get_activation_ap (NM_DEVICE_802_11_WIRELESS (dev), network_id, security);
9739 + nm_act_request_set_ap (req, ap);
9740 + } else if (nm_device_is_802_3_ethernet (dev)) {
9741 + if (network_id && security) {
9742 + NMWiredNetwork *wired_net;
9744 - nm_info ("User Switch: %s / %s", dev_path, essid);
9745 + wired_net = nm_wired_network_new (network_id, security);
9746 + nm_act_request_set_wired_network (req, wired_net);
9747 + g_object_unref (wired_net);
9750 - else if (nm_device_is_802_3_ethernet (dev))
9754 + nm_info ("User Switch: %s / %s", dev_path, network_id);
9756 nm_info ("User Switch: %s", dev_path);
9759 nm_device_deactivate (dev);
9760 nm_schedule_state_change_signal_broadcast (data->data);
9761 - req = nm_act_request_new (data->data, dev, ap, TRUE);
9762 nm_policy_schedule_device_activation (req);
9763 nm_act_request_unref (req);
9766 + g_object_unref (security);
9768 /* empty success message */
9769 reply = dbus_message_new_method_return (message);
9771 @@ -398,7 +401,10 @@
9772 g_object_unref (G_OBJECT (security));
9773 nm_ap_set_user_created (new_ap, TRUE);
9775 - req = nm_act_request_new (data->data, dev, new_ap, TRUE);
9776 + req = nm_act_request_new (data->data, dev, TRUE);
9777 + nm_act_request_set_ap (req, new_ap);
9778 + nm_ap_unref (new_ap);
9780 nm_policy_schedule_device_activation (req);
9781 nm_act_request_unref (req);
9783 @@ -483,52 +489,83 @@
9787 -static DBusMessage *nm_dbus_nm_set_wireless_enabled (DBusConnection *connection, DBusMessage *message, NMDbusCBData *data)
9788 +static DBusMessage *nm_dbus_nm_set_wireless_enabled (DBusConnection *connection, DBusMessage *message, NMDbusCBData *cb_data)
9790 gboolean enabled = FALSE;
9794 + DBusMessage * ret = NULL;
9796 - g_return_val_if_fail (data && data->data && connection && message, NULL);
9797 + g_return_val_if_fail (cb_data && cb_data->data && connection && message, NULL);
9799 dbus_error_init (&err);
9800 if (!dbus_message_get_args (message, &err, DBUS_TYPE_BOOLEAN, &enabled, DBUS_TYPE_INVALID))
9804 - app_data = data->data;
9805 - app_data->wireless_enabled = enabled;
9806 + data = cb_data->data;
9807 + if (enabled == data->wireless_enabled)
9813 + /* Hardware rfkill overrides whatever user wants */
9814 + if (!data->hw_rf_enabled) {
9815 + nm_info ("User request to %s wireless overridden by radio killswitch.",
9816 + enabled ? "enable" : "disable");
9818 - /* Physically down all wireless devices */
9819 - nm_lock_mutex (app_data->dev_list_mutex, __FUNCTION__);
9820 - for (elt = app_data->dev_list; elt; elt = g_slist_next (elt))
9822 - NMDevice *dev = (NMDevice *)(elt->data);
9823 - if (nm_device_is_802_11_wireless (dev))
9825 + /* Return error if user tries to re-enable wireless, or just ignore
9826 + * a disable wireless request when wireless is already disabled.
9829 + ret = nm_dbus_create_error_message (message,
9830 + NM_DBUS_INTERFACE,
9831 + "DisabledBySystem",
9832 + "Wireless disabled by hardware switch.");
9837 + nm_info ("User request to %s wireless.", enabled ? "enable" : "disable");
9839 + data->wireless_enabled = enabled;
9840 + if (!data->wireless_enabled) {
9843 + /* Deactivate all wireless devices and force them down so they
9844 + * turn off their radios.
9846 + nm_lock_mutex (data->dev_list_mutex, __FUNCTION__);
9847 + for (elt = data->dev_list; elt; elt = g_slist_next (elt)) {
9848 + NMDevice * dev = (NMDevice *) elt->data;
9849 + if (nm_device_is_802_11_wireless (dev)) {
9850 nm_device_deactivate (dev);
9851 nm_device_bring_down (dev);
9854 - nm_unlock_mutex (app_data->dev_list_mutex, __FUNCTION__);
9855 + nm_unlock_mutex (data->dev_list_mutex, __FUNCTION__);
9858 - nm_policy_schedule_device_change_check (data->data);
9859 + nm_policy_schedule_device_change_check (data);
9860 + nm_dbus_signal_wireless_enabled (data);
9867 -static DBusMessage *nm_dbus_nm_get_wireless_enabled (DBusConnection *connection, DBusMessage *message, NMDbusCBData *data)
9868 +static DBusMessage *nm_dbus_nm_get_wireless_enabled (DBusConnection *connection, DBusMessage *message, NMDbusCBData *cb_data)
9871 DBusMessage *reply = NULL;
9873 - g_return_val_if_fail (data && data->data && connection && message, NULL);
9874 + g_return_val_if_fail (cb_data && connection && message, NULL);
9876 - if ((reply = dbus_message_new_method_return (message)))
9877 - dbus_message_append_args (reply, DBUS_TYPE_BOOLEAN, &data->data->wireless_enabled, DBUS_TYPE_INVALID);
9878 + data = cb_data->data;
9879 + g_return_val_if_fail (data != NULL, NULL);
9881 + if ((reply = dbus_message_new_method_return (message))) {
9882 + dbus_message_append_args (reply,
9883 + DBUS_TYPE_BOOLEAN, &data->wireless_enabled,
9884 + DBUS_TYPE_BOOLEAN, &data->hw_rf_enabled,
9885 + DBUS_TYPE_INVALID);
9890 diff -urN NetworkManager-0.6.5/src/nm-dbus-nmi.c NetworkManager-SVNr3284/src/nm-dbus-nmi.c
9891 --- NetworkManager-0.6.5/src/nm-dbus-nmi.c 2007-04-18 20:13:06.000000000 +0200
9892 +++ NetworkManager-SVNr3284/src/nm-dbus-nmi.c 2008-02-04 16:00:13.000000000 +0100
9894 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
9896 /* NetworkManager -- Network link manager
9898 * Dan Williams <dcbw@redhat.com>
9900 #include "NetworkManager.h"
9901 #include "nm-device.h"
9902 #include "nm-activation-request.h"
9903 +#include "nm-device-802-3-ethernet.h"
9904 #include "NetworkManagerAPList.h"
9905 #include "NetworkManagerPolicy.h"
9906 #include "NetworkManagerUtils.h"
9908 #include "nm-utils.h"
9912 - * nm_dbus_get_user_key_for_network_cb
9914 - * Callback from nm_dbus_get_user_key_for_network when NetworkManagerInfo returns
9915 - * the new user key.
9918 -static void nm_dbus_get_user_key_for_network_cb (DBusPendingCall *pcall, NMActRequest *req)
9920 +nm_dbus_get_wireless_user_key_done (DBusMessage *reply, NMActRequest *req)
9922 - DBusMessage * reply = NULL;
9925 - NMAccessPoint * ap;
9926 - NMAPSecurity * security;
9927 - DBusMessageIter iter;
9928 + NMAccessPoint *ap;
9930 + NMAPSecurity *security;
9931 + DBusMessageIter iter;
9933 - g_return_if_fail (pcall != NULL);
9934 - g_return_if_fail (req != NULL);
9935 + const char *iface = nm_device_get_iface (nm_act_request_get_dev (req));
9937 data = nm_act_request_get_data (req);
9940 - dev = nm_act_request_get_dev (req);
9943 ap = nm_act_request_get_ap (req);
9946 - if (!dbus_pending_call_get_completed (pcall))
9949 - if (!(reply = dbus_pending_call_steal_reply (pcall)))
9952 - if (message_is_error (reply))
9954 + if (message_is_error (reply)) {
9957 dbus_error_init (&err);
9960 /* Check for cancelled error */
9961 if (strcmp (err.name, NMI_DBUS_USER_KEY_CANCELED_ERROR) == 0)
9963 nm_info ("Activation (%s) New wireless user key request for network '%s' was canceled.",
9964 - nm_device_get_iface (dev), nm_ap_get_essid (ap));
9966 + iface, nm_ap_get_essid (ap));
9968 nm_warning ("nm_dbus_get_user_key_for_network_cb(): dbus returned an error.\n (%s) %s\n", err.name, err.message);
9971 * here... ad nauseum. Figure out how to deal with a failure here.
9973 nm_ap_list_append_ap (data->invalid_ap_list, ap);
9974 - nm_policy_schedule_activation_failed (req);
9979 - nm_info ("Activation (%s) New wireless user key for network '%s' received.", nm_device_get_iface (dev), nm_ap_get_essid (ap));
9980 + nm_info ("Activation (%s) New wireless user key for network '%s' received.", iface, nm_ap_get_essid (ap));
9982 dbus_message_iter_init (reply, &iter);
9983 - if ((security = nm_ap_security_new_deserialize (&iter)))
9985 + if ((security = nm_ap_security_new_deserialize (&iter))) {
9986 NMAccessPoint *allowed_ap;
9988 nm_ap_set_security (ap, security);
9989 @@ -106,11 +86,91 @@
9990 nm_ap_set_security (allowed_ap, security);
9992 g_object_unref (G_OBJECT (security)); /* set_security copies the object */
9993 - nm_device_activate_schedule_stage1_device_prepare (req);
10000 +nm_dbus_get_wired_user_key_done (DBusMessage *reply, NMActRequest *req)
10002 + NMAPSecurity *security;
10003 + DBusMessageIter iter;
10004 + NMWiredNetwork *wired_net;
10005 + const char *iface = nm_device_get_iface (nm_act_request_get_dev (req));
10007 + wired_net = nm_act_request_get_wired_network (req);
10008 + g_assert (wired_net);
10010 + if (message_is_error (reply)) {
10013 + dbus_error_init (&err);
10014 + dbus_set_error_from_message (&err, reply);
10016 + /* Check for cancelled error */
10017 + if (strcmp (err.name, NMI_DBUS_USER_KEY_CANCELED_ERROR) == 0)
10018 + nm_info ("Activation (%s) New wired user key request was canceled.", iface);
10020 + nm_warning ("nm_dbus_get_user_key_for_network_cb(): dbus returned an error.\n (%s) %s\n", err.name, err.message);
10022 + dbus_error_free (&err);
10026 + nm_info ("Activation (%s) New wired user key received.", iface);
10028 + dbus_message_iter_init (reply, &iter);
10029 + if ((security = nm_ap_security_new_deserialize (&iter))) {
10030 + nm_wired_network_set_security (wired_net, security);
10031 + g_object_unref (security);
10038 + * nm_dbus_get_user_key_for_network_cb
10040 + * Callback from nm_dbus_get_user_key_for_network when NetworkManagerInfo returns
10041 + * the new user key.
10044 +static void nm_dbus_get_user_key_for_network_cb (DBusPendingCall *pcall, NMActRequest *req)
10047 + gboolean success;
10048 + DBusMessage *reply = NULL;
10050 + g_return_if_fail (pcall != NULL);
10051 + g_return_if_fail (req != NULL);
10053 + if (!dbus_pending_call_get_completed (pcall))
10056 + if (!(reply = dbus_pending_call_steal_reply (pcall)))
10059 + dev = nm_act_request_get_dev (req);
10062 nm_act_request_set_user_key_pending_call (req, NULL);
10065 + if (NM_IS_DEVICE_802_11_WIRELESS (dev))
10066 + success = nm_dbus_get_wireless_user_key_done (reply, req);
10067 + else if (NM_IS_DEVICE_802_3_ETHERNET (dev))
10068 + success = nm_dbus_get_wired_user_key_done (reply, req);
10070 + g_error ("Unhandled device type (%s)", G_OBJECT_TYPE_NAME (dev));
10075 + nm_device_activate_schedule_stage1_device_prepare (req);
10077 + nm_policy_schedule_activation_failed (req);
10081 dbus_message_unref (reply);
10082 nm_act_request_unref (req);
10083 @@ -126,11 +186,8 @@
10085 void nm_dbus_get_user_key_for_network (DBusConnection *connection, NMActRequest *req, const gboolean new_key)
10087 - DBusMessage * message;
10088 - DBusPendingCall * pcall;
10091 - NMAccessPoint * ap;
10092 gint32 attempt = 1;
10095 @@ -145,22 +202,44 @@
10096 dev = nm_act_request_get_dev (req);
10099 - ap = nm_act_request_get_ap (req);
10101 + if (NM_IS_DEVICE_802_11_WIRELESS (dev)) {
10102 + NMAccessPoint * ap;
10104 - essid = nm_ap_get_essid (ap);
10105 - nm_info ("Activation (%s) New wireless user key requested for network '%s'.", nm_device_get_iface (dev), essid);
10106 + ap = nm_act_request_get_ap (req);
10109 - if (!(message = dbus_message_new_method_call (NMI_DBUS_SERVICE, NMI_DBUS_PATH, NMI_DBUS_INTERFACE, "getKeyForNetwork")))
10111 - nm_warning ("nm_dbus_get_user_key_for_network(): Couldn't allocate the dbus message");
10112 + essid = nm_ap_get_essid (ap);
10113 + net_path = nm_dbus_get_object_path_for_network (dev, ap);
10115 + nm_info ("Activation (%s) New wireless user key requested for network '%s'.",
10116 + nm_device_get_iface (dev), essid);
10118 + } else if (NM_IS_DEVICE_802_3_ETHERNET (dev)) {
10119 + NMWiredNetwork *wired_net;
10121 + wired_net = nm_act_request_get_wired_network (req);
10122 + g_assert (wired_net);
10124 + essid = nm_wired_network_get_network_id (wired_net);
10125 + net_path = g_strdup ("/");
10127 + g_error ("Unhandled device type (%s)", G_OBJECT_TYPE_NAME (dev));
10131 dev_path = nm_dbus_get_object_path_for_device (dev);
10132 - net_path = nm_dbus_get_object_path_for_network (dev, ap);
10134 if (dev_path && strlen (dev_path) && net_path && strlen (net_path))
10136 + DBusMessage *message;
10137 + DBusPendingCall *pcall;
10139 + if (!(message = dbus_message_new_method_call (NMI_DBUS_SERVICE, NMI_DBUS_PATH, NMI_DBUS_INTERFACE, "getKeyForNetwork")))
10141 + nm_warning ("nm_dbus_get_user_key_for_network(): Couldn't allocate the dbus message");
10145 dbus_message_append_args (message, DBUS_TYPE_OBJECT_PATH, &dev_path,
10146 DBUS_TYPE_OBJECT_PATH, &net_path,
10147 DBUS_TYPE_STRING, &essid,
10148 @@ -176,7 +255,11 @@
10151 nm_warning ("nm_dbus_get_user_key_for_network(): could not send dbus message");
10152 - } else nm_warning ("nm_dbus_get_user_key_for_network(): bad object path data");
10154 + dbus_message_unref (message);
10156 + nm_warning ("nm_dbus_get_user_key_for_network(): bad object path data");
10161 @@ -184,8 +267,6 @@
10162 * we just hang in the activation process and nothing happens
10163 * until the user cancels stuff.
10166 - dbus_message_unref (message);
10170 @@ -219,26 +300,15 @@
10175 - * nm_dbus_update_network_info
10177 - * Tell NetworkManagerInfo the updated info of the AP
10180 -gboolean nm_dbus_update_network_info (DBusConnection *connection, NMAccessPoint *ap, const gboolean automatic)
10182 - DBusMessage * message;
10183 - gboolean success = FALSE;
10184 - const char * essid;
10185 - gchar * char_bssid;
10186 - NMAPSecurity * security;
10187 - const struct ether_addr *addr;
10188 - DBusMessageIter iter;
10190 - g_return_val_if_fail (connection != NULL, FALSE);
10191 - g_return_val_if_fail (ap != NULL, FALSE);
10193 - essid = nm_ap_get_essid (ap);
10194 +static gboolean update_network_info (DBusConnection *connection,
10195 + const char *network_id,
10196 + gboolean automatic,
10197 + const char *bssid,
10198 + NMAPSecurity *security)
10200 + DBusMessage *message;
10201 + DBusMessageIter iter;
10202 + gboolean success = FALSE;
10204 if (!(message = dbus_message_new_method_call (NMI_DBUS_SERVICE, NMI_DBUS_PATH, NMI_DBUS_INTERFACE, "updateNetworkInfo")))
10206 @@ -249,19 +319,52 @@
10207 dbus_message_iter_init_append (message, &iter);
10209 /* First argument: ESSID (STRING) */
10210 - dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &essid);
10211 + dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &network_id);
10213 /* Second argument: Automatic (BOOLEAN) */
10214 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &automatic);
10216 /* Third argument: Access point's BSSID */
10217 + dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &bssid);
10219 + /* Serialize the AP's security info into the message */
10220 + if (nm_ap_security_serialize (security, &iter) != 0)
10223 + if (dbus_connection_send (connection, message, NULL))
10226 + nm_warning ("update_network_info(): failed to send dbus message.");
10229 + dbus_message_unref (message);
10238 + * nm_dbus_update_network_info
10240 + * Tell NetworkManagerInfo the updated info of the AP
10243 +gboolean nm_dbus_update_network_info (DBusConnection *connection, NMAccessPoint *ap, const gboolean automatic)
10245 + gboolean success;
10246 + gchar *char_bssid;
10247 + const struct ether_addr *addr;
10249 + g_return_val_if_fail (connection != NULL, FALSE);
10250 + g_return_val_if_fail (ap != NULL, FALSE);
10252 addr = nm_ap_get_address (ap);
10253 if ((nm_ap_get_mode (ap) == IW_MODE_INFRA) && nm_ethernet_address_is_valid (addr))
10255 char_bssid = g_new0 (gchar, 20);
10256 iw_ether_ntop (addr, char_bssid);
10257 - dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &char_bssid);
10258 - g_free (char_bssid);
10262 @@ -269,26 +372,30 @@
10263 * the BSSID is usually randomly constructed by the driver and
10264 * changed every time you activate the network.
10266 - char_bssid = " ";
10267 - dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &char_bssid);
10268 + char_bssid = g_strdup (" ");
10271 - /* Serialize the AP's security info into the message */
10272 - security = nm_ap_get_security (ap);
10273 - g_assert (security);
10274 - if (nm_ap_security_serialize (security, &iter) != 0)
10276 + success = update_network_info (connection,
10277 + nm_ap_get_essid (ap),
10280 + nm_ap_get_security (ap));
10281 + g_free (char_bssid);
10283 - if (dbus_connection_send (connection, message, NULL))
10286 - nm_warning ("nm_dbus_update_network_info(): failed to send dbus message.");
10291 - dbus_message_unref (message);
10295 +gboolean nm_dbus_update_wired_network_info (DBusConnection *connection, NMWiredNetwork *wired_net)
10297 + g_return_val_if_fail (connection != NULL, FALSE);
10298 + g_return_val_if_fail (wired_net != NULL, FALSE);
10300 + return update_network_info (connection,
10301 + nm_wired_network_get_network_id (wired_net),
10303 + "WIRED", /* CRAPPY HACK */
10304 + nm_wired_network_get_security (wired_net));
10308 diff -urN NetworkManager-0.6.5/src/nm-dbus-nmi.h NetworkManager-SVNr3284/src/nm-dbus-nmi.h
10309 --- NetworkManager-0.6.5/src/nm-dbus-nmi.h 2007-04-18 20:13:06.000000000 +0200
10310 +++ NetworkManager-SVNr3284/src/nm-dbus-nmi.h 2008-02-04 16:00:13.000000000 +0100
10313 #include "NetworkManager.h"
10314 #include "NetworkManagerAP.h"
10315 +#include "nm-wired-network.h"
10317 void nm_dbus_get_user_key_for_network (DBusConnection *connection, NMActRequest *req, const gboolean new_key);
10321 gboolean nm_dbus_update_network_info (DBusConnection *connection, NMAccessPoint *ap, const gboolean user_requested);
10323 +gboolean nm_dbus_update_wired_network_info (DBusConnection *connection, NMWiredNetwork *wired_net);
10326 void nm_dbus_update_one_allowed_network (DBusConnection *connection, const char *network, NMData *data);
10328 void nm_dbus_update_allowed_networks (DBusConnection *connection, NMAccessPointList *list, NMData *data);
10329 diff -urN NetworkManager-0.6.5/src/nm-device-802-11-wireless.c NetworkManager-SVNr3284/src/nm-device-802-11-wireless.c
10330 --- NetworkManager-0.6.5/src/nm-device-802-11-wireless.c 2007-04-18 20:13:06.000000000 +0200
10331 +++ NetworkManager-SVNr3284/src/nm-device-802-11-wireless.c 2008-02-04 16:00:13.000000000 +0100
10333 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
10335 /* NetworkManager -- Network link manager
10337 * Dan Williams <dcbw@redhat.com>
10339 #include "nm-device-private.h"
10340 #include "NetworkManagerAPList.h"
10341 #include "NetworkManagerDbus.h"
10342 +#include "nm-supplicant.h"
10343 #include "nm-utils.h"
10344 #include "NetworkManagerUtils.h"
10345 #include "NetworkManagerPolicy.h"
10348 #define NM_DEVICE_802_11_WIRELESS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_DEVICE_802_11_WIRELESS, NMDevice80211WirelessPrivate))
10350 -struct _Supplicant
10354 - GSource * status;
10355 - struct wpa_ctrl * ctrl;
10356 - GSource * timeout;
10359 struct _NMDevice80211WirelessPrivate
10361 gboolean dispose_has_run;
10363 GSource * scan_timeout;
10364 GSource * pending_scan;
10366 - struct _Supplicant supplicant;
10367 + NMSupplicant *supplicant;
10369 guint32 failed_link_count;
10370 GSource * link_timeout;
10372 /* Static options from driver */
10374 guint32 capabilities;
10375 + gboolean has_scan_capa_ssid;
10379 @@ -107,14 +102,11 @@
10381 static void cancel_scan_results_timeout (NMDevice80211Wireless *self);
10383 -static void cancel_pending_scan (NMDevice80211Wireless *self);
10385 -static void request_and_convert_scan_results (NMDevice80211Wireless *self);
10387 static gboolean process_scan_results (NMDevice80211Wireless *dev,
10388 const guint8 *res_buf,
10389 guint32 res_buf_len);
10390 -static void schedule_scan (NMDevice80211Wireless *self);
10392 +static void schedule_scan (NMDevice80211Wireless *self, guint32 ms);
10394 static int wireless_qual_to_percent (const struct iw_quality *qual,
10395 const struct iw_quality *max_qual,
10396 @@ -126,8 +118,6 @@
10398 gboolean default_link);
10400 -static void supplicant_cleanup (NMDevice80211Wireless *self);
10402 static void remove_link_timeout (NMDevice80211Wireless *self);
10404 static void nm_device_802_11_wireless_set_wep_enc_key (NMDevice80211Wireless *self,
10405 @@ -140,6 +130,9 @@
10407 NMDevice80211Wireless *self);
10409 +static void nm_device_802_11_wireless_set_scan_interval (NMDevice80211Wireless *self,
10410 + NMWirelessScanInterval interval);
10413 * nm_device_802_11_wireless_update_signal_strength
10415 @@ -379,10 +372,29 @@
10416 self->priv = NM_DEVICE_802_11_WIRELESS_GET_PRIVATE (self);
10417 self->priv->dispose_has_run = FALSE;
10418 self->priv->is_initialized = FALSE;
10420 - self->priv->supplicant.pid = -1;
10424 +/* Until a new wireless-tools comes out that has the defs and the structure,
10425 + * need to copy them here.
10427 +/* Scan capability flags - in (struct iw_range *)->scan_capa */
10428 +#define NM_IW_SCAN_CAPA_NONE 0x00
10429 +#define NM_IW_SCAN_CAPA_ESSID 0x01
10431 +struct iw_range_with_scan_capa
10433 + guint32 throughput;
10434 + guint32 min_nwid;
10435 + guint32 max_nwid;
10436 + guint16 old_num_channels;
10437 + guint8 old_num_frequency;
10439 + guint8 scan_capa;
10440 +/* don't need the rest... */
10445 real_init (NMDevice *dev)
10447 @@ -398,7 +410,8 @@
10448 self->priv->ap_list = nm_ap_list_new (NETWORK_TYPE_DEVICE);
10450 app_data = nm_device_get_app_data (NM_DEVICE (self));
10451 - nm_device_802_11_wireless_set_scan_interval (app_data, self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10453 + nm_device_802_11_wireless_set_scan_interval (self, NM_WIRELESS_SCAN_INTERVAL_INIT);
10455 nm_device_802_11_wireless_set_mode (self, IW_MODE_INFRA);
10457 @@ -422,6 +435,7 @@
10459 if (ioctl (nm_dev_sock_get_fd (sk), SIOCGIWRANGE, &wrq) >= 0)
10461 + struct iw_range_with_scan_capa *scan_capa_range;
10464 self->priv->max_qual.qual = range.max_qual.qual;
10465 @@ -440,6 +454,22 @@
10467 self->priv->we_version = range.we_version_compiled;
10469 + /* Check for the ability to scan specific SSIDs. Until the scan_capa
10470 + * field gets added to wireless-tools, need to work around that by casting
10471 + * to the custom structure.
10473 + scan_capa_range = (struct iw_range_with_scan_capa *) ⦥
10474 + if (scan_capa_range->scan_capa & NM_IW_SCAN_CAPA_ESSID) {
10475 + self->priv->has_scan_capa_ssid = TRUE;
10476 + nm_info ("%s: driver supports SSID scans (scan_capa 0x%02X).",
10477 + nm_device_get_iface (NM_DEVICE (self)),
10478 + scan_capa_range->scan_capa);
10480 + nm_info ("%s: driver does not support SSID scans (scan_capa 0x%02X).",
10481 + nm_device_get_iface (NM_DEVICE (self)),
10482 + scan_capa_range->scan_capa);
10485 /* 802.11 wireless-specific capabilities */
10486 self->priv->capabilities = get_wireless_capabilities (self, &range, wrq.u.data.length);
10488 @@ -582,7 +612,7 @@
10489 NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (dev);
10491 /* If the supplicant isn't running, we can't possibly have a link */
10492 - if (!self->priv->supplicant.pid)
10493 + if (!self->priv->supplicant)
10494 nm_device_set_active_link (NM_DEVICE (self), FALSE);
10497 @@ -615,16 +645,11 @@
10500 /* Start the scanning timeout for devices that can do scanning */
10501 - if (nm_device_get_capabilities (dev) & NM_DEVICE_CAP_WIRELESS_SCAN)
10503 - self->priv->pending_scan = g_idle_source_new ();
10504 - g_source_set_callback (self->priv->pending_scan,
10505 - nm_device_802_11_wireless_scan,
10507 - nm_device_802_11_wireless_scan_done);
10508 - source_id = g_source_attach (self->priv->pending_scan,
10509 - nm_device_get_main_context (dev));
10510 - g_source_unref (self->priv->pending_scan);
10511 + if (nm_device_get_capabilities (dev) & NM_DEVICE_CAP_WIRELESS_SCAN) {
10512 + /* Stupid orinoco has problems scanning immediately after being up,
10513 + * so wait a bit before triggering a scan.
10515 + schedule_scan (self, 600);
10518 /* Peridoically update link status and signal strength */
10519 @@ -639,7 +664,11 @@
10521 NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (dev);
10523 - supplicant_cleanup (self);
10524 + if (self->priv->supplicant) {
10525 + g_object_unref (self->priv->supplicant);
10526 + self->priv->supplicant = NULL;
10529 remove_link_timeout (self);
10532 @@ -648,16 +677,15 @@
10533 real_deactivate (NMDevice *dev)
10535 NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (dev);
10536 - NMData * app_data;
10538 - app_data = nm_device_get_app_data (dev);
10539 - g_assert (app_data);
10541 /* Clean up stuff, don't leave the card associated */
10542 nm_device_802_11_wireless_set_essid (self, "");
10543 nm_device_802_11_wireless_set_wep_enc_key (self, NULL, 0);
10544 nm_device_802_11_wireless_set_mode (self, IW_MODE_INFRA);
10545 - nm_device_802_11_wireless_set_scan_interval (app_data, self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10547 + /* Don't re-set the scan interval if there hasn't been a scan yet */
10548 + if (self->priv->last_scan > 0)
10549 + nm_device_802_11_wireless_set_scan_interval (self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10553 @@ -1060,59 +1088,77 @@
10557 -set_scan_interval_cb (gpointer user_data)
10558 +set_inactive_scan_interval_cb (gpointer user_data)
10560 NMData *data = (NMData*) user_data;
10562 - nm_device_802_11_wireless_set_scan_interval (data, NULL, NM_WIRELESS_SCAN_INTERVAL_INACTIVE);
10564 + nm_device_802_11_wireless_ui_activated (data, NM_WIRELESS_SCAN_INTERVAL_INACTIVE);
10569 -nm_device_802_11_wireless_set_scan_interval (NMData *data,
10570 - NMDevice80211Wireless *self,
10572 +set_inactive_scan_timeout (NMData *data, NMWirelessScanInterval interval)
10574 + static GSource *source = NULL;
10577 + g_source_destroy (source);
10578 + g_source_unref (source);
10582 + if (interval != NM_WIRELESS_SCAN_INTERVAL_INACTIVE) {
10583 + source = g_timeout_source_new (120000);
10584 + g_source_set_callback (source, set_inactive_scan_interval_cb, (gpointer) data, NULL);
10585 + g_source_attach (source, data->main_context);
10590 +nm_device_802_11_wireless_set_scan_interval (NMDevice80211Wireless *self,
10591 NMWirelessScanInterval interval)
10593 - static guint source_id = 0;
10594 - GSource * source = NULL;
10596 - gboolean found = FALSE;
10597 - guint8 seconds = nm_wireless_scan_interval_to_seconds (interval);
10598 + guint8 seconds = nm_wireless_scan_interval_to_seconds (interval);
10600 - g_return_if_fail (data != NULL);
10601 + g_return_if_fail (self != NULL);
10603 - if (source_id != 0)
10604 - g_source_remove (source_id);
10605 + self->priv->scan_interval = seconds;
10607 - for (elt = data->dev_list; elt; elt = g_slist_next (elt))
10609 - NMDevice *d = (NMDevice *)(elt->data);
10610 - if (self && (NM_DEVICE (self) != d))
10612 + if (interval == NM_WIRELESS_SCAN_INTERVAL_ACTIVE && !self->priv->scanning) {
10613 + glong new_next_scan = self->priv->last_scan + seconds;
10614 + GTimeVal cur_time;
10616 - if (d && nm_device_is_802_11_wireless (d))
10618 - NM_DEVICE_802_11_WIRELESS (d)->priv->scan_interval = seconds;
10619 - if (self && (NM_DEVICE (self) == d))
10621 + g_get_current_time (&cur_time);
10623 + if (new_next_scan <= cur_time.tv_sec) {
10624 + /* If the interval is now ACTIVE, and the last scan was more than the
10625 + * ACTIVE interval seconds ago, schedule an immediate scan.
10627 + schedule_scan (self, 200);
10628 + } else if (new_next_scan > cur_time.tv_sec) {
10629 + /* If the interval is now ACTIVE, and the last scan was less than the
10630 + * ACTIVE interval seconds ago, schedule a scan at last_scan + ACTIVE
10631 + * interval seconds.
10633 + schedule_scan (self, (new_next_scan - cur_time.tv_sec) * 1000);
10637 - /* In case the scan interval didn't get set (which can happen during card
10638 - * initialization where the device gets set up before being added to the
10639 - * device list), set interval here
10641 - if (self && !found)
10642 - self->priv->scan_interval = seconds;
10643 + set_inactive_scan_timeout (nm_device_get_app_data (NM_DEVICE (self)), interval);
10646 - if (interval != NM_WIRELESS_SCAN_INTERVAL_INACTIVE)
10648 - source = g_timeout_source_new (120000);
10649 - g_source_set_callback (source, set_scan_interval_cb, (gpointer) data, NULL);
10650 - source_id = g_source_attach (source, data->main_context);
10651 - g_source_unref (source);
10653 +nm_device_802_11_wireless_ui_activated (NMData *data,
10654 + NMWirelessScanInterval interval)
10658 + for (iter = data->dev_list; iter; iter = g_slist_next (iter)) {
10659 + if (NM_IS_DEVICE_802_11_WIRELESS (iter->data))
10660 + nm_device_802_11_wireless_set_scan_interval (NM_DEVICE_802_11_WIRELESS (iter->data), interval);
10663 + set_inactive_scan_timeout (data, interval);
10667 @@ -1141,7 +1187,7 @@
10669 if (iw_get_ext (nm_dev_sock_get_fd (sk), nm_device_get_iface (NM_DEVICE (self)), SIOCGIWMODE, &wrq) == 0)
10671 - if ((mode == IW_MODE_ADHOC) || (mode == IW_MODE_INFRA))
10672 + if ((wrq.u.mode == IW_MODE_ADHOC) || (wrq.u.mode == IW_MODE_INFRA))
10676 @@ -1400,14 +1446,15 @@
10677 unsigned char safe_essid[IW_ESSID_MAX_SIZE + 1] = "\0";
10678 const char * iface;
10679 const char * driver;
10680 + gboolean lock_ssid = TRUE;
10682 g_return_if_fail (self != NULL);
10684 /* Make sure the essid we get passed is a valid size */
10687 safe_essid[0] = '\0';
10690 + lock_ssid = FALSE;
10692 strncpy ((char *) safe_essid, essid, IW_ESSID_MAX_SIZE);
10693 safe_essid[IW_ESSID_MAX_SIZE] = '\0';
10695 @@ -1417,7 +1464,7 @@
10697 wreq.u.essid.pointer = (caddr_t) safe_essid;
10698 wreq.u.essid.length = strlen ((char *) safe_essid) + 1;
10699 - wreq.u.essid.flags = 1; /* Enable essid on card */
10700 + wreq.u.essid.flags = lock_ssid ? 1 : 0;
10703 nm_info ("%s: About to SET IWESSID.", iface);
10704 @@ -1944,7 +1991,6 @@
10706 NMData * app_data = nm_device_get_app_data (NM_DEVICE (self));
10707 GSource * convert_source = g_idle_source_new ();
10708 - GTimeVal cur_time;
10710 /* We run the scan processing function from the main thread, since it must deliver
10711 * messages over DBUS. Plus, that way the main thread is the only thread that has
10712 @@ -1960,8 +2006,6 @@
10713 (GDestroyNotify) free_process_scan_cb_data);
10714 g_source_attach (convert_source, app_data->main_context);
10715 g_source_unref (convert_source);
10716 - g_get_current_time (&cur_time);
10717 - self->priv->last_scan = cur_time.tv_sec;
10721 @@ -1985,10 +2029,22 @@
10723 scan_results_timeout (NMDevice80211Wireless *self)
10725 + GTimeVal cur_time;
10727 g_return_val_if_fail (self != NULL, FALSE);
10729 request_and_convert_scan_results (self);
10730 - schedule_scan (self);
10732 + self->priv->scanning = FALSE;
10734 + g_get_current_time (&cur_time);
10735 + self->priv->last_scan = cur_time.tv_sec;
10737 + /* After the first successful scan back down to the ACTIVE scan interval */
10738 + if (self->priv->scan_interval == nm_wireless_scan_interval_to_seconds (NM_WIRELESS_SCAN_INTERVAL_INIT))
10739 + nm_device_802_11_wireless_set_scan_interval (self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10741 + schedule_scan (self, 0);
10745 @@ -2061,7 +2117,6 @@
10746 NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (user_data);
10749 - gboolean success = FALSE;
10750 const char * iface;
10752 g_return_val_if_fail (self != NULL, FALSE);
10753 @@ -2073,7 +2128,7 @@
10754 if (!(caps & NM_DEVICE_CAP_NM_SUPPORTED) || !(caps & NM_DEVICE_CAP_WIRELESS_SCAN))
10757 - self->priv->pending_scan = NULL;
10758 + nm_device_802_11_wireless_scan_done ((gpointer) self);
10760 /* Reschedule ourselves if all wireless is disabled, we're asleep,
10761 * or we are currently activating.
10762 @@ -2082,9 +2137,8 @@
10763 || (app_data->asleep == TRUE)
10764 || (nm_device_is_activating (NM_DEVICE (self)) == TRUE))
10766 - nm_device_802_11_wireless_set_scan_interval (app_data, self, NM_WIRELESS_SCAN_INTERVAL_INIT);
10767 - schedule_scan (self);
10769 + nm_device_802_11_wireless_set_scan_interval (self, NM_WIRELESS_SCAN_INTERVAL_INIT);
10774 @@ -2094,77 +2148,87 @@
10776 if ((self->priv->num_freqs > 14) && nm_device_is_activated (NM_DEVICE (self)) == TRUE)
10778 - nm_device_802_11_wireless_set_scan_interval (app_data, self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10779 - schedule_scan (self);
10781 + nm_device_802_11_wireless_set_scan_interval (self, NM_WIRELESS_SCAN_INTERVAL_ACTIVE);
10785 - self->priv->scanning = TRUE;
10787 /* Device must be up before we can scan */
10788 if (nm_device_bring_up_wait (NM_DEVICE (self), 1))
10790 - schedule_scan (self);
10795 + self->priv->scanning = TRUE;
10797 /* If we're currently connected to an AP, let wpa_supplicant initiate
10798 * the scan request rather than doing it ourselves.
10800 iface = nm_device_get_iface (NM_DEVICE (self));
10801 - if (self->priv->supplicant.ctrl)
10803 - if (nm_utils_supplicant_request_with_check (self->priv->supplicant.ctrl,
10804 - "OK", __func__, NULL, "SCAN"))
10811 - if ((sk = nm_dev_sock_open (NM_DEVICE (self), DEV_WIRELESS, __FUNCTION__, NULL)))
10813 - struct iwreq wrq;
10814 + if (self->priv->supplicant) {
10815 + if (!nm_utils_supplicant_request_with_check (nm_supplicant_get_ctrl (self->priv->supplicant),
10816 + "OK", __func__, NULL, "SCAN")) {
10817 + nm_warning ("(%s): could not trigger wireless scan", iface);
10820 + schedule_scan_results_timeout (self, 10);
10822 + NMSock *sk = NULL;
10823 + struct iwreq wrq;
10826 - wrq.u.data.pointer = NULL;
10827 - wrq.u.data.flags = 0;
10828 - wrq.u.data.length = 0;
10829 - if (iw_set_ext (nm_dev_sock_get_fd (sk), iface, SIOCSIWSCAN, &wrq) == 0)
10831 - nm_dev_sock_close (sk);
10832 + sk = nm_dev_sock_open (NM_DEVICE (self), DEV_WIRELESS, __FUNCTION__, NULL);
10834 + nm_warning ("(%s): could not open control socket on device", iface);
10841 + memset (&wrq, 0, sizeof (wrq));
10842 + ret = iw_set_ext (nm_dev_sock_get_fd (sk), iface, SIOCSIWSCAN, &wrq);
10843 + nm_dev_sock_close (sk);
10846 + nm_warning ("(%s): could not trigger wireless scan: %s", iface, strerror (errno));
10849 schedule_scan_results_timeout (self, 10);
10853 - nm_warning ("could not trigger wireless scan on device %s: %s",
10854 - iface, strerror (errno));
10855 - schedule_scan (self);
10860 + schedule_scan (self, 0);
10862 return FALSE; /* Balance g_source_attach(), destroyed on return */
10867 +cancel_pending_scan (NMDevice80211Wireless *self)
10869 + g_return_if_fail (self != NULL);
10871 + self->priv->scanning = FALSE;
10872 + if (self->priv->pending_scan) {
10873 + g_source_destroy (self->priv->pending_scan);
10874 + self->priv->pending_scan = NULL;
10880 - * nm_device_wireless_schedule_scan
10883 * Schedule a wireless scan in the /device's/ thread.
10887 -schedule_scan (NMDevice80211Wireless *self)
10888 +schedule_scan (NMDevice80211Wireless *self, guint32 ms)
10890 + guint32 interval;
10892 g_return_if_fail (self != NULL);
10894 cancel_pending_scan (self);
10896 - self->priv->pending_scan = g_timeout_source_new (self->priv->scan_interval * 1000);
10897 + interval = ms ? ms : self->priv->scan_interval * 1000;
10898 + self->priv->pending_scan = g_timeout_source_new (interval);
10899 g_source_set_callback (self->priv->pending_scan,
10900 nm_device_802_11_wireless_scan,
10902 @@ -2174,20 +2238,6 @@
10907 -cancel_pending_scan (NMDevice80211Wireless *self)
10909 - g_return_if_fail (self != NULL);
10911 - self->priv->scanning = FALSE;
10912 - if (self->priv->pending_scan)
10914 - g_source_destroy (self->priv->pending_scan);
10915 - self->priv->pending_scan = NULL;
10923 @@ -2366,144 +2416,205 @@
10924 return auth_required;
10928 /****************************************************************************/
10929 -/* WPA Supplicant control stuff
10931 - * Originally from:
10933 - * wpa_supplicant wrapper
10935 - * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
10937 - * This program is free software; you can redistribute it and/or modify it
10938 - * under the terms of the GNU General Public License as published by the
10939 - * Free Software Foundation version 2 of the License.
10942 -#define WPA_SUPPLICANT_GLOBAL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant-global"
10943 -#define WPA_SUPPLICANT_CONTROL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant"
10944 -#define WPA_SUPPLICANT_NUM_RETRIES 20
10945 -#define WPA_SUPPLICANT_RETRY_TIME_US 100*1000
10949 -remove_link_timeout (NMDevice80211Wireless *self)
10951 +find_supported_frequency (NMDevice80211Wireless *self, guint32 *freqs)
10953 - g_return_if_fail (self != NULL);
10956 - if (self->priv->link_timeout != NULL)
10958 - g_source_destroy (self->priv->link_timeout);
10959 - self->priv->link_timeout = NULL;
10960 + for (i = 0; i < self->priv->num_freqs; i++) {
10962 + if ((guint32) self->priv->freqs[i] == (*freqs * 1000000))
10970 -supplicant_remove_timeout (NMDevice80211Wireless *self)
10972 - g_return_if_fail (self != NULL);
10974 - /* Remove any pending timeouts on the request */
10975 - if (self->priv->supplicant.timeout != NULL)
10977 - g_source_destroy (self->priv->supplicant.timeout);
10978 - self->priv->supplicant.timeout = NULL;
10984 -supplicant_get_device_socket_path (NMDevice80211Wireless *self)
10986 +supplicant_send_network_config (NMDevice80211Wireless *self,
10987 + NMActRequest *req)
10989 - const char *iface;
10990 + NMAccessPoint * ap = NULL;
10991 + gboolean success = FALSE;
10992 + char * response = NULL;
10994 + const char * essid;
10995 + struct wpa_ctrl * ctrl;
10996 + gboolean is_adhoc;
10997 + char * hex_essid = NULL;
10998 + const char * ap_scan = "AP_SCAN 1";
11000 + gboolean supports_wpa;
11002 - g_return_val_if_fail (self != NULL, NULL);
11003 + ap = nm_act_request_get_ap (req);
11006 - iface = nm_device_get_iface (NM_DEVICE (self));
11007 - return g_strdup_printf (WPA_SUPPLICANT_CONTROL_SOCKET "/%s", iface);
11009 + ctrl = nm_supplicant_get_ctrl (self->priv->supplicant);
11013 -supplicant_cleanup (NMDevice80211Wireless *self)
11015 - char * sock_path;
11016 + /* Assume that drivers that don't support WPA pretty much suck,
11017 + * and can't handle NM scanning along with wpa_supplicant. Which
11018 + * is the case for most of them, airo in particular.
11020 + caps = nm_device_get_type_capabilities (NM_DEVICE (self));
11021 + supports_wpa = (caps & NM_802_11_CAP_PROTO_WPA)
11022 + || (caps & NM_802_11_CAP_PROTO_WPA2);
11024 - g_return_if_fail (self != NULL);
11025 + /* Use "AP_SCAN 2" if:
11026 + * - The wireless network is non-broadcast and the driver doesn't support
11027 + * scanning specific SSIDs
11028 + * - The wireless network is Ad-Hoc
11029 + * - The wireless driver does not support WPA (stupid drivers...)
11031 + is_adhoc = (nm_ap_get_mode(ap) == IW_MODE_ADHOC);
11032 + if (is_adhoc || !supports_wpa)
11033 + ap_scan = "AP_SCAN 2";
11034 + else if (!nm_ap_get_broadcast (ap))
11035 + ap_scan = self->priv->has_scan_capa_ssid ? "AP_SCAN 1" : "AP_SCAN 2";
11037 - if (self->priv->supplicant.pid > 0)
11039 - kill (self->priv->supplicant.pid, SIGTERM);
11040 - self->priv->supplicant.pid = -1;
11042 - if (self->priv->supplicant.watch)
11043 + /* Tell wpa_supplicant that we'll do the scanning */
11044 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, ap_scan))
11047 + /* Standard network setup info */
11048 + if (!(response = nm_utils_supplicant_request (ctrl, "ADD_NETWORK")))
11050 - g_source_destroy (self->priv->supplicant.watch);
11051 - self->priv->supplicant.watch = NULL;
11052 + nm_warning ("Supplicant error for ADD_NETWORK.\n");
11055 - if (self->priv->supplicant.status)
11056 + if (sscanf (response, "%i\n", &nwid) != 1)
11058 - g_source_destroy (self->priv->supplicant.status);
11059 - self->priv->supplicant.status = NULL;
11060 + nm_warning ("Supplicant error for ADD_NETWORK. Response: '%s'\n", response);
11061 + g_free (response);
11064 - if (self->priv->supplicant.ctrl)
11065 + g_free (response);
11067 + if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11070 + essid = nm_ap_get_orig_essid (ap);
11071 + hex_essid = cipher_bin2hexstr (essid, strlen (essid), -1);
11072 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11073 + "SET_NETWORK %i ssid %s", nwid, hex_essid))
11076 + /* For non-broadcast networks, we need to set "scan_ssid 1" to scan with probe request frames.
11077 + * However, don't try to probe Ad-Hoc networks.
11079 + if (!nm_ap_get_broadcast (ap) && !is_adhoc)
11081 - wpa_ctrl_close (self->priv->supplicant.ctrl);
11082 - self->priv->supplicant.ctrl = NULL;
11083 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11084 + "SET_NETWORK %i scan_ssid 1", nwid))
11088 - supplicant_remove_timeout (self);
11089 - remove_link_timeout (self);
11092 + guint32 adhoc_freq = nm_ap_get_freq (ap);
11094 - /* HACK: should be fixed in wpa_supplicant. Will likely
11095 - * require accomodations for selinux.
11097 - unlink (WPA_SUPPLICANT_GLOBAL_SOCKET);
11098 - sock_path = supplicant_get_device_socket_path (self);
11099 - unlink (sock_path);
11100 - g_free (sock_path);
11102 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11103 + "SET_NETWORK %i mode 1", nwid))
11106 + if (!adhoc_freq) {
11107 + guint32 freqs[] = {2412, 2437, 2462, 2472, 0};
11108 + adhoc_freq = find_supported_frequency (self, freqs);
11110 + adhoc_freq = 2462;
11112 + /* Don't make failure to set the frequency option a hard error */
11113 + nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11114 + "SET_NETWORK %i frequency %d",
11115 + nwid, adhoc_freq);
11119 -supplicant_watch_done (gpointer user_data)
11121 - NMDevice80211Wireless *device = NM_DEVICE_802_11_WIRELESS (user_data);
11122 + if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11125 - device->priv->supplicant.watch = NULL;
11127 + if (!nm_ap_security_write_supplicant_config (nm_ap_get_security (ap), ctrl, nwid,
11129 + NM_AP_SECURITY_WRITE_FLAG_ADHOC :
11130 + NM_AP_SECURITY_WRITE_FLAG_NONE))
11134 -supplicant_watch_cb (GPid pid,
11136 - gpointer user_data)
11138 - NMDevice * dev = NM_DEVICE (user_data);
11139 - NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (user_data);
11142 + if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11145 - if (WIFEXITED (status))
11146 - nm_warning ("wpa_supplicant exited with error code %d", WEXITSTATUS (status));
11147 - else if (WIFSTOPPED (status))
11148 - nm_warning ("wpa_supplicant stopped unexpectedly with signal %d", WSTOPSIG (status));
11149 - else if (WIFSIGNALED (status))
11150 - nm_warning ("wpa_supplicant died with signal %d", WTERMSIG (status));
11152 - nm_warning ("wpa_supplicant died from an unknown cause");
11153 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11154 + "ENABLE_NETWORK %i", nwid, essid))
11157 - supplicant_cleanup (self);
11160 + g_free (hex_essid);
11162 - nm_device_set_active_link (dev, FALSE);
11166 +#define NM_SUPPLICANT_TIMEOUT 20 /* how long we wait for wpa_supplicant to associate (in seconds) */
11169 -link_timeout_done (gpointer user_data)
11170 +static unsigned int
11171 +get_supplicant_timeout (NMDevice80211Wireless *self)
11173 - NMDevice80211Wireless *device = NM_DEVICE_802_11_WIRELESS (user_data);
11175 - device->priv->link_timeout = NULL;
11176 + if (self->priv->num_freqs > 14)
11177 + return NM_SUPPLICANT_TIMEOUT * 2;
11178 + return NM_SUPPLICANT_TIMEOUT;
11182 +supplicant_timed_out (gpointer user_data)
11184 + NMDevice *dev = NM_DEVICE (user_data);
11185 + NMDevice80211Wireless *self = NM_DEVICE_802_11_WIRELESS (user_data);
11186 + NMActRequest *req = nm_device_get_act_request (dev);
11187 + NMAccessPoint *ap = nm_act_request_get_ap (req);
11188 + NMData *data = nm_device_get_app_data (dev);
11189 + gboolean has_key;
11191 + /* Timed out waiting for authentication success; if the security method
11192 + * in use does not require access point side authentication (Open System
11193 + * WEP, for example) then we are likely using the wrong authentication
11194 + * algorithm or key. Request new one from the user.
11196 + if (!ap_is_auth_required (ap, &has_key) && has_key) {
11197 + /* Activation failed, we must have bad encryption key */
11198 + nm_info ("Activation (%s/wireless): association took too long (>%us), asking for new key.",
11199 + nm_device_get_iface (dev), get_supplicant_timeout (self));
11200 + nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
11202 + nm_info ("Activation (%s/wireless): association took too long (>%us), failing activation.",
11203 + nm_device_get_iface (dev), get_supplicant_timeout (self));
11204 + if (nm_device_is_activating (dev))
11205 + nm_policy_schedule_activation_failed (nm_device_get_act_request (dev));
11212 +remove_link_timeout (NMDevice80211Wireless *self)
11214 + g_return_if_fail (self != NULL);
11216 + if (self->priv->link_timeout != NULL)
11218 + g_source_destroy (self->priv->link_timeout);
11219 + self->priv->link_timeout = NULL;
11224 +link_timeout_done (gpointer user_data)
11226 + NMDevice80211Wireless *device = NM_DEVICE_802_11_WIRELESS (user_data);
11228 + device->priv->link_timeout = NULL;
11233 @@ -2533,7 +2644,7 @@
11234 /* Association/authentication failed, we must have bad encryption key */
11235 nm_info ("Activation (%s/wireless): disconnected during association,"
11236 " asking for new key.", nm_device_get_iface (dev));
11237 - supplicant_remove_timeout(self);
11238 + nm_supplicant_remove_timeout (self->priv->supplicant);
11239 nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
11242 @@ -2545,418 +2656,58 @@
11248 -supplicant_status_done (gpointer user_data)
11250 - NMDevice80211Wireless *device = NM_DEVICE_802_11_WIRELESS (user_data);
11252 - device->priv->supplicant.status = NULL;
11256 -#define MESSAGE_LEN 2048
11259 -supplicant_status_cb (GIOChannel *source,
11260 - GIOCondition condition,
11261 - gpointer user_data)
11263 - NMDevice * dev = NM_DEVICE (user_data);
11264 - NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (user_data);
11267 - struct wpa_ctrl * ctrl;
11268 - NMActRequest * req;
11271 +supplicant_state_changed (NMSupplicant *supplicant,
11272 + gboolean connected,
11273 + gpointer user_data)
11275 + NMDevice80211Wireless *self = NM_DEVICE_802_11_WIRELESS (user_data);
11276 + NMDevice *dev = NM_DEVICE (self);
11277 + NMActRequest *req = nm_device_get_act_request (NM_DEVICE (self));
11279 - /* Do nothing if we're supposed to be canceling activation.
11280 - * We'll get cleaned up by the cancellation handlers later.
11282 - if (nm_device_activation_should_cancel (dev))
11285 - ctrl = self->priv->supplicant.ctrl;
11286 - g_return_val_if_fail (ctrl != NULL, FALSE);
11288 - req = nm_device_get_act_request (NM_DEVICE (self));
11290 - message = g_malloc (MESSAGE_LEN);
11291 - len = MESSAGE_LEN;
11292 - wpa_ctrl_recv (ctrl, message, &len);
11293 - message[len] = '\0';
11295 - if (strstr (message, WPA_EVENT_CONNECTED) != NULL)
11298 remove_link_timeout (self);
11299 nm_device_set_active_link (dev, TRUE);
11301 /* If this is the initial association during device activation,
11302 * schedule the next activation stage.
11304 - if (req && (nm_act_request_get_stage (req) == NM_ACT_STAGE_DEVICE_CONFIG))
11306 - NMAccessPoint *ap = nm_act_request_get_ap (req);
11307 + if (req && (nm_act_request_get_stage (req) == NM_ACT_STAGE_DEVICE_CONFIG)) {
11308 + NMAccessPoint *ap = nm_act_request_get_ap (req);
11310 nm_info ("Activation (%s/wireless) Stage 2 of 5 (Device Configure) "
11311 - "successful. Connected to access point '%s'.",
11312 - nm_device_get_iface (NM_DEVICE (self)),
11313 - nm_ap_get_essid (ap) ? nm_ap_get_essid (ap) : "(none)");
11314 - supplicant_remove_timeout (self);
11315 + "successful. Connected to access point '%s'.",
11316 + nm_device_get_iface (dev),
11317 + nm_ap_get_essid (ap) ? nm_ap_get_essid (ap) : "(none)");
11318 + nm_supplicant_remove_timeout (self->priv->supplicant);
11319 nm_device_activate_schedule_stage3_ip_config_start (req);
11322 - else if (strstr (message, WPA_EVENT_DISCONNECTED) != NULL)
11324 - if (nm_device_is_activated (dev) || nm_device_is_activating (dev))
11327 + if (nm_device_is_activated (dev) || nm_device_is_activating (dev)) {
11328 /* Start the link timeout so we allow some time for reauthentication */
11329 - if ((self->priv->link_timeout == NULL) && !self->priv->scanning)
11331 - GMainContext * context = nm_device_get_main_context (dev);
11332 + if ((self->priv->link_timeout == NULL) && !self->priv->scanning) {
11333 self->priv->link_timeout = g_timeout_source_new (8000);
11334 g_source_set_callback (self->priv->link_timeout,
11337 - link_timeout_done);
11338 - g_source_attach (self->priv->link_timeout, context);
11341 + link_timeout_done);
11342 + g_source_attach (self->priv->link_timeout, nm_device_get_main_context (dev));
11343 g_source_unref (self->priv->link_timeout);
11349 nm_device_set_active_link (dev, FALSE);
11353 - g_free (message);
11359 -#define NM_SUPPLICANT_TIMEOUT 20 /* how long we wait for wpa_supplicant to associate (in seconds) */
11361 -static unsigned int
11362 -get_supplicant_timeout (NMDevice80211Wireless *self)
11364 - if (self->priv->num_freqs > 14)
11365 - return NM_SUPPLICANT_TIMEOUT * 2;
11366 - return NM_SUPPLICANT_TIMEOUT;
11371 -supplicant_timeout_done (gpointer user_data)
11373 - NMDevice80211Wireless *device = NM_DEVICE_802_11_WIRELESS (user_data);
11375 - device->priv->supplicant.timeout = NULL;
11380 - * supplicant_timeout_cb
11382 - * Called when the supplicant has been unable to connect to an access point
11383 - * within a specified period of time.
11386 -supplicant_timeout_cb (gpointer user_data)
11387 +supplicant_down (NMSupplicant *supplicant,
11388 + gpointer user_data)
11390 - NMDevice * dev = NM_DEVICE (user_data);
11391 - NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (user_data);
11392 - NMActRequest * req = nm_device_get_act_request (dev);
11393 - NMAccessPoint * ap = nm_act_request_get_ap (req);
11394 - NMData * data = nm_device_get_app_data (dev);
11395 - gboolean has_key;
11396 + NMDevice80211Wireless *self = NM_DEVICE_802_11_WIRELESS (user_data);
11400 - /* Timed out waiting for authentication success; if the security method
11401 - * in use does not require access point side authentication (Open System
11402 - * WEP, for example) then we are likely using the wrong authentication
11403 - * algorithm or key. Request new one from the user.
11405 - if (!ap_is_auth_required (ap, &has_key) && has_key)
11407 - /* Activation failed, we must have bad encryption key */
11408 - nm_info ("Activation (%s/wireless): association took too long (>%us), asking for new key.",
11409 - nm_device_get_iface (dev), get_supplicant_timeout (self));
11410 - nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
11414 - nm_info ("Activation (%s/wireless): association took too long (>%us), failing activation.",
11415 - nm_device_get_iface (dev), get_supplicant_timeout (self));
11416 - if (nm_device_is_activating (dev))
11417 - nm_policy_schedule_activation_failed (nm_device_get_act_request (dev));
11424 - * supplicant_child_setup
11426 - * Set the process group ID of the newly forked process
11430 -supplicant_child_setup (gpointer user_data G_GNUC_UNUSED)
11432 - /* We are in the child process at this point */
11433 - pid_t pid = getpid ();
11434 - setpgid (pid, pid);
11438 -supplicant_exec (NMDevice80211Wireless *self)
11440 - gboolean success = FALSE;
11442 - GError * error = NULL;
11445 - argv[0] = WPA_SUPPLICANT_BIN;
11447 - argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
11450 - success = g_spawn_async ("/", argv, NULL, 0, &supplicant_child_setup, NULL,
11456 - nm_warning ("Couldn't start wpa_supplicant. Error: (%d) %s",
11457 - error->code, error->message);
11458 - g_error_free (error);
11461 - nm_warning ("Couldn't start wpa_supplicant due to an unknown error.");
11465 - /* Monitor the child process so we know when it stops */
11466 - self->priv->supplicant.pid = pid;
11467 - if (self->priv->supplicant.watch)
11468 - g_source_destroy (self->priv->supplicant.watch);
11469 - self->priv->supplicant.watch = g_child_watch_source_new (pid);
11470 - g_source_set_callback (self->priv->supplicant.watch,
11471 - (GSourceFunc) supplicant_watch_cb,
11473 - supplicant_watch_done);
11474 - g_source_attach (self->priv->supplicant.watch, nm_device_get_main_context (NM_DEVICE (self)));
11475 - g_source_unref (self->priv->supplicant.watch);
11483 -supplicant_interface_init (NMDevice80211Wireless *self)
11485 - struct wpa_ctrl * ctrl = NULL;
11486 - char * socket_path;
11487 - const char * iface = nm_device_get_iface (NM_DEVICE (self));
11488 - gboolean success = FALSE;
11491 - /* Try to open wpa_supplicant's global control socket */
11492 - for (tries = 0; tries < WPA_SUPPLICANT_NUM_RETRIES && !ctrl; tries++)
11494 - ctrl = wpa_ctrl_open (WPA_SUPPLICANT_GLOBAL_SOCKET, NM_RUN_DIR);
11495 - g_usleep (WPA_SUPPLICANT_RETRY_TIME_US);
11500 - nm_info ("Error opening supplicant global control interface.");
11504 - /* wpa_cli -g/var/run/wpa_supplicant-global interface_add eth1 "" wext /var/run/wpa_supplicant */
11505 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11506 - "INTERFACE_ADD %s\t\twext\t" WPA_SUPPLICANT_CONTROL_SOCKET "\t", iface))
11508 - wpa_ctrl_close (ctrl);
11510 - /* Get a control socket to wpa_supplicant for this interface.
11511 - * Try a couple times to work around naive socket naming
11512 - * in wpa_ctrl that sometimes collides with stale ones.
11514 - socket_path = supplicant_get_device_socket_path (self);
11515 - while (!self->priv->supplicant.ctrl && (tries++ < 10))
11516 - self->priv->supplicant.ctrl = wpa_ctrl_open (socket_path, NM_RUN_DIR);
11517 - g_free (socket_path);
11518 - if (!self->priv->supplicant.ctrl)
11520 - nm_info ("Error opening control interface to supplicant.");
11531 -supplicant_send_network_config (NMDevice80211Wireless *self,
11532 - NMActRequest *req)
11534 - NMAccessPoint * ap = NULL;
11535 - gboolean success = FALSE;
11536 - char * response = NULL;
11538 - const char * essid;
11539 - struct wpa_ctrl * ctrl;
11540 - gboolean is_adhoc;
11541 - char * hex_essid = NULL;
11542 - const char * ap_scan = "AP_SCAN 1";
11544 - gboolean supports_wpa;
11546 - g_return_val_if_fail (self != NULL, FALSE);
11547 - g_return_val_if_fail (req != NULL, FALSE);
11549 - ap = nm_act_request_get_ap (req);
11552 - ctrl = self->priv->supplicant.ctrl;
11555 - /* Assume that drivers that don't support WPA pretty much suck,
11556 - * and can't handle NM scanning along with wpa_supplicant. Which
11557 - * is the case for most of them, airo in particular.
11559 - caps = nm_device_get_type_capabilities (NM_DEVICE (self));
11560 - supports_wpa = (caps & NM_802_11_CAP_PROTO_WPA)
11561 - || (caps & NM_802_11_CAP_PROTO_WPA2);
11563 - /* Use "AP_SCAN 2" if:
11564 - * - The wireless network is non-broadcast or Ad-Hoc
11565 - * - The wireless driver does not support WPA (stupid drivers...)
11567 - is_adhoc = (nm_ap_get_mode(ap) == IW_MODE_ADHOC);
11568 - if (!nm_ap_get_broadcast (ap) || is_adhoc || !supports_wpa)
11569 - ap_scan = "AP_SCAN 2";
11571 - /* Tell wpa_supplicant that we'll do the scanning */
11572 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, ap_scan))
11575 - /* Standard network setup info */
11576 - if (!(response = nm_utils_supplicant_request (ctrl, "ADD_NETWORK")))
11578 - nm_warning ("Supplicant error for ADD_NETWORK.\n");
11581 - if (sscanf (response, "%i\n", &nwid) != 1)
11583 - nm_warning ("Supplicant error for ADD_NETWORK. Response: '%s'\n", response);
11584 - g_free (response);
11587 - g_free (response);
11589 - if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11592 - essid = nm_ap_get_orig_essid (ap);
11593 - hex_essid = cipher_bin2hexstr (essid, strlen (essid), -1);
11594 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11595 - "SET_NETWORK %i ssid %s", nwid, hex_essid))
11598 - /* For non-broadcast networks, we need to set "scan_ssid 1" to scan with probe request frames.
11599 - * However, don't try to probe Ad-Hoc networks.
11601 - if (!nm_ap_get_broadcast (ap) && !is_adhoc)
11603 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11604 - "SET_NETWORK %i scan_ssid 1", nwid))
11611 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11612 - "SET_NETWORK %i mode 1", nwid))
11616 - if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11619 - if (!nm_ap_security_write_supplicant_config (nm_ap_get_security (ap), ctrl, nwid, is_adhoc))
11622 - if (nm_device_activation_should_cancel (NM_DEVICE (self)))
11625 - if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
11626 - "ENABLE_NETWORK %i", nwid, essid))
11631 - g_free (hex_essid);
11638 -supplicant_monitor_start (NMDevice80211Wireless *self)
11640 - gboolean success = FALSE;
11642 - GIOChannel * channel;
11643 - GMainContext * context;
11645 - g_return_val_if_fail (self != NULL, FALSE);
11647 - /* register network event monitor */
11648 - if (wpa_ctrl_attach (self->priv->supplicant.ctrl) != 0)
11651 - if ((fd = wpa_ctrl_get_fd (self->priv->supplicant.ctrl)) < 0)
11654 - context = nm_device_get_main_context (NM_DEVICE (self));
11655 - channel = g_io_channel_unix_new (fd);
11656 - self->priv->supplicant.status = g_io_create_watch (channel, G_IO_IN);
11657 - g_io_channel_unref (channel);
11658 - g_source_set_callback (self->priv->supplicant.status,
11659 - (GSourceFunc) supplicant_status_cb,
11661 - supplicant_status_done);
11662 - g_source_attach (self->priv->supplicant.status, context);
11663 - g_source_unref (self->priv->supplicant.status);
11665 - /* Set up a timeout on the association to kill it after get_supplicant_time() seconds */
11666 - self->priv->supplicant.timeout = g_timeout_source_new (get_supplicant_timeout (self) * 1000);
11667 - g_source_set_callback (self->priv->supplicant.timeout,
11668 - supplicant_timeout_cb,
11670 - supplicant_timeout_done);
11671 - g_source_attach (self->priv->supplicant.timeout, context);
11672 - g_source_unref (self->priv->supplicant.timeout);
11678 + remove_link_timeout (self);
11684 /****************************************************************************/
11686 static NMActStageReturn
11687 @@ -2965,14 +2716,15 @@
11689 NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (dev);
11690 NMAccessPoint * ap = nm_act_request_get_ap (req);
11691 - NMActStageReturn ret = NM_ACT_STAGE_RETURN_FAILURE;
11692 NMData * data = nm_act_request_get_data (req);
11693 const char * iface;
11694 gboolean ask_user = FALSE;
11695 + GMainContext *ctx;
11699 - supplicant_cleanup (self);
11700 + if (self->priv->supplicant)
11701 + g_object_unref (self->priv->supplicant);
11703 /* If we need an encryption key, get one */
11704 if (ap_need_key (self, ap, &ask_user))
11705 @@ -2981,23 +2733,36 @@
11706 return NM_ACT_STAGE_RETURN_POSTPONE;
11709 + /* Some cards are dumb. Wait a second */
11712 iface = nm_device_get_iface (dev);
11713 - if (!supplicant_exec (self))
11714 + ctx = nm_device_get_main_context (dev);
11716 + self->priv->supplicant = nm_supplicant_new ();
11717 + g_signal_connect (self->priv->supplicant, "state-changed",
11718 + G_CALLBACK (supplicant_state_changed),
11721 + g_signal_connect (self->priv->supplicant, "down",
11722 + G_CALLBACK (supplicant_down),
11725 + if (!nm_supplicant_exec (self->priv->supplicant, ctx))
11727 - nm_warning ("Activation (%s/wireless): couldn't start the supplicant.",
11729 + nm_warning ("Activation (%s/wireless): couldn't start the supplicant.", iface);
11732 - if (!supplicant_interface_init (self))
11733 + if (!nm_supplicant_interface_init (self->priv->supplicant, iface, "wext"))
11735 - nm_warning ("Activation (%s/wireless): couldn't connect to the supplicant.",
11737 + nm_warning ("Activation (%s/wireless): couldn't connect to the supplicant.", iface);
11740 - if (!supplicant_monitor_start (self))
11741 + if (!nm_supplicant_monitor_start (self->priv->supplicant, ctx,
11742 + get_supplicant_timeout (self),
11743 + supplicant_timed_out, self))
11745 - nm_warning ("Activation (%s/wireless): couldn't monitor the supplicant.",
11747 + nm_warning ("Activation (%s/wireless): couldn't monitor the supplicant.", iface);
11750 if (!supplicant_send_network_config (self, req))
11751 @@ -3008,10 +2773,13 @@
11754 /* We'll get stage3 started when the supplicant connects */
11755 - ret = NM_ACT_STAGE_RETURN_POSTPONE;
11756 + return NM_ACT_STAGE_RETURN_POSTPONE;
11760 + g_object_unref (self->priv->supplicant);
11761 + self->priv->supplicant = NULL;
11763 + return NM_ACT_STAGE_RETURN_FAILURE;
11767 @@ -3113,6 +2881,14 @@
11768 /* Activation failed, we must have bad encryption key */
11769 nm_debug ("Activation (%s/wireless): could not get IP configuration info for '%s', asking for new key.",
11770 nm_device_get_iface (dev), nm_ap_get_essid (ap) ? nm_ap_get_essid (ap) : "(none)");
11772 + /* Kill the supplicant */
11773 + if (self->priv->supplicant) {
11774 + g_object_unref (self->priv->supplicant);
11775 + self->priv->supplicant = NULL;
11777 + remove_link_timeout (self);
11779 nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
11780 ret = NM_ACT_STAGE_RETURN_POSTPONE;
11782 @@ -3446,10 +3222,9 @@
11783 char *genie, *gpos, *gend, *custom;
11784 NMAccessPoint *ap = NULL;
11788 struct iw_event iwe_buf, *iwe = &iwe_buf;
11789 struct stream_descr stream;
11790 - struct wireless_scan * wscan = NULL;
11793 g_return_val_if_fail (dev != NULL, FALSE);
11794 diff -urN NetworkManager-0.6.5/src/nm-device-802-11-wireless.h NetworkManager-SVNr3284/src/nm-device-802-11-wireless.h
11795 --- NetworkManager-0.6.5/src/nm-device-802-11-wireless.h 2007-04-18 20:13:06.000000000 +0200
11796 +++ NetworkManager-SVNr3284/src/nm-device-802-11-wireless.h 2008-02-04 16:00:13.000000000 +0100
11799 NMAPSecurity *security);
11801 -void nm_device_802_11_wireless_set_scan_interval (struct NMData *data,
11802 - NMDevice80211Wireless *dev,
11803 - NMWirelessScanInterval interval);
11804 +void nm_device_802_11_wireless_ui_activated (struct NMData *data,
11805 + NMWirelessScanInterval interval);
11807 void nm_device_802_11_wireless_copy_allowed_to_dev_list (NMDevice80211Wireless *self,
11808 struct NMAccessPointList *allowed_list);
11809 diff -urN NetworkManager-0.6.5/src/nm-device-802-3-ethernet.c NetworkManager-SVNr3284/src/nm-device-802-3-ethernet.c
11810 --- NetworkManager-0.6.5/src/nm-device-802-3-ethernet.c 2007-04-18 20:13:06.000000000 +0200
11811 +++ NetworkManager-SVNr3284/src/nm-device-802-3-ethernet.c 2008-02-04 16:00:13.000000000 +0100
11813 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
11815 /* NetworkManager -- Network link manager
11817 * Dan Williams <dcbw@redhat.com>
11819 #include "nm-device-private.h"
11820 #include "NetworkManagerMain.h"
11821 #include "nm-activation-request.h"
11822 +#include "nm-supplicant.h"
11823 #include "NetworkManagerUtils.h"
11824 #include "NetworkManagerPolicy.h"
11825 +#include "nm-dbus-nmi.h"
11826 #include "nm-utils.h"
11827 #include "kernel-types.h"
11830 char * carrier_file_path;
11831 gulong link_connected_id;
11832 gulong link_disconnected_id;
11833 + NMSupplicant * supplicant;
11834 + GSource * link_timeout;
11835 + gboolean failed_8021x;
11838 static gboolean supports_mii_carrier_detect (NMDevice8023Ethernet *dev);
11841 NMDevice8023Ethernet *self);
11843 +static void remove_link_timeout (NMDevice8023Ethernet *self);
11847 nm_device_802_3_ethernet_init (NMDevice8023Ethernet * self)
11850 link_activated_helper (NMDevice8023Ethernet *self)
11852 - nm_device_set_active_link (NM_DEVICE (self), TRUE);
11853 + if (!self->priv->failed_8021x)
11854 + nm_device_set_active_link (NM_DEVICE (self), TRUE);
11859 @@ -108,18 +119,16 @@
11861 NMDevice8023Ethernet *self)
11863 + GSource * source;
11865 /* Make sure signal is for us */
11866 if (NM_DEVICE (self) != NM_DEVICE (obj))
11869 - if (!nm_device_has_active_link (NM_DEVICE (self)))
11871 - GSource * source = g_idle_source_new ();
11873 - g_source_set_callback (source, (GSourceFunc) link_activated_helper, self, NULL);
11874 - g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
11875 - g_source_unref (source);
11877 + source = g_idle_source_new ();
11878 + g_source_set_callback (source, (GSourceFunc) link_activated_helper, self, NULL);
11879 + g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
11880 + g_source_unref (source);
11884 @@ -135,48 +144,50 @@
11886 NMDevice8023Ethernet *self)
11888 + GSource * source;
11890 /* Make sure signal is for us */
11891 if (NM_DEVICE (self) != NM_DEVICE (obj))
11894 - if (nm_device_has_active_link (NM_DEVICE (self)))
11896 - GSource * source = g_idle_source_new ();
11898 - g_source_set_callback (source, (GSourceFunc) link_deactivated_helper, self, NULL);
11899 - g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
11900 - g_source_unref (source);
11902 + source = g_idle_source_new ();
11903 + g_source_set_callback (source, (GSourceFunc) link_deactivated_helper, self, NULL);
11904 + g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
11905 + g_source_unref (source);
11909 -real_update_link (NMDevice *dev)
11911 +poll_link_state (NMDevice8023Ethernet *self)
11913 - NMDevice8023Ethernet * self = NM_DEVICE_802_3_ETHERNET (dev);
11914 - gboolean have_link = FALSE;
11915 + gboolean have_link = FALSE;
11917 - gchar * contents;
11922 - if (nm_device_get_removed (NM_DEVICE (self)))
11924 + if (nm_device_get_removed (NM_DEVICE (self)) || self->priv->failed_8021x)
11927 /* Devices that don't support carrier detect are always "on" and
11928 * must be manually chosen by the user.
11930 caps = nm_device_get_capabilities (NM_DEVICE (self));
11931 - if (!(caps & NM_DEVICE_CAP_CARRIER_DETECT)) {
11932 - have_link = TRUE;
11935 + if (!(caps & NM_DEVICE_CAP_CARRIER_DETECT))
11938 if (g_file_get_contents (self->priv->carrier_file_path, &contents, &length, NULL)) {
11939 have_link = atoi (contents) > 0 ? TRUE : FALSE;
11944 - nm_device_set_active_link (NM_DEVICE (self), have_link);
11945 + return have_link;
11949 +real_update_link (NMDevice *dev)
11951 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (dev);
11953 + nm_device_set_active_link (NM_DEVICE (self), poll_link_state (self));
11957 @@ -211,6 +222,287 @@
11963 +real_deactivate_quickly (NMDevice *dev)
11965 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (dev);
11966 + gboolean have_link;
11968 + if (self->priv->supplicant) {
11969 + g_object_unref (self->priv->supplicant);
11970 + self->priv->supplicant = NULL;
11973 + remove_link_timeout (self);
11975 + self->priv->failed_8021x = FALSE;
11976 + have_link = poll_link_state (self);
11977 + if (nm_device_has_active_link (dev) != have_link) {
11978 + GSource * source;
11980 + source = g_idle_source_new ();
11982 + g_source_set_callback (source, (GSourceFunc) link_activated_helper, self, NULL);
11984 + g_source_set_callback (source, (GSourceFunc) link_deactivated_helper, self, NULL);
11985 + g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
11986 + g_source_unref (source);
11991 +static NMActStageReturn
11992 +real_act_stage1_prepare (NMDevice *dev, NMActRequest *req)
11994 + NMDevice8023Ethernet * self = NM_DEVICE_802_3_ETHERNET (dev);
11995 + NMDevice8023EthernetClass * klass;
11996 + NMDeviceClass * parent_class;
11998 + /* Ensure ethernet devices have a link before going further with activation,
11999 + * partially works around Fedora #194124.
12001 + if (!nm_device_has_active_link (dev))
12002 + return NM_ACT_STAGE_RETURN_FAILURE;
12004 + /* Chain up to parent */
12005 + klass = NM_DEVICE_802_3_ETHERNET_GET_CLASS (self);
12006 + parent_class = NM_DEVICE_CLASS (g_type_class_peek_parent (klass));
12007 + return parent_class->act_stage1_prepare (dev, req);
12011 +supplicant_send_network_config (NMDevice8023Ethernet *self,
12012 + NMAPSecurity *security)
12014 + gboolean success = FALSE;
12015 + char *response = NULL;
12017 + struct wpa_ctrl *ctrl;
12019 + ctrl = nm_supplicant_get_ctrl (self->priv->supplicant);
12022 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "AP_SCAN 0"))
12025 + /* Standard network setup info */
12026 + if (!(response = nm_utils_supplicant_request (ctrl, "ADD_NETWORK"))) {
12027 + nm_warning ("Supplicant error for ADD_NETWORK.\n");
12030 + if (sscanf (response, "%i\n", &nwid) != 1)
12032 + nm_warning ("Supplicant error for ADD_NETWORK. Response: '%s'\n", response);
12033 + g_free (response);
12036 + g_free (response);
12038 + if (!nm_ap_security_write_supplicant_config (security, ctrl, nwid, NM_AP_SECURITY_WRITE_FLAG_WIRED))
12041 + if (nm_device_activation_should_cancel (NM_DEVICE (self)))
12044 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
12045 + "ENABLE_NETWORK %i", nwid))
12054 +remove_link_timeout (NMDevice8023Ethernet *self)
12056 + if (self->priv->link_timeout) {
12057 + g_source_destroy (self->priv->link_timeout);
12058 + self->priv->link_timeout = NULL;
12063 +link_timeout_done (gpointer user_data)
12065 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (user_data);
12067 + self->priv->link_timeout = NULL;
12071 +link_timeout_cb (gpointer user_data)
12073 + NMDevice * dev = NM_DEVICE (user_data);
12074 + NMDevice8023Ethernet * self = NM_DEVICE_802_3_ETHERNET (user_data);
12075 + NMActRequest * req = nm_device_get_act_request (dev);
12076 + NMData * data = nm_device_get_app_data (dev);
12078 + /* Disconnect event during initial authentication and credentials
12079 + * ARE checked - we are likely to have wrong key. Ask the user for
12082 + if (nm_act_request_get_stage (req) == NM_ACT_STAGE_DEVICE_CONFIG) {
12083 + /* Association/authentication failed, we must have bad encryption key */
12084 + nm_info ("Activation (%s/wired): disconnected during association,"
12085 + " asking for new key.", nm_device_get_iface (dev));
12086 + nm_supplicant_remove_timeout (self->priv->supplicant);
12087 + nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
12089 + nm_info ("%s: link timed out.", nm_device_get_iface (dev));
12090 + self->priv->failed_8021x = TRUE;
12091 + nm_device_set_active_link (dev, FALSE);
12098 +supplicant_timed_out (gpointer user_data)
12100 + NMDevice *dev = NM_DEVICE (user_data);
12101 + NMData *data = nm_device_get_app_data (dev);
12102 + NMActRequest *req = nm_device_get_act_request (dev);
12104 + nm_info ("Activation (%s/): association took too long, asking for new key.", nm_device_get_iface (dev));
12105 + nm_dbus_get_user_key_for_network (data->dbus_connection, req, TRUE);
12111 +supplicant_state_changed (NMSupplicant *supplicant,
12112 + gboolean connected,
12113 + gpointer user_data)
12115 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (user_data);
12116 + NMDevice *dev = NM_DEVICE (self);
12117 + NMActRequest *req = nm_device_get_act_request (NM_DEVICE (self));
12120 + remove_link_timeout (self);
12121 + nm_device_set_active_link (dev, TRUE);
12123 + /* If this is the initial association during device activation,
12124 + * schedule the next activation stage.
12126 + if (req && (nm_act_request_get_stage (req) == NM_ACT_STAGE_DEVICE_CONFIG)) {
12127 + nm_info ("Activation (%s) Stage 2 of 5 (Device Configure) successful.",
12128 + nm_device_get_iface (dev));
12129 + nm_supplicant_remove_timeout (self->priv->supplicant);
12130 + nm_device_activate_schedule_stage3_ip_config_start (req);
12133 + if (nm_device_is_activated (dev) || nm_device_is_activating (dev)) {
12134 + /* Start the link timeout so we allow some time for reauthentication */
12135 + if (!self->priv->link_timeout) {
12136 + self->priv->link_timeout = g_timeout_source_new (8000);
12137 + g_source_set_callback (self->priv->link_timeout,
12140 + link_timeout_done);
12141 + g_source_attach (self->priv->link_timeout, nm_device_get_main_context (dev));
12142 + g_source_unref (self->priv->link_timeout);
12145 + nm_device_set_active_link (dev, FALSE);
12150 +supplicant_down (NMSupplicant *supplicant,
12151 + gpointer user_data)
12153 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (user_data);
12155 + remove_link_timeout (self);
12158 +static NMActStageReturn
12159 +real_act_stage2_config (NMDevice *dev, NMActRequest *req)
12161 + NMDevice8023Ethernet *self = NM_DEVICE_802_3_ETHERNET (dev);
12162 + NMWiredNetwork *wired_net;
12163 + NMAPSecurity *security;
12164 + const char *iface;
12165 + GMainContext *ctx;
12167 + if (self->priv->supplicant)
12168 + g_object_unref (self->priv->supplicant);
12170 + wired_net = nm_act_request_get_wired_network (req);
12172 + return NM_ACT_STAGE_RETURN_SUCCESS;
12174 + iface = nm_device_get_iface (dev);
12175 + security = nm_wired_network_get_security (wired_net);
12177 + if (!nm_ap_security_get_key (security)) {
12178 + NMData *data = nm_act_request_get_data (req);
12180 + nm_info ("Activation (%s): using 802.1X authentication, but NO valid key exists. New key needed.", iface);
12181 + nm_dbus_get_user_key_for_network (data->dbus_connection, req, FALSE);
12183 + return NM_ACT_STAGE_RETURN_POSTPONE;
12186 + nm_info ("Activation (%s): using 802.1X authentication and a key exists. No new key needed.", iface);
12188 + self->priv->supplicant = nm_supplicant_new ();
12189 + g_signal_connect (self->priv->supplicant, "state-changed",
12190 + G_CALLBACK (supplicant_state_changed),
12193 + g_signal_connect (self->priv->supplicant, "down",
12194 + G_CALLBACK (supplicant_down),
12197 + ctx = nm_device_get_main_context (dev);
12199 + if (!nm_supplicant_exec (self->priv->supplicant, ctx)) {
12200 + nm_warning ("Activation (%s): couldn't start the supplicant.", iface);
12203 + if (!nm_supplicant_interface_init (self->priv->supplicant, iface, "wired")) {
12204 + nm_warning ("Activation (%s): couldn't connect to the supplicant.", iface);
12207 + if (!nm_supplicant_monitor_start (self->priv->supplicant, ctx, 10,
12208 + supplicant_timed_out, self)) {
12209 + nm_warning ("Activation (%s): couldn't monitor the supplicant.", iface);
12212 + if (!supplicant_send_network_config (self, security)) {
12213 + nm_warning ("Activation (%s): couldn't send security information"
12214 + " to the supplicant.", iface);
12218 + /* We'll get stage3 started when the supplicant connects */
12219 + return NM_ACT_STAGE_RETURN_POSTPONE;
12222 + g_object_unref (self->priv->supplicant);
12223 + self->priv->supplicant = NULL;
12225 + return NM_ACT_STAGE_RETURN_FAILURE;
12229 +real_activation_success_handler (NMDevice *dev, NMActRequest *req)
12231 + NMWiredNetwork *wired_net;
12233 + wired_net = nm_act_request_get_wired_network (req);
12235 + NMData *app_data;
12237 + app_data = nm_act_request_get_data (req);
12238 + nm_dbus_update_wired_network_info (app_data->dbus_connection, wired_net);
12243 nm_device_802_3_ethernet_dispose (GObject *object)
12245 @@ -275,6 +567,10 @@
12246 parent_class->get_generic_capabilities = real_get_generic_capabilities;
12247 parent_class->init = real_init;
12248 parent_class->update_link = real_update_link;
12249 + parent_class->act_stage1_prepare = real_act_stage1_prepare;
12250 + parent_class->act_stage2_config = real_act_stage2_config;
12251 + parent_class->deactivate_quickly = real_deactivate_quickly;
12252 + parent_class->activation_success_handler = real_activation_success_handler;
12254 g_type_class_add_private (object_class, sizeof (NMDevice8023EthernetPrivate));
12256 @@ -386,7 +682,9 @@
12257 /**************************************/
12258 /* MII capability detection */
12259 /**************************************/
12260 +#define _LINUX_IF_H
12261 #include <linux/mii.h>
12262 +#undef _LINUX_IF_H
12265 mdio_read (NMDevice8023Ethernet *self, NMSock *sk, struct ifreq *ifr, int location)
12266 diff -urN NetworkManager-0.6.5/src/nm-device.c NetworkManager-SVNr3284/src/nm-device.c
12267 --- NetworkManager-0.6.5/src/nm-device.c 2007-04-18 20:13:06.000000000 +0200
12268 +++ NetworkManager-SVNr3284/src/nm-device.c 2008-02-04 16:00:13.000000000 +0100
12269 @@ -620,7 +620,7 @@
12272 /* FIXME: Why is this activation request created here and never used? */
12273 - /* if (do_switch && (act_req = nm_act_request_new (app_data, self, NULL, TRUE))) */
12274 + /* if (do_switch && (act_req = nm_act_request_new (app_data, self, TRUE))) */
12277 nm_info ("Will activate wired connection '%s' because it now has a link.", nm_device_get_iface (self));
12278 @@ -856,6 +856,12 @@
12279 data = nm_act_request_get_data (req);
12282 + /* Sometimes the device gets downed by wpa_supplicant; in any case, make
12283 + * sure it's up before anything tries to use it.
12285 + if (!nm_device_is_up (self))
12286 + nm_device_bring_up (self);
12288 /* DHCP devices try DHCP, non-DHCP default to SUCCESS */
12289 if (nm_device_get_use_dhcp (self))
12291 diff -urN NetworkManager-0.6.5/src/nm-netlink-monitor.c NetworkManager-SVNr3284/src/nm-netlink-monitor.c
12292 --- NetworkManager-0.6.5/src/nm-netlink-monitor.c 2007-04-18 20:13:06.000000000 +0200
12293 +++ NetworkManager-SVNr3284/src/nm-netlink-monitor.c 2008-02-04 16:00:13.000000000 +0100
12294 @@ -174,7 +174,7 @@
12297 monitor_address.nl_family = AF_NETLINK;
12298 - monitor_address.nl_pid = getpid ();
12299 + monitor_address.nl_pid = UINT_MAX;
12300 monitor_address.nl_groups = RTMGRP_LINK;
12303 @@ -365,7 +365,7 @@
12304 packet.header.nlmsg_len = NLMSG_LENGTH (sizeof (struct rtgenmsg));
12305 packet.header.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST;
12306 packet.header.nlmsg_type = RTM_GETLINK;
12307 - packet.header.nlmsg_pid = getpid ();
12308 + packet.header.nlmsg_pid = UINT_MAX;
12309 /* Might be good to generate a unique sequence number and track
12311 packet.header.nlmsg_seq = sequence_number << 16;
12312 diff -urN NetworkManager-0.6.5/src/nm-supplicant.c NetworkManager-SVNr3284/src/nm-supplicant.c
12313 --- NetworkManager-0.6.5/src/nm-supplicant.c 1970-01-01 01:00:00.000000000 +0100
12314 +++ NetworkManager-SVNr3284/src/nm-supplicant.c 2008-02-04 16:00:13.000000000 +0100
12316 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
12318 +#include <signal.h>
12319 +#include <sys/wait.h>
12320 +#include <unistd.h>
12322 +#include "nm-supplicant.h"
12323 +#include "NetworkManagerUtils.h"
12324 +#include "nm-utils.h"
12325 +#include "wpa_ctrl.h"
12328 +/****************************************************************************/
12329 +/* WPA Supplicant control stuff
12331 + * Originally from:
12333 + * wpa_supplicant wrapper
12335 + * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
12337 + * This program is free software; you can redistribute it and/or modify it
12338 + * under the terms of the GNU General Public License as published by the
12339 + * Free Software Foundation version 2 of the License.
12342 +#define WPA_SUPPLICANT_GLOBAL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant-global"
12343 +#define WPA_SUPPLICANT_CONTROL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant"
12344 +#define WPA_SUPPLICANT_NUM_RETRIES 20
12345 +#define WPA_SUPPLICANT_RETRY_TIME_US 100*1000
12347 +G_DEFINE_TYPE (NMSupplicant, nm_supplicant, G_TYPE_OBJECT)
12349 +#define NM_SUPPLICANT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_SUPPLICANT, NMSupplicantPrivate))
12355 + GSource *timeout;
12356 + struct wpa_ctrl *ctrl;
12358 + char *socket_path;
12360 +} NMSupplicantPrivate;
12369 +static guint signals[LAST_SIGNAL] = { 0 };
12372 +nm_supplicant_new (void)
12374 + return (NMSupplicant *) g_object_new (NM_TYPE_SUPPLICANT, NULL);
12378 +nm_supplicant_remove_timeout (NMSupplicant *self)
12380 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (self);
12382 + /* Remove any pending timeouts on the request */
12383 + if (priv->timeout != NULL) {
12384 + g_source_destroy (priv->timeout);
12385 + priv->timeout = NULL;
12390 +nm_supplicant_down (NMSupplicant *self)
12392 + NMSupplicantPrivate *priv;
12394 + g_return_if_fail (NM_IS_SUPPLICANT (self));
12396 + priv = NM_SUPPLICANT_GET_PRIVATE (self);
12398 + if (priv->pid > 0) {
12399 + kill (priv->pid, SIGTERM);
12403 + if (priv->watch) {
12404 + g_source_destroy (priv->watch);
12405 + priv->watch = NULL;
12408 + if (priv->status) {
12409 + g_source_destroy (priv->status);
12410 + priv->status = NULL;
12413 + if (priv->ctrl) {
12414 + wpa_ctrl_close (priv->ctrl);
12415 + priv->ctrl = NULL;
12418 + nm_supplicant_remove_timeout (self);
12420 + /* HACK: should be fixed in wpa_supplicant. Will likely
12421 + * require accomodations for selinux.
12423 + unlink (WPA_SUPPLICANT_GLOBAL_SOCKET);
12424 + unlink (priv->socket_path);
12426 + g_signal_emit (self, signals[DOWN], 0);
12430 +supplicant_watch_done (gpointer user_data)
12432 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (user_data);
12434 + priv->watch = NULL;
12438 +supplicant_watch_cb (GPid pid,
12440 + gpointer user_data)
12442 + NMSupplicant *self = NM_SUPPLICANT (user_data);
12444 + if (WIFEXITED (status))
12445 + nm_warning ("wpa_supplicant exited with error code %d", WEXITSTATUS (status));
12446 + else if (WIFSTOPPED (status))
12447 + nm_warning ("wpa_supplicant stopped unexpectedly with signal %d", WSTOPSIG (status));
12448 + else if (WIFSIGNALED (status))
12449 + nm_warning ("wpa_supplicant died with signal %d", WTERMSIG (status));
12451 + nm_warning ("wpa_supplicant died from an unknown cause");
12453 + nm_supplicant_down (self);
12457 + * supplicant_child_setup
12459 + * Set the process group ID of the newly forked process
12463 +supplicant_child_setup (gpointer user_data G_GNUC_UNUSED)
12465 + /* We are in the child process at this point */
12466 + pid_t pid = getpid ();
12467 + setpgid (pid, pid);
12471 +nm_supplicant_exec (NMSupplicant *self,
12472 + GMainContext *ctx)
12474 + gboolean success;
12477 + GError *err = NULL;
12479 + g_return_val_if_fail (NM_IS_SUPPLICANT (self), FALSE);
12481 + argv[0] = WPA_SUPPLICANT_BIN;
12483 + argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
12486 + success = g_spawn_async ("/", argv, NULL, 0, &supplicant_child_setup, NULL, &pid, &err);
12489 + nm_warning ("Couldn't start wpa_supplicant. Error: (%d) %s", err->code, err->message);
12490 + g_error_free (err);
12492 + nm_warning ("Couldn't start wpa_supplicant due to an unknown error.");
12494 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (self);
12496 + /* Monitor the child process so we know when it stops */
12499 + g_source_destroy (priv->watch);
12501 + priv->watch = g_child_watch_source_new (pid);
12502 + g_source_set_callback (priv->watch,
12503 + (GSourceFunc) supplicant_watch_cb,
12505 + supplicant_watch_done);
12506 + g_source_attach (priv->watch, ctx);
12507 + g_source_unref (priv->watch);
12514 +nm_supplicant_interface_init (NMSupplicant *self,
12515 + const char *iface,
12516 + const char *supplicant_driver)
12518 + NMSupplicantPrivate *priv;
12519 + struct wpa_ctrl *ctrl = NULL;
12522 + g_return_val_if_fail (NM_IS_SUPPLICANT (self), FALSE);
12523 + g_return_val_if_fail (iface != NULL, FALSE);
12525 + /* Try to open wpa_supplicant's global control socket */
12526 + for (tries = 0; tries < WPA_SUPPLICANT_NUM_RETRIES && !ctrl; tries++) {
12527 + ctrl = wpa_ctrl_open (WPA_SUPPLICANT_GLOBAL_SOCKET, NM_RUN_DIR);
12528 + g_usleep (WPA_SUPPLICANT_RETRY_TIME_US);
12532 + nm_info ("Error opening supplicant global control interface.");
12536 + /* wpa_cli -g/var/run/wpa_supplicant-global interface_add eth1 "" wext /var/run/wpa_supplicant */
12537 + if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
12538 + "INTERFACE_ADD %s\t\t%s\t" WPA_SUPPLICANT_CONTROL_SOCKET "\t",
12539 + iface, supplicant_driver)) {
12540 + wpa_ctrl_close (ctrl);
12544 + wpa_ctrl_close (ctrl);
12546 + priv = NM_SUPPLICANT_GET_PRIVATE (self);
12548 + /* Get a control socket to wpa_supplicant for this interface.
12549 + * Try a couple times to work around naive socket naming
12550 + * in wpa_ctrl that sometimes collides with stale ones.
12552 + priv->socket_path = g_strdup_printf (WPA_SUPPLICANT_CONTROL_SOCKET "/%s", iface);
12554 + while (!priv->ctrl && (tries++ < 10))
12555 + priv->ctrl = wpa_ctrl_open (priv->socket_path, NM_RUN_DIR);
12558 + nm_info ("Error opening control interface to supplicant.");
12560 + return priv->ctrl != NULL;
12564 +supplicant_status_done (gpointer user_data)
12566 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (user_data);
12568 + priv->status = NULL;
12572 +supplicant_state_changed (NMSupplicant *self, gboolean up)
12574 + nm_info ("Supplicant state changed: %d", up);
12575 + g_signal_emit (self, signals[STATE_CHANGED], 0, up);
12578 +#define MESSAGE_LEN 2048
12581 +supplicant_status_cb (GIOChannel *source,
12582 + GIOCondition condition,
12583 + gpointer user_data)
12585 + NMSupplicant *self = NM_SUPPLICANT (user_data);
12586 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (self);
12587 + size_t len = MESSAGE_LEN;
12589 + wpa_ctrl_recv (priv->ctrl, priv->message, &len);
12590 + priv->message[len] = '\0';
12592 + if (strstr (priv->message, WPA_EVENT_CONNECTED) != NULL)
12593 + supplicant_state_changed (self, TRUE);
12594 + else if (strstr (priv->message, WPA_EVENT_DISCONNECTED) != NULL)
12595 + supplicant_state_changed (self, FALSE);
12601 + NMSupplicant *supplicant;
12602 + GSourceFunc callback;
12603 + gpointer user_data;
12607 +supplicant_timeout_done (gpointer user_data)
12609 + TimeoutInfo *info = (TimeoutInfo *) user_data;
12611 + NM_SUPPLICANT_GET_PRIVATE (info->supplicant)->timeout = NULL;
12617 +supplicant_timeout_cb (gpointer user_data)
12619 + TimeoutInfo *info = (TimeoutInfo *) user_data;
12621 + info->callback (info->user_data);
12625 +nm_supplicant_monitor_start (NMSupplicant *self,
12626 + GMainContext *context,
12628 + GSourceFunc timeout_cb,
12629 + gpointer user_data)
12631 + NMSupplicantPrivate *priv;
12633 + GIOChannel *channel;
12635 + g_return_val_if_fail (NM_IS_SUPPLICANT (self), FALSE);
12637 + priv = NM_SUPPLICANT_GET_PRIVATE (self);
12639 + /* register network event monitor */
12640 + if (wpa_ctrl_attach (priv->ctrl) != 0)
12643 + if ((fd = wpa_ctrl_get_fd (priv->ctrl)) < 0)
12646 + channel = g_io_channel_unix_new (fd);
12647 + priv->status = g_io_create_watch (channel, G_IO_IN);
12648 + g_io_channel_unref (channel);
12649 + g_source_set_callback (priv->status,
12650 + (GSourceFunc) supplicant_status_cb,
12652 + supplicant_status_done);
12653 + g_source_attach (priv->status, context);
12654 + g_source_unref (priv->status);
12656 + if (timeout_cb) {
12657 + TimeoutInfo *info;
12659 + info = g_new (TimeoutInfo, 1);
12660 + info->supplicant = self;
12661 + info->callback = timeout_cb;
12662 + info->user_data = user_data;
12664 + priv->timeout = g_timeout_source_new (timeout * 1000);
12665 + g_source_set_callback (priv->timeout,
12666 + (GSourceFunc) supplicant_timeout_cb,
12668 + supplicant_timeout_done);
12669 + g_source_attach (priv->timeout, context);
12670 + g_source_unref (priv->timeout);
12677 +nm_supplicant_get_ctrl (NMSupplicant *self)
12679 + g_return_val_if_fail (NM_IS_SUPPLICANT (self), NULL);
12681 + return NM_SUPPLICANT_GET_PRIVATE (self)->ctrl;
12684 +/*****************************************************************************/
12687 +nm_supplicant_init (NMSupplicant *supplicant)
12689 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (supplicant);
12691 + priv->message = g_malloc (MESSAGE_LEN);
12695 +finalize (GObject *object)
12697 + NMSupplicantPrivate *priv = NM_SUPPLICANT_GET_PRIVATE (object);
12699 + nm_supplicant_down (NM_SUPPLICANT (object));
12701 + g_free (priv->socket_path);
12702 + g_free (priv->message);
12704 + G_OBJECT_CLASS (nm_supplicant_parent_class)->finalize (object);
12708 +nm_supplicant_class_init (NMSupplicantClass *supplicant_class)
12710 + GObjectClass *object_class = G_OBJECT_CLASS (supplicant_class);
12712 + g_type_class_add_private (supplicant_class, sizeof (NMSupplicantPrivate));
12714 + object_class->finalize = finalize;
12717 + signals[STATE_CHANGED] =
12718 + g_signal_new ("state-changed",
12719 + G_OBJECT_CLASS_TYPE (object_class),
12720 + G_SIGNAL_RUN_FIRST,
12721 + G_STRUCT_OFFSET (NMSupplicantClass, state_changed),
12723 + g_cclosure_marshal_VOID__BOOLEAN,
12728 + g_signal_new ("down",
12729 + G_OBJECT_CLASS_TYPE (object_class),
12730 + G_SIGNAL_RUN_FIRST,
12731 + G_STRUCT_OFFSET (NMSupplicantClass, down),
12733 + g_cclosure_marshal_VOID__VOID,
12736 diff -urN NetworkManager-0.6.5/src/nm-supplicant.h NetworkManager-SVNr3284/src/nm-supplicant.h
12737 --- NetworkManager-0.6.5/src/nm-supplicant.h 1970-01-01 01:00:00.000000000 +0100
12738 +++ NetworkManager-SVNr3284/src/nm-supplicant.h 2008-02-04 16:00:13.000000000 +0100
12740 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
12742 +#ifndef NM_SUPPLICANT_H
12743 +#define NM_SUPPLICANT_H 1
12745 +#include <glib/gtypes.h>
12746 +#include <glib-object.h>
12748 +#define NM_TYPE_SUPPLICANT (nm_supplicant_get_type ())
12749 +#define NM_SUPPLICANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SUPPLICANT, NMSupplicant))
12750 +#define NM_SUPPLICANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SUPPLICANT, NMSupplicantClass))
12751 +#define NM_IS_SUPPLICANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SUPPLICANT))
12752 +#define NM_IS_SUPPLICANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_SUPPLICANT))
12753 +#define NM_SUPPLICANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SUPPLICANT, NMSupplicantClass))
12760 + GObjectClass parent;
12763 + void (*state_changed) (NMSupplicant *supplicant,
12764 + gboolean connected);
12766 + void (*down) (NMSupplicant *supplicant);
12767 +} NMSupplicantClass;
12769 +GType nm_supplicant_get_type (void);
12771 +NMSupplicant *nm_supplicant_new (void);
12772 +gboolean nm_supplicant_exec (NMSupplicant *self,
12773 + GMainContext *ctx);
12775 +gboolean nm_supplicant_interface_init (NMSupplicant *self,
12776 + const char *iface,
12777 + const char *supplicant_driver);
12779 +gboolean nm_supplicant_monitor_start (NMSupplicant *self,
12780 + GMainContext *context,
12782 + GSourceFunc timeout_cb,
12783 + gpointer user_data);
12785 +void nm_supplicant_remove_timeout (NMSupplicant *self);
12787 +void nm_supplicant_down (NMSupplicant *self);
12789 +struct wpa_ctrl *nm_supplicant_get_ctrl (NMSupplicant *self);
12792 +#endif /* NM_SUPPLICANT_H */
12793 diff -urN NetworkManager-0.6.5/src/nm-wired-network.c NetworkManager-SVNr3284/src/nm-wired-network.c
12794 --- NetworkManager-0.6.5/src/nm-wired-network.c 1970-01-01 01:00:00.000000000 +0100
12795 +++ NetworkManager-SVNr3284/src/nm-wired-network.c 2008-02-04 16:00:13.000000000 +0100
12797 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
12799 +#include "nm-wired-network.h"
12801 +G_DEFINE_TYPE (NMWiredNetwork, nm_wired_network, G_TYPE_OBJECT)
12803 +#define NM_WIRED_NETWORK_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_WIRED_NETWORK, NMWiredNetworkPrivate))
12806 + char *network_id;
12807 + NMAPSecurity *security;
12808 +} NMWiredNetworkPrivate;
12811 +nm_wired_network_new (const char *network_id, NMAPSecurity *security)
12813 + NMWiredNetwork *wired_net;
12814 + NMWiredNetworkPrivate *priv;
12816 + g_return_val_if_fail (network_id != NULL, NULL);
12817 + g_return_val_if_fail (security != NULL, NULL);
12819 + wired_net = (NMWiredNetwork *) g_object_new (NM_TYPE_WIRED_NETWORK, NULL);
12823 + priv = NM_WIRED_NETWORK_GET_PRIVATE (wired_net);
12824 + priv->network_id = g_strdup (network_id);
12825 + priv->security = g_object_ref (security);
12827 + return wired_net;
12831 +nm_wired_network_get_network_id (NMWiredNetwork *net)
12833 + g_return_val_if_fail (NM_IS_WIRED_NETWORK (net), NULL);
12835 + return NM_WIRED_NETWORK_GET_PRIVATE (net)->network_id;
12839 +nm_wired_network_get_security (NMWiredNetwork *net)
12841 + g_return_val_if_fail (NM_IS_WIRED_NETWORK (net), NULL);
12843 + return NM_WIRED_NETWORK_GET_PRIVATE (net)->security;
12847 +nm_wired_network_set_security (NMWiredNetwork *net, NMAPSecurity *security)
12849 + NMWiredNetworkPrivate *priv;
12851 + g_return_if_fail (NM_IS_WIRED_NETWORK (net));
12853 + priv = NM_WIRED_NETWORK_GET_PRIVATE (net);
12854 + if (priv->security)
12855 + g_object_unref (priv->security);
12857 + priv->security = security ? g_object_ref (security) : NULL;
12862 +nm_wired_network_init (NMWiredNetwork *wired_net)
12867 +finalize (GObject *object)
12869 + NMWiredNetworkPrivate *priv = NM_WIRED_NETWORK_GET_PRIVATE (object);
12871 + g_free (priv->network_id);
12872 + g_object_unref (priv->security);
12874 + G_OBJECT_CLASS (nm_wired_network_parent_class)->finalize (object);
12878 +nm_wired_network_class_init (NMWiredNetworkClass *wired_class)
12880 + GObjectClass *object_class = G_OBJECT_CLASS (wired_class);
12882 + g_type_class_add_private (wired_class, sizeof (NMWiredNetworkPrivate));
12884 + object_class->finalize = finalize;
12886 diff -urN NetworkManager-0.6.5/src/nm-wired-network.h NetworkManager-SVNr3284/src/nm-wired-network.h
12887 --- NetworkManager-0.6.5/src/nm-wired-network.h 1970-01-01 01:00:00.000000000 +0100
12888 +++ NetworkManager-SVNr3284/src/nm-wired-network.h 2008-02-04 16:00:13.000000000 +0100
12890 +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
12892 +#ifndef NM_WIRED_NETWORK_H
12893 +#define NM_WIRED_NETWORK_H 1
12895 +#include <glib/gtypes.h>
12896 +#include <glib-object.h>
12897 +#include "nm-ap-security.h"
12899 +#define NM_TYPE_WIRED_NETWORK (nm_wired_network_get_type ())
12900 +#define NM_WIRED_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_WIRED_NETWORK, NMWiredNetwork))
12901 +#define NM_WIRED_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_WIRED_NETWORK, NMWiredNetworkClass))
12902 +#define NM_IS_WIRED_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_WIRED_NETWORK))
12903 +#define NM_IS_WIRED_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_WIRED_NETWORK))
12904 +#define NM_WIRED_NETWORK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_WIRED_NETWORK, NMWiredNetworkClass))
12911 + GObjectClass parent;
12912 +} NMWiredNetworkClass;
12914 +GType nm_wired_network_get_type (void);
12916 +NMWiredNetwork *nm_wired_network_new (const char *network_id,
12917 + NMAPSecurity *security);
12919 +const char *nm_wired_network_get_network_id (NMWiredNetwork *net);
12920 +NMAPSecurity *nm_wired_network_get_security (NMWiredNetwork *net);
12921 +void nm_wired_network_set_security (NMWiredNetwork *net,
12922 + NMAPSecurity *security);
12924 +#endif /* NM_WIRED_NETWORK_H */
12925 diff -urN NetworkManager-0.6.5/src/vpn-manager/nm-dbus-vpn.c NetworkManager-SVNr3284/src/vpn-manager/nm-dbus-vpn.c
12926 --- NetworkManager-0.6.5/src/vpn-manager/nm-dbus-vpn.c 2007-04-18 20:13:05.000000000 +0200
12927 +++ NetworkManager-SVNr3284/src/vpn-manager/nm-dbus-vpn.c 2008-02-04 16:00:09.000000000 +0100
12928 @@ -410,8 +410,6 @@
12929 NMData * data = (NMData *) user_data;
12930 DBusMessage * reply;
12931 DBusMessageIter iter, array_iter;
12932 - GSList * remove_list = NULL;
12935 g_return_if_fail (pcall);
12936 g_return_if_fail (data != NULL);
12937 @@ -427,22 +425,15 @@
12939 nm_info ("Updating VPN Connections...");
12941 - remove_list = nm_vpn_manager_vpn_connection_list_copy (data->vpn_manager);
12943 dbus_message_iter_init (reply, &iter);
12944 dbus_message_iter_recurse (&iter, &array_iter);
12945 while (dbus_message_iter_get_arg_type (&array_iter) == DBUS_TYPE_STRING)
12947 DBusMessage * message;
12948 const char * con_name;
12949 - NMVPNConnection * vpn;
12951 dbus_message_iter_get_basic (&array_iter, &con_name);
12953 - /* If the connection already exists, remove it from the remove list */
12954 - if ((vpn = nm_vpn_manager_find_connection_by_name (data->vpn_manager, con_name)))
12955 - remove_list = g_slist_remove (remove_list, vpn);
12957 if ((message = dbus_message_new_method_call (NMI_DBUS_SERVICE, NMI_DBUS_PATH, NMI_DBUS_INTERFACE, "getVPNConnectionProperties")))
12959 DBusPendingCall * vpn_pcall = NULL;
12960 @@ -463,15 +454,6 @@
12962 dbus_message_unref (reply);
12964 - /* VPN connections left in the remove list aren't known by NMI, therefore we delete them */
12965 - for (elt = remove_list; elt; elt = g_slist_next (elt))
12967 - nm_vpn_manager_remove_connection (data->vpn_manager, elt->data);
12968 - nm_vpn_connection_unref (elt->data);
12971 - g_slist_free (remove_list);
12974 dbus_pending_call_unref (pcall);
12976 @@ -527,6 +509,8 @@
12977 g_return_val_if_fail (data->dbus_connection != NULL, FALSE);
12978 g_return_val_if_fail (data->vpn_manager != NULL, FALSE);
12980 + nm_vpn_manager_clear_connections (data->vpn_manager);
12982 if (!(message = dbus_message_new_method_call (NMI_DBUS_SERVICE, NMI_DBUS_PATH, NMI_DBUS_INTERFACE, "getVPNConnections")))
12984 nm_warning ("nm_dbus_vpn_connections_update (): Couldn't allocate the dbus message");
12985 diff -urN NetworkManager-0.6.5/src/vpn-manager/nm-vpn-manager.c NetworkManager-SVNr3284/src/vpn-manager/nm-vpn-manager.c
12986 --- NetworkManager-0.6.5/src/vpn-manager/nm-vpn-manager.c 2007-04-18 20:13:05.000000000 +0200
12987 +++ NetworkManager-SVNr3284/src/vpn-manager/nm-vpn-manager.c 2008-02-04 16:00:09.000000000 +0100
12988 @@ -130,28 +130,6 @@
12992 - * nm_vpn_manager_vpn_connection_list_copy
12994 - * Make a shallow copy of the VPN connection list, should
12995 - * only be used by nm-dbus-vpn.c
12998 -GSList *nm_vpn_manager_vpn_connection_list_copy (NMVPNManager *manager)
13003 - g_return_val_if_fail (manager != NULL, NULL);
13005 - list = g_slist_copy (manager->connections);
13006 - for (elt = list; elt; elt = g_slist_next (elt))
13007 - nm_vpn_connection_ref (elt->data);
13014 * nm_vpn_manager_add_connection
13016 * Add a new VPN connection if none already exits, otherwise update the existing one.
13017 @@ -227,6 +205,29 @@
13021 + * nm_vpn_manager_clear_connections
13023 + * Remove all VPN connections.
13027 +nm_vpn_manager_clear_connections (NMVPNManager *manager)
13029 + GSList *connections;
13032 + g_return_if_fail (manager != NULL);
13034 + connections = g_slist_copy (manager->connections);
13036 + for (iter = connections; iter; iter = iter->next)
13037 + nm_vpn_manager_remove_connection (manager, (NMVPNConnection *) iter->data);
13039 + g_slist_free (connections);
13044 * nm_vpn_manager_get_connection_names
13046 * Return an array of strings of all the VPN Connection names
13047 diff -urN NetworkManager-0.6.5/src/vpn-manager/nm-vpn-manager.h NetworkManager-SVNr3284/src/vpn-manager/nm-vpn-manager.h
13048 --- NetworkManager-0.6.5/src/vpn-manager/nm-vpn-manager.h 2007-04-18 20:13:05.000000000 +0200
13049 +++ NetworkManager-SVNr3284/src/vpn-manager/nm-vpn-manager.h 2008-02-04 16:00:09.000000000 +0100
13050 @@ -29,13 +29,12 @@
13051 NMVPNManager * nm_vpn_manager_new (NMData *app_data);
13052 NMVPNConnection * nm_vpn_manager_add_connection (NMVPNManager *manager, const char *name, const char *service_name, const char *user_name);
13053 void nm_vpn_manager_remove_connection (NMVPNManager *manager, NMVPNConnection *vpn);
13054 +void nm_vpn_manager_clear_connections (NMVPNManager *manager);
13055 char ** nm_vpn_manager_get_connection_names (NMVPNManager *manager);
13056 void nm_vpn_manager_dispose (NMVPNManager *manager);
13058 NMVPNActRequest * nm_vpn_manager_get_vpn_act_request (NMVPNManager *manager);
13060 -GSList * nm_vpn_manager_vpn_connection_list_copy (NMVPNManager *manager);
13062 void nm_vpn_manager_activate_vpn_connection (NMVPNManager *manager, NMVPNConnection *vpn, char **password_items,
13063 int password_count, char **data_items, int data_count,
13064 char **user_routes, int user_routes_count );
13065 diff -urN NetworkManager-0.6.5/test/libnm_glib_test.c NetworkManager-SVNr3284/test/libnm_glib_test.c
13066 --- NetworkManager-0.6.5/test/libnm_glib_test.c 2007-04-18 20:13:03.000000000 +0200
13067 +++ NetworkManager-SVNr3284/test/libnm_glib_test.c 2008-02-04 15:59:52.000000000 +0100
13070 #include <stdlib.h>
13071 #include <string.h>
13072 +#include <signal.h>
13074 #include "libnm_glib.h"
13077 @@ -56,10 +58,33 @@
13081 +static GMainLoop *loop = NULL;
13084 +signal_handler (int signo)
13086 + if (signo == SIGINT || signo == SIGTERM) {
13087 + g_message ("Caught signal %d, shutting down...", signo);
13088 + g_main_loop_quit (loop);
13093 +setup_signals (void)
13095 + struct sigaction action;
13098 + sigemptyset (&mask);
13099 + action.sa_handler = signal_handler;
13100 + action.sa_mask = mask;
13101 + action.sa_flags = 0;
13102 + sigaction (SIGTERM, &action, NULL);
13103 + sigaction (SIGINT, &action, NULL);
13106 int main( int argc, char *argv[] )
13109 libnm_glib_ctx *ctx;
13112 @@ -79,7 +104,10 @@
13113 fprintf (stderr, "Registered Callback with ID %d\n", id);
13115 loop = g_main_loop_new (NULL, FALSE);
13116 + setup_signals ();
13117 g_main_loop_run (loop);
13119 + libnm_glib_shutdown (ctx);
13123 diff -urN NetworkManager-0.6.5/test/nm-dhcp-opt-test.c NetworkManager-SVNr3284/test/nm-dhcp-opt-test.c
13124 --- NetworkManager-0.6.5/test/nm-dhcp-opt-test.c 1970-01-01 01:00:00.000000000 +0100
13125 +++ NetworkManager-SVNr3284/test/nm-dhcp-opt-test.c 2008-02-04 15:59:52.000000000 +0100
13127 +/* nm-dhcp-opt-test - test app for NetworkManager's DHCP Options interface
13129 + * Dan Williams <dcbw@redhat.com>
13131 + * This program is free software; you can redistribute it and/or modify
13132 + * it under the terms of the GNU General Public License as published by
13133 + * the Free Software Foundation; either version 2 of the License, or
13134 + * (at your option) any later version.
13136 + * This program is distributed in the hope that it will be useful,
13137 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
13138 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13139 + * GNU General Public License for more details.
13141 + * You should have received a copy of the GNU General Public License
13142 + * along with this program; if not, write to the Free Software
13143 + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
13145 + * (C) Copyright 2005 Red Hat, Inc.
13149 +#include <dbus/dbus.h>
13150 +#include <dbus/dbus-glib.h>
13151 +#include <stdio.h>
13152 +#include <string.h>
13153 +#include <stdlib.h>
13155 +#include <sys/socket.h>
13156 +#include <netinet/in.h>
13157 +#include <arpa/inet.h>
13159 +#include "NetworkManager.h"
13161 +/* Return codes for functions that use dbus */
13164 + RETURN_SUCCESS = 1,
13165 + RETURN_FAILURE = 0,
13166 + RETURN_NO_NM = -1
13170 +#define DBUS_NO_SERVICE_ERROR "org.freedesktop.DBus.Error.ServiceDoesNotExist"
13171 +#define NM_DHCP_OPT_NOT_FOUND_ERROR "org.freedesktop.NetworkManager.OptionNotFound"
13173 +static char *dbus_type_to_string (int type)
13177 + case DBUS_TYPE_UINT32:
13180 + case DBUS_TYPE_BOOLEAN:
13181 + return "boolean";
13183 + case DBUS_TYPE_BYTE:
13186 + case DBUS_TYPE_STRING:
13189 + g_assert_not_reached ();
13197 + * Do a method call on NetworkManager.
13199 + * Returns: RETURN_SUCCESS on success
13200 + * RETURN_FAILURE on failure
13201 + * RETURN_NO_NM if NetworkManager service no longer exists
13203 +static int call_nm_method (DBusConnection *con, const char *method, int opt, gboolean is_array, int arg_type, void **arg, int *item_count)
13205 + DBusMessage *message;
13206 + DBusMessage *reply;
13208 + dbus_bool_t ret = TRUE;
13209 + DBusMessageIter iter;
13211 + g_return_val_if_fail (con != NULL, RETURN_FAILURE);
13212 + g_return_val_if_fail (method != NULL, RETURN_FAILURE);
13213 + g_return_val_if_fail (arg != NULL, RETURN_FAILURE);
13217 + g_return_val_if_fail (item_count != NULL, RETURN_FAILURE);
13221 + if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, NM_DBUS_PATH_DHCP, NM_DBUS_INTERFACE_DHCP, method)))
13223 + fprintf (stderr, "call_nm_method(): Couldn't allocate the dbus message\n");
13224 + return (RETURN_FAILURE);
13226 + dbus_message_append_args (message, DBUS_TYPE_UINT32, &opt, DBUS_TYPE_INVALID);
13228 + dbus_error_init (&error);
13229 + reply = dbus_connection_send_with_reply_and_block (con, message, -1, &error);
13230 + dbus_message_unref (message);
13231 + if (dbus_error_is_set (&error))
13233 + int ret = RETURN_FAILURE;
13235 + if (!strcmp (error.name, DBUS_NO_SERVICE_ERROR))
13236 + ret = RETURN_NO_NM;
13238 + if (ret != RETURN_SUCCESS && (strcmp (error.name, NM_DHCP_OPT_NOT_FOUND_ERROR) != 0))
13239 + fprintf (stderr, "call_nm_method(): %s raised:\n %s\n\n", error.name, error.message);
13241 + dbus_error_free (&error);
13245 + if (reply == NULL)
13247 + fprintf (stderr, "call_nm_method(): dbus reply message was NULL\n" );
13248 + return (RETURN_FAILURE);
13252 + ret = dbus_message_get_args (reply, NULL, DBUS_TYPE_ARRAY, arg_type, arg, item_count, DBUS_TYPE_INVALID);
13254 + ret = dbus_message_get_args (reply, NULL, arg_type, arg, DBUS_TYPE_INVALID);
13257 + We simply don't unref the message, so that the values returned stay
13258 + valid in the caller of this function.
13259 + dbus_message_unref (reply);
13263 + fprintf (stderr, "call_nm_method(): error while getting args.\n");
13264 + return (RETURN_FAILURE);
13267 + return (RETURN_SUCCESS);
13270 +void print_array (DBusConnection *connection, int opt)
13273 + unsigned int *uint32 = NULL;
13274 + int *int32 = NULL;
13275 + gboolean *bool = NULL;
13276 + unsigned char *byte = NULL;
13277 + char **string = NULL;
13278 + void *item = NULL;
13279 + char *method = NULL;
13281 + const char *name = NULL;
13282 + int opt_type = -1;
13283 + unsigned int foo;
13285 + ret = call_nm_method (connection, "getName", opt, FALSE, DBUS_TYPE_STRING, (void *)(&name), NULL);
13286 + if (ret != RETURN_SUCCESS)
13289 + ret = call_nm_method (connection, "getElementType", opt, FALSE, DBUS_TYPE_UINT32, (void *)(&opt_type), NULL);
13290 + if (ret != RETURN_SUCCESS)
13293 + switch (opt_type)
13295 + case DBUS_TYPE_UINT32:
13297 + method = "getInteger";
13300 + case DBUS_TYPE_BOOLEAN:
13302 + method = "getBoolean";
13305 + case DBUS_TYPE_BYTE:
13307 + method = "getByte";
13310 + case DBUS_TYPE_STRING:
13312 + method = "getString";
13316 + fprintf (stderr, "%d: Type %c\n", opt, opt_type);
13317 + g_assert_not_reached ();
13321 + ret = call_nm_method (connection, method, opt, TRUE, opt_type, item, &num_items);
13322 + if ((ret == RETURN_SUCCESS) && (num_items > 0))
13325 + fprintf (stderr, "%d ('%s'): (%d %s of type %s) ", opt, name, num_items, num_items > 1 ? "elements" : "element", dbus_type_to_string (opt_type));
13326 + for (i = 0; i < num_items; i++)
13328 + struct in_addr in;
13329 + gboolean last = (i == num_items - 1) ? TRUE : FALSE;
13331 + switch (opt_type)
13333 + case DBUS_TYPE_BYTE:
13334 + fprintf (stderr, "%d%s", byte[i], last ? "" : ", ");
13336 + case DBUS_TYPE_BOOLEAN:
13337 + fprintf (stderr, "%d%s", bool[i], last ? "" : ", ");
13339 + case DBUS_TYPE_UINT32:
13340 + in.s_addr = uint32[i];
13341 + fprintf (stderr, "%u (%s)%s", uint32[i], inet_ntoa(in), last ? "" : ", ");
13343 + case DBUS_TYPE_STRING:
13344 + fprintf (stderr, "'%s'%s", string[i], last ? "" : ", ");
13348 + g_assert_not_reached ();
13352 + fprintf (stderr, "\n");
13355 + fprintf (stderr, "%d ('%s'): could not get option value\n", opt, name);
13359 +void print_each_dhcp_option (DBusConnection *connection)
13361 + DBusMessage *message;
13362 + DBusMessage *reply;
13363 + DBusMessageIter iter;
13369 + g_return_if_fail (connection != NULL);
13371 + /* Loop through all available DHCP options and print each one. */
13372 + for (i = 1; i < 62; i++)
13373 + print_array (connection, i);
13377 +int main (int argc, char **argv)
13379 + DBusConnection *connection;
13384 + dbus_error_init (&error);
13385 + connection = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
13386 + if (connection == NULL)
13388 + fprintf (stderr, "Error connecting to system bus: %s\n", error.message);
13389 + dbus_error_free (&error);
13393 + print_each_dhcp_option (connection);
13397 diff -urN NetworkManager-0.6.5/test/NMLoadModules NetworkManager-SVNr3284/test/NMLoadModules
13398 --- NetworkManager-0.6.5/test/NMLoadModules 1970-01-01 01:00:00.000000000 +0100
13399 +++ NetworkManager-SVNr3284/test/NMLoadModules 2008-02-04 15:59:52.000000000 +0100
13402 +# Load kernel modules for all network devices
13405 +cd /etc/sysconfig/network-scripts
13407 +# find all the interfaces besides loopback.
13408 +# ignore aliases, alternative configurations, and editor backup files
13409 +interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \
13410 + LANG=C egrep -v '(~|\.bak)$' | \
13411 + LANG=C egrep 'ifcfg-[A-Za-z0-9\._-]+$' | \
13412 + sed 's/^ifcfg-//g' |
13413 + sed 's/[0-9]/ &/' | LANG=C sort -k 1,1 -k 2n | sed 's/ //'`
13415 +# bring up all other interfaces configured to come up at boot time
13416 +for i in $interfaces; do
13417 + eval $(LANG=C fgrep "DEVICE=" ifcfg-$i)
13418 + eval $(LANG=C fgrep "TYPE=" ifcfg-$i)
13419 + eval $(LANG=C fgrep "SLAVE=" ifcfg-$i)
13420 + eval $(LANG=C fgrep "BRIDGE=" ifcfg-$i)
13422 + if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
13424 + if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
13425 + unset DEVICE TYPE SLAVE BRIDGE
13429 + if [ "$TYPE" = "xDSL" ]; then
13430 + unset DEVICE TYPE SLAVE BRIDGE
13434 + if [ -n "$BRIDGE" ]; then
13435 + unset DEVICE TYPE SLAVE BRIDGE
13439 + if [ "${DEVICE%%.*}" != "$DEVICE" ] ; then
13440 + unset DEVICE TYPE SLAVE BRIDGE
13444 + if [ "$SLAVE" = "yes" ]; then
13445 + unset DEVICE TYPE SLAVE BRIDGE
13448 + unset DEVICE TYPE SLAVE BRIDGE
13450 + # Load the module
13451 + LC_ALL= LANG= /sbin/ip -o link | grep -q $i
13452 + if [ "$?" = "1" ]; then
13453 + alias=`modprobe -c | awk "/^(alias|install)[[:space:]]+$i[[:space:]]/ { print \\$3 }"`
13454 + if [ -n "$alias" -a "$alias" != "off" -a "$alias" != "/bin/true" ]; then
13455 + modprobe $alias > /dev/null 2>&1
13462 diff -urN NetworkManager-0.6.5/test/nmnetlinktest.c NetworkManager-SVNr3284/test/nmnetlinktest.c
13463 --- NetworkManager-0.6.5/test/nmnetlinktest.c 1970-01-01 01:00:00.000000000 +0100
13464 +++ NetworkManager-SVNr3284/test/nmnetlinktest.c 2008-02-04 15:59:52.000000000 +0100
13466 +#include <sys/types.h>
13468 +#include <sys/socket.h>
13469 +#include <asm/types.h>
13470 +#include <linux/types.h>
13471 +#include <linux/netlink.h>
13472 +#include <linux/rtnetlink.h>
13473 +#include <linux/if.h>
13474 +#include <errno.h>
13477 +#include <nm-netlink-monitor.h>
13480 +device_added (NmNetlinkMonitor *monitor,
13481 + const gchar *device_name)
13483 + g_print ("interface '%s' connected\n", device_name);
13488 +device_removed (NmNetlinkMonitor *monitor,
13489 + const gchar *device_name)
13491 + g_print ("interface '%s' disconnected\n", device_name);
13497 + NmNetlinkMonitor *monitor;
13503 + monitor = nm_netlink_monitor_new ();
13506 + nm_netlink_monitor_open_connection (monitor, &error);
13508 + if (error != NULL)
13510 + g_printerr ("could not open connection: %s\n",
13512 + g_error_free (error);
13516 + loop = g_main_loop_new (NULL, FALSE);
13518 + g_signal_connect (G_OBJECT (monitor),
13519 + "interface-connected",
13520 + G_CALLBACK (device_added), NULL);
13522 + g_signal_connect (G_OBJECT (monitor),
13523 + "interface-disconnected",
13524 + G_CALLBACK (device_removed), NULL);
13526 + nm_netlink_monitor_attach (monitor, NULL);
13528 + nm_netlink_monitor_request_status (monitor, &error);
13530 + if (error != NULL)
13532 + g_printerr ("could not request status of interfaces: %s\n",
13534 + g_error_free (error);
13538 + g_main_loop_run (loop);