Re: ANN: One the road to 0.9 - release of 0.8.995 (0.9.0-beta1)

2011-03-06 Thread Michael Biebl
Am 07.03.2011 07:11, schrieb Michael Biebl:
>  Will report back when I encounter
> any other issues.

Looks like all user defined connections have been "forgotten", they are neither
shown anymore by nm-connection-editor nor nm-applet.

It would be cool, if nm-applet would automatically convert/import old user
settings into new system connections.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ANN: One the road to 0.9 - release of 0.8.995 (0.9.0-beta1)

2011-03-06 Thread Michael Biebl
Am 05.03.2011 07:48, schrieb Dan Williams:
> 
> Any and all testing, patches, comments, etc, greatly appreciated.  Lets
> get 0.9 out soon!

Looks like 0.8.995 does not contain the changes of 0.8.4, which moved the
timestamps to /var/lib/NetworkManager.

I've been compiling on Debian unstable (using gtk2) and it runs fine so far.

I already sent you two build related fixes. Will report back when I encounter
any other issues.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Phil Thompson
On Sun, 2011-03-06 at 19:25 +0100, Torsten Spindler wrote:
> It's on my machine, coming from lucid-updates:
> ii  libgudev-1.0-01:151-12.3
> GObject-based wrapper library for libudev
> 
> Did you install the build dependencies for network-manager, e.g. $
> sudo apt-get build-dep network-manager? 

I hadn't, but I have now and ./configure --disable-wimax now runs
through OK :-) 

Without the wimax switch it requires an Intel WiMax SDK

As your PPA is at least a leap ahead of me I think I'll try that
tomorrow.

Thanks for the help


Phil

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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
Following up on this, I go further with running the auto toolchain
commands:
* Run autogen.sh with --gtkver=2 and other autotools to get there:
-  aclocal
-  autoconf
-  autoheader
-  automake -a

The network-manager-applet package is being upload to the PPA now,
hopefully it will build.

Torsten


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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
On the gtk+3 dependency, I've found the --with-gtkver=2 option for
autogen.sh. Unfortunately the command errs with this message:

$ ./autogen.sh --with-gtkver=2You should add the contents of
'/usr/share/aclocal/intltool.m4' to 'aclocal.m4'.
configure: WARNING: unrecognized options: --enable-maintainer-mode
./configure: line 2140: syntax error near unexpected token `1.10'
./configure: line 2140: `AM_INIT_AUTOMAKE(1.10 subdir-objects
no-dist-gzip dist-bzip2)'

Torsten


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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
On Sun, 2011-03-06 at 17:12 +, Phil Thompson wrote:
> On Sun, 2011-03-06 at 16:11 +0100, Torsten Spindler wrote:
> > After some hacking at the debian files the Network Manager built in
> > the PPA for Lucid, though the applet is still outstanding. It depends
> > on gtk+3 >= 2.91.4, which seems to be quite a huge dependency. 
> 
> I take it this means I shouldn't bother trying it as I won't get the
> applet ?

To be honest, I don't know where to progress from here with the applet.
Backporting gtk+3 seems like quite an undertaking. Maybe the
dependencies on it can be patched out of the applet?

Torsten


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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
On Sun, 2011-03-06 at 17:14 +, Phil Thompson wrote:
...
> it did move me forward to the next glitch :-
> 
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for DBUS... yes
> checking for GLIB... yes
> checking for GMODULE... yes
> checking for GUDEV... no
> configure: error: Package requirements (gudev-1.0) were not met:
> 
> No package 'gudev-1.0' found

It's on my machine, coming from lucid-updates:
ii  libgudev-1.0-01:151-12.3
GObject-based wrapper library for libudev

Did you install the build dependencies for network-manager, e.g. $ sudo
apt-get build-dep network-manager?

Torsten


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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Phil Thompson
On Sun, 2011-03-06 at 13:21 +0100, Torsten Spindler wrote:
> I've setup another PPA with a newer glib version: 
> https://launchpad.net/~tspindler/+archive/glib-2.26-lucid
> This is completely untested, though I've installed it now on my main
> machine. I'll hope it causes no problems, but I advise you to test
> this
> on an expendable machine first, maybe on a virtual machine. 

thanks for that Torsten,

it did move me forward to the next glitch :-

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for GLIB... yes
checking for GMODULE... yes
checking for GUDEV... no
configure: error: Package requirements (gudev-1.0) were not met:

No package 'gudev-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GUDEV_CFLAGS
and GUDEV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



Phil

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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Phil Thompson
On Sun, 2011-03-06 at 16:11 +0100, Torsten Spindler wrote:
> After some hacking at the debian files the Network Manager built in
> the PPA for Lucid, though the applet is still outstanding. It depends
> on gtk+3 >= 2.91.4, which seems to be quite a huge dependency. 

I take it this means I shouldn't bother trying it as I won't get the
applet ?

Phil

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


Re: WLAN disabled by state file

2011-03-06 Thread Ozan Çağlayan
On 05.03.2011 17:31, Dan Williams wrote:

> Need a bit more debug here; the --log-level=debug logs would be useful
> for starters.
> 
> Dan

Ok, the logs are attached. (This is the new NM 0.8.3.997)

Thanks,


-- 
Pardus Linux
http://www.pardus.org.tr/eng
After pressing the rfkill button on laptop:
---

NetworkManager[15750]:  [1299426967.981710] [nm-netlink-monitor.c:117] 
link_msg_handler(): netlink link message: iface idx 4 flags 0x1002
NetworkManager[15750]:  [1299426967.984006] [nm-netlink-monitor.c:117] 
link_msg_handler(): netlink link message: iface idx 4 flags 0x1043
NetworkManager[15750]:  [1299426967.984789] [nm-udev-manager.c:477] 
handle_uevent(): UDEV event: action 'change' subsys 'rfkill' device 'rfkill2'
NetworkManager[15750]:  [1299426967.984948] [nm-udev-manager.c:204] 
recheck_killswitches(): WiFi rfkill state now 'soft-blocked'
NetworkManager[15750]:  [1299426967.984983] [nm-manager.c:1854] 
manager_rfkill_update_one_type(): WiFi hw-enabled 1 sw-enabled 0
NetworkManager[15750]:  WiFi now disabled by radio killswitch
NetworkManager[15750]:  [1299426967.985045] [nm-manager.c:1690] 
manager_update_radio_enabled(): (wlan0): setting radio disabled
NetworkManager[15750]:  [1299426967.985064] [nm-device-wifi.c:3757] 
real_set_enabled(): (wlan0): device now disabled
NetworkManager[15750]:  (wlan0): device state change: 8 -> 2 (reason 0)
NetworkManager[15750]:  (wlan0): deactivating device (reason: 0).
dhcpcd[15754]: received SIGTERM, stopping
dhcpcd[15754]: wlan0: removing interface
NetworkManager[15750]:  (wlan0): canceled DHCP transaction, DHCP client 
pid 15754
NetworkManager[15750]:  [1299426968.185839] [nm-device-wifi.c:1165] 
_set_hw_addr(): (wlan0): no MAC address change needed
NetworkManager[15750]:  [1299426968.185900] [nm-system.c:1362] 
flush_routes(): (wlan0): flushing routes ifindex 4 family INET (2)
NetworkManager[15750]:  [1299426968.186049] [nm-system.c:1277] 
dump_route():   route idx 1 family INET (2) addr 127.0.0.0/8
NetworkManager[15750]:  [1299426968.186076] [nm-system.c:1277] 
dump_route():   route idx 1 family INET (2) addr 127.255.255.255/32
NetworkManager[15750]:  [1299426968.186103] [nm-system.c:1277] 
dump_route():   route idx 1 family INET (2) addr 127.0.0.0/32
NetworkManager[15750]:  [1299426968.186136] [nm-system.c:1277] 
dump_route():   route idx 1 family INET (2) addr 127.0.0.1/32
NetworkManager[15750]:  [1299426968.186166] [nm-system.c:1277] 
dump_route():   route idx 1 family INET (2) addr 127.0.0.0/8
NetworkManager[15750]:  [1299426968.186203] [nm-system.c:1277] 
dump_route():   route idx 1 family INET6 (10) addr 0:0:6100::903b:6502/0
NetworkManager[15750]:  [1299426968.186236] [nm-system.c:1277] 
dump_route():   route idx 1 family INET6 (10) addr ::1/128
NetworkManager[15750]:  [1299426968.186270] [nm-system.c:1277] 
dump_route():   route idx 1 family INET6 (10) addr 0:0:9100::5812:2306/0
NetworkManager[15750]:  [1299426968.186399] [nm-system.c:222] 
sync_addresses(): (wlan0): syncing addresses (family 2)
NetworkManager[15750]:  [1299426968.639413] [nm-device-wifi.c:1331] 
real_is_available(): (wlan0): not available because not enabled
NetworkManager[15750]:  [1299426968.639463] [nm-device.c:3792] 
nm_device_state_changed(): (wlan0): device not yet available for transition to 
DISCONNECTED
NetworkManager[15750]:  (pid 15754) unhandled DHCP event for interface 
wlan0
NetworkManager[15750]:  [1299426968.647490] [nm-netlink-monitor.c:117] 
link_msg_handler(): netlink link message: iface idx 4 flags 0x1002
NetworkManager[15750]:  [1299426968.665704] [nm-manager.c:4456] 
manager_radio_user_toggled(): (WiFi): setting radio disabled by user


Now the WirelessEnabled key turned to false in /var/lib/NetworkManager.state 
file. Pressing the
rfkill button again doesn't set WirelessEnabled to true again:


NetworkManager[15750]:  [1299427091.367610] [nm-udev-manager.c:477] 
handle_uevent(): UDEV event: action 'change' subsys 'rfkill' device 'rfkill2'
NetworkManager[15750]:  [1299427091.367902] [nm-udev-manager.c:204] 
recheck_killswitches(): WiFi rfkill state now 'unblocked'
NetworkManager[15750]:  [1299427091.367988] [nm-manager.c:1854] 
manager_rfkill_update_one_type(): WiFi hw-enabled 1 sw-enabled 1
NetworkManager[15750]:  WiFi now enabled by radio killswitch
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
After some hacking at the debian files the Network Manager built in the
PPA for Lucid, though the applet is still outstanding. It depends on gtk
+3 >= 2.91.4, which seems to be quite a huge dependency.

Torsten


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


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Torsten Spindler
Hello Phil,


On Sun, 2011-03-06 at 09:48 +, Phil Thompson wrote:
...
> I now have the am PPA and still the same error
> 
> checking for DBUS... yes
> checking for GLIB... no
> configure: error: Package requirements (gthread-2.0 glib-2.0 >= 2.26
> gobject-2.0) were not met:
> 
> Requested 'glib-2.0 >= 2.26' but version of GLib is 2.24.1
> 
> I need a bit more newbie help to progress this please

I've setup another PPA with a newer glib version: 
https://launchpad.net/~tspindler/+archive/glib-2.26-lucid
This is completely untested, though I've installed it now on my main
machine. I'll hope it causes no problems, but I advise you to test this
on an expendable machine first, maybe on a virtual machine.

I've also setup another PPA for nm-0.9 and trying to build it there:
https://launchpad.net/~tspindler/+archive/nm-0.9
However, not sure if the build will go through.

Torsten

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


Re: VPN over VPN

2011-03-06 Thread Ma Begaj
2011/3/6 Matej Kovacic :
> Hi,
>
> is it possible to use VPN over VPN?
>
> For instance, user is connected to Open VPN server and then connects to
> Cisco VPN through the first connection?

yes but not only with NM. I did that again with a dispatcher script by
starting openvpn
after 1st connection was established.

you have to start 2nd connection with openvpn binary without NM... example:

#!/bin/sh
if [[ $CONNECTION_UUID == '..' ]] && [[ $2 == 'vpn-up' ]]; then
openvpn /home/user/my_vpn_conf
fi



NM itself is not able to establish two VPN connections at the same time
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Testing 0.8.995 (0.9.0-beta1) on Ubuntu 10.04

2011-03-06 Thread Phil Thompson
On Sat, 2011-03-05 at 20:42 -0500, Mathieu Trudel-Lapierre wrote:
> On Sat, Mar 5, 2011 at 2:06 PM, Torsten Spindler  
> wrote:
> [...]
> > On Sat, 2011-03-05 at 17:46 +, Phil Thompson wrote:
> >> I've resolved a few of the errors that came up running ./configure
> >> but not sure what to do with this one :-
> >>
> >>
> >> checking for GLIB... no
> >> configure: error: Package requirements (gthread-2.0 glib-2.0 >= 2.26
> >> gobject-2.0) were not met:
> >>
> >> Requested 'glib-2.0 >= 2.26' but version of GLib is 2.24.1
> >
> > You can get a backported dbus-glib from this PPA on Launchpad:
> > https://launchpad.net/~mathieu-tl/+archive/ppa/
> >
> > Works fine for me.

I now have the am PPA and still the same error

checking for DBUS... yes
checking for GLIB... no
configure: error: Package requirements (gthread-2.0 glib-2.0 >= 2.26
gobject-2.0) were not met:

Requested 'glib-2.0 >= 2.26' but version of GLib is 2.24.1

I need a bit more newbie help to progress this please

phil@minuet:~/Downloads/NetworkManager-0.8.995$ dpkg --get-selections |
grep dbus

dbusinstall
dbus-x11install
libdbus-1-3 install
libdbus-1-dev   install
libdbus-glib-1-2install
libdbus-glib-1-2-dbginstall
libdbus-glib-1-dev  install
libdbus-glib-1-doc  install
libdbusmenu-glib0   deinstall
libdbusmenu-glib1   install
libdbusmenu-gtk0deinstall
libdbusmenu-gtk1install
libdbusmenu-qt2 install
libeggdbus-1-0  install
libndesk-dbus-glib1.0-cil   install
libndesk-dbus1.0-cilinstall
libndesk-dbus1.0-cil-devinstall
libnet-dbus-perlinstall
libnih-dbus1install
libqt4-dbus install
python-dbus install

phil@minuet:~/Downloads/NetworkManager-0.8.995$ dpkg --get-selections |
grep glib

gir1.0-glib-2.0 install
libavahi-glib1  install
libcouchdb-glib-1.0-1   deinstall
libcouchdb-glib-1.0-2   install
libdbus-glib-1-2install
libdbus-glib-1-2-dbginstall
libdbus-glib-1-dev  install
libdbus-glib-1-doc  install
libdbusmenu-glib0   deinstall
libdbusmenu-glib1   install
libdesktopcouch-glib-1.0-2  install
libglib-perlinstall
libglib2.0-0install
libglib2.0-cil  install
libglib2.0-data install
libglib2.0-dev  install
libglibmm-2.4-1c2a  install
libjson-glib-1.0-0  install
libndesk-dbus-glib1.0-cil   install
libnm-glib2 install
libpackagekit-glib2-12  install
libpoppler-glib4install
libpulse-mainloop-glib0 install
libtelepathy-glib0  install
libupower-glib1 install



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


VPN over VPN

2011-03-06 Thread Matej Kovacic
Hi,

is it possible to use VPN over VPN?

For instance, user is connected to Open VPN server and then connects to
Cisco VPN through the first connection?

Regards,

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


Re: location based firewall

2011-03-06 Thread Matej Kovacic
Hi,

> change if you plug into a different subnet of the same router in the 
> same administrative domain (or it might not, depending on the model 
Solution could be to save ALL possible MAC adresses and associate them
with that network...

> Perhaps the key should be a combination of various parameters, such as
> subnet address/prefix length, gateway IP, and gateway MAC.

I think we are talking about two things here.

First option is that firewall is based on connection UUID. That means,
when I use specific connection, firewall rules for that connection are
enforced.

The other option is to autodetect which network I am using. Something
like: I am connected to a router with MAC1, that means I must use
firewall setting for that network.

For instance, if I am using "Auto eth0" that could be on my home network
or in cybercafe - and I can use two diferent firewall scripts.

Which means there is another possibility - user should have an option
that NetworkManager automatically invokes firewall script based on
predefined rules OR asks user which firewall script should invoke (and
proposes the best one).

Some paranoid setup should be like that... I have very restrictive
default firewall, but when I connect to my home network, NM detects MAC
address, router IP, etc. and then asks me whether I want to run firewall
script 2 or not (but I can disable this question and firewall script 2
is automatically run).

Regards,

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