Last active
October 15, 2020 23:08
-
-
Save spacemeowx2/b2f336489ce621c9d177db0fb35940f1 to your computer and use it in GitHub Desktop.
build switch lan play on termux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg install -y cmake make clang libpcap-dev git | |
git clone https://github.com/spacemeowx2/switch-lan-play.git | |
mkdir switch-lan-play/build | |
pushd switch-lan-play/build | |
cmake .. | |
make | |
popd | |
cp ./switch-lan-play/build/src/lan-play . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run this script as root | |
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib | |
./lan-play |
@Urferu yes, root is required
@spacemeowx2 Is this on jailbroken iOS 12 possible, too?
I have this error when executing old the line
./lan-play
.
What server put ?
libpcap-dev not availiable.
installed using just libpcap and this error happen when trying to run:
./lan-play --relay-server-addr switch.lan-play.com:1145
Error pcap_findalldevs: umts_dm0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Permission denied
Interface not specified, opening all interfaces
Error pcap_findalldevs: umts_dm0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Permission denied
Help
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is root required to execute these commands in termux?