[PATCH] editor: default to IPv6 Auto for manually created connections too
New connections created by hand by a user (e.g. with the connection editor's Add button) should have IPv6 set to Automatic by default. --- src/connection-editor/page-ip6.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c index 70c6f09..0d6831a 100644 --- a/src/connection-editor/page-ip6.c +++ b/src/connection-editor/page-ip6.c @@ -331,7 +331,7 @@ populate_ui (CEPageIP6 *self) NMSettingIP6Config *setting = priv->setting; GtkListStore *store; GtkTreeIter model_iter; - int method = IP6_METHOD_IGNORE; + int method = IP6_METHOD_AUTO; GString *string = NULL; SetMethodInfo info; const char *str_method; @@ -341,6 +341,8 @@ populate_ui (CEPageIP6 *self) gtk_combo_box_set_active (priv->method, 0); str_method = nm_setting_ip6_config_get_method (setting); if (str_method) { + if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_IGNORE)) + method = IP6_METHOD_IGNORE; if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_AUTO)) method = IP6_METHOD_AUTO; if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_DHCP)) -- 1.7.5.4 -- Mathieu Trudel-Lapierre Freenode: cyphermox, Jabber: mathieu...@gmail.com 4096R/EE018C93 1967 8F7D 03A1 8F38 732E FF82 C126 33E1 EE01 8C93 ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: UMTS Device - T Mobile Web And Walk
Hi, i think my message got lost, could you please check again? no there was no device node created named like /dev/hso0, but the sysfs interface was created. Inside the sysfs path i don't see the "file" "dev", which should contain the device node information. So udev has no idea how to create this device node. Dan: What does ls -l /dev/hso0 show for your device? --snip-- #cd /sys/class/net/hso0/ /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/net/hso0 $ ls -l -r--r--r--1 root root 4096 Jun 7 09:46 addr_assign_type -r--r--r--1 root root 4096 Jun 7 2011 addr_len -r--r--r--1 root root 4096 Jun 7 09:46 address -r--r--r--1 root root 4096 Jun 7 09:46 broadcast -r--r--r--1 root root 4096 Jun 7 09:46 carrier -r--r--r--1 root root 4096 Jun 7 09:46 dev_id lrwxrwxrwx1 root root 0 Jun 7 09:46 device -> ../../../1-1.1:1.0 -r--r--r--1 root root 4096 Jun 7 09:46 dormant -r--r--r--1 root root 4096 Jun 7 09:46 duplex -r--r--r--1 root root 4096 Jun 7 09:46 features -rw-r--r--1 root root 4096 Jun 7 2011 flags -rw-r--r--1 root root 4096 Jun 7 09:46 ifalias -r--r--r--1 root root 4096 Jun 7 2011 ifindex -r--r--r--1 root root 4096 Jun 7 09:46 iflink -r--r--r--1 root root 4096 Jun 7 09:46 link_mode -rw-r--r--1 root root 4096 Jun 7 09:46 mtu -r--r--r--1 root root 4096 Jun 7 09:46 operstate drwxr-xr-x2 root root 0 Jun 7 09:46 power drwxr-xr-x4 root root 0 Jun 7 09:46 queues -r--r--r--1 root root 4096 Jun 7 09:46 speed drwxr-xr-x2 root root 0 Jun 7 09:46 statistics lrwxrwxrwx1 root root 0 Jun 7 2011 subsystem -> ../../../../../../../../../class/net -rw-r--r--1 root root 4096 Jun 7 09:46 tx_queue_len -r--r--r--1 root root 4096 Jun 7 2011 type -rw-r--r--1 root root 4096 Jun 7 2011 uevent /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/net/hso0 $ ls device/dev ls: device/dev: No such file or directory --snip-- Harald Am Montag, 6. Juni 2011, 23:48:42 schrieb Dan Williams: > Just to confirm, you do *not* have a /dev/hso0? Do you > have /sys/class/net/hso0 after plugging the device in? > > I just tried out my iCON 452 and it does provide the hso0 interface that > we'd expect, and that's what ModemManager expects too. > > Dan > ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list