Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth tethering...?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oxensepp
n00b
n00b


Joined: 01 May 2020
Posts: 42

PostPosted: Fri Dec 08, 2023 8:25 pm    Post subject: bluetooth tethering...? Reply with quote

hello,

maybe this is a stupid quiestion, but the topic is unclear to me.

I've a laptop with bluetooth and a cellular phone.
I can do USB tethering: Just connect the devices, set the telephone in tethering mode, and use the freshly appearing ethernet interface on the laptop - and the computer is online.

But how to do this by bluetooth?

I can set my phone to bluetooth tethering, and pair it with the computer:
it is shown correcty(?) in bluetoothctl:

Code:

[Fairphone 4 5G]# info  E8:78:29:C3:41:B2
Device E8:78:29:C3:41:B2 (public)
        Name: Fairphone 4 5G
        Alias: Fairphone 4 5G
        Class: 0x005a020c (5898764)
        Icon: phone
        Paired: yes
        Bonded: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
        UUID: PANU                      (00001115-0000-1000-8000-00805f9b34fb)
        UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: SIM Access                (0000112d-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        Modalias: bluetooth:v00E0p1200d1436
[Fairphone 4 5G]#


But what do do now? How I get a corresponding bluetooth ethernet interface?
Back to top
View user's profile Send private message
mirekm
Apprentice
Apprentice


Joined: 12 Feb 2004
Posts: 219
Location: Gliwice

PostPosted: Sat Dec 09, 2023 7:38 pm    Post subject: Reply with quote

If you use networkmanager, compile it with USE="bluetooth".
Then add bluetooth connection in NM.
Back to top
View user's profile Send private message
oxensepp
n00b
n00b


Joined: 01 May 2020
Posts: 42

PostPosted: Sat Nov 02, 2024 5:18 pm    Post subject: Reply with quote

I must re-activate this issue, since I am still struggling with it.

I am unsure if I understood it correctly, but to my knowledge, networkmanager does the handling of existing interfaces (I am using netifrc). So using networkmanger wouldn't help, because there is no interface present.

As said, bluetooth is running an the phone is connected, see bluetoothctl log above.
If I play sounds on the phone, the speakers of the laptop is used.

On the phone, bt-tethering is enabled, but nothing happens. The system has no interface:

Code:

# tree /sys/class/net/
/sys/class/net/
├── lo -> ../../devices/virtual/net/lo
└── wlp1s0 -> ../../devices/pci0000:00/0000:00:02.2/0000:01:00.0/net/wlp1s0

3 directories, 0 files


If I do the same with USB (coupling, tethering), there is an interface:

Code:

# tree /sys/class/net/
/sys/class/net/
├── enp115s0f4u1u4 -> ../../devices/pci0000:00/0000:00:08.1/0000:73:00.4/usb3/3-1/3-1.4/3-1.4:1.0/net/enp115s0f4u1u4
├── lo -> ../../devices/virtual/net/lo
└── wlp1s0 -> ../../devices/pci0000:00/0000:00:02.2/0000:01:00.0/net/wlp1s0

4 directories, 0 files


So it seems for me that there is something missing with bluetooth below the networkmanager layer.

Wrong? Right? Any hints?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3454
Location: Canada

PostPosted: Sun Nov 03, 2024 2:49 am    Post subject: Reply with quote

Never tried bluetooth networking, but maybe this howto points to something useful ?

https://wiki.gentoo.org/wiki/Bluetooth_Network_Aggregation_Point

(Yes, this is how to give cell phone access to internet via gentoo box, not opposite, but the shenanigans with bridge maybe relevant ? It is surprisingly difficult to find any recent info on Bluetooth networking, it seems)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum