Revision 0280af3...

Go back to digest for 24th April 2011

Features in Networking Tools

Lamarque Souza committed changes in [networkmanagement] /:

Implement bluetooth tethering support. Use
$KDEDIR/lib/kde4/libexec/networkmanagement_configshell to create a
bluetooth connection like this:

networkmanagement_configshell create -type bluetooth --specific-args
00:11:22:33:44:55,rfcomm0

This command will block until the org.bluez.Device.Connect method for
00:11:22:33:44:55 is executed. After that, it will detect the modem
device from ModemManager (using rfcomm0) and create the bluetooth connection.

Change 00:11:22:33:44:55 to your cell phone's bluetooth hardware address
and rfcomm0 to the string returned by org.bluez.Device.Connect.

Once the connection is created NetworkManager will detect it and enable
the /org/freedesktop/NetworkManager/Devices/<device sequence number> path.

The bluetooth connection and
/org/freedesktop/NetworkManager/Devices/<device sequence number> are not
listed in Plasma NM main window. I will fix that in soon.

The connection is listed in the connection editor, you can change it to
autoconnect or not for instance.

File Changes

Added 15 files
  •   libs/ui/bluetooth.ui
  •   libs/ui/bluetoothconnectioneditor.cpp
  •   libs/ui/bluetoothconnectioneditor.h
  •   libs/ui/bluetoothwidget.cpp
  •   libs/ui/bluetoothwidget.h
  •   settings/configshell/bluetooth.cpp
  •   settings/configshell/bluetooth.h
  •   backends/NetworkManager/settings/bluetoothdbus.cpp
  •   backends/NetworkManager/settings/bluetoothdbus.h
  •   libs/internals/schemas/bluetooth.kcfg
  •   libs/internals/schemas/bluetooth.kcfgc
  •   libs/internals/settings/bluetooth.cpp
  •   libs/internals/settings/bluetooth.h
  •   libs/internals/settings/bluetoothpersistence.cpp
  •   libs/internals/settings/bluetoothpersistence.h
Modified 17 files
  •   backends/NetworkManager/CMakeLists.txt
  •   backends/NetworkManager/connectiondbus.cpp
  •   libs/internals/CMakeLists.txt
  •   libs/internals/connection.cpp
  •   libs/internals/connection.h
  •   libs/internals/connectionpersistence.cpp
  •   libs/internals/setting.cpp
  •   libs/internals/setting.h
  •   libs/service/notificationmanager.cpp
  •   libs/ui/CMakeLists.txt
  •   libs/ui/connectioneditor.cpp
  •   libs/ui/gsmconnectioneditor.cpp
  •   settings/config/manageconnectionwidget.cpp
  •   settings/config/mobileconnectionwizard.cpp
  •   settings/config/mobileconnectionwizard.h
  •   settings/configshell/CMakeLists.txt
  •   settings/configshell/main.cpp
32 files changed in total