pcsx2
pcsx2 copied to clipboard
[BUG]: PCSX2 MacOS & Linux PCAP not connecting online
Describe the Bug
when connecting online using "PCAP Bridged" or "PCAP Switched" the games would display this message: "You must have a network adapter installed in your PlayStation2 to play online", but if you choose "Socket" it would go online normally but can't host games or join them (tested with Syphon Filter: The Omega Strain)
Reproduction Steps
Tested on PCAP Bridged, PCAP Switched, & Socket Tested on MacOS Ventura but Ventura is not listed so i chose MacOS Monteray as it's the closest Also tested on Ubuntu/Linux
Expected Behavior
Expected behavior is for PCAP Bridged and Switched to work normally and for the games to detect a network adapter
PCSX2 Revision
v1.7.3735
Operating System
macOS (Monteray)
If Linux - Specify Distro
Ubuntu 22.04 LTS
Having this exact same issue.
SteamOS (Arch Linux)
I have libpcap installed via Homebrew [https://brew.sh/] [https://formulae.brew.sh/formula/libpcap]
Bridged/Switched, PCSX2 can't find the Network adapter
Switching to sockets allows me to find the network adapter and connect to the server and create a lobby. No one can connect to my lobby, and I can't join any other lobbies. I can see other people's lobbies and they can see mine.
Mac not supporting pcap is a known issue
PCAP on Linux should work, but do note the following;
AppImage builds don't work with due to permission issues, you'll need to extract the AppImage with --appimage-extract
Flatpack builds don't work with due to permission issues, try the workarounds listed here.
I have the same issue but under Arch Linux. pcap only works with the root account, but not under a regular user. this is a bug and should be fixed as it's not recommended to run everything as root/pcsx2 shouldn't be ran like this. I use the aur and flatpak versions and same issue.
It's not a bug. There's specific groups your user has to be added to.
It's not a bug. There's specific groups your user has to be added to.
then, what groups should I be added to? mind elaborating the solution?
I can't speak for the appimage, but the netdev
group has fixed permissions for me previously.
that group doesn't exists on my arch system.
Then add it.
Then add it.
did, then added myself to it then chgrp pcsx2 binary on /usr/bin the issue persists
any news?
any news?
Can you post an emulog
I also have the same issue.
@TheLastRar I tried the flatpak configuration but it didnt work for me. @CykaDelik did you find a solution? @weirdbeardgame where can i see which groups should i add? @F0bes how did you come to netdev? @lunelovehearn did you find a solution? to me not even on root it works.
@TheLastRar I tried the flatpak configuration but it didn't work for me.
Unfortunately not, PCSX2 has the same issue as wireshark under flatpak, which still doesn't support capture https://github.com/flathub/org.wireshark.Wireshark/issues/4
You will have to unpack the flatpak (or grab the appimage and unpack that) and use setcap to restore the missing capabilities
@TheLastRar I tried the flatpak configuration but it didnt work for me. @CykaDelik did you find a solution? @weirdbeardgame where can i see which groups should i add? @F0bes how did you come to netdev? @lunelovehearn did you find a solution? to me not even on root it works.
Nah. I'm just going to wait for a native solution that doesn't involve any unpacking. Might be waiting for a while, heh Would love to play some Twisted Metal, BattleFront or MGS3 online on steam deck someday soon =)
@TheLastRar I tried the flatpak configuration but it didn't work for me.
Unfortunately not, PCSX2 has the same issue as wireshark under flatpak, which still doesn't support capture flathub/org.wireshark.Wireshark#4
You will have to unpack the flatpak (or grab the appimage and unpack that) and use setcap to restore the missing capabilities
./pcsx2-qt: error while loading shared libraries: libSoundTouch.so.1: cannot open shared object file: No such file or directory
is this included in the appimage? i cant launch without it.
no, on arch based on my testing, it works fine under root account, that is, using sudo pcsx2, tho user shouldn't run an emulator with root account. haven't made any more research so far.
any news?
Can you post an emulog
lemme figure out how to, then will post the logs of it under a regular and root user accounts.
Having this exact same issue.
SteamOS (Arch Linux)
I have libpcap installed via Homebrew [https://brew.sh/] [https://formulae.brew.sh/formula/libpcap]
Bridged/Switched, PCSX2 can't find the Network adapter
Switching to sockets allows me to find the network adapter and connect to the server and create a lobby. No one can connect to my lobby, and I can't join any other lobbies. I can see other people's lobbies and they can see mine.
I have the exact same problem. Connecting to a lobby works fine while using "Sockets", but i can't start or join any session. I tried this for Formula '05, Midnight Club 3, GT4 Online Public Beta and NfS Underground. Just Midnight Club tells me that an "NAT Negotiation error" occured after trying to start a session.
In PCAP it wont find a network adapter (no MAC shown in version info) and as sudo in only finds a network adapter in "PCAP bridged" but say's "No Cable connected".
Did you ever find an workaround for this?
Interestingly, one time (!) ever it worked with Sockets. Without any change: after a reboot not anymore and never again or before.
my pcsx2 have the same problem, but i only could make work when i change to "Sockets" (i install my pcsx2 from terminal, Linux Ubuntu 22.04)
Like mentioned above, not running with appimages helps detect the network adaptor in PCAP Bridged and PCAP Switched. This was an issue with the PCSX2 which comes bundled with Lutris, but upon using the AUR version, the games are able to detect the network adaptor. However, I am not able to see a dhcp lease of the IP which I set in game in my router.
Also can anyone comment if I should use DHCP Intercept?
We have nothing to do with the AUR. Speak to your packager for support.
We have nothing to do with the AUR. Speak to your packager for support.
Sorry for the confusion, but I should have emphasised more on the fact that network adaptor gets detected if you are running natively (like building your self or as a package) it should work.
In case it helps anyone, I was having trouble trying to connect with PCSX2 - Mortal Kombat Armageddon, and this was what worked for me (Sockets/Auto):
And with the connection settings within the game itself, I kept everything on Auto as well, but specified the Primary DNS manually.