Skip to content

Instantly share code, notes, and snippets.

@spacemeowx2
Last active October 15, 2020 23:08
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save spacemeowx2/b2f336489ce621c9d177db0fb35940f1 to your computer and use it in GitHub Desktop.
Save spacemeowx2/b2f336489ce621c9d177db0fb35940f1 to your computer and use it in GitHub Desktop.
build switch lan play on termux
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 .
# run this script as root
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
./lan-play
@Urferu
Copy link

Urferu commented Nov 1, 2018

is root required to execute these commands in termux?

@spacemeowx2
Copy link
Author

@Urferu yes, root is required

@Ofdas23
Copy link

Ofdas23 commented Apr 29, 2019

@spacemeowx2 Is this on jailbroken iOS 12 possible, too?

@jamilpardo
Copy link

I have this error when executing old the line
./lan-play

.

@jamilpardo
Copy link

Screenshot_20190729-175200_Termux

@jamilpardo
Copy link

What server put ?

@tiagodocouto
Copy link

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

@Mjseverino
Copy link

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