Re: dnsmasq make error with current svn snapshot

2008-06-05 Thread Markus Becker


Hi.

Just add = NULL to that line.

Markus

On Wed, 4 Jun 2008, Tom Sutherland wrote:


this is on kubuntu hardy - any ideas?


cc1: warnings being treated as
errors 
nm-dnsmasq-manager.c: In function
ÿÿdm_watch_cbÿÿ: 
nm-dnsmasq-manager.c:174: warning: ÿÿmsgÿÿ may be used uninitialized in

this
function 
nm-dnsmasq-manager.c:174: note: ÿÿmsgÿÿ was declared
here 
make[3]: *** [libdnsmasq_manager_la-nm-dnsmasq-manager.lo] Error 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: tell networkmanager which wireless card to use?

2008-06-05 Thread Xamindar
Ack, nevermind. This didn't work on my gentoo system.

Tambet Ingo wrote:
 On Wed, Jun 4, 2008 at 11:16 AM, Xamindar [EMAIL PROTECTED] wrote:
 I haven't looked into it that much. But I was wondering what happens if
 you have two wireless cards in the pc..which one does it use?  More
 importantly, is there a way to tell it NOT to use a certain card at all?
 
 On redhat and suse, you can add NM_CONTROLLED=no line to
 /etc/sysconfig/network/ifcfg-$interface file.
 
 Tambet
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Service Provider Database

2008-06-05 Thread Antti Kaijanmäki
ma, 2008-06-02 kello 13:18 +0100, Bastien Nocera kirjoitti:
 On Mon, 2008-06-02 at 15:12 +0300, Antti Kaijanmäki wrote:
 
 snip
  
  provider
 nameService Provider - CDMA/name
 cdma /
  /provider
  provider
 nameService Provider - GSM/name
 gsm
apninternet/apn
 /gsm
  /provider
  provider
 nameService Provider - GSM prepaid/name
 gsm
apnprepaid.provider/apn
 /gsm
  /provider
 
 I'd rather have:
 provider type=gsm
  nameService Provider - GSM prepaid/name
   apnprepaid.provider/apn
 /provider

I see your point and this was my first idea also. But the problem with
this approach is that I can't validate this with a DTD. At least I
didn't find any way to state: 

'if provider element has property type  set as gsm the element must
contain child element apn '

But I can state:

'provider must have either gsm, cdma or phs child element'


 -- Antti



signature.asc
Description: Digitaalisesti allekirjoitettu viestin osa
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Network Manager for embedded Linux

2008-06-05 Thread Nitin Mahajan
HI!

I am planning to build and test the Network Manager 0.6.5 for embedded Linux 
for a MIPS based CPU.

Can anyone give me some inputs about configuration and dependencies when trying 
to do so? What do I specify for --with-distro in configuration?

Thanks and regards

-Nitin

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Service Provider Database

2008-06-05 Thread Bastien Nocera
On Thu, 2008-06-05 at 11:50 +0300, Antti Kaijanmäki wrote:
snip
  I also mentioned another option which you seem to have discounted, and
  can easily be used in a DTD.
  
  provider
gsm /
nameService Provider - GSM prepaid/name
apnprepaid.provider/apn
  /provider
 
 Your previous mail had type property also with this one and it had
 the same problem as the first one had. That's why I didn't comment on
 that. 

You can:
(gsm, name, apn)? | name

Would make sure you have an apn when you have a gsm tag.

In all cases, you could also use a C program to validate your XML file,
which would give you more options.


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


VPNC plugin on Ubuntu 8.04: disable DPD?

2008-06-05 Thread Marc Luethi
Hi all!

First: If this is the wrong place to ask about the VPNC plugin, please
tell me to sod off and maybe leave a hint on where else to ask ;-)

After upgrading to Ubuntu 8.04, I am now using NetworkManager 0.6.6 with
nm-applet 0.6.6, and according to aptitude, I have 

network-manager-vpc 0.6.4svn2422-0ubuntu5 
vpnc0.5.1r275-1

I am running a Cisco PIX501 at home which does not support DPD (and
probably never will). Now I am affected by this problem:

https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/206000


The currently installed vpnc supports disabling of the DPD feature:

[EMAIL PROTECTED]:~$ vpnc --long-help
[...]
  --dpd-idle 0,10-86400
  Send DPD packet after not receiving anything for idle seconds.
  Use 0 to disable DPD completely (both ways).
Default: 300
  conf-variable: DPD idle timeout (our side) 0,10-86400
[...]

Assuming that network-manager-vpnc is using vpnc behind the scenes, is
there a way (a config file, perhaps?) to make the VPNC plugin set/unset
this parameter? (I am no programmer - just a user...)

I know that DPD configuration should be possible on a per-connection
basis, as some VPN configurations will require DPD to be active - while
others might not.

There have been suggestions to use older versions of
network-manager-vpnc or different versions of network-manager
altogether, which is not what I'd like to do.

For now, I'd be happy if I could enable/disable network-manager-vpnc's
DPD globally. 


Can this be done?

thanks  best regards


Marc


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


Re: VPNC plugin on Ubuntu 8.04: disable DPD?

2008-06-05 Thread Matthew Saltzman

On Thu, 2008-06-05 at 12:19 +0200, Marc Luethi wrote:
 Hi all!
 
 First: If this is the wrong place to ask about the VPNC plugin, please
 tell me to sod off and maybe leave a hint on where else to ask ;-)
 
 After upgrading to Ubuntu 8.04, I am now using NetworkManager 0.6.6 with
 nm-applet 0.6.6, and according to aptitude, I have 
 
 network-manager-vpc   0.6.4svn2422-0ubuntu5 
 vpnc  0.5.1r275-1
 
 I am running a Cisco PIX501 at home which does not support DPD (and
 probably never will). Now I am affected by this problem:
 
 https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/206000
 
 
 The currently installed vpnc supports disabling of the DPD feature:
 
 [EMAIL PROTECTED]:~$ vpnc --long-help
 [...]
   --dpd-idle 0,10-86400
   Send DPD packet after not receiving anything for idle seconds.
   Use 0 to disable DPD completely (both ways).
 Default: 300
   conf-variable: DPD idle timeout (our side) 0,10-86400
 [...]
 
 Assuming that network-manager-vpnc is using vpnc behind the scenes, is
 there a way (a config file, perhaps?) to make the VPNC plugin set/unset
 this parameter? (I am no programmer - just a user...)
 
 I know that DPD configuration should be possible on a per-connection
 basis, as some VPN configurations will require DPD to be active - while
 others might not.
 
 There have been suggestions to use older versions of
 network-manager-vpnc or different versions of network-manager
 altogether, which is not what I'd like to do.
 
 For now, I'd be happy if I could enable/disable network-manager-vpnc's
 DPD globally. 
 
 
 Can this be done?

In Fedora's Bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=403661

No action since I filed it last November.  I have to run vpnc by hand on
those connections where DPD is an issue.

See also

http://www.ces.clemson.edu/linux/f8-nm-iwl3945-B.shtml

The other vpnc features that it would be good to be able to configure
are NAT traversal mode selection and IPsec obfuscated secret support.

 thanks  best regards
 
 
 Marc
 
 
 
-- 
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Service Provider Database

2008-06-05 Thread Antti Kaijanmäki
to, 2008-06-05 kello 10:52 +0100, Bastien Nocera kirjoitti:
 On Thu, 2008-06-05 at 11:50 +0300, Antti Kaijanmäki wrote:
 snip
   I also mentioned another option which you seem to have discounted, and
   can easily be used in a DTD.
   
   provider
 gsm /
 nameService Provider - GSM prepaid/name
 apnprepaid.provider/apn
   /provider
  
  Your previous mail had type property also with this one and it had
  the same problem as the first one had. That's why I didn't comment on
  that. 
 
 You can:
 (gsm, name, apn)? | name
 
 Would make sure you have an apn when you have a gsm tag.

and this would mean something like this:

provider
   gsm /
   namefoo/name
   apnfoo.internet/apn
/provider


which is not far away from:

provider
   namefoo/name
   gsm
   apnfoo.internet/apn
   /gsm
/provider


 In all cases, you could also use a C program to validate your XML file,
 which would give you more options.

True, but our discussion has been, the way I see it, only about
semantics. Our opinions differ, but as I haven't seen any technical
arguments that make my proposal invalid, I am going to stick with it.

I truly appreciate your input and I hope this doesn't leave hard
feelings to anyone.

Thanks,
 Antti




signature.asc
Description: Digitaalisesti allekirjoitettu viestin osa
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager for embedded Linux

2008-06-05 Thread Dan Williams
On Thu, 2008-06-05 at 00:13 -0700, Nitin Mahajan wrote:
 HI!
 
 I am planning to build and test the Network Manager 0.6.5 for embedded Linux 
 for a MIPS based CPU.

Any particular reason you wouldn't use 0.7?  0.7 is a lot more flexible
and probably more suited for embedded systems where you likely want more
control over the network configuration.

Also, are you planning on just using the NM daemon, or do you want to
use the GNOME applet too?

 Can anyone give me some inputs about configuration and dependencies when 
 trying to do so? What do I specify for --with-distro in configuration?

You could create your own distro target.  It mainly affects what backend
is used for some IP configuration (see src/backends/*) and not much
else.  On 0.7 the distro-specific backends are pretty much empty because
we've been able to generalize most of it, so you wouldn't have to do
much work on 0.7.

If you're just using NetworkManager, then you'll need bits like libnl,
glib2, and dbus-glib.  The configure script will tell you if you're
missing anything.  I could go into more details about the dependencies,
but that would depend on whether you'd like to use 0.6.6 or 0.7-pre.

dan

 Thanks and regards
 
 -Nitin
 
 Send instant messages to your online friends http://uk.messenger.yahoo.com 
 ___
 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: tell networkmanager which wireless card to use?

2008-06-05 Thread Dan Williams
On Wed, 2008-06-04 at 23:55 -0700, Xamindar wrote:
 Ack, nevermind. This didn't work on my gentoo system.

It looks like you add the disabled=true tag to the device somehow in
it's configuration in /etc/conf.d/net, but that may just be a global for
disabling NM altogether.  The Gentoo backend isn't entirely clear.  What
does the config file actually look like for you?

Dan

 Tambet Ingo wrote:
  On Wed, Jun 4, 2008 at 11:16 AM, Xamindar [EMAIL PROTECTED] wrote:
  I haven't looked into it that much. But I was wondering what happens if
  you have two wireless cards in the pc..which one does it use?  More
  importantly, is there a way to tell it NOT to use a certain card at all?
  
  On redhat and suse, you can add NM_CONTROLLED=no line to
  /etc/sysconfig/network/ifcfg-$interface file.
  
  Tambet
 ___
 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: dnsmasq make error with current svn snapshot

2008-06-05 Thread Dan Williams
On Wed, 2008-06-04 at 20:00 -0400, Tom Sutherland wrote:
 this is on kubuntu hardy - any ideas?
 
 cc1: warnings being treated as
 errors
  
 nm-dnsmasq-manager.c: In function
 ‘dm_watch_cb’:
   
 nm-dnsmasq-manager.c:174: warning: ‘msg’ may be used uninitialized in
 this
 function  
  
 nm-dnsmasq-manager.c:174: note: ‘msg’ was declared
 here  
  
 make[3]: *** [libdnsmasq_manager_la-nm-dnsmasq-manager.lo] Error 1 

fixed in r3722, thanks!

Dan

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