NetworkManager and Nokia's HSDPA modem

2008-12-16 Thread Robert Piasek
Hi,

I wanted to use Nokia's built-in HSDPA modem to connect to Internet using NM.

For this I used Nokia N95 8GB: 

lsusb | grep Nokia
Bus 005 Device 011: ID 0421:0070 Nokia Mobile Phones

I had to get very recent 10-modem.fdi file (from hal-info git)
lshal | grep tty -A4 -B5
udi = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0'
  info.capabilities = {'serial', 'modem', 'modem'} (string list)
  info.category = 'serial'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0'  (string)
  info.product = 'Serial Port'  (string)
  info.subsystem = 'tty'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0'
  
(string)
  linux.device_file = '/dev/ttyACM0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'tty'  (string)
  linux.sysfs_path = 
'/sys/devices/pci:00/:00:1d.0/usb5/5-1/5-1:1.10/tty/ttyACM0'  (string)
  modem.command_sets = {'V.250', 'V.250', 'GSM-07.07', 'GSM-07.05'} (string 
list)
  serial.device = '/dev/ttyACM0'  (string)
  serial.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0'  (string)
  serial.port = 0  (0x0)  (int)
  serial.type = 'unknown'  (string)



Now NM can detect it as modem, but almost instantly after connecting, it exits 
with deactivating device (reason: 2).

There's the output of 
NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon

NetworkManager:   ttyACM0: driver is 'cdc_acm'.
NetworkManager:  [1229474366.651347] setup_monitor_device(): No 
monitoring udi provided
NetworkManager:   Found new Modem device 'ttyACM0'.   
  
NetworkManager:   (ttyACM0): exported as 
/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0
NetworkManager:   (ttyACM0): device state change: 1 -> 2  
  
NetworkManager:   (ttyACM0): deactivating device (reason: 2). 
  
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion 
`iface_idx >= 0' failed   
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion 
`iface_idx >= 0' failed
NetworkManager:   (ttyACM0): device state change: 2 -> 3  
  

At this point I can see device as disconnected.

Any hints how to get it to work?


Thanks,
Rob




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: NetworkManager and OpenVPN

2008-12-16 Thread Dan Williams
On Tue, 2008-12-16 at 13:13 -0800, Geoffrey Leach wrote:
> On 12/16/2008 07:37:17 AM, Dan Williams wrote:
> > On Mon, 2008-12-15 at 13:43 -0800, Geoffrey Leach wrote:
> > > On 12/15/2008 09:45:15 AM, Dan Williams wrote:
> > > > On Mon, 2008-12-15 at 09:25 -0800, Geoffrey Leach wrote:
> > > > > On 12/15/2008 07:44:08 AM, Dan Williams wrote:
> > > > > > On Sun, 2008-12-14 at 10:05 -0800, Geoffrey Leach wrote:
> > > > > > > Could someone outline (or provide a pointer to) the role
> > played
> > > > by 
> > > > > > > NetworkManager-openvpn (in v 0.7)? I notice that the 
> > openvpm
> > 
> > > > > > service
> > > > > > 
> > > > > > > dies on startup, although there appear to be no ill effects 
> > > > from
> > > > > > that.
> > > > > > 
> > > > > > You my be running an older version of openvpn (2.1 rc8 or
> > lower?) 
> > > > > > that
> > > > > > doesn't accept the --script-security argument.  Is that the
> > case?
> > > > > > 
> > > > > > Basically, NetworkManager-openvpn is the openvpn plugin to
> > allow
> > > > NM 
> > > > > > to
> > > > > > connect to OpenVPN VPN servers.  When you ask NM to activate
> > an
> > > > > > OpenVPN
> > > > > > connection, NM launches nm-openvpn-service which handles the
> > > > actual
> > > > > > connection task.
> > > > > > 
> > > > > > If --script-security isn't the problem, then we can try to
> > debug
> > > > this
> > > > > > further by just running '/usr/libexec/nm-openvpn-service' as 
> > > > root,
> > > > > > then
> > > > > > connecting from the NM applet menu.  That will spit out more 
> > > > debug
> > > > > > info,
> > > > > > which we can look at to find out what the problem is.
> > > > > 
> > > > > I'm running openvpn-2.1-0.28.rc9.fc10.i386
> > > > > 
> > > > > I'm happy to assist with any debugging.  FWIW,
> > wpa_supplicant.log
> > > > gets 
> > > > > CTRL-EVENT-SCAN-RESULTS on executing /usr/libexec/nm-openvpn-
> > > > service
> > > > as 
> > > > > root.  In that log, I see 
> > > > > Trying to associate with 00:18:4d:88:55:c2 (SSID='Netgear' 
> > > > freq=2462
> > > > 
> > > > > MHz)
> > > > > Associated with 00:18:4d:88:55:c2
> > > > > CTRL-EVENT-CONNECTED - Connection to 00:18:4d:88:55:c2 
> > completed
> > > > (auth) 
> > > > > [id=0 id_str=]
> > > > > CTRL-EVENT-SCAN-RESULTS
> > > > > 
> > > > 
> > > > What's the output from running "/usr/libexec/nm-openvpn-service"
> > as
> > > > root, and then trying to connect with NM?  That program should
> > print
> > > > out
> > > > some information that we can use to debug further.
> > > 
> > > H ... perhaps I don't get it.
> > > Stopped NM
> > > execute nm-openvpn-service
> > > Start NM
> > > 
> > > NM starts normally; no output. Should I be looking elsewhere?
> > 
> > Did you then activate the VPN connection from the applet menu?
> 
> A Ha! No I did not. Can you point me to doc on how to configure?

How to configure an OpenVPN connection?  I thought you had one already,
otherwise maybe I mis-interpreted "NetworkManager-openvpn (in v 0.7)? I
notice that the openvpn service dies at startup".  Are you trying to
start the openvpn service as a system service at boot time instead?

Basically, you can use the NM openvpn plugin to let NM manage your VPN
connections, or if you really want you can use openvpn manually.
However, since NM does things asynchronously to avoid blocking other
stuff during startup, those other things will need a bit of logic to be
kicked in the head when the network changes.  Most things these days
(avahi and ntp are two exceptions) don't listen to netlink for interface
change events and dynamically reconfigure themselves or perform actions
based on those events.  If you're trying to get openvpn to start as a
system service (not using the NM openvpn integration bits), then it's
likely that you don't have a network connection yet by the time openvpn
starts up.

Dan

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


Re: NetworkManager and OpenVPN

2008-12-16 Thread Geoffrey Leach
On 12/16/2008 07:37:17 AM, Dan Williams wrote:
> On Mon, 2008-12-15 at 13:43 -0800, Geoffrey Leach wrote:
> > On 12/15/2008 09:45:15 AM, Dan Williams wrote:
> > > On Mon, 2008-12-15 at 09:25 -0800, Geoffrey Leach wrote:
> > > > On 12/15/2008 07:44:08 AM, Dan Williams wrote:
> > > > > On Sun, 2008-12-14 at 10:05 -0800, Geoffrey Leach wrote:
> > > > > > Could someone outline (or provide a pointer to) the role
> played
> > > by 
> > > > > > NetworkManager-openvpn (in v 0.7)? I notice that the 
> openvpm
> 
> > > > > service
> > > > > 
> > > > > > dies on startup, although there appear to be no ill effects 
> > > from
> > > > > that.
> > > > > 
> > > > > You my be running an older version of openvpn (2.1 rc8 or
> lower?) 
> > > > > that
> > > > > doesn't accept the --script-security argument.  Is that the
> case?
> > > > > 
> > > > > Basically, NetworkManager-openvpn is the openvpn plugin to
> allow
> > > NM 
> > > > > to
> > > > > connect to OpenVPN VPN servers.  When you ask NM to activate
> an
> > > > > OpenVPN
> > > > > connection, NM launches nm-openvpn-service which handles the
> > > actual
> > > > > connection task.
> > > > > 
> > > > > If --script-security isn't the problem, then we can try to
> debug
> > > this
> > > > > further by just running '/usr/libexec/nm-openvpn-service' as 
> > > root,
> > > > > then
> > > > > connecting from the NM applet menu.  That will spit out more 
> > > debug
> > > > > info,
> > > > > which we can look at to find out what the problem is.
> > > > 
> > > > I'm running openvpn-2.1-0.28.rc9.fc10.i386
> > > > 
> > > > I'm happy to assist with any debugging.  FWIW,
> wpa_supplicant.log
> > > gets 
> > > > CTRL-EVENT-SCAN-RESULTS on executing /usr/libexec/nm-openvpn-
> > > service
> > > as 
> > > > root.  In that log, I see 
> > > > Trying to associate with 00:18:4d:88:55:c2 (SSID='Netgear' 
> > > freq=2462
> > > 
> > > > MHz)
> > > > Associated with 00:18:4d:88:55:c2
> > > > CTRL-EVENT-CONNECTED - Connection to 00:18:4d:88:55:c2 
> completed
> > > (auth) 
> > > > [id=0 id_str=]
> > > > CTRL-EVENT-SCAN-RESULTS
> > > > 
> > > 
> > > What's the output from running "/usr/libexec/nm-openvpn-service"
> as
> > > root, and then trying to connect with NM?  That program should
> print
> > > out
> > > some information that we can use to debug further.
> > 
> > H ... perhaps I don't get it.
> > Stopped NM
> > execute nm-openvpn-service
> > Start NM
> > 
> > NM starts normally; no output. Should I be looking elsewhere?
> 
> Did you then activate the VPN connection from the applet menu?

A Ha! No I did not. Can you point me to doc on how to configure?



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


How to use the keyfile plugin?

2008-12-16 Thread Marcin 'Qrczak' Kowalczyk
Is there a GUI for adding connections (wireless) as system settings,
so they are used before login? The "system setting" checkbox in the
connection editor does nothing (and is unchecked when the connection
is edited again).

This is version 0.7~~svn20081018t105859-0ubuntu1.8.10.1.

-- 
Marcin Kowalczyk
qrc...@knm.org.pl
http://qrnik.knm.org.pl/~qrczak/
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Mobile Broadbad persistent connection

2008-12-16 Thread Dan Williams
On Tue, 2008-12-16 at 16:54 -0200, Pedro Henrique Morsch Mazzoni wrote:
> Hi Cesar,
> 
> NM 07. The issue is not to create a new connection. The connection is
> OK.
> The thing is I need a persistent connection. With a persistent
> connection, If the ppp interface goes down, it keeps trying to
> connect.

A functional oversight, not horribly hard to fix I think.  Essentially,
when a connection "fails" (ie isn't manually disconnected by a user) the
connection gets added to a blacklist, and isn't removed from that
blacklist until it's successfully activated again.  Blacklisted
connections are eligible for 'autoconnect'.  Thus even if it's
autoconnect and it fails, it won't get reconnected.  I think what needs
to happen here is to only blacklist the connection if it's manually
disconnected via DeactivateConnection, or if it fails and is not
'autoconnect'.

Dan

> Regards,
> Pedro Mazzoni
> 
> 2008/12/16 Cesar Cardoso 
> What version are you using? With NM 0.7, it's easy as creating
> a new connection (right-click on the applet - Edit
> Connections)
> 
> - "Pedro Henrique Morsch Mazzoni" 
> escreveu:
> 
> 
> > Hello everyone!
> >
> > I am using the NM to connect via usb modem to a mobile
> broadband
> > provider.
> > Is there a way to make this connection persistent with NM?
> > I have done it with wvdial, but I don´t if it is possible
> with Network
> > Manager.
> >
> > Thanks,
> > Pedro Mazzoni
> >
> 
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> --
> Cesar Cardoso
> http://fudeblog.zyakannazio.eti.br
> http://meadiciona.com/cesarcardoso
> ___
> 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

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


Re: Mobile Broadbad persistent connection

2008-12-16 Thread Pedro Henrique Morsch Mazzoni
Hi Cesar,

NM 07. The issue is not to create a new connection. The connection is OK.
The thing is I need a persistent connection. With a persistent connection,
If the ppp interface goes down, it keeps trying to connect.

Regards,
Pedro Mazzoni

2008/12/16 Cesar Cardoso 

> What version are you using? With NM 0.7, it's easy as creating a new
> connection (right-click on the applet - Edit Connections)
>
> - "Pedro Henrique Morsch Mazzoni"  escreveu:
>
> > Hello everyone!
> >
> > I am using the NM to connect via usb modem to a mobile broadband
> > provider.
> > Is there a way to make this connection persistent with NM?
> > I have done it with wvdial, but I don´t if it is possible with Network
> > Manager.
> >
> > Thanks,
> > Pedro Mazzoni
> >
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
> --
> Cesar Cardoso
> http://fudeblog.zyakannazio.eti.br
> http://meadiciona.com/cesarcardoso
> ___
> 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: Mobile Broadbad persistent connection

2008-12-16 Thread Cesar Cardoso
What version are you using? With NM 0.7, it's easy as creating a new connection 
(right-click on the applet - Edit Connections)

- "Pedro Henrique Morsch Mazzoni"  escreveu:

> Hello everyone!
> 
> I am using the NM to connect via usb modem to a mobile broadband
> provider.
> Is there a way to make this connection persistent with NM?
> I have done it with wvdial, but I don´t if it is possible with Network
> Manager.
> 
> Thanks,
> Pedro Mazzoni
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

-- 
Cesar Cardoso
http://fudeblog.zyakannazio.eti.br
http://meadiciona.com/cesarcardoso
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Mobile Broadbad persistent connection

2008-12-16 Thread Pedro Henrique Morsch Mazzoni
Hello everyone!

I am using the NM to connect via usb modem to a mobile broadband provider.
Is there a way to make this connection persistent with NM?
I have done it with wvdial, but I don´t if it is possible with Network
Manager.

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


Re: [OT] Current list of recommended cards?

2008-12-16 Thread Dan Williams
On Mon, 2008-12-15 at 07:13 -0800, Bill Moseley wrote:
> Can someone point me to current recommendations on Linux wireless
> cards for my home network.  I'm using WPA2 for security on my AP.

Anything Intel is usually an OK bet so far, but they of course are
built-in.  That's about the only blanket statement you can make.  For
other cards, it's sort of hit or miss.  PCI-E Atheros cards (especially
N-capable ones) are more likely to be supported and future-proofed now
that Atheros themselves are working on the drivers for that (ath9k)
upstream in the kernel, but there are some versions of older atheros
cards driven by ath5k that are rocky.

If it's a laptop, try:

http://www.pcsurplusonline.com/viewprod.cfm?ID=14660

or grab a mini-PCI -> PCI converter card for about $10 and mount the
ipw2200 in that.  Or get a *non-MIMO* Atheros card from somewhere
(usually advertised with 108Mbps rates or called "Super G").

Dan

> I've bee looking at a few lists, including this one.  But, the lists
> seem to get behind on what's actually available for purchase.
> 
> https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported
> 
> 
> I've got an older Dell running Ubunut Gutsy that is in a location
> away from my wired LAN.  It's also in a location where my Thinkpad
> T60p w/ an Atheros AR5418 is almost out of range, but an older
> (PowerPC) iBook running OS X works fine.  So, I'm looking for a good
> device.
> 
> Are there any USB devices that work well with Network Manager and
> Linux that you would recommend?
> 
> 
> Thanks,
> 
> 
> 

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


Re: [PATCH] NM 0.7.0 build error

2008-12-16 Thread João Valverde

Dan Williams wrote:

On Tue, 2008-12-16 at 14:20 +0200, Tambet Ingo wrote:
  

On Tue, Dec 16, 2008 at 01:26, João Valverde  wrote:


Tried the freshly released NetworkManager 0.7.0 tarball (Ubuntu Intrepid
i386, stock gcc), I get the following build error:


m-netlink-monitor.c
cc1: warnings being treated as errors
nm-netlink-monitor.c: In function 'nm_netlink_monitor_error_handler':
nm-netlink-monitor.c:488: error: format not a string literal and no format
arguments


Patch:

--- NetworkManager-0.7.0/src/nm-netlink-monitor.c 2008-11-25
16:46:39.0 +
+++ NetworkManager-0.7.0-1/src/nm-netlink-monitor.c 2008-12-15
23:04:48.0 +
@@ -485,7 +485,7 @@ nm_netlink_monitor_error_handler (GIOCha

socket_error = g_error_new (NM_NETLINK_MONITOR_ERROR,
NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA,
- err_msg);
+ "%s", err_msg);
  

Using g_error_new_literal() would be a better.



Fixed a week ago in svn/git anyway...

Dan

  

Forgot to check that, sorry.

João Valverde

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


Re: NetworkManager and OpenVPN

2008-12-16 Thread Dan Williams
On Mon, 2008-12-15 at 13:43 -0800, Geoffrey Leach wrote:
> On 12/15/2008 09:45:15 AM, Dan Williams wrote:
> > On Mon, 2008-12-15 at 09:25 -0800, Geoffrey Leach wrote:
> > > On 12/15/2008 07:44:08 AM, Dan Williams wrote:
> > > > On Sun, 2008-12-14 at 10:05 -0800, Geoffrey Leach wrote:
> > > > > Could someone outline (or provide a pointer to) the role played
> > by 
> > > > > NetworkManager-openvpn (in v 0.7)? I notice that the openvpm 
> > > > service
> > > > 
> > > > > dies on startup, although there appear to be no ill effects 
> > from
> > > > that.
> > > > 
> > > > You my be running an older version of openvpn (2.1 rc8 or lower?) 
> > > > that
> > > > doesn't accept the --script-security argument.  Is that the case?
> > > > 
> > > > Basically, NetworkManager-openvpn is the openvpn plugin to allow
> > NM 
> > > > to
> > > > connect to OpenVPN VPN servers.  When you ask NM to activate an
> > > > OpenVPN
> > > > connection, NM launches nm-openvpn-service which handles the
> > actual
> > > > connection task.
> > > > 
> > > > If --script-security isn't the problem, then we can try to debug
> > this
> > > > further by just running '/usr/libexec/nm-openvpn-service' as 
> > root,
> > > > then
> > > > connecting from the NM applet menu.  That will spit out more 
> > debug
> > > > info,
> > > > which we can look at to find out what the problem is.
> > > 
> > > I'm running openvpn-2.1-0.28.rc9.fc10.i386
> > > 
> > > I'm happy to assist with any debugging.  FWIW, wpa_supplicant.log
> > gets 
> > > CTRL-EVENT-SCAN-RESULTS on executing /usr/libexec/nm-openvpn-
> > service
> > as 
> > > root.  In that log, I see 
> > > Trying to associate with 00:18:4d:88:55:c2 (SSID='Netgear' 
> > freq=2462
> > 
> > > MHz)
> > > Associated with 00:18:4d:88:55:c2
> > > CTRL-EVENT-CONNECTED - Connection to 00:18:4d:88:55:c2 completed
> > (auth) 
> > > [id=0 id_str=]
> > > CTRL-EVENT-SCAN-RESULTS
> > > 
> > 
> > What's the output from running "/usr/libexec/nm-openvpn-service" as
> > root, and then trying to connect with NM?  That program should print
> > out
> > some information that we can use to debug further.
> 
> H ... perhaps I don't get it.
> Stopped NM
> execute nm-openvpn-service
> Start NM
> 
> NM starts normally; no output. Should I be looking elsewhere?

Did you then activate the VPN connection from the applet menu?

Dan

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


Re: NetworkManager core daemon moved to git

2008-12-16 Thread Dan Williams
On Tue, 2008-12-16 at 11:47 +0100, Michael Biebl wrote:
> Dan Williams wrote:
> > Hi,
> > 
> > The NetworkManager core daemon (the "NetworkManager" svn repository) has
> > been moved to git.freedesktop.org.
> > 
> > Since both the applet and the VPN daemons still require translation,
> > they still live at svn.gnome.org.  The VPN daemons have been moved from
> 
> What will happen to the core daemon, it still has translations in po/?
> 
> Will they be removed? Otherwise I fear that they will bit rot.

They may bitrot, but they aren't for anything critical, and should not
be used for UI strings anyway.  Most of them are for GError translations
from libnm-util crypto stuff.  Some may be for system settings plugins.
We'll have to do a bit more work to get them translated, yes, but I
don't believe that it's critical.

Dan


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


Re: [PATCH] NM 0.7.0 build error

2008-12-16 Thread Dan Williams
On Tue, 2008-12-16 at 14:20 +0200, Tambet Ingo wrote:
> On Tue, Dec 16, 2008 at 01:26, João Valverde  wrote:
> > Tried the freshly released NetworkManager 0.7.0 tarball (Ubuntu Intrepid
> > i386, stock gcc), I get the following build error:
> >
> >
> > m-netlink-monitor.c
> > cc1: warnings being treated as errors
> > nm-netlink-monitor.c: In function 'nm_netlink_monitor_error_handler':
> > nm-netlink-monitor.c:488: error: format not a string literal and no format
> > arguments
> >
> >
> > Patch:
> >
> > --- NetworkManager-0.7.0/src/nm-netlink-monitor.c 2008-11-25
> > 16:46:39.0 +
> > +++ NetworkManager-0.7.0-1/src/nm-netlink-monitor.c 2008-12-15
> > 23:04:48.0 +
> > @@ -485,7 +485,7 @@ nm_netlink_monitor_error_handler (GIOCha
> >
> > socket_error = g_error_new (NM_NETLINK_MONITOR_ERROR,
> > NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA,
> > - err_msg);
> > + "%s", err_msg);
> 
> Using g_error_new_literal() would be a better.

Fixed a week ago in svn/git anyway...

Dan


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


Re: [PATCH] NM 0.7.0 build error

2008-12-16 Thread Tambet Ingo
On Tue, Dec 16, 2008 at 01:26, João Valverde  wrote:
> Tried the freshly released NetworkManager 0.7.0 tarball (Ubuntu Intrepid
> i386, stock gcc), I get the following build error:
>
>
> m-netlink-monitor.c
> cc1: warnings being treated as errors
> nm-netlink-monitor.c: In function 'nm_netlink_monitor_error_handler':
> nm-netlink-monitor.c:488: error: format not a string literal and no format
> arguments
>
>
> Patch:
>
> --- NetworkManager-0.7.0/src/nm-netlink-monitor.c 2008-11-25
> 16:46:39.0 +
> +++ NetworkManager-0.7.0-1/src/nm-netlink-monitor.c 2008-12-15
> 23:04:48.0 +
> @@ -485,7 +485,7 @@ nm_netlink_monitor_error_handler (GIOCha
>
> socket_error = g_error_new (NM_NETLINK_MONITOR_ERROR,
> NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA,
> - err_msg);
> + "%s", err_msg);

Using g_error_new_literal() would be a better.

Tambet

>
> g_signal_emit (G_OBJECT (monitor),
> signals[ERROR],
>
>
> Regards,
>
> João Valverde
>
>
> ___
> 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


three privacy questions

2008-12-16 Thread Matej Kovacic
Hi,

I am new on the list, and I subscribed, because I have three questions.

First is about VPN's.

In VPN settings there is an option to automatically connect to VPN.
However, this is not working, I have to connect to VPN manually, after I
am connected to the internet.


Second is about secure and insecure networks.

It would be fine to have a special "security" option for all networks.
If user marks network as secure, nothing really happens after s/he
connects to that network.

But if user marks network as not secure (or - does not mark it as
secure), then immediatelly after computer is connected to the internet,
VPN connection is established. If VPN connection cannot be established
access to internet is blocked, and user warned about security. However,
user should have an option to manually confirm s/he wants to use
insecure network, but that would not be done automatically.

The same should happen when VPN connection drops. Now I am using VPN
connection on a public WiFi and if VPN drops, there is fallback to
insecure open Wifi. If I do not notice that, I am using insecure
network, which is really bad...


Third is about anonymity.

You probably know Tor project: http://www.torproject.org/. Tor is an
anonimisation software, some kind of powerful network proxy.

In order to be really anonymous, user must have appropriate netwokr
settings. H. D. Moore developed interesting application (here:
http://www.metasploit.com/data/decloak/) to test the true anonymity of
the user. The problem is, that different applications use different
network settings so it is possible to reveal true IP address of the user.

So, would be possible to add anoymity feature in Network Manager.
Sometnihg like "I want to use internet anoymously" switch, which will
set all user's TCP connections to Tor network?



Bye,

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


Re: NetworkManager core daemon moved to git

2008-12-16 Thread Michael Biebl
Dan Williams wrote:
> Hi,
> 
> The NetworkManager core daemon (the "NetworkManager" svn repository) has
> been moved to git.freedesktop.org.
> 
> Since both the applet and the VPN daemons still require translation,
> they still live at svn.gnome.org.  The VPN daemons have been moved from

What will happen to the core daemon, it still has translations in po/?

Will they be removed? Otherwise I fear that they will bit rot.

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