Re: uClibc: nm-utils.h:30:22: fatal error: execinfo.h: No such file or directory

2011-05-07 Thread Paul Menzel
Dear NetworkManager folks,


Am Samstag, den 07.05.2011, 23:35 +0200 schrieb Paul Menzel:

> trying to use uClibc to build NetworkManager in OpenEmbedded [1]
> (distribution: `minimal-uclibc` for `MACHINE = "beagleboard"`) fails
> with the following error.
> 
> According to this comment in GNOME BTS ticket 146693 [2] (regarding

s/GNOME/Gentoo/

> aMule) it should be checked for the existence of `execinfo.h` in the
> build system and if it is not available the backtrace calls should be
> made a no op.
> 
> Unfortunately I can not point you to a project already having the
> appropriate checks implemented, but there should be some.
> 
> Being able to compile NetworkManager using uClibc should make
> NetworkManager attractive for some more embedded use cases.


Thanks,

Paul


> [1] http://www.openembedded.org/
> [2] https://bugs.gentoo.org/show_bug.cgi?id=146693#c2


signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


uClibc: nm-utils.h:30:22: fatal error: execinfo.h: No such file or directory

2011-05-07 Thread Paul Menzel
Dear NetworkManager folks,


trying to use uClibc to build NetworkManager in OpenEmbedded [1]
(distribution: `minimal-uclibc` for `MACHINE = "beagleboard"`) fails
with the following error.

According to this comment in GNOME BTS ticket 146693 [2] (regarding
aMule) it should be checked for the existence of `execinfo.h` in the
build system and if it is not available the backtrace calls should be
made a no op.

Unfortunately I can not point you to a project already having the
appropriate checks implemented, but there should be some.

Being able to compile NetworkManager using uClibc should make
NetworkManager attractive for some more embedded use cases.


Thanks,

Paul


[1] http://www.openembedded.org/
[2] https://bugs.gentoo.org/show_bug.cgi?id=146693#c2


signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


how to change network manager timeout time

2011-05-07 Thread braun

Hi,

Using NetworkManager Applet 0.8
installed OpenVPN and nm-openvpn-service
on Ubuntu 10.04 LTS (Lucid)
initially there was no problem using Witopia service trough 
NetworkManager. But then the Jasmin scare came, VPN services where 
blocked, workarounds (port 80) set up, but service slowed down.


PROBLEM: Connecting trough NetworkManager to Witopia VPN service from 
China. Witopia server seems to respond slowly, and therefore: "VPN 
connection failed because the connection attempt timed out".


NetworkManager seems to somewhere have a default time of 40 seconds, 
which I would like to change to 120 seconds or so. The configuration 
file send by Witopia does not contain this value (see below). So where 
can I find the configuration file which tells NetworkManager how long to 
try connecting?


-
client

dev tun
proto tcp
remote 64.27.3.155 80
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
cipher bf-cbc
comp-lzo
verb 3
mute 20
ca ca.crt
mssfix 1450


key My_Name.key
cert My_Name.crt



show-net-up
-

thanks for any response,
MB
P.S. I have no success pinging the IP address above. But apparently VPN 
works because of open port 80. Windows users say that the configuration 
works.

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


[PATCH 1/2] respect libnl flags also in backends/ip6-manager

2011-05-07 Thread Paul Menzel
From: Martin Jansa 
Date: Wed, 23 Mar 2011 17:27:54 +0100

`backend/ip6-manager` didn't respect `LIBNL_CFLAGS` and used 
`/usr/include/netlink` headers from libnl 2 instead.

This patch is used in OpenEmbedded [1] since commit 154bd72b [2][3].

[1] http://www.openembedded.org/
[2] 
http://cgit.openembedded.org/cgit.cgi/openembedded/log/recipes/networkmanager/networkmanager/0001-respect-libnl-flags-also-in-backends-ip6-manager.patch
[3] 
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=154bd72b1ca859afcae5ed4fe99ed611a13a475c

Signed-off-by: Martin Jansa 
---
 src/backends/Makefile.am|2 ++
 src/ip6-manager/Makefile.am |2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/backends/Makefile.am b/src/backends/Makefile.am
index fbec9aa..c0780d0 100644
--- a/src/backends/Makefile.am
+++ b/src/backends/Makefile.am
@@ -63,10 +63,12 @@ endif
 
 libnmbackend_la_LIBADD += \
$(top_builddir)/src/logging/libnm-logging.la \
+   $(LIBNL_LIBS) \
$(DBUS_LIBS) \
$(GLIB_LIBS)
 
 libnmbackend_la_CPPFLAGS = \
+   $(LIBNL_CFLAGS) \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
-DG_DISABLE_DEPRECATED \
diff --git a/src/ip6-manager/Makefile.am b/src/ip6-manager/Makefile.am
index b56b197..b98d6de 100644
--- a/src/ip6-manager/Makefile.am
+++ b/src/ip6-manager/Makefile.am
@@ -13,6 +13,7 @@ libip6_manager_la_SOURCES = \
nm-ip6-manager.h
 
 libip6_manager_la_CPPFLAGS = \
+   $(LIBNL_CFLAGS) \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
-DG_DISABLE_DEPRECATED
@@ -20,6 +21,7 @@ libip6_manager_la_CPPFLAGS = \
 libip6_manager_la_LIBADD = \
$(top_builddir)/marshallers/libmarshallers.la \
$(top_builddir)/src/logging/libnm-logging.la \
+   $(LIBNL_LIBS) \
$(DBUS_LIBS) \
$(GLIB_LIBS)
 
-- 
1.7.3.4


signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


[PATCH 2/2] respect-libnl-flags-also-in-dns-manager

2011-05-07 Thread Paul Menzel
From: Philip Balister 
Date: Wed, 4 May 2011 18:24:49 -0400

This patch is used in OpenEmbedded [1] since commit 73593c5b [2][3].

[1] http://www.openembedded.org/
[2] 
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager.patch?id=73593c5b1c4d84cde5c8b5c17cde0ce9c7a89f7c
[3] 
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=73593c5b1c4d84cde5c8b5c17cde0ce9c7a89f7c

Signed-off-by: Philip Balister 
---
 src/dns-manager/Makefile.am |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/dns-manager/Makefile.am b/src/dns-manager/Makefile.am
index 7b5fc4f..b51f667 100644
--- a/src/dns-manager/Makefile.am
+++ b/src/dns-manager/Makefile.am
@@ -19,12 +19,14 @@ libdns_manager_la_SOURCES = \
nm-dns-utils.c
 
 libdns_manager_la_CPPFLAGS = \
+   $(LIBNL_CFLAGS) \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
-DLOCALSTATEDIR=\"$(localstatedir)\"
 
 libdns_manager_la_LIBADD = \
$(top_builddir)/src/logging/libnm-logging.la \
+   $(LIBNL_LIBS) \
$(DBUS_LIBS) \
$(GLIB_LIBS)
 
-- 
1.7.3.4


signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Howto change port used for 3g modem?

2011-05-07 Thread perazim

Dan,

When I comment out the following line in  77-mm-longcheer-port-types.rules:

#SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_tamobile_vendorcheck"

then I can connect with the Alcatel X220 however it is shown as a  
Generic modem in the

logs and not a type X22X as I would expect.

Perazim


O email é um dos seus instrumentos de trabalho?
http://www.portugalmail.net/profissional
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list