Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

Urferu commented Nov 1, 2018

is root required to execute these commands in termux?

@spacemeowx2

This comment has been minimized.

Copy link
Owner Author

spacemeowx2 commented Nov 6, 2018

@Urferu yes, root is required

@Ofdas23

This comment has been minimized.

Copy link

Ofdas23 commented Apr 29, 2019

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

@jamilpardo

This comment has been minimized.

Copy link

jamilpardo commented Jul 29, 2019

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

.

@jamilpardo

This comment has been minimized.

Copy link

jamilpardo commented Jul 29, 2019

Screenshot_20190729-175200_Termux

@jamilpardo

This comment has been minimized.

Copy link

jamilpardo commented Jul 29, 2019

What server put ?

@tihlok

This comment has been minimized.

Copy link

tihlok commented Nov 13, 2019

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

This comment has been minimized.

Copy link

Mjseverino commented Mar 28, 2020

Interface not specified, opening all interfaces
Error pcap_findalldevs: umts_dm0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Permission denied
Help

@ChronicGamer

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.