Bug 441665 - Button "Setup a NAP network" in bluetooth connection settings does nothing.
Summary: Button "Setup a NAP network" in bluetooth connection settings does nothing.
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Bluetooth in general (show other bugs)
Version: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-28 18:23 UTC by Sergey
Modified: 2024-12-17 21:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of bluetooth connection settings (104.74 KB, image/png)
2021-08-29 20:07 UTC, Sergey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2021-08-28 18:23:56 UTC
I was trying to figure out how to share my PC internet to a mobile device via bluetooth when I found how it's done with Blueman.
I guess Setup a NAP (in my Russian ui I see it like: Настроить сеть NAP..) button does exactly the same in KDE/bluedevil but unfortunaely when I click it nothings happens (not even in logs). I guess bluedevil silently drops my attempts because of some problems and it's hard to say which ones.

Also my paired Android device (where I want to reach the internet via bluetooth) doesn't habe "Use for internet" checkbox on the bluetooth connection to my pc. Some other connections have the option (for exmaple between two my android phones)

It's on Gentoo system
net-wireless/bluez compiled with next USE flag: cups, experimental, mesh, obex, readline, systemd, udev, user-session

In NM applet settings has some auto-created NAP network, but I can't do anything with it. It's jus marked as never used.
Comment 1 Nate Graham 2021-08-29 19:44:57 UTC
Where do you see this option? Can you attach a screenshot?
Comment 2 Sergey 2021-08-29 20:07:32 UTC
Created attachment 141131 [details]
screenshot of bluetooth connection settings
Comment 3 Nate Graham 2021-08-29 20:13:03 UTC
Huh, I've never seen that button before. Maybe my phone doesn't support it.
Comment 4 Gabriel Barros 2023-03-16 17:41:07 UTC
Confirmed. Starting `/usr/bin/systemsettings kcm_bluetooth` also does not show any output when clicking that button.

nothing my bluetoothd logs either

```
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/sbc
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/sbc
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Mar 16 16:10:36 elite bluetoothd[669]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Mar 16 16:10:37 elite bluetoothd[669]: Failed to set mode: Failed (0x03)
Mar 16 16:13:28 elite bluetoothd[669]: /org/bluez/hci0/dev_0C_C4_13_27_43_74/sep1/fd0: fd(39) ready
```
(button was clicked on 16:30... timestamp. nothing on any logs)

Operating System: Arch Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP EliteBook 845 14 inch G9 Notebook PC
Comment 5 Gabriel Barros 2023-03-17 10:32:40 UTC
workaround:

1. setup the bluetooth connection using this dialog.
2. ignore the network button
3. click the netmanager notification icon
4. click "connect" next to the newly available bluetooth device item.

networkmanager notification icon turns into a connected bluetooth icon (kinda confusing as now you have two bluetooth connected icons there), and a NAP device shows up for me on `ip` command outout: `enp3s0f3u3`
Comment 6 Gabriel Barros 2023-03-17 10:34:17 UTC
> networkmanager notification icon

meant, "network connections" widget.

I guess it can also be setup via Settings > connection