Re: nm-openswan is alive again!

2007-06-11 Thread Igor Neves
Dan Williams wrote:
> On Sat, 2007-06-09 at 18:03 -0400, steve wrote:
>> Hi,
>>
>> Just a quick post to inform anyone who cares, that I've finished my 
>> employment transition, re-created my development environment and I've 
>> re-started work on the openswan vpn plugin.
>>
>> I've made two design changes to allow for multiple concurrent vpn 
>> connections (in future releases) as it will be required for my new job.
>> I'll post again when I've got a tar ball for others to test.
> 
> Awesome!  You might want to look at an email recently sent about a new
> API for VPNs to see if it would also work for openswan.
> 
> "Proposal for a new VPN DBUS interface" - May 8th
> 
> Dan
> 
>> If anyone feels inclined to help with the effort (which is mainly bug 
>> fixing at this point), feel free to contact me.
>>
>> Steve.

Hi,

This new API will make possible to have multiple VPN connections with
openvpn plugin?

This will be plugin side work, or the code we already have, will still work?

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


Re: NetworkManager openvpn plugin dont compile

2007-05-29 Thread Igor Neves
Dan Williams wrote:
> On Thu, 2007-05-24 at 22:45 +0100, Igor Neves wrote:
>> Hi,
>>
>> Anyone knows, why NetworkManager openvpn plugin does not compile, in the
>> last svn release?
> 
> Hmm; are you building it against the latest NM from SVN trunk?  Or
> against 0.6.5?
> 
> Dan
> 
>> Wonder if i need any dbus special version or something.
>>
>> Thanks all
>>
>> nm-openvpn-service.c:1291: undefined reference to `nmu_dbus_dict_open_write'
>> nm-openvpn-service.c:1296: undefined reference to
>> `nmu_dbus_dict_append_uint32'
>> nm-openvpn-service.c:1301: undefined reference to
>> `nmu_dbus_dict_append_string'
>> nm-openvpn-service.c:1306: undefined reference to
>> `nmu_dbus_dict_append_uint32'
>> nm-openvpn-service.c:1311: undefined reference to
>> `nmu_dbus_dict_append_uint32'
>> nm-openvpn-service.c:1316: undefined reference to
>> `nmu_dbus_dict_append_uint32'
>> nm-openvpn-service.c:1332: undefined reference to
>> `nmu_dbus_dict_append_uint32_array'
>> nm-openvpn-service.c:1341: undefined reference to
>> `nmu_dbus_dict_close_write'
>> nm-openvpn-service.c:1322: undefined reference to
>> `nmu_dbus_dict_append_uint32_array'

I'm with the gentoo release, 0.6.5 i think.
I will try to update it, and i will try to do one patch, for the plugin,
with my new work.

Many thanks.

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


Re: Incorrect route with OpenVPN plugin

2007-05-29 Thread Igor Neves
Jon Escombe wrote:
> - "Jon Nettleton" <[EMAIL PROTECTED]> wrote:
>> On Thu, 2007-05-24 at 14:21 -0400, Dan Williams wrote:
>>> On Wed, 2007-05-23 at 15:20 +0100, John Spray wrote:
 Hi,

 I'm connecting to a VPN using NetworkManager 0.6.4 on ubuntu 7.04, but
 it's not picking up the gateway correctly -- after NM connects to the
 VPN I have to do a "route add -net 172.16.200.0 netmask 255.255.255.0 gw
 172.16.220.1" before it works correctly.  The route NM initially creates
 for the 172.16.0.0 range specifies no gateway.

 I have attached logs from daemon.log when NM fails, and from the command
 line output from the successful OpenVPN initialisation.  Note that the
 OpenVPN log shows:

 PUSH: Received control message: 'PUSH_REPLY,route-gateway 172.16.220.1 ...
>>> The OpenVPN plugin might not relay the route information to NM when it
>>> gets the config...?
>> sounds like he has the option for Only use the VPN connection for these
>> addresses checked.  If I have it set as the default connection it works
>> properly for me.  
>>
>> Jon
>>
> 
> I see the same problem with NM 6.5 (on f7-rc2). A default route gets created 
> but contains no gateway, and I don't have the "only use for these addresses" 
> option selected...
> 
> Regards,
> Jon.

Yes, this is a problem, with the openvpn plugin at least.

It does not follow the routes given from the openvpn server, this should
be implemented in the plugin, with another things, i have in my TODO.

The field, "route only this" should exists, but the plugin should
support the PUSH_REPLY someone mention, because this can change, and the
client side, should not know that, that's why it is done in the server
side, and replied to the client, with the PUSH_REPLY answer.

I need somebody to help me compiling last svn version of the plugin,
before i try to develop, what it's not done yet.

Cheers.

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


Re: Latest tarball w/ pptp ...

2007-05-29 Thread Igor Neves
Drew Bertola wrote:
> Hi,
> 
> I'm looking for a tarball w/ pptp included.  I saw some mention in the
> changelog for 0.65, but the code must have been pulled out when the
> archive was created.
> 
> I've tried building it all from subversion - latest revision, but I'm
> seeing:
> 
>  undefined reference to `nmu_dbus_dict_append_uint32_array'
> 
> when trying to build both openvpn and pptp.  Is there a fix for that?
> Am I just doing something wrong?
> 
> Thanks,
> --
> Drew

Same problem here, this list it's weird, i already send my email with
this problem, to the ML, and nobody answer me yet, indeed i'm still waiting.
Let me know, if you found something.

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


NetworkManager openvpn plugin dont compile

2007-05-24 Thread Igor Neves
Hi,

Anyone knows, why NetworkManager openvpn plugin does not compile, in the
last svn release?

Wonder if i need any dbus special version or something.

Thanks all

nm-openvpn-service.c:1291: undefined reference to `nmu_dbus_dict_open_write'
nm-openvpn-service.c:1296: undefined reference to
`nmu_dbus_dict_append_uint32'
nm-openvpn-service.c:1301: undefined reference to
`nmu_dbus_dict_append_string'
nm-openvpn-service.c:1306: undefined reference to
`nmu_dbus_dict_append_uint32'
nm-openvpn-service.c:1311: undefined reference to
`nmu_dbus_dict_append_uint32'
nm-openvpn-service.c:1316: undefined reference to
`nmu_dbus_dict_append_uint32'
nm-openvpn-service.c:1332: undefined reference to
`nmu_dbus_dict_append_uint32_array'
nm-openvpn-service.c:1341: undefined reference to
`nmu_dbus_dict_close_write'
nm-openvpn-service.c:1322: undefined reference to
`nmu_dbus_dict_append_uint32_array'
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


problem with DWL-G650 and DWL-G122

2006-12-28 Thread Igor Neves
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When i remove a usb wifi card, DWL-G122, from my computer it works
great, NetworkManager works fine, removes the card from the list, and
dont crash. (driver rt73)

Dec 28 18:05:06 laptop NetworkManager:   Deactivating device rausb0.


When i remove, the DWL-G650, it crashs, i have to restart NetworkManager
deamon.

Dec 28 18:13:15 laptop NetworkManager:  [1167329595.052490]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/net_00_0f_3d_87_4f_69').
Dec 28 18:13:15 laptop NetworkManager:  [1167329595.070502]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/pci_168c_13').
Dec 28 18:13:16 laptop NetworkManager:   nm_signal_handler():
Caught signal 15, shutting down normally.
Dec 28 18:13:16 laptop NetworkManager:   Caught terminiation signal
Dec 28 18:13:16 laptop NetworkManager:  [1167329596.428844]
nm_print_open_socks(): Open Sockets List:
Dec 28 18:13:16 laptop NetworkManager:  [1167329596.428956]
nm_print_open_socks(): Open Sockets List Done.
Dec 28 18:13:16 laptop NetworkManager:   Deactivating device eth0.
Dec 28 18:13:17 laptop NetworkManager:   Deactivating device w0.
Dec 28 18:13:17 laptop NetworkManager: 
nm_device_802_11_wireless_get_mode(): error getting card mode on w0: No
such device

I was connected with eth0, was not using the wifi card.

One more thing is, with rt73, i have no scan, in NetworkManager (no wifi
networks power), but in the shell if i do something like, iwlist rausb0
scan, i can scan.

Thanks all.
- --
Igor Neves <[EMAIL PROTECTED]>
3GNTW - Tecnologias de Informação, Lda

 sip [EMAIL PROTECTED]  jid [EMAIL PROTECTED]
 icq 249075444

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFlAq7LL6dC1KoiA4RAi0JAJ91XQdF71e36ui1UDX29U9nZW2xZQCfbc3g
m7jHtQdMgR5lTRiRuiHdEF4=
=RT+I
-END PGP SIGNATURE-
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Openvpn

2006-12-28 Thread Igor Neves
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anyone uses NetworkManager to connect OpenVPN?

I'm trying to use it, but i use ca+cert+key files, it's possible to
connect to a remote site? The cert ask's for a password.

Can i use NetworkManager with wvdial?

When i try to do with ppp, it does not ask for modem, dont know why.

Cheers
- --
Igor Neves <[EMAIL PROTECTED]>
3GNTW - Tecnologias de Informação, Lda

 sip [EMAIL PROTECTED]  jid [EMAIL PROTECTED]
 icq 249075444

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFk64yLL6dC1KoiA4RAgw9AJ9hEvJTLDOcpMlqo2qKeMIIawFIBgCfdETE
K3Oj1joZqN80KT3rh8yoQ44=
=KmSa
-END PGP SIGNATURE-
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Bug?!

2006-12-28 Thread Igor Neves
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In vpn-daemons/pptp/src/nm-pppd-plugin.c

You should not include directly the headers like you are:

#include "pppd/pppd.h"
#include "pppd/fsm.h"
#include "pppd/ipcp.h"

You should include the headers provided by autoconf location, because if
 i use --with-pppd=./src/external/2.4.4b1/pppd/ , it will not work,
unless you put the headers in that location.

One more thing, if autoconf does not find the header in /usr/include it
does not automatically try to include the ones that you have in the
source, shouldnt it?

Please someone fix that.

Thanks, Igor Neves.
- --
Igor Neves <[EMAIL PROTECTED]>
3GNTW - Tecnologias de Informação, Lda

 sip [EMAIL PROTECTED]  jid [EMAIL PROTECTED]
 icq 249075444

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFk6TQLL6dC1KoiA4RAhLaAKCTtHUCUyyf4Q5vlOWovWWtuGOvBQCfQd8E
lBObX8CWKXE1eNXM8Xqi6h0=
=zxZL
-END PGP SIGNATURE-
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list