Bug 212941 - Fix adhoc wireless and connection sharing
Summary: Fix adhoc wireless and connection sharing
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Wireless (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
: 214985 220917 238803 272952 281795 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-03 18:06 UTC by Mikhail
Modified: 2011-09-11 16:49 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to enable creation of adhoc networks (25.48 KB, patch)
2011-04-04 22:21 UTC, Ilia Kats
Details
patch to enable creation of adhoc networks (25.48 KB, patch)
2011-04-04 22:31 UTC, Ilia Kats
Details
now able to select band and channel in the GUI (8.72 KB, patch)
2011-04-05 22:12 UTC, Ilia Kats
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail 2009-11-03 18:06:46 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

I try connect to another computer via WiFi AdHoc on few distros (Kubuntu, openSUSE with KDE DM) but WiFi AdHoc couldn't work in KDE (KNetworkManager) environment, but in GNOME DM (Ubuntu, openSUSE with GNOME) WiFi AdHoc work fine.

Specific information:
network card: Atheros
Ip: set manual on both computer's
Security: used WEP passphrase
Comment 1 Will Stephenson 2010-01-08 16:09:43 UTC
*** Bug 220917 has been marked as a duplicate of this bug. ***
Comment 2 Gary Tang / Dolphinaura 2010-02-19 03:01:47 UTC
+1
running KDE 4.4 beta (KDE Backports PPA)

clicking the ad-hoc button in knetworkmanager has no effect
Comment 3 Josh 2010-04-04 19:13:57 UTC
I try to use the AdHoc feature of KDE 4.4 and it does not work.  Like the comment from Gary Tang  I clicked  the ad-hoc button in Knetwork manager and it did not have any effect.  

It would be a great improvement if you can get this feature to work on KDE.  I use an XPS M1330 with a dell wireless card.  Please get it to work?
Comment 4 Lamarque V. Souza 2011-03-28 19:22:21 UTC
*** Bug 238803 has been marked as a duplicate of this bug. ***
Comment 5 Ilia Kats 2011-04-04 22:21:33 UTC
Created attachment 58578 [details]
patch to enable creation of adhoc networks

I have hacked together a patch which should let you create Ad-Hoc networks. As I have only one computer avalable, I could not test it properly, however after activating knemo says I'm connected and iwlist scan reports the new network, so since the networkmanager daemon is handling the hardware, I am assuming that this is functional.

I only had a chance to look at the monolithic UI, I don't know if this works with the plasmoid.
Comment 6 Ilia Kats 2011-04-04 22:31:20 UTC
Created attachment 58579 [details]
patch to enable creation of adhoc networks

I have hacked together a patch which should let you create Ad-Hoc networks. As I have only one computer avalable, I could not test it properly, however after activating knemo says I'm connected and iwlist scan reports the new network, so since the networkmanager daemon is handling the hardware, I am assuming that this is functional.

I only had a chance to look at the monolithic UI, I don't know if this works with the plasmoid.
Comment 7 Ilia Kats 2011-04-05 22:12:42 UTC
Created attachment 58612 [details]
now able to select band and channel in the GUI

Attached patch makes the user able to select the band (a or b/g) as well as the channel if he attempts to create an adhoc connection. Tested with configshell standalone.

The a band does not work, created networks are still in b/g. However, this appears to be a bug in the network manager daemon, as the gnome nm-applet is also unable to create a network in the a-band, or maybe my drivers are buggy (using intel link 5100). The setting is however saved to the config file and put on dbus (tested with qdbus).
Comment 8 Lamarque V. Souza 2011-04-05 23:17:21 UTC
Git commit a2d35d4ec55fe6a5db209974a928482c662ac830 by Lamarque V. Souza.
Committed on 05/04/2011 at 23:10.
Pushed by lvsouza into branch 'nm09'.

Fix adhoc wireless and network bridging.
Many thanks to Ilia Kats for the patches that made this possible.

BUG: 212941, 214985

M  +17   -0    backends/NetworkManager/nmdbussettingsservice.cpp     
M  +3    -3    backends/NetworkManager/settings/802-11-wirelessdbus.cpp     
M  +10   -0    libs/internals/connection.cpp     
M  +3    -0    libs/internals/connection.h     
M  +2    -1    libs/internals/connectionpersistence.cpp     
M  +5    -3    libs/internals/settings/802-11-wirelesspersistence.cpp     
M  +4    -1    libs/internals/wirelessinterfaceconnectionhelpers.cpp     
M  +43   -5    libs/service/wirelessnetworkinterfaceactivatableprovider.cpp     
M  +1    -0    libs/service/wirelessnetworkinterfaceactivatableprovider.h     
M  +74   -7    libs/ui/802-11-wireless.ui     
M  +79   -0    libs/ui/802_11_wirelesswidget.cpp     
M  +19   -0    libs/ui/802_11_wirelesswidget.h     
M  +1    -2    monolithic/interfaceconnectionitem.cpp     
M  +3    -0    monolithic/interfaceconnectionitem.h     
M  +23   -6    monolithic/knetworkmanagertrayicon.cpp     
M  +7    -0    monolithic/knetworkmanagertrayicon.h     
M  +0    -1    monolithic/monolithic.cpp     
M  +42   -0    monolithic/otherwirelessnetworkdialog.cpp     
M  +2    -0    monolithic/otherwirelessnetworkdialog.h     
M  +1    -1    monolithic/wirelessstatus.cpp     

http://commits.kde.org/networkmanagement/a2d35d4ec55fe6a5db209974a928482c662ac830
Comment 9 Lamarque V. Souza 2011-04-05 23:17:21 UTC
Git commit fd1a410d508652d149cdbe83823dae208222b181 by Lamarque V. Souza.
Committed on 05/04/2011 at 23:21.
Pushed by lvsouza into branch 'master'.

Fix adhoc wireless and network bridging.
Many thanks to Ilia Kats for the patches that made this possible.

BUG: 212941, 214985

M  +16   -0    backends/NetworkManager/nmdbussettingsservice.cpp     
M  +3    -3    backends/NetworkManager/settings/802-11-wirelessdbus.cpp     
M  +10   -0    libs/internals/connection.cpp     
M  +4    -0    libs/internals/connection.h     
M  +2    -1    libs/internals/connectionpersistence.cpp     
M  +5    -3    libs/internals/settings/802-11-wirelesspersistence.cpp     
M  +4    -1    libs/internals/wirelessinterfaceconnectionhelpers.cpp     
M  +43   -5    libs/service/wirelessnetworkinterfaceactivatableprovider.cpp     
M  +1    -0    libs/service/wirelessnetworkinterfaceactivatableprovider.h     
M  +74   -7    libs/ui/802-11-wireless.ui     
M  +79   -0    libs/ui/802_11_wirelesswidget.cpp     
M  +19   -0    libs/ui/802_11_wirelesswidget.h     
M  +1    -2    monolithic/interfaceconnectionitem.cpp     
M  +3    -0    monolithic/interfaceconnectionitem.h     
M  +23   -6    monolithic/knetworkmanagertrayicon.cpp     
M  +7    -0    monolithic/knetworkmanagertrayicon.h     
M  +0    -1    monolithic/monolithic.cpp     
M  +42   -0    monolithic/otherwirelessnetworkdialog.cpp     
M  +2    -0    monolithic/otherwirelessnetworkdialog.h     
M  +1    -1    monolithic/wirelessstatus.cpp     

http://commits.kde.org/networkmanagement/fd1a410d508652d149cdbe83823dae208222b181
Comment 10 Lamarque V. Souza 2011-04-05 23:24:12 UTC
*** Bug 214985 has been marked as a duplicate of this bug. ***
Comment 11 Lamarque V. Souza 2011-09-11 16:47:49 UTC
*** Bug 281795 has been marked as a duplicate of this bug. ***
Comment 12 Lamarque V. Souza 2011-09-11 16:48:35 UTC
*** Bug 272952 has been marked as a duplicate of this bug. ***