Re: parent (GUdevDevice) uninitialized in _update_s390_subchannels
On Thu, 2010-11-04 at 15:40 -0400, Mathieu Trudel-Lapierre wrote: Hi, I noticed NM fails to build on Ubuntu Natty: Pushed, thanks. Dan gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../marshallers -I../src/logging -I../src/dns-manager -I../src/vpn-manager -I../src/dhcp-manager -I../src/ip6-manager -I../src/supplicant-manager -I../src/dnsmasq-manager -I../src/modem-manager -I../src/bluez-manager -I../src/system-settings -I../libnm-util -I../libnm-glib -I../callouts -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\ -DLIBEXECDIR=\/usr/lib/NetworkManager\ -DDATADIR=\/usr/share\ -DSYSCONFDIR=\/etc\ -DLOCALSTATEDIR=\/var\ -DNM_RUN_DIR= \/var/run/NetworkManager\ -DNMLOCALEDIR=\/usr/share/locale\ -DARP_DEBUG -Wall -Werror -std=gnu89 -g -O2 -g -Wall -O2 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -c -o NetworkManager-nm-device-ethernet.o `test -f 'nm-device-ethernet.c' || echo './'`nm-device-ethernet.c cc1: warnings being treated as errors nm-device-ethernet.c: In function ‘constructor’: nm-device-ethernet.c:400:5: error: ‘parent’ may be used uninitialized in this function nm-device-ethernet.c:311:15: note: ‘parent’ was declared here make[5]: *** [NetworkManager-nm-device-ethernet.o] Erreur 1 make[5]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/network-manager-0.8.2/src » make[4]: *** [all-recursive] Erreur 1 make[4]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/network-manager-0.8.2/src » make[3]: *** [all] Erreur 2 make[3]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/network-manager-0.8.2/src » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/network-manager-0.8.2 » make[1]: *** [all] Erreur 2 make[1]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/network-manager-0.8.2 » make: *** [debian/stamp-makefile-build] Erreur 2 Attached is the patch I applied. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: getting result of at+cpin? via dbus
On Mon, 2010-11-08 at 21:05 +0100, van Schelve wrote: Hi, can somebody tell me if there is a way to get the output of at+cpin? for a connected modem via dbus api? I already found org.freedesktop.ModemManager.Modem.Gsm.Card.EnablePin() but nothing for getting the current SIM state. You're looking for the UnlockRequired D-Bus property. It'll tell you what (if any) unlock code is required for the modem to be enabled. Dan I'm on the way to disable PIN Protection on all of our SIM Cards. Because I need to do this more or less fully automated I need a way to check the active state and let the user enter the PIN one time in a popup. Thank you! -- HG ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH] add vid/pid for Ericsson F5521gw
On Mon, 2010-11-08 at 09:43 +0100, Torgny Johansson wrote: Hi! Small patch to add the vid/pid of the Ericsson F5521gw module to the mbm udev rules file. 71eeae01a76e0a2b45eb2e1bdc3639900021c7f3 thanks! Dan Regards Torgny --- diff --git a/plugins/77-mm-ericsson-mbm.rules b/plugins/77-mm-ericsson-mbm.rules index 3ac8796..3270c08 100644 --- a/plugins/77-mm-ericsson-mbm.rules +++ b/plugins/77-mm-ericsson-mbm.rules @@ -23,6 +23,9 @@ ATTRS{idVendor}==0bdb, ATTRS{idProduct}==1049, ENV{ID_MM_ERICSSON_MBM}=1 # Ericsson C3607w v2 ATTRS{idVendor}==0bdb, ATTRS{idProduct}==190b, ENV{ID_MM_ERICSSON_MBM}=1 +# Ericsson F5521gw +ATTRS{idVendor}==0bdb, ATTRS{idProduct}==190d, ENV{ID_MM_ERICSSON_MBM}=1 + # Sony-Ericsson MD300 ATTRS{idVendor}==0fce, ATTRS{idProduct}==d0cf, ENV{ID_MM_ERICSSON_MBM}=1 --- ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: GSM modem via Bluetooth?
On Thu, 2010-11-04 at 15:33 +0300, Andrey Borzenkov wrote: I have Nokia E51 and am using KDE with bluedevil; Modemmanager 0.4 and NM 0.8.2-rc1. I can browse phone and transfer files, but modemmanager does not display any available device when BT is activated. Is it supposed to work at all and if yes, what is requires to get it working? Pointers to documentation is appreciated. Thank you! Getting this working first requires adding a connection for the device, since we can't scan for it. Once the connection is added and known to NM, it'll show up in the menu and you can choose it. While it doesn't help you immediately with bluedevil, this is how we did the gnome side of things: http://blogs.gnome.org/dcbw/2009/07/10/unwire-with-networkmanager/ Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Excessive NM log entries
On Fri, 2010-11-12 at 14:22 +, Timothy Murphy wrote: Over half the entries in my /var/log/messages (under Fedora-14/KDE) are NetworkManager messages. I've never found these of the slightest use on the fairly rare occasions when NM fails. Is there any way of cutting down on these communications? You can edit NM's config file /etc/NetworkManager/NetworkManager.conf and adjust the 'level' option in the [logging] section to whatever you'd like. man NetworkManager.conf has all the details. Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH] Ensure that dhcp client is exited
On Fri, 2010-11-12 at 17:01 +0300, Mikhail Efremov wrote: Hello! Since NM does not stop dhcp client when it exits, there may persist an old instance of dhcp client during NM start again and it is not a child of the current process. So we need to wait until it is actually exited, otherwise a race condition may occurs, as I noticed in case dhcpcd 4.x.x (the pidfile was removed by exiting old dhcpcd instance). 92b58e56f5cc01b484af36623e17ee4ea386e53a (master) 3d3c87774381cee77bae911367a12e8c86d6ad99 (0.8.x) thanks! Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: 0.8.2: nm-connection-edit does not ask for authorization on system connections
On Sun, 2010-11-14 at 10:49 +0300, Andrey Borzenkov wrote: Trying to use nm-connection-editor under KDE (it is SVN snapshot 4.5.76) to edit system connection results only in Insufficient privileges. I am not asked for authentication. Seems like a breakdown with PolicyKit stuff. Do you have a PolicyKit agent for KDE installed, or do you have the Gtk PolicyKit agent installed at all? Nothing in NM itself has changed here WRT permissions requests; this is all invisible to NetworkManager and to nm-connection-editor. The requests to the graphical agent all happen inside PolicyKit. One more thing to check though is what the default permissions for PolicyKit are for the Modify permission. You could run this example: http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/add-system-connection.py and see what it prints out. Dan The only output from n-c-e is {pts/0}% nm-connection-editor (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated ** (nm-connection-editor:23585): WARNING **: dispose: CEPolkitButton object 0x14f6b40 disposed twice This definitely worked in the past with earlier NM/KDE versions. Just asking for debugging tips, in the first place - any possibility to get log of ehat exactly happens (i.e. - n-c-e does not make any request, NM does not make any request, ...) TIA ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list