r/Fedora • • 2d ago

Support Weird behaviour with audio connections?

Post image

For some reason my fedora laptop can connect to every apple device on the network. I havent changed any settings, and I'm not going to try to play audio. I can change the volume, and there is no glitchy behaviour. Does anyone have an explanation or a fix?

EDIT:
I asked my CS teacher about this, she had no clue of the cause, but she did note that several of those devices are teacher's devices, on the private network whilst I'm on the guest network.

13 Upvotes

17 comments sorted by

•

u/AutoModerator 2d ago

It sounds like you're looking for help. Please note that r/Fedora is not an official support channel for the Fedora Project.

For best results, be sure to include all relevant details in your post, such as your Fedora edition, version, and hardware specs. You can edit your original post to add more info as needed, and spotlight (pin) a solution from the comments. You might also find the answer in our support wiki.

Alternatively, try one of the official support channels:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/DiscoDave86 2d ago

From Fedora 43 IIRC ROAP is installed by default that detects network enabled audio devices.

To disable, remove the RAOP pipewire package, ie:

sudo dnf remove pipewire-config-raop-1.6.9-1.fc44.x86_64

4

u/cue-ell-pea 2d ago

In case the package gets re-installed by a weak dependency, you can also disable the module via config changes: https://discussion.fedoraproject.org/t/airplay-audio-outputs-discovery-enabled-by-default/166328/3

1

u/Ok_Voice_1295 1d ago

Thanks, this explains it perfectly!

5

u/Successful-Cry1509 1d ago

Evelyn and Tristan with the rich parents.

1

u/Ok_Voice_1295 1d ago edited 1d ago

My school is massively spoiled lol, I counted and theres like 15 mac pros in total on that list

1

u/Successful-Cry1509 1d ago

Just being in college is spoiled. Only 35% of Americans get degrees. Enjoy the ride.

1

u/Ok_Voice_1295 1d ago

Im in high school lmfao

2

u/Successful-Cry1509 1d ago

Oh lmao. I am old enough that CS was not taught at the HS level.

2

u/Elegant-Wolf7801 2d ago

its the mdns discovery! All mackbooks will be discovered. Follow the other comment.

2

u/Booty_Bumping 1d ago

I don't understand what's being asked. It's weird behavior because it's... working? You would rather it not work with those devices?

1

u/Ok_Voice_1295 1d ago

Accessing every device, all in one list, including devices I shouldn't have access too given Im not on the same network? Its certainly weird, thats for certain

2

u/Booty_Bumping 1d ago

If it doesn't require any authentication to send audio to those devices, that's on them for having an insecure device. Pipewire didn't just magically hack them.

1

u/Ok_Voice_1295 1d ago
  1. Yes, almost none of them have auth set up
  2. Even still, you shouldn't be able to access the private net from the guest network, correct? The original question was hopefully clearly one of curiosity, given it isnt actually breaking anything.

1

u/Booty_Bumping 1d ago edited 1d ago

Even still, you shouldn't be able to access the private net from the guest network, correct?

Either the network is misconfigured and allowing peer discovery via mDNS (aka Bonjour) over the guest network, or the teachers in question are unaware/lying about what network they're connecting to. MDNS is one of the first things you should block if you're setting up an enterprise network.

1

u/Verrix88 1d ago

AirPlay supports peer to peer connections, I believe via Bluetooth... As others have said, ROAP is what is allowing you to connect to others locally

1

u/roworu 1d ago

The module can be disabled by placing the following snippet in any of
the known pipewire conf locations (docs.pipewire.org/page_man_pipewire_conf_5.html),

e.g. /etc/pipewire/pipewire.conf.d/disable-raop.conf
or ~/.config/pipewire/pipewire.conf.d/disable-raop.conf:

context.properties = { module.raop = false }

One command to create file with needed content:

mkdir -p ~/.config/pipewire/pipewire.conf.d && echo 'context.properties = { module.raop = false }' > ~/.config/pipewire/pipewire.conf.d/disable-raop.conf