Mount on VPN-Connection
I want to mount some samba shares every time a special VPN-connection is established. How can I do this? Thanks for your hints. Reinhard -- R.Hnat ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: OpenVPN Problem
Dan Williams schrieb: > On Tue, 2010-02-16 at 14:46 +0100, rh wrote: > >> R.Hnat >> >> >> Dan Williams schrieb: >> >>> On Sat, 2010-02-13 at 12:33 +0100, rh wrote: >>> >>> >>>> Dan Williams schrieb: >>>> >>>> >>>>> On Thu, 2010-02-11 at 15:40 +0100, rh wrote: >>>>> >>>>> >>>>> >>>>>> R.Hnat >>>>>> >>>>>> >>>>>> Dan Williams schrieb: >>>>>> >>>>>> >>>>>> >>>>>>> On Tue, 2010-02-09 at 07:03 +0100, rh wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Dan Williams schrieb: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On Sat, 2010-01-30 at 10:00 +0100, rh wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Dan Williams schrieb: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Fri, 2010-01-29 at 15:12 +0100, rh wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> I try to connect to an OpenVPN Server (Located on an IPCop) from my >>>>>>>>>>>> Ubuntu Box. I have Configured Netmanager with all necessary >>>>>>>>>>>> parameters >>>>>>>>>>>> Parameters following an IPCop Howto. But there happens nothing >>>>>>>>>>>> when i >>>>>>>>>>>> try to connect. There are not any Logmessages in /var/log/message, >>>>>>>>>>>> there >>>>>>>>>>>> is no error message, simply no reaction. I have installed >>>>>>>>>>>> Network-Manager and network-Manager-OpenVpn and the >>>>>>>>>>>> Network-Manager-Applet. What could that be? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> You'll need to reboot after installing a new VPN plugin package. >>>>>>>>>>> If you >>>>>>>>>>> do that, does anything different happen? >>>>>>>>>>> >>>>>>>>>>> Dan >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> No this does not change anything. It is just like network-manager >>>>>>>>>> was'nt there. But i can see the process whith 'ps ax'. And i can >>>>>>>>>> start >>>>>>>>>> the VPN using the 'openvpn' command from the commandline. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Have you config
Re: OpenVPN Problem
Dan Williams schrieb: > On Tue, 2010-02-16 at 14:46 +0100, rh wrote: > >> R.Hnat >> >> >> Dan Williams schrieb: >> >>> On Sat, 2010-02-13 at 12:33 +0100, rh wrote: >>> >>> >>>> Dan Williams schrieb: >>>> >>>> >>>>> On Thu, 2010-02-11 at 15:40 +0100, rh wrote: >>>>> >>>>> >>>>> >>>>>> R.Hnat >>>>>> >>>>>> >>>>>> Dan Williams schrieb: >>>>>> >>>>>> >>>>>> >>>>>>> On Tue, 2010-02-09 at 07:03 +0100, rh wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Dan Williams schrieb: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On Sat, 2010-01-30 at 10:00 +0100, rh wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Dan Williams schrieb: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Fri, 2010-01-29 at 15:12 +0100, rh wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> I try to connect to an OpenVPN Server (Located on an IPCop) from my >>>>>>>>>>>> Ubuntu Box. I have Configured Netmanager with all necessary >>>>>>>>>>>> parameters >>>>>>>>>>>> Parameters following an IPCop Howto. But there happens nothing >>>>>>>>>>>> when i >>>>>>>>>>>> try to connect. There are not any Logmessages in /var/log/message, >>>>>>>>>>>> there >>>>>>>>>>>> is no error message, simply no reaction. I have installed >>>>>>>>>>>> Network-Manager and network-Manager-OpenVpn and the >>>>>>>>>>>> Network-Manager-Applet. What could that be? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> You'll need to reboot after installing a new VPN plugin package. >>>>>>>>>>> If you >>>>>>>>>>> do that, does anything different happen? >>>>>>>>>>> >>>>>>>>>>> Dan >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> No this does not change anything. It is just like network-manager >>>>>>>>>> was'nt there. But i can see the process whith 'ps ax'. And i can >>>>>>>>>> start >>>>>>>>>> the VPN using the 'openvpn' command from the commandline. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Have you config
Re: OpenVPN Problem
Dan Williams schrieb: > On Thu, 2010-02-11 at 15:40 +0100, rh wrote: > >> R.Hnat >> >> >> Dan Williams schrieb: >> >>> On Tue, 2010-02-09 at 07:03 +0100, rh wrote: >>> >>> >>>> Dan Williams schrieb: >>>> >>>> >>>>> On Sat, 2010-01-30 at 10:00 +0100, rh wrote: >>>>> >>>>> >>>>> >>>>>> Dan Williams schrieb: >>>>>> >>>>>> >>>>>> >>>>>>> On Fri, 2010-01-29 at 15:12 +0100, rh wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> I try to connect to an OpenVPN Server (Located on an IPCop) from my >>>>>>>> Ubuntu Box. I have Configured Netmanager with all necessary parameters >>>>>>>> Parameters following an IPCop Howto. But there happens nothing when i >>>>>>>> try to connect. There are not any Logmessages in /var/log/message, >>>>>>>> there >>>>>>>> is no error message, simply no reaction. I have installed >>>>>>>> Network-Manager and network-Manager-OpenVpn and the >>>>>>>> Network-Manager-Applet. What could that be? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> You'll need to reboot after installing a new VPN plugin package. If you >>>>>>> do that, does anything different happen? >>>>>>> >>>>>>> Dan >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> No this does not change anything. It is just like network-manager >>>>>> was'nt there. But i can see the process whith 'ps ax'. And i can start >>>>>> the VPN using the 'openvpn' command from the commandline. >>>>>> >>>>>> >>>>>> >>>>> Have you configured the connection using nm-connection-editor in the VPN >>>>> tab? >>>>> >>>>> Dan >>>>> >>>>> >>>>> >>>>> >>>> Of course I have configured with nm-connection-editor . >>>> >>>> >>> Ok, and you're using the applet menu to start the openvpn connection? >>> If you do this, then choose your VPN from the applet, do you get any >>> messages? >>> >>> killall -TERM nm-openvpn-service >>> OPENVPN_DEBUG=1 /usr/libexec/nm-openvpn-service >>> >>> If that doesn't work, can you attach your ~/.xsession-errors file so we >>> can see if it's a problem on the GUI side? >>> >>> Dan >>> >>> >>> >> No there is no reaction. >> >> r...@ligeti:~$ killall -TERM nm-openvpn-service >> nm-openvpn-service: no process found >> r...@ligeti:~$ OPENVPN_DEBUG=1 /usr/libexec/nm-openvpn-service >> bash: /usr/libexec/nm-openvpn-service: No such file or directory >> > > Oh sorry... Debian-based distros put it elsewhere. Try this: > > killall -TERM nm-openvpn-service > OPENVPN_DEBUG=1 /usr/lib/network-manager-openvpn/nm-openvpn-service > > and then lets see what it prints out. If it's not there, then > > dpkg -L network-manager-openvpn | grep nm-openvpn-service > > will tell you where the binary is located. > > Dan > > OPENVPN_DEBUG=1 /usr/lib/network-manager-openvpn/nm-openvpn-service does nothing and has to be stopped with ^C. And here is what dpkg... says: r...@ligeti:~$ dpkg -L network-manager-openvpn |grep nm-openvpn-service /usr/lib/network-manager-openvpn/nm-openvpn-service /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper /etc/dbus-1/system.d/nm-openvpn-service.conf /etc/NetworkManager/VPN/nm-openvpn-service.name Might it be that the problem is that all these files are 'root-owned' and not executable from a simple user? Reinhard ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: OpenVPN Problem
R.Hnat Dan Williams schrieb: > On Tue, 2010-02-09 at 07:03 +0100, rh wrote: > >> Dan Williams schrieb: >> >>> On Sat, 2010-01-30 at 10:00 +0100, rh wrote: >>> >>> >>>> Dan Williams schrieb: >>>> >>>> >>>>> On Fri, 2010-01-29 at 15:12 +0100, rh wrote: >>>>> >>>>> >>>>> >>>>>> I try to connect to an OpenVPN Server (Located on an IPCop) from my >>>>>> Ubuntu Box. I have Configured Netmanager with all necessary parameters >>>>>> Parameters following an IPCop Howto. But there happens nothing when i >>>>>> try to connect. There are not any Logmessages in /var/log/message, there >>>>>> is no error message, simply no reaction. I have installed >>>>>> Network-Manager and network-Manager-OpenVpn and the >>>>>> Network-Manager-Applet. What could that be? >>>>>> >>>>>> >>>>>> >>>>> You'll need to reboot after installing a new VPN plugin package. If you >>>>> do that, does anything different happen? >>>>> >>>>> Dan >>>>> >>>>> >>>>> >>>> No this does not change anything. It is just like network-manager >>>> was'nt there. But i can see the process whith 'ps ax'. And i can start >>>> the VPN using the 'openvpn' command from the commandline. >>>> >>>> >>> Have you configured the connection using nm-connection-editor in the VPN >>> tab? >>> >>> Dan >>> >>> >>> >> Of course I have configured with nm-connection-editor . >> > > Ok, and you're using the applet menu to start the openvpn connection? > If you do this, then choose your VPN from the applet, do you get any > messages? > > killall -TERM nm-openvpn-service > OPENVPN_DEBUG=1 /usr/libexec/nm-openvpn-service > > If that doesn't work, can you attach your ~/.xsession-errors file so we > can see if it's a problem on the GUI side? > > Dan > > No there is no reaction. r...@ligeti:~$ killall -TERM nm-openvpn-service nm-openvpn-service: no process found r...@ligeti:~$ OPENVPN_DEBUG=1 /usr/libexec/nm-openvpn-service bash: /usr/libexec/nm-openvpn-service: No such file or directory I attach xsession-errors. Regards Reinhard /etc/gdm/Xsession: Beginning session setup... Setting IM through im-switch for locale=de_AT. Start IM through /home/rh/.xinput.d/de_AT linked to /etc/X11/xinit/xinput.d/scim-bridge. Smart Common Input Method 1.4.9 Launching a SCIM daemon with Socket FrontEnd... Loading simple Config module ... Creating backend ... /usr/bin/xmodmap: unable to open file '/usr/share/apps/kxkb/ubuntu.xmodmap' for reading /usr/bin/xmodmap: 1 error encountered, aborting. Loading socket FrontEnd module ... Starting SCIM as daemon ... Launching a SCIM process with x11... Loading socket Config module ... Creating backend ... Loading x11 FrontEnd module ... Unable to create /home/rh/.dbus/session-bus GTK Panel of SCIM 1.4.9 Starting SCIM as daemon ... SCIM has been successfully launched. GNOME_KEYRING_SOCKET=/tmp/keyring-qGLfGJ/socket SSH_AUTH_SOCK=/tmp/keyring-qGLfGJ/socket.ssh (gnome-settings-daemon:2355): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed (gnome-settings-daemon:2355): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed Unable to find a synaptics device. Checking for Xgl: not present. xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log Detected PCI ID for VGA: Checking for texture_from_pixmap: present. Checking for non power of two support: present. Checking for Composite extension: present. Checking screen 1Comparing resolution (1680x1050) to maximum 3D texture size (8192): Passed. Checking for Software Rasterizer: Not present. Checking for nVidia: present. Checking for FBConfig: present. Checking for Xgl: not present. Initializing trackerd... Tracker-Message: Checking XDG_DATA_HOME is writable and exists Tracker-Message: XDG_DATA_HOME is '(null)' Tracker-Message: XDG_DATA_HOME set to '/home/rh/.local/share' Tracker-Message: Path is OK Tracker-Message: Setting IO priority Tracker-Message: Setting up monitor for changes to config file:'/home/rh/.config/tracker/tracker.cfg' Tracker-Message: Loading defaults into GKeyFile... Tracker-Message: Legacy config option 'IndexEvolutionEmails' found Tracker-Message: This option has
Re: OpenVPN Problem
Dan Williams schrieb: > On Sat, 2010-01-30 at 10:00 +0100, rh wrote: > >> Dan Williams schrieb: >> >>> On Fri, 2010-01-29 at 15:12 +0100, rh wrote: >>> >>> >>>> I try to connect to an OpenVPN Server (Located on an IPCop) from my >>>> Ubuntu Box. I have Configured Netmanager with all necessary parameters >>>> Parameters following an IPCop Howto. But there happens nothing when i >>>> try to connect. There are not any Logmessages in /var/log/message, there >>>> is no error message, simply no reaction. I have installed >>>> Network-Manager and network-Manager-OpenVpn and the >>>> Network-Manager-Applet. What could that be? >>>> >>>> >>> You'll need to reboot after installing a new VPN plugin package. If you >>> do that, does anything different happen? >>> >>> Dan >>> >>> >> No this does not change anything. It is just like network-manager >> was'nt there. But i can see the process whith 'ps ax'. And i can start >> the VPN using the 'openvpn' command from the commandline. >> > > Have you configured the connection using nm-connection-editor in the VPN > tab? > > Dan > > Of course I have configured with nm-connection-editor . Reinhard ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: OpenVPN Problem
Dan Williams schrieb: > On Fri, 2010-01-29 at 15:12 +0100, rh wrote: > >> I try to connect to an OpenVPN Server (Located on an IPCop) from my >> Ubuntu Box. I have Configured Netmanager with all necessary parameters >> Parameters following an IPCop Howto. But there happens nothing when i >> try to connect. There are not any Logmessages in /var/log/message, there >> is no error message, simply no reaction. I have installed >> Network-Manager and network-Manager-OpenVpn and the >> Network-Manager-Applet. What could that be? >> > > You'll need to reboot after installing a new VPN plugin package. If you > do that, does anything different happen? > > Dan > No this does not change anything. It is just like network-manager was'nt there. But i can see the process whith 'ps ax'. And i can start the VPN using the 'openvpn' command from the commandline. Greetings Reinhard ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
OpenVPN Problem
I try to connect to an OpenVPN Server (Located on an IPCop) from my Ubuntu Box. I have Configured Netmanager with all necessary parameters Parameters following an IPCop Howto. But there happens nothing when i try to connect. There are not any Logmessages in /var/log/message, there is no error message, simply no reaction. I have installed Network-Manager and network-Manager-OpenVpn and the Network-Manager-Applet. What could that be? Thanks in advance Reinhard ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list