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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interface not specified, opening all interfaces
Error pcap_findalldevs: umts_dm0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Permission denied
Help