Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Manjaro XFCE on my laptop (an older model from 2013, Dell Inspiron 3521).
Not long ago I tried to use my mobile phone’s internet connection and to tether it on my laptop. This didn’t work for WiFi, so I tried to do it over bluetooth. I read somewhere that this should be typed into the terminal to enable tethering over bluetooth (and I’m not sure if that’s correct):
where xx:x:xx:xx:xx:xx is I guess your device’s bluetooth number/address.
I did that and it didn’t work, so I kinda gave up on the whole tethering thing. However, ever since I typed that line into the terminal, whenever I restart the computer I see in my Network connections a new item called “Bridge” and then “pan1” as the subitem (please see the attached picture).
Since I don’t have a need for bluetooth tethering anymore (and it doesn’t seem to be working anyway), I would like to get rid of this “Bridge” and “pan1” items and of course I don’t want any bluetooth service to be running/to be open because it might unnecessarily expose my laptop to the outside hacker attacks.
Even if I delete this item (pan1) from network connections it will always reappear after the computer is restarted.
Could somebody please help with this?
Also, my bluetooth icon in the system tray ALWAYS turns itself on after every Manjaro restart even though I have uncommented the line "AutoEnable=false" in this file: /etc/bluetooth/main.conf.
I don't use Manjaro but if you are using Network Manager, try looking in the file: /etc/NetworkManager/system-connections
If there is an entry there for pan1, delete it.
I don't use Manjaro but if you are using Network Manager, try looking in the file: /etc/NetworkManager/system-connections
If there is an entry there for pan1, delete it.
Unfortunately, I don't see an entry for pan1 there. I do see entries for some older connections which I made myself but deleted them from Network Connections the regular way. I thought they were gone but I could see them in that folder. I deleted them now, but that probably won't solve the "pan1" entry problem.
Unfortunately, I don't see an entry for pan1 there. I do see entries for some older connections which I made myself but deleted them from Network Connections the regular way. I thought they were gone but I could see them in that folder. I deleted them now, but that probably won't solve the "pan1" entry problem.
look inside the files to see if pan1 is there. "grep pan1 /etc/NetworkManager/system-connections/* " or something similar to find it.
All the other folders inside the NetworkManager folder are empty (even when I look for hidden files). The contents of the NetworkManager.conf file is just two lines of comments:
Code:
# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.
In my opinion, this pan1 thing is somehow independent of Network Manager because it always reappears after every reboot, although I keep deleting it. I guess it is somehow dependent on the bluez, but I know nothing about that.
Well, I find it hard to believe that none of the experts for networking here can think of a way to undo or neutralize what I achieved by typing this into the terminal:
You can try exploring this from a bluetooth perspective. You want to see what devices are configured to pair with your laptop bluetooth by running:
Code:
$ bluetoothctl
that will get you to a [bluetooth]# command prompt where you run:
Code:
[bluetooth]# paired-devices
then you will see the list of devices you have paired with and their corresponding MAC address. See if any of the paired devices look like they could be creating your pan1 network bridge. If you see any entry that looks suspicious, you can remove it with:
Code:
[bluetooth]# remove aa:bb:cc:dd:ee:ff
replacing aa:bb:cc:dd:ee:ff with the MAC address of the device to un-pair.
Exit the [bluetooth]# prompt with:
Code:
[bluetooth]# exit
Last edited by kilgoretrout; 02-10-2021 at 12:06 PM.
You can try exploring this from a bluetooth perspective. You want to see what devices are configured to pair with your laptop bluetooth by running:
Code:
$ bluetoothctl
Ok, after installing bluez-utils, I now have the bluetoothctl command. I see only my two mobile phones as paired devices, none of which is actually the "pan1" item in the bridge section...
I've removed both paired devices, but the "pan1" item still appears in the network connections, just below my Wi-Fi connections. Even if I delete this "pan1" item, it will reappear again after the reboot.
Something keeps creating and starting a bridge network, pan1, on boot. The usual suspect would be systemd. The Arch wiki describes a method of creating a bridge network with systemd here:
I don't know if one was inadvertently created when you ran your command, but per the above, you might want to check in /etc/systemd/network/ for any suspicious files, particularly ones with the word "bridge" or "pan1" in their name. In addition, if you don't want your bluetooth to be running, that also starts with systemd on boot. You can stop it with:
Code:
# systemctl stop bluetooth.service
If you don't want it to restart on boot run:
Code:
# systemctl disable bluetooth.service
The other place to look would be in the systemd bluetooth location which I believe would be at /etc/systemd/system/bluetooth/. Take a look at what files are there.
I tried to go to the File System level in Catfish File Search (which is just / root folder) and to search for pan1... and believe it or not, I got several hundreds of results, most of which seem to be processes with just 0 bytes. Take a look at this screenshot:
Did you try to stop or disable bluetooth.service per my above post? If so, what effect did it have on pan1? I'm particularly curious about what happens if you disable bluetooth.service and reboot.
I'm also a little confused about the command you ran. The string sent in your post is designated 'nap' but the bridge network created is pan1. Did you possibly scramble nap to pan?
Bottom line is I'm not that familiar with the dbus-send command and apparently I'm not alone. Just trying to figure it out, the man page is not all that helpful. I'm also handicapped because I don't have Manjaro installed.
Did you try to stop or disable bluetooth.service per my above post? If so, what effect did it have on pan1? I'm particularly curious about what happens if you disable bluetooth.service and reboot.
Yes, I did try that. It did exactly what it was supposed to do (disabled bluetooth), but it didn't have any effect on the pan1 thing, unfortunately.
Quote:
I'm also a little confused about the command you ran. The string sent in your post is designated 'nap' but the bridge network created is pan1. Did you possibly scramble nap to pan?
No, I'm pretty sure I typed exactly what I quoted here in earlier messages. It seems to be correct that "pan1" appears as the exact mirror opposite of nap1. There are some blogs that I found which talk about these things, but the whole subject seems to be very exotic, and even esoteric, in a way. Not many people know about these things, apparently.
Bottom line is I'm not that familiar with the dbus-send command and apparently I'm not alone. Just trying to figure it out, the man page is not all that helpful. I'm also handicapped because I don't have Manjaro installed.
It's alright - thank you for your help. I really appreciate it.
I decided to abandon the whole Manjaro installation that was plagued by this issue because it had some other issues as well which have surfaced in the past few days, and I grew tired of them all. So, the easiest way was to simply install a new Manjaro installation on a brand new partition... and as you may expect, this new installation doesn't have any of the old issues.
I didn't delete the old partition/installation of Manjaro, and I still can log into it, but there's no need.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.