Version: (using KDE 4.3.0) OS: Linux Installed from: Unlisted Binary Package There is lack of pppoe protocol support in kde's networkmanager frontend. I cannot set new connection as well as use the one set before using the gnome frontend. I am most interested in using pppoe with my ethernet card, not a DSL device.
Is PPPOE over an ethernet card possible with the gnome nm-applet?
Yes absolutely PPPoE over an ethernet card is possible with the GNOME nm-applet. This is exactly my use-case and i can tell you it works.
Yea, I can confirm too...PPPoE with nm-applet works like a charm
In the gnome applet you can set pppoe connection using an ethernet card in dsl tab and after that it's listed in dsl category. The only difference between setting pppoe using an ethernet card and a dsl device is that that in the field 'MAC address' you must type MAC address of your ethernet card instead dsl device.
SVN commit 1028570 by wstephens: Enable PPPoE on ethernet devices, please test. BUG:204170 M +2 -2 libs/ui/connectioneditor.cpp M +1 -1 libs/ui/pppoepreferences.cpp M +1 -0 libs/ui/pppoepreferences.h M +1 -1 settings/config/manageconnectionwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1028570
SVN commit 1028629 by wstephens: Simplify the way serial and PPP settings are put on the bus. Also make sure you have svn r1028616 for PPPoE CCBUG: 204170 M +35 -18 pppdbus.cpp M +3 -0 pppdbus.h M +18 -4 serialdbus.cpp M +3 -0 serialdbus.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1028629
For me it doesn't work. I have a problem with knetworkmanager. Connections made using gnome frontend aren't listed in knetworkmanager module for managing connections. Whereas connections created using the same module in knetworkmanager aren't visible for NetworkManager and cannot be used, so at the moment it doesn't work for me. Created connections also don't appear in /etc/NetworkManager/system-connections. Gnome's nm-applet saves connection settings in /etc/NetworkManager/system-connections (now I have there 3 connections: AGH, dhcp, lanbit, the last one is pppoe), whereas knetworkmanager saves settings in ~/.kde4/share/apps/networkmanagement/connections/. Maybe it doesn't work because of this.
The place the settings are saved does not matter, because the settings are communicated by the client to NetworkManager as DBUS objects, not via the filesystem. Please compare the PPPoE connections made by nm-applet and by knetworkmanager with the instructions at http://userbase.kde.org/NetworkManagement#It.27s_All_KDE.27s_Fault.21 (If you want to compare a system setting, replace org.freedesktop.NetworkManagerUserSettings with org.freedesktop.NetworkManagerSystemSettings in the qdbus command described above) Please also provide NetworkManager logs from when knetworkmanager is started to the unsuccessful PPPoE connection attempt; log locations are given at the above url.
https://bugs.kde.org/show_bug.cgi?id=204340 tracks the separate issue of editing/adding system connections
Ok, I will try to diagnose that using qdbusfornm. Now I noticed that knetworkmanager doesn't see only my pppoe over ethernet card connections. VPN and common wired connections are listed in knetworkmanager main menu, but pppoe ones don't. There isn't neither the systemwide 'lanbit' connection nor the one created using knetworkmanager.
Thanks for the info, I'll try to reproduce the missing PPPoE system connections - should be easy enough to fix.
knetworkmanager: qdbus --system --literal org.freedesktop.NetworkManagerUserSettings /org/freedesktop/NetworkManagerSettings/0 org.freedesktop.NetworkManagerSettings.Connection.GetSettings: a{sa{sv}} { "connection" = [Argument: a{sv} { "autoconnect" = false "id" = "kde", "type" = "pppoe" "uuid" = "14dbb1ad-fb60-4c03-919b-e2bc5348baaa" "ppp" = [Argument: a{sv} {}], "pppoe" = [Argument: a{sv} { "service" = "", "username" = "neczaj"]}]}] I've formatted these outputs a bit. The "kde" is local pppoe connection made using knetworkmanager. ------------------------------------------------------------------ nm-applet: the systemwide 'lanbit' connection qdbus --system --literal org.freedesktop.NetworkManagerSystemSettings /org/freedesktop/NetworkManagerSettings/3 org.freedesktop.NetworkManagerSettings.Connection.GetSettings [Argument: a{sa{sv}} { "ppp" = [Argument: a{sv} {}], "ipv4" = [Argument: a{sv} { "addresses" = [Variant: [Argument: aau {}]], "dns" = [Variant: [Argument: au {}]], "routes" = [Variant: [Argument: aau {}]], "method" = "auto" "pppoe" = [Argument: a{sv} { "username" = "neczaj" "connection" = [Argument: a{sv} { "uuid" = "d87bf2f4-9f29-4861-8434-9d931e2eb131" "autoconnect" = false "id" = "lanbit" "type" = "pppoe" "802-3-ethernet" = [Argument: a{sv} { "mac-address" = {0, 24, -13, -113, -45, -108} "duplex" = "full" ------------------------------------------------------------------------ In my opinion the main problem is that knetworkmanager's menu doesn't see any of these two pppoe connections so I even cannot try to connect. On the other hand, these connections are a bit different, this may be another issue.
(In reply to comment #11) > Thanks for the info, I'll try to reproduce the missing PPPoE system connections > - should be easy enough to fix. What's with it? You say it should be easy, but the issue stopped.
It's easy but low priority for me since many more people are having problems with other connection types like wireless and vpn...
I don't wanna be rude, but 1 easy fix = 1 less bug to fix later... :)
Additionally, I think that since the DSL tab in the configuration menu is enabled now, it should be also possible to use it. Otherwise not so experienced people might get confused... Nevertheless, you guys do great work, thank you very much to have such good kde4 already!
Hi, is there any chance that this will be fixed in the near future? Eg., for KDE SC 4.5? It is kind of funny: I configured my DSL connection in the DSL-Tab, and sometimes NM connects by itself. When it does not, I can use cnetworkmanager to connect. In both cases the knetworkmanager icon shows that it is connected in the end. Unfortunatelly, this does not work with the plasma-widget (r1057339). As said above, to me it seems that only the connection buttom is missing. I would also give it a try to see if I can fix it, if someone could tell me in which files to look ... and if this is possible for someone unexperienced in QT and kde programming ...
Now, the same procedure also works for plasma-nm (r1180608 with kde 4.5.2, opensuse 11.3), as I described above for knetworkmanager. But a button to (dis)connect a DSL connection is still missing. So let's hope for the first official 1.0 release :-)
*** Bug 242088 has been marked as a duplicate of this bug. ***
*** Bug 264176 has been marked as a duplicate of this bug. ***
Created attachment 62187 [details] Patch to make PPPoE connections appear when an ethernet device is available Can someone please test the attached patch? This is against nm09 branch.
*** Bug 280648 has been marked as a duplicate of this bug. ***
Git commit 2a26ff257ca588ce96d5f443795c82d96140f7e0 by Lamarque V. Souza. Committed on 10/09/2011 at 02:55. Pushed by lvsouza into branch 'nm09'. Allow DSL connections be associated to ethernet interfaces. CCBUG: 204170 M +5 -4 libs/service/networkinterfaceactivatableprovider.cpp http://commits.kde.org/networkmanagement/2a26ff257ca588ce96d5f443795c82d96140f7e0
Git commit 68ebd8231f942154cd743d4007b8ab9e8689808b by Lamarque V. Souza. Committed on 13/09/2011 at 02:52. Pushed by lvsouza into branch 'master'. Allow DSL connections be associated to ethernet interfaces. CCBUG: 204170 M +1 -0 libs/service/networkinterfaceactivatableprovider.cpp http://commits.kde.org/networkmanagement/68ebd8231f942154cd743d4007b8ab9e8689808b
Thanks!!!
(In reply to comment #25) > Thanks!!! Are you able to connect through DLS now? I do not have access to DSL connection here to test it. If your answer is yes I will close this bug as fixed.
Where the GIT repository?
(In reply to comment #27) > Where the GIT repository? Read instructions here: http://lamarque-lvs.blogspot.com/2011/07/some-clarifications-about-plasma-nm.html
It doesn't build, make does nothing.
Send me the log messages that appered when you ran 'cmake -DCMAKE_INSTALL_PREFIX=/usr'
cmake -DCMAKE_INSTALL_PREFIX=/home/de/Desktop/knetworkmanager -- Found Qt-Version 4.7.2 (using /usr/bin/qmake) -- Found X11: /usr/lib64/libX11.so -- Found KDE 4.6 include dir: /usr/include -- Found KDE 4.6 library dir: /usr/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- checking for one of the modules 'mobile-broadband-provider-info' -- checking for one of the modules 'NetworkManager' -- checking for one of the modules 'libnm-util' ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * mobile-broadband-provider-info <http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders> Database of mobile broadband service providers Needed for Mobile Connection Wizard support in Broadband Modem Management * NetworkManager headers (0.9 or higher) <http://projects.gnome.org/NetworkManager> User controllable networking Needed for NetworkManager support in Network Management ----------------------------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: /home/de/Desktop/knetworkmanager/networkmanagement Notice, I do have NM headers in /usr/include/NetworkManager
Is your NM version 0.9.0 or higher?
0.9.0
You have kdelibs-devel installed, right? Send me the output of the command: pkg-config NetworkManager --modversion
There're no devel packages, I'm using Gentoo. pkg-config was not installed, now it's compiling.
It appears to be working OK, but has 2 problems. The icon is always a white cross in a red background, and all connections appear as 'system (interface)' if even if it's not a system connection.
(In reply to comment #36) > It appears to be working OK, but has 2 problems. The icon is always a white > cross in a red background, and all connections appear as 'system (interface)' > if even if it's not a system connection. Have you git pulled the repository recently? I did several commits that change how Plasma NM updates the system tray icon. I still need to implement secrets storage selection (user or system) for pppoe settings. NM stores secrets by default, probably that is why your connection is system type.
I'll try it out.
Sorry for the late response, I couldn't find this bug. The problem appears to be fixed.
Plasma NM saves secrets as expected and seems to update the system tray icon as expected too. I will close this bug as fixed.