Giter Club home page Giter Club logo

openwrt-switch-lan-play's Introduction

switch-lan-play for OpenWrt

Make you and your friends play games like in a LAN.

                     Internet
                        |
        ARP,IPv4        |             LAN Packets
Switch <------->  Router(lan-play)  <-------------> Server
                                          UDP

Usage

The packages in this repository implement the switch-lan-play client on OpenWrt.

To play with your friends, you and your friends should run the switch-lan-play client connecting to the same server on your PC, and set static IP on your Switch.

Download

Prebuild ipk only available for some arch. If you can't find suitable ipk, please try to open a issue or PR. You can also build in your own hardware.

Custom Feeds

Choose suitable url with your hardware arch, for example http://htynkn.github.io/openwrt-switch-lan-play/x86/64 add src/gz switch_lan_play http://htynkn.github.io/openwrt-switch-lan-play/x86/64 to your custom feeds and install with UI.

Building

Step 1

To build switch-lan-play for OpenWrt, first add this feed to your feeds.conf in a fully set-up OpenWrt SDK (read here on how to setup the OpenWrt SDK):

echo "src-git openwrt_switch_lan_play https://github.com/htynkn/openwrt-switch-lan-play.git" >> feeds.conf

$ ./scripts/feeds update -a
$ ./scripts/feeds install -a

Step 2

Enable building the packages.

make menuconfig

Network -> Lan-play -> switch-lan-play <*>
LuCI -> 3. Applications -> luci-app-switch-lan-play <*>

Step 3

Build the packages.

make package/luci-app-switch-lan-play/compile
make package/switch-lan-play/compile

Step 4

Install the packages to your router.

opkg install /tmp/switch-lan-play-*.ipk
opkg install /tmp/luci-app-switch-lan-play-*.ipk

License

Package luci-app-switch-lan-play (c) @skylovebeauty

Package switch-lan-play (c) spacemeowx2

Package openwrt-switch-lan-play (c) @hurrian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.