Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2018-07-26 23:05:22

  seler - Użytkownik

seler
Użytkownik
Zarejestrowany: 2012-05-15

Problem z użyciem bluetooth tetheringu z telefonu

Od jakiegoś czasu nie mogę skorzystać z neta udostępnionego z androida przez bluetooth. Przesyłanie dźwięku działa ok, podobnie przesyłanie plików.

uname: Linux lestaro 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux

Wybranie właściwej sieci z NetworkManagera nic nie daje. Natomiast gdy wejdę w blueman-manager (prawy na ikonkę bluetooth/urządzenia) i tam prawy w telefon i "Punkt Dostępu Do Sieci" na dole wyświetla się: "Połączenie nie powiodło się: uid 1000 has no permission to perform this operation"
Moje konto użytkownika należy do grup m.in. bluetooth netdev, co jednak nie pomaga.

Po odpaleniu blueman-applet z konsoli i próbie połączenia wypluwa:

Kod:

blueman-applet version 2.0.4 starting
Stale PID, overwriting
_________
Load (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:60)
['PPPSupport', 'DBusService', 'TransferService', 'StandardItems', 'DiscvManager', 'NetUsage', 'ShowConnected', 'NMPANSupport', 'Headset', 'DhcpClient', 'GameControllerWakelock', 'Networking', 'Menu', 'KillSwitch', 'StatusIcon', 'PowerManager', 'RecentConns', 'SerialManager', 'AuthAgent', 'NMDUNSupport', 'AppIndicator', 'ExitItem'] 
_________
get_interface_version (/usr/lib/python3/dist-packages/blueman/bluez/BlueZInterface.py:13)
Detected BlueZ 5 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Menu.Menu'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.RecentConns.RecentConns'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ExitItem.ExitItem'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DBusService.DBusService'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.SerialManager.SerialManager'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.PowerManager.PowerManager'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.GameControllerWakelock.GameControllerWakelock'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'> 
_________
update_menuitems (/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py:123)
warning: Adapter is None 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StandardItems.StandardItems'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.NMPANSupport.NMPANSupport'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.TransferService.TransferService'> 
_________
get_interface_version (/usr/lib/python3/dist-packages/blueman/bluez/obex/Base.py:20)
Detected BlueZ integrated obexd 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Headset.Headset'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Networking.Networking'> 
_________
load_nap_settings (/usr/lib/python3/dist-packages/blueman/plugins/applet/Networking.py:36)
Loading NAP settings 
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
killswitch registered 1 
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
State: True 
_________
UpdatePowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False 
foff False 
on True 
current state True 
new state True 
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
killswitch registered 3 
_________
io_event (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:71)
State: True 
_________
UpdatePowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False 
foff False 
on True 
current state True 
new state True 
_________
_on_obex_owner_changed (/usr/lib/python3/dist-packages/blueman/plugins/applet/TransferService.py:172)
obex owner changed: :1.79 
_________
on_dbus_name_owner_change (/usr/bin/blueman-applet:95)
org.bluez owner changed to :1.9 
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_________
initialize (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:144)
rebuilding menu 
_________
register_agent (/usr/lib/python3/dist-packages/blueman/plugins/applet/AuthAgent.py:63)
Registering agent 
_________
set_nap (/usr/lib/python3/dist-packages/blueman/plugins/applet/Networking.py:65)
set nap False 
_________
on_registered (/usr/lib/python3/dist-packages/blueman/bluez/obex/AgentManager.py:18)
/org/blueman/obex_agent 
_________
enumerate_connections (/usr/lib/python3/dist-packages/blueman/plugins/applet/ShowConnected.py:53)
Found 0 existing connections 

(blueman-applet:27809): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
_________
RequestPowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:131)
Requesting True 
_________
on_power_state_change_requested (/usr/lib/python3/dist-packages/blueman/plugins/applet/KillSwitch.py:118)
True 
_________
UpdatePowerState (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False 
foff False 
on True 
current state True 
new state True 
_________
check (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:119)
callbacks done 
_________
set_adapter_state (/usr/lib/python3/dist-packages/blueman/plugins/applet/PowerManager.py:90)
True 
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:72)
deleting device /org/bluez/hci0/dev_48_27_EA_A6_25_7E 
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:94)
invalidating device /org/bluez/hci0/dev_48_27_EA_A6_25_7E 
_________
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_________
notify (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:239)
<Device.Device object at 0x7f72b1999990 (blueman+main+Device+Device at 0x5618e0e02300)> <blueman.services.NetworkAccessPoint.NetworkAccessPoint object at 0x7f72b19a41d0> 00001116-0000-1000-8000-00805f9b34fb 
_________
__del__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:72)
deleting device /org/bluez/hci0/dev_48_27_EA_A6_25_7E 
_________
Destroy (/usr/lib/python3/dist-packages/blueman/main/Device.py:94)
invalidating device /org/bluez/hci0/dev_48_27_EA_A6_25_7E 
_________
initialize (/usr/lib/python3/dist-packages/blueman/plugins/applet/RecentConns.py:144)

Natomiast NetworkManager daje takie logi:

Kod:

cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.3688] device (48:27:EA:A6:25:7E): Activation: starting connection 'Sieć Galaxy A3 (2017)' (31b1fadf-3577-4d04-9f6a-dadd89e0f075)
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.3694] audit: op="connection-activate" uuid="31b1fadf-3577-4d04-9f6a-dadd89e0f075" name="Sieć Galaxy A3 (2017)" pid=5186 uid=1000 result="success"
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.3699] device (48:27:EA:A6:25:7E): state change: disconnected -> prepare (reason 'none') [30 40 0]
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.3702] manager: NetworkManager state is now CONNECTING
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.3717] device (48:27:EA:A6:25:7E): state change: prepare -> config (reason 'none') [40 50 0]
cze 23 22:06:48 lestaro NetworkManager[857]: <warn>  [1529784408.4155] device (48:27:EA:A6:25:7E): Error connecting with bluez: GDBus.Error:org.bluez.Error.Failed: Input/output error
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.4156] device (48:27:EA:A6:25:7E): state change: config -> failed (reason 'bluetooth-failed') [50 120 44]
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.4158] manager: NetworkManager state is now DISCONNECTED
cze 23 22:06:48 lestaro NetworkManager[857]: <warn>  [1529784408.4161] device (48:27:EA:A6:25:7E): Activation: failed for connection 'Sieć Galaxy A3 (2017)'
cze 23 22:06:48 lestaro NetworkManager[857]: <info>  [1529784408.4221] device (48:27:EA:A6:25:7E): state change: failed -> disconnected (reason 'none') [120 30 0]
cze 23 22:06:53 lestaro NetworkManager[857]: <info>  [1529784413.0666] devices added (path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/bluetooth/hci0/hci0:256/net/bnep0, iface: bnep0)
cze 23 22:06:53 lestaro NetworkManager[857]: <info>  [1529784413.0666] device added (path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/bluetooth/hci0/hci0:256/net/bnep0, iface: bnep0): no ifupdown configuration found.
cze 23 22:06:53 lestaro NetworkManager[857]: <info>  [1529784413.0703] devices removed (path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/bluetooth/hci0/hci0:256/net/bnep0, iface: bnep0)
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.5938] device (48:27:EA:A6:25:7E): Activation: starting connection 'Sieć Galaxy A3 (2017)' (31b1fadf-3577-4d04-9f6a-dadd89e0f075)
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.5939] audit: op="connection-activate" uuid="31b1fadf-3577-4d04-9f6a-dadd89e0f075" name="Sieć Galaxy A3 (2017)" pid=5186 uid=1000 result="success"
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.5941] device (48:27:EA:A6:25:7E): state change: disconnected -> prepare (reason 'none') [30 40 0]
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.5942] manager: NetworkManager state is now CONNECTING
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.5948] device (48:27:EA:A6:25:7E): state change: prepare -> config (reason 'none') [40 50 0]
cze 23 22:07:32 lestaro NetworkManager[857]: <warn>  [1529784452.6326] device (48:27:EA:A6:25:7E): Error connecting with bluez: GDBus.Error:org.bluez.Error.Failed: Input/output error
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.6326] device (48:27:EA:A6:25:7E): state change: config -> failed (reason 'bluetooth-failed') [50 120 44]
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.6328] manager: NetworkManager state is now DISCONNECTED
cze 23 22:07:32 lestaro NetworkManager[857]: <warn>  [1529784452.6330] device (48:27:EA:A6:25:7E): Activation: failed for connection 'Sieć Galaxy A3 (2017)'
cze 23 22:07:32 lestaro NetworkManager[857]: <info>  [1529784452.6335] device (48:27:EA:A6:25:7E): state change: failed -> disconnected (reason 'none') [120 30 0]
cze 23 22:07:33 lestaro NetworkManager[857]: <info>  [1529784453.3221] device (wlan0): supplicant interface state: inactive -> scanning
cze 23 22:10:41 lestaro NetworkManager[857]: <info>  [1529784641.8312] device (wlan0): set-hw-addr: set MAC address to BE:9C:7B:8E:C8:25 (scanning)
cze 23 22:10:41 lestaro NetworkManager[857]: <info>  [1529784641.8822] device (wlan0): supplicant interface state: scanning -> disconnected
cze 23 22:10:41 lestaro NetworkManager[857]: <info>  [1529784641.8873] device (wlan0): supplicant interface state: disconnected -> inactive
cze 23 22:12:48 lestaro NetworkManager[857]: <info>  [1529784768.3787] device (wlan0): supplicant interface state: inactive -> scanning
cze 23 22:15:56 lestaro NetworkManager[857]: <info>  [1529784956.8315] device (wlan0): set-hw-addr: set MAC address to CE:61:07:B3:F1:AE (scanning)
cze 23 22:15:56 lestaro NetworkManager[857]: <info>  [1529784956.8701] device (wlan0): supplicant interface state: scanning -> disconnected
cze 23 22:15:56 lestaro NetworkManager[857]: <info>  [1529784956.8754] device (wlan0): supplicant interface state: disconnected -> inactive

Co by tu można zaradzić?


a to feler westchnął seler

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.006 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00095 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.116.85.108' WHERE u.id=1
0.00058 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.116.85.108', 1732199506)
0.00042 SELECT * FROM punbb_online WHERE logged<1732199206
0.00055 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30554 AND t.moved_to IS NULL
0.00006 SELECT search_for, replace_with FROM punbb_censoring
0.00156 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30554 ORDER BY p.id LIMIT 0,25
0.00068 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30554
Total query time: 0.00494 s