Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)

2011-10-11 Thread Patrick McMunn
Thanks for pointing me to /var/log/messages. I saw an error regarding dnsmasq, and I remembered reading somewhere about conflicts between dnsmasq and NetworkManager. I had dnsmasq starting up at boot. I removed it from my boot process, and now I can create a ICS connection on my desktop computer.

Re: Missing SIM PIN dialog after nm update

2011-10-11 Thread Sérgio Basto
On Mon, 2011-10-10 at 23:58 +0100, Sérgio Basto wrote: My modem is a HUAWEI E1550 and does reboot and always worked. Just last update on Fedora seems to break it. Sorry , seems that all work fine now , can reproduced the problem anymore, maybe I miss a reboot of laptop after update .

Re: Missing SIM PIN dialog after nm update

2011-10-11 Thread Arne Caspari
Am Mon, 10 Oct 2011 16:31:06 +0100 schrieb Sérgio Basto ser...@serjux.com: I do killall modem-manager Sfter some seconds modem was detected and SIM PIN dialog was appears. Unfortunately, this does not work for me. No matter if I unplug/plug the modem, kill modem-manager or whatever

Re: Support for direct connection without cross cable / Run Avahi Zeroconfig Services

2011-10-11 Thread Daniel Yek
I noticed that windows can setup networking to a direct-connected ... device (tested ... with network-drives, such as WD MyBook World) with ... straight ... ethernet cable. Hi, Could you make sure that you installed and ran Avahi? I think Avahi could enable this same easy, direct,

Re: [PATCH 1/9] bonding: settings parser for ifcfg plugin + NMSettingBond class

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Introduced a new TYPE=bond for ifcfg-rh configuration files. Alternatively BONDING_MASTER=yes can be specified instead of setting the type explicitely. Bonding device files require a DEVICE= line to be present which specifies the virtual

Re: [PATCH 5/9] connection-setting: implement ability to define a master connection

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Adds a MASTER= directive to ifcfg-rh permitting a connection to define a master/slave relationship. This is intended to be used to implement bonding and eventually bridging connections. What are the allowed values again? Obviously a UUID,

Re: [PATCH 8/9] ifcfg: Ignore higher level configs for bonding slaves

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Functionatlity is implemented on NMSettingConnection level in case other device types require this as well. Adds a dummy ip4_config when high level config is disabled. This is required in order not to fall back to using DHCP. I'm not

Re: Networkmanager overwrites /etc/resolv.conf

2011-10-11 Thread Lamarque Vieira Souza
Em Monday 10 October 2011, Patrick McMunn escreveu: I have NetworkManager compiled with support for OpenResolv. I use KPPP to connect to the internet. For some reason, KPPP doesn't update /etc/resolv.conf with DNS info when it connects (I reported a bug 2 years ago and it still hasn't been

Back to the Game

2011-10-11 Thread Antti Kaijanmäki
Hello List! It's been a while, but I've pleased to inform you that I would like to return back to help maintaining mobile-broadband-provider-info. It's heart warming to see how you have kept the database up to date and evolved and embraced it. Thank you! :) I'm also so happy to see a

Re: Ad-hoc network: cannot ping other machine

2011-10-11 Thread Dan Williams
On Mon, 2011-10-10 at 21:03 -0500, Patrick McMunn wrote: I rebooted and attempted to connect after reboot before connecting to the internet. Here's the relevant parts of /var/log/messages (This line about Avahi was a bit earlier in the log, but I'm including it in case it's relevant) Oct 10

Re: Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 01:07 -0500, Patrick McMunn wrote: Thanks for pointing me to /var/log/messages. I saw an error regarding dnsmasq, and I remembered reading somewhere about conflicts between dnsmasq and NetworkManager. I had dnsmasq starting up at boot. I removed it from my boot process,

Re: Back to the Game

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 13:57 +0300, Antti Kaijanmäki wrote: Hello List! It's been a while, but I've pleased to inform you that I would like to return back to help maintaining mobile-broadband-provider-info. Great! It's heart warming to see how you have kept the database up to date and

Re: [PATCH 3/9] bonding: Detect virtual bonding devices and create an ethernet device

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Signed-off-by: Thomas Graf tg...@redhat.com --- src/nm-system.c | 32 src/nm-system.h |2 ++ src/nm-udev-manager.c | 13 +++-- 3 files changed, 45 insertions(+), 2 deletions(-)

Re: [PATCH 1/9] bonding: settings parser for ifcfg plugin + NMSettingBond class

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 08:21 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: + + if (strlen(priv-device_name) = 16 || + !strcmp(priv-device_name, .) || + !strcmp(priv-device_name, ..)) { Do we want to check isalnum() here for every

Re: [PATCH 5/9] connection-setting: implement ability to define a master connection

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 08:23 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Adds a MASTER= directive to ifcfg-rh permitting a connection to define a master/slave relationship. This is intended to be used to implement bonding and eventually bridging

Re: [PATCH 3/9] bonding: Detect virtual bonding devices and create an ethernet device

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 09:00 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: typedef struct { GUdevClient *client; @@ -458,9 +459,17 @@ device_creator (NMUdevManager *manager, } if (!driver) { - if (g_str_has_prefix (ifname,

Re: NM 0.9 asks for PK auth without need

2011-10-11 Thread Ludwig Nussel
Dan Williams wrote: On Fri, 2011-10-07 at 15:43 +0200, Ludwig Nussel wrote: Ludwig Nussel wrote: 802.11x connections that are configured to always prompt for the password also always require polkit authentication (bgo#646187). So the PK stuff is a mix of permissions and historic

Re: [PATCH 6/9] device: Postpone auto-activation of a slave until its master is present

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: When a slave is activated, it waits for the master device to appear. Once the master is present, it acquires a reference which is released again when the slave is deactivated. So here, can you explain the logic a bit more? As far as I can

Re: [PATCH 2/9] bonding: bonding master device creation

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 09:18 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: +static gboolean +connection_needs_virtual_device (NMConnection *connection) +{ + NMSettingConnection *connection_setting; + const char *type; + + connection_setting =

Re: Back to the Game

2011-10-11 Thread Antti Kaijanmäki
On 11.10.2011 16:38, Dan Williams wrote: I've also seen submissions for empty GSM networks (no APN provided) because that provider is actually a CDMA network. CDMA networks *do* have MCC/MNC numbers, but no APNs, so these aren't valid either. The correct thing to do there is add MCC/MNC to the

Re: [PATCH 6/9] device: Postpone auto-activation of a slave until its master is present

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 09:27 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: When a slave is activated, it waits for the master device to appear. Once the master is present, it acquires a reference which is released again when the slave is deactivated. So

Re: NM 0.9 asks for PK auth without need

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 16:23 +0200, Ludwig Nussel wrote: Dan Williams wrote: On Fri, 2011-10-07 at 15:43 +0200, Ludwig Nussel wrote: Ludwig Nussel wrote: 802.11x connections that are configured to always prompt for the password also always require polkit authentication (bgo#646187).

Re: [PATCH] remove AP always on device disconnect

2011-10-11 Thread Ludwig Nussel
Dan Williams wrote: On Fri, 2011-10-07 at 15:21 +0200, Ludwig Nussel wrote: This avoids immediate reconnect after link timeout to an AP that may no longer exist (down/out of range). This also avoids needless prompting for a password for the no longer existing AP. This could work, but I

Re: NM 0.9 asks for PK auth without need

2011-10-11 Thread Ludwig Nussel
Dan Williams wrote: On Tue, 2011-10-11 at 16:23 +0200, Ludwig Nussel wrote: [...] 1. user clicks on ESSID he wants to connect to 2. nm-applet shows the new connection edit dialog and posts results to NM 3. NM asks PK for auth 4. NM creates the new connection without secrets and stores it in

Re: Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)

2011-10-11 Thread Patrick McMunn
I tried connecting on my laptop with DHCP, link-local, manual, and shared modes in IPv4 Address. I *was* able to connect in shared mode and by manual configuration, but I couldn't browse the internet. At one point on my laptop, I was able to browse only to google.com when I tried using a manual

Re: [PATCH] remove AP always on device disconnect

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 16:51 +0200, Ludwig Nussel wrote: Dan Williams wrote: On Fri, 2011-10-07 at 15:21 +0200, Ludwig Nussel wrote: This avoids immediate reconnect after link timeout to an AP that may no longer exist (down/out of range). This also avoids needless prompting for a

Re: Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 10:24 -0500, Patrick McMunn wrote: I tried connecting on my laptop with DHCP, link-local, manual, and shared modes in IPv4 Address. I *was* able to connect in shared mode and by manual configuration, but I couldn't browse the internet. At one point on my laptop, I was

Re: NM 0.9 asks for PK auth without need

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 17:14 +0200, Ludwig Nussel wrote: Dan Williams wrote: On Tue, 2011-10-11 at 16:23 +0200, Ludwig Nussel wrote: [...] 1. user clicks on ESSID he wants to connect to 2. nm-applet shows the new connection edit dialog and posts results to NM 3. NM asks PK for auth 4.

Re: Back to the Game

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 17:33 +0300, Antti Kaijanmäki wrote: On 11.10.2011 16:38, Dan Williams wrote: I've also seen submissions for empty GSM networks (no APN provided) because that provider is actually a CDMA network. CDMA networks *do* have MCC/MNC numbers, but no APNs, so these aren't

Re: [PATCH 6/9] device: Postpone auto-activation of a slave until its master is present

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 16:35 +0200, Thomas Graf wrote: On Tue, 2011-10-11 at 09:27 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: When a slave is activated, it waits for the master device to appear. Once the master is present, it acquires a reference which

Re: [PATCH 5/9] connection-setting: implement ability to define a master connection

2011-10-11 Thread Dan Williams
On Tue, 2011-10-11 at 16:09 +0200, Thomas Graf wrote: On Tue, 2011-10-11 at 08:23 -0500, Dan Williams wrote: On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Adds a MASTER= directive to ifcfg-rh permitting a connection to define a master/slave relationship. This is intended to be

Re: [PATCH 4/9] ethernet: Correctly match bonding ethernet devices with bonding connection

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Based on in-kernel device name Signed-off-by: Thomas Graf tg...@redhat.com --- src/nm-device-ethernet.c | 19 --- src/nm-device.c| 16 src/nm-device.h|2 ++

Re: [PATCH 7/9] device: Add master property to provide a reference to the master link

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Provides a function nm_device_set_master() to be used internally to assign a master device to a slave device. a gobject reference will be held until the assignment is revoked by setting the master NULL. Adds a a new device interface

Re: [PATCH 9/9] device: Enslave/release a link before bringing it up/down if belongs to a master

2011-10-11 Thread Dan Williams
On Fri, 2011-09-23 at 14:52 +0200, Thomas Graf wrote: Signed-off-by: Thomas Graf tg...@redhat.com This one looks fine. Dan --- src/nm-device.c | 16 src/nm-system.c | 205 --- src/nm-system.h |3 + 3 files changed, 214

Re: Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)

2011-10-11 Thread Patrick McMunn
As far as I know, dhcpcd has always been capable of working as a daemon. I guess NM just doesn't like it that way. I had it starting up at boot and daemonizing per tutorials I had followed, but then again the tutorials I had followed were aimed at using Gentoo's networking structure - not tools

Re: [PATCH 8/9] ifcfg: Ignore higher level configs for bonding slaves

2011-10-11 Thread Thomas Graf
On Tue, 2011-10-11 at 14:32 -0500, Dan Williams wrote: On Tue, 2011-10-11 at 16:23 +0200, Thomas Graf wrote: I am very much open to a better implementation regarding this and I think your proposal is much cleaner. To make sure I understood you properly: You propose to replace any

Re: nm_setting_gsm_get_pin() retuns null

2011-10-11 Thread Anders Feder
Yes, that did the trick. I've added the keyring functionality and now have the attached diff. I've tested it and it works (yay). How can I get it included in the main source tree? Thanks, Anders Feder On 10-10-2011 23:30, Dan Williams wrote: On Sun, 2011-10-09 at 17:28 +0200, Anders Feder