* [gentoo-user] nm-applet / vpnc / pptp / openvpn
[not found] ` <46ea0d6b0911180635y64251640l862769c774b866f0@mail.gmail.com>
@ 2009-11-18 14:36 ` SpaceCake
2009-11-18 18:16 ` Albert Hopkins
[not found] ` <334e5bf90911280909g2842731k16b9f20e88261681@mail.gmail.com>
1 sibling, 1 reply; 7+ messages in thread
From: SpaceCake @ 2009-11-18 14:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]
Hi,
I've succesfullly installed Networkmanager and nm-applet with all the
plugins under Gnome / Kde-4-3 using the instructions can be found at
gentoo-wiki. It is working perfectly for wired and wireless LAN but not for
any VPN (this part of the applet is grey
I was searching the archive and googled this thing but I cannot find a
solution, so I decided to ask you :)
I suppose this is some problem with the dbus registration of the plugins,
but I'm not sure
This is my versions
[I] sys-apps/dbus
Available versions: 1.2.3-r1 ~1.2.12 ~1.3.0 ~1.3.0-r1 {X debug doc
selinux test}
Installed versions: 1.2.3-r1(16.09.48 2009-11-17)(X -debug -doc
-selinux)
[I] net-misc/networkmanager
Available versions: *0.6.5_p20070823 0.6.6 ~0.7.1-r3 0.7.1-r6
~0.7.1_p20090824 [M]**0.8.0_pre20090824 [M]**0.8.0_pre20091105 {avahi
bluetooth connection-sharing crypt debug dhclient dhcpcd doc gnome gnutls
nss resolvconf}
Installed versions: 0.7.1-r6(18.16.04 2009-10-19)(gnutls resolvconf
-avahi -connection-sharing -dhclient -dhcpcd -doc -nss)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: Network configuration and management in an easy
way. Desktop environment independent.
[D] net-misc/networkmanager-openvpn
Available versions: ~0.3.2_p20070621 ~0.7.1-r1 {crypt debug doc gnome}
Installed versions: 0.7.1-r1(16.02.50 2009-11-17)(-gnome)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: NetworkManager OpenVPN plugin.
[D] net-misc/networkmanager-pptp
Available versions: ~0.1.0_p20070726 ~0.7.0 ~0.7.1 {crypt debug doc
gnome}
Installed versions: 0.7.1(16.03.03 2009-11-17)(-gnome)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: NetworkManager PPTP plugin.
[D] net-misc/networkmanager-vpnc
Available versions: ~0.6.4_p20070621 ~0.7.0 ~0.7.1 {crypt debug doc
gnome}
Installed versions: 0.7.1(16.03.15 2009-11-17)(-gnome)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: NetworkManager VPNC plugin.
Do you have any idea?
Thank you
L:
[-- Attachment #2: Type: text/html, Size: 2882 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009-11-18 14:36 ` [gentoo-user] nm-applet / vpnc / pptp / openvpn SpaceCake
@ 2009-11-18 18:16 ` Albert Hopkins
2009-11-19 11:28 ` SpaceCake
0 siblings, 1 reply; 7+ messages in thread
From: Albert Hopkins @ 2009-11-18 18:16 UTC (permalink / raw
To: gentoo-user
> I've succesfullly installed Networkmanager and nm-applet with all the
> plugins under Gnome / Kde-4-3 using the instructions can be found at
> gentoo-wiki. It is working perfectly for wired and wireless LAN but
> not for any VPN (this part of the applet is grey
>
> I was searching the archive and googled this thing but I cannot find a
> solution, so I decided to ask you :)
>
> I suppose this is some problem with the dbus registration of the
> plugins, but I'm not sure
Why do you suppose that? Have you looked at the logs. In my experience
the NetworkManager daemon spits out plenty of info by default in syslog.
Have a look at those. Paste those so we're not wandering around in the
dark.
-a
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009-11-18 18:16 ` Albert Hopkins
@ 2009-11-19 11:28 ` SpaceCake
2009-11-19 13:06 ` Albert Hopkins
0 siblings, 1 reply; 7+ messages in thread
From: SpaceCake @ 2009-11-19 11:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 8456 bytes --]
2009/11/18 Albert Hopkins <marduk@letterboxes.org>
>
>
> > I've succesfullly installed Networkmanager and nm-applet with all the
> > plugins under Gnome / Kde-4-3 using the instructions can be found at
> > gentoo-wiki. It is working perfectly for wired and wireless LAN but
> > not for any VPN (this part of the applet is grey
> >
> > I was searching the archive and googled this thing but I cannot find a
> > solution, so I decided to ask you :)
> >
> > I suppose this is some problem with the dbus registration of the
> > plugins, but I'm not sure
>
> Why do you suppose that? Have you looked at the logs. In my experience
> the NetworkManager daemon spits out plenty of info by default in syslog.
> Have a look at those. Paste those so we're not wandering around in the
> dark.
>
> -a
>
>
>
>
> Here is my log after starting Networkmanager. It is not talking about any
vpnc or openvpn stuff...do you have any idea?
/etc/init.d/NetworkManager start
* Starting NetworkManager ...
Nov 19 12:18:48 brutal NetworkManager: <info>
starting...
[ ok ]
brutal ~ # Nov 19 12:18:49 brutal NetworkManager: nm_device_ethernet_new:
assertion `driver != NULL'
failed
Nov 19 12:18:49 brutal NetworkManager: nm_device_ethernet_new: assertion
`driver != NULL'
failed
Nov 19 12:18:49 brutal NetworkManager: <info> (eth0): new Ethernet device
(driver:
'tg3')
Nov 19 12:18:49 brutal NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_26_55_c9_e5_22
Nov 19 12:18:49 brutal NetworkManager: <info> (wlan0): driver supports SSID
scans (scan_capa
0x01).
Nov 19 12:18:49 brutal NetworkManager: <info> (wlan0): new 802.11 WiFi
device (driver:
'iwlagn')
Nov 19 12:18:49 brutal NetworkManager: <info> (wlan0): exported as
/org/freedesktop/Hal/devices/net_00_1e_65_72_ab_2e
Nov 19 12:18:49 brutal NetworkManager: <info> (ttyS0): ignoring due to lack
of mobile broadband
capabilties
Nov 19 12:18:53 brutal kernel: tg3 0000:85:00.0: wake-up capability disabled
by
ACPI
Nov 19 12:18:53 brutal kernel: tg3 0000:85:00.0: PME#
disabled
Nov 19 12:18:53 brutal NetworkManager: <info> (eth0): device state change:
1 ->
2
Nov 19 12:18:53 brutal NetworkManager: <info> (eth0): bringing up
device.
Nov 19 12:18:53 brutal kernel: tg3 0000:85:00.0: irq 32 for
MSI/MSI-X
Nov 19 12:18:53 brutal kernel: ADDRCONF(NETDEV_UP): eth0: link is not
ready
Nov 19 12:18:53 brutal NetworkManager: <info> (eth0): preparing
device.
Nov 19 12:18:53 brutal NetworkManager: <info> (eth0): deactivating device
(reason:
2).
Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:eth0 index:3
flags:0x00001003
Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface eth0 3 (does not
exist).
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): device state change:
1 ->
2
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): bringing up
device.
Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:wlan0 index:5
flags:0x00001003
Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface wlan0 5 (does not
exist).
Nov 19 12:18:53 brutal kernel: ADDRCONF(NETDEV_UP): wlan0: link is not
ready
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): preparing
device.
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): deactivating device
(reason:
2).
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): device state change:
2 ->
3
Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:wlan0 index:5
flags:0x00001003
Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface wlan0 5 (does not
exist).
Nov 19 12:18:53 brutal NetworkManager: <info> (wlan0): supplicant interface
state: starting ->
ready
Nov 19 12:18:54 brutal kernel: tg3: eth0: Link is up at 100 Mbps, full
duplex.
Nov 19 12:18:54 brutal kernel: tg3: eth0: Flow control is on for TX and on
for
RX.
Nov 19 12:18:54 brutal kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes
ready
Nov 19 12:18:54 brutal NetworkManager: <info> (eth0): carrier now ON
(device state
2)
Nov 19 12:18:54 brutal NetworkManager: <info> (eth0): device state change:
2 -> 3
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) starting
connection 'Auto eth0'
Nov 19 12:18:54 brutal NetworkManager: <info> (eth0): device state change:
3 -> 4
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) scheduled...
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) started...
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) scheduled...
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) complete.
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) starting...
Nov 19 12:18:54 brutal NetworkManager: <info> (eth0): device state change:
4 -> 5
Nov 19 12:18:54 brutal vmnetBridge: RTM_NEWLINK: name:eth0 index:3
flags:0x00011043
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) successful.
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) scheduled.
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) complete.
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) started...
Nov 19 12:18:54 brutal NetworkManager: <info> (eth0): device state change:
5 -> 7
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Beginning
DHCP transaction.
Nov 19 12:18:54 brutal NetworkManager: <info> dhcpcd started with pid 30481
Nov 19 12:18:54 brutal NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) complete.
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: dhcpcd 4.0.13 starting
Nov 19 12:18:54 brutal NetworkManager: <info> DHCP: device eth0 state
changed (null) -> preinit
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: broadcasting for a lease
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: offered from
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: ignoring offer of from
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: acknowledged from
Nov 19 12:18:54 brutal dhcpcd[30481]: eth0: checking is available on
attached networks
Nov 19 12:18:54 brutal kernel: /dev/vmnet: open called by PID 7372
(vmnet-bridge)
Nov 19 12:18:54 brutal kernel: /dev/vmnet: hub 0 does not exist, allocating
memory.
Nov 19 12:18:54 brutal kernel: /dev/vmnet: port on hub 0 successfully opened
Nov 19 12:18:54 brutal kernel: bridge-eth0: up
Nov 19 12:18:54 brutal kernel: bridge-eth0: attached
Nov 19 12:18:54 brutal vmnetBridge: Started bridge eth0 to virtual network
0.
Nov 19 12:19:00 brutal dhcpcd[30481]: eth0: leased for 432000 seconds
Nov 19 12:19:00 brutal NetworkManager: <info> DHCP: device eth0 state
changed preinit -> bound
Nov 19 12:19:00 brutal NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) scheduled...
Nov 19 12:19:00 brutal NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) started...
Nov 19 12:19:00 brutal NetworkManager: <info> address
Nov 19 12:19:00 brutal NetworkManager: <info> prefix 24 (255.255.255.0)
Nov 19 12:19:00 brutal NetworkManager: <info> gateway
Nov 19 12:19:00 brutal NetworkManager: <info> nameserver
Nov 19 12:19:00 brutal NetworkManager: <info> nameserver
Nov 19 12:19:00 brutal NetworkManager: <info> nameserver
Nov 19 12:19:00 brutal NetworkManager: <info> domain name
Nov 19 12:19:00 brutal NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) scheduled...
Nov 19 12:19:00 brutal NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) complete.
Nov 19 12:19:00 brutal NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) started...
Nov 19 12:19:01 brutal NetworkManager: <info> (eth0): writing resolv.conf
to /sbin/resolvconf
Nov 19 12:19:01 brutal NetworkManager: <info> (eth0): device state change:
7 -> 8
Nov 19 12:19:01 brutal NetworkManager: <info> (eth0): writing resolv.conf
to /sbin/resolvconf
Nov 19 12:19:01 brutal NetworkManager: <info> Policy set 'Auto eth0' (eth0)
as default for routing and DNS.
Nov 19 12:19:01 brutal NetworkManager: <info> Activation (eth0) successful,
device activated.
Nov 19 12:19:01 brutal NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) complete.
Nov 19 12:19:04 brutal kernel: eth0: no IPv6 routers present
[-- Attachment #2: Type: text/html, Size: 13364 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009-11-19 11:28 ` SpaceCake
@ 2009-11-19 13:06 ` Albert Hopkins
2009-11-19 14:55 ` SpaceCake
0 siblings, 1 reply; 7+ messages in thread
From: Albert Hopkins @ 2009-11-19 13:06 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-11-19 at 12:28 +0100, SpaceCake wrote:
> > Here is my log after starting Networkmanager. It is not talking
> about any
> vpnc or openvpn stuff...do you have any idea?
It doesn't talk about openvpn stuff until/unless you actually attempt to
open an openvpn connection.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009-11-19 13:06 ` Albert Hopkins
@ 2009-11-19 14:55 ` SpaceCake
2009-11-19 17:30 ` Albert Hopkins
0 siblings, 1 reply; 7+ messages in thread
From: SpaceCake @ 2009-11-19 14:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
yes, but as I told earlier in nm-applet this section is grey, so I cannot
add vpn configs. when I start vpnc with the correct config from root's
shell, it is working perfectly and connect me to the vpn gw I use, so this
is why I said the problem maybe in the deep somewhere around dbus
communication, but I'm not sure
Laszlo
2009/11/19 Albert Hopkins <marduk@letterboxes.org>
> On Thu, 2009-11-19 at 12:28 +0100, SpaceCake wrote:
> > > Here is my log after starting Networkmanager. It is not talking
> > about any
> > vpnc or openvpn stuff...do you have any idea?
>
> It doesn't talk about openvpn stuff until/unless you actually attempt to
> open an openvpn connection.
>
>
>
[-- Attachment #2: Type: text/html, Size: 1028 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009-11-19 14:55 ` SpaceCake
@ 2009-11-19 17:30 ` Albert Hopkins
0 siblings, 0 replies; 7+ messages in thread
From: Albert Hopkins @ 2009-11-19 17:30 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-11-19 at 15:55 +0100, SpaceCake wrote:
> yes, but as I told earlier in nm-applet this section is grey, so I
> cannot
> add vpn configs. when I start vpnc with the correct config from root's
> shell, it is working perfectly and connect me to the vpn gw I use, so
> this
> is why I said the problem maybe in the deep somewhere around dbus
> communication, but I'm not sure
I don't know why these options would be greyed out. Unless.. do you
actually have the plugins installed?
$ equery l networkmanager*
* Searching for networkmanager* ...
[IP-] [ ~] net-misc/networkmanager-0.7.1_p20090824 (0)
[IP-] [ ~] net-misc/networkmanager-openvpn-0.7.1-r1 (0)
[IP-] [ ~] net-misc/networkmanager-vpnc-0.7.1 (0)
Does it even show up in nm-connection-editor?
AFAIK the UI just uses these plugins to create a vpn configuration. This
is long before actually talking to the nm daemon. So the UI just
creates a config and stores it (in GNOME the non-system configs are
stored in gconf at /system/networking/connections. Then when you want
to connect, the UI grabs whatever config and passes it to the nm daemon
(via dbus?). Your issue seems to be with the first part of this process
(the UI), not the second.
-a
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: [gentoo-desktop] nm-applet / vpnc / pptp / openvpn
[not found] ` <AANLkTilzQXCySN9UuEos3jlq6gSOH1LMCfjEF4TrOQYk@mail.gmail.com>
@ 2010-07-01 14:16 ` SpaceCake
0 siblings, 0 replies; 7+ messages in thread
From: SpaceCake @ 2010-07-01 14:16 UTC (permalink / raw
To: Daniel Gryniewicz; +Cc: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]
Yes, I do. The solution was to include "gnome" use flag for the plugins
too... I had "gnome" useflag for Networkmanager but not for the plugins
L:
2010/7/1 Daniel Gryniewicz <dang@gentoo.org>
> Do you have one of the networkmanager VPN plugins installed?
>
> Dan
>
>
> On Thu, Jul 1, 2010 at 10:01 AM, SpaceCake <spacecakex@gmail.com> wrote:
>
>> the bug reappeard at me... vpn sections are "grey", can't add new, and
>> when I select an old one it says I don't have the necessary plugins
>> installed... bugreport updated but I suppose this is related to "-gnome"
>> global flag, so I'm trying to recompile with gnome enabled...
>>
>> L:
>>
>>
>> 2009/11/28 Daniel Gryniewicz <dang@gentoo.org>
>>
>>
>>>
>>> On Wed, Nov 18, 2009 at 9:35 AM, SpaceCake <spacecakex@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've succesfullly installed Networkmanager and nm-applet with all the
>>>> plugins under Gnome / Kde-4-3 using the instructions can be found at
>>>> gentoo-wiki. It is working perfectly for wired and wireless LAN but not for
>>>> any VPN (this part of the applet is grey
>>>>
>>>> I was searching the archive and googled this thing but I cannot find a
>>>> solution, so I decided to ask you :)
>>>>
>>>> I suppose this is some problem with the dbus registration of the
>>>> plugins, but I'm not sure
>>>>
>>>
>>> This is because of dbus' default deny policy. I've opened a bug on this:
>>> https://bugs.gentoo.org/show_bug.cgi?id=294992
>>>
>>> That fixes it for me.
>>>
>>> Daniel
>>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 3003 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-01 14:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <46ea0d6b0911180623g6aa9df3ag417ffa4f7206482@mail.gmail.com>
[not found] ` <46ea0d6b0911180633i4c8a085ehdc885e3633b581c2@mail.gmail.com>
[not found] ` <46ea0d6b0911180635y64251640l862769c774b866f0@mail.gmail.com>
2009-11-18 14:36 ` [gentoo-user] nm-applet / vpnc / pptp / openvpn SpaceCake
2009-11-18 18:16 ` Albert Hopkins
2009-11-19 11:28 ` SpaceCake
2009-11-19 13:06 ` Albert Hopkins
2009-11-19 14:55 ` SpaceCake
2009-11-19 17:30 ` Albert Hopkins
[not found] ` <334e5bf90911280909g2842731k16b9f20e88261681@mail.gmail.com>
[not found] ` <AANLkTilN256EsbqsA4RNQH6nrPRz824k-EQS7PHLxO4Z@mail.gmail.com>
[not found] ` <AANLkTilzQXCySN9UuEos3jlq6gSOH1LMCfjEF4TrOQYk@mail.gmail.com>
2010-07-01 14:16 ` [gentoo-user] Re: [gentoo-desktop] " SpaceCake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox