Re: How can I prevent NetworkManager to overwrite /etc/resolv.conf in no-dhcp wired networks?
2008/6/16 Dan Williams <[EMAIL PROTECTED]>: > On Sun, 2008-06-15 at 03:02 +0200, Stolz wrote: >> I use NetworkManager 0.6.6 to connect to wired and wireless networks >> and it works as expected when there is DHCP available. The problems >> appears when I connect to a network which requires a static >> configuration (no DHCP). Whenever I connect to a wired network wichout >> DHCP my /etc/resolv.conf is overwitten by NetworkManager with the next >> content: >> ### BEGIN INFO >> # >> # Modified_by: NetworkManager >> # Process: /usr/bin/NetworkManager >> # Process_id: 4393 >> # >> ### END INFO > > Which distro are you using? This probably means that your distro's > backend (which reads static configuration) isn't able to pull your DNS > servers from that static config. > Thanks for your answer. I'm using Gentoo. My distro stores the network config in /etc/conf.d/net. Without NetworkManager the config is read and used as expected, but with NetworkManager seems it is ignored. Is NetworkManager supposed to be able to read my network config from my distro config files? I thought NetworkManager configuration was independent from the distro config and should be configured separately. Iin fact, that's exactly what I was asking, how to configure it but from your words I deduce there is a backend which reads the files I use to configure the network in my distro. So now the question is, how I can find out if NetworkManager backend can find my dns settings from my distro config files? Regadrs ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Where to find network-manager source code?
On Thu, Jun 19, 2008 at 3:55 PM, drago01 <[EMAIL PROTECTED]> wrote: > On Thu, Jun 19, 2008 at 9:51 PM, Brett Alton <[EMAIL PROTECTED]> wrote: >> Ubuntu 8.04 uses NM 0.6.6 and OpenSuse 11.0 uses NM 0.7 yet the latest >> source at http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/ is >> 0.6.5. Where are they getting your source code from? > > 0.7 isn't released yet ... you can find the source in gnome's svn. > http://svn.gnome.org/viewvc/NetworkManager/trunk/?view=log > So OpenSUSE 11.0 and Fedora 8/9 are all using beta code for their networking? Interesting... Thank you for the link, I appreciate it! I won't ask ETA, don't worry =P Brett Alton [EMAIL PROTECTED] Do you really need to print this email? Help preserve our environment! ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Where to find network-manager source code?
On Thu, Jun 19, 2008 at 9:51 PM, Brett Alton <[EMAIL PROTECTED]> wrote: > Ubuntu 8.04 uses NM 0.6.6 and OpenSuse 11.0 uses NM 0.7 yet the latest > source at http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/ is > 0.6.5. Where are they getting your source code from? 0.7 isn't released yet ... you can find the source in gnome's svn. http://svn.gnome.org/viewvc/NetworkManager/trunk/?view=log ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Where to find network-manager source code?
Ubuntu 8.04 uses NM 0.6.6 and OpenSuse 11.0 uses NM 0.7 yet the latest source at http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/ is 0.6.5. Where are they getting your source code from? Brett Alton [EMAIL PROTECTED] Do you really need to print this email? Help preserve our environment! ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
security selection via nm-applet
When I try to create a new wireless network connection using the nm-applet dialog, I get two different "Wireless Security" drop-down lists, depending on whether I use "Create New Wireless Network..." (4 options) or "Connect to Other Wireless Network...", then select "New..." at the "Connection" prompt (8 options). This looks like it comes from the security_combo_init() function in wireless-dialog.c, but I'm not sure why the options would be different... or even why there would be two different paths to create a new network. Would users be too confused if the menu simply said "Connect to Wireless Network..." ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
output from nm-tool
When I run "nm-tool", I get duplicate output for "Default". For example: - Device: eth0 - Type: Wired Driver:e1000e State: connected Default: yes Default: no - Device: wlan0 - Type: 802.11 Wireless Driver:iwl4965 State: connected Default: no Default: no It looks like the loop (r3758, nm-tool.c, line 230) might be iterating one too many times? ___ 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?
On Thu, 2008-06-19 at 16:28 +0200, Marc Luethi wrote: > Hi all > > On Thu, 2008-06-05 at 12:19 +0200, Marc Luethi wrote: > > 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 have found a workaround solution which might help at least the Ubuntu > users affected by this issue. I've added a "Disable Dead Peer Detection" option in 0.7 trunk. I'd take a patch that added it to 0.6.x if anyone comes up with one (even just in GConf), otherwise I'll get around to it at some point. Dan > In ubuntu Bug #206673 > (https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/206673 , > Chris has made .deb packages of VPNC available on launchpadlibrarian.net > that have the DPD timeout set to 0 by default. Installation on Ubuntu > was easy, just replacing vpnc from the repositories by this version. > > This is a rough approach since it might cause conflicts with some VPN > configurations that need DPD and the user has to enable it explicitely > for these configurations; whereas it was enabled by default before. > > Nonetheless it solves my problem for the time being. > > regards > > Marc > > > > > > ___ > 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: VPNC plugin on Ubuntu 8.04: disable DPD?
Hi all On Thu, 2008-06-05 at 12:19 +0200, Marc Luethi wrote: > 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 have found a workaround solution which might help at least the Ubuntu users affected by this issue. In ubuntu Bug #206673 (https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/206673 , Chris has made .deb packages of VPNC available on launchpadlibrarian.net that have the DPD timeout set to 0 by default. Installation on Ubuntu was easy, just replacing vpnc from the repositories by this version. This is a rough approach since it might cause conflicts with some VPN configurations that need DPD and the user has to enable it explicitely for these configurations; whereas it was enabled by default before. Nonetheless it solves my problem for the time being. regards Marc ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
"Unknown" security?
When I look at the "Connection Information" under the applet, my hardwired ethernet connection is listed as having "unknown" security. If I connect to an open wireless network, its security is shown as "none". Can someone explain the difference between "none" and "unknown"? Isn't it true that you could apply MAC filtering in either case, and NetworkManager wouldn't know that filtering was being applied? Thanks ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
[patch] Fix crash when connection settings aren't set
Hi, If a service providing connections has aconnection without connection settings NM crashes because the respective error doesn't get set. (And the error handling code assumes it is set) See attached patch Sjoerd -- Nothing is but what is not. commit 46f629321cd64e6c76f178ddcdbffb7fc27d9078 Author: Sjoerd Simons <[EMAIL PROTECTED]> Date: Thu Jun 19 12:55:44 2008 +0100 Set the error if the settings don't contain a 'connection' substree. Prevents a crash in code assuming the error is set diff --git a/libnm-util/nm-connection.c b/libnm-util/nm-connection.c index 082dd7d..4c3662f 100644 --- a/libnm-util/nm-connection.c +++ b/libnm-util/nm-connection.c @@ -412,6 +412,10 @@ nm_connection_verify (NMConnection *connection, GError **error) connection_setting = nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION); if (!connection_setting) { g_warning ("'connection' setting not present."); + g_set_error (error, + NM_TYPE_SETTING_CONNECTION_ERROR, + NM_SETTING_CONNECTION_ERROR_MISSING_PROPERTY, + NM_SETTING_CONNECTION_SETTING_NAME); return FALSE; } ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list