Homebrew WIP [Official] switch-lan-play

pillemats

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
46
Trophies
0
Age
36
XP
129
Country
Armenia
after update it wont work

Debian GNU/Linux 8 \n \l

Architecture: x86_64

CPU op-mode(s): 32-bit, 64-bit

Byte Order: Little Endian

CPU(s): 4

On-line CPU(s) list: 0-3

Thread(s) per core: 2

Core(s) per socket: 2

Socket(s): 1

NUMA node(s): 1

Vendor ID: GenuineIntel

CPU family: 6

Model: 28

Model name: Intel(R) Atom(TM) CPU D510 @ 1.66GHz

Stepping: 10

CPU MHz: 1666.513

BogoMIPS: 3333.02

L1d cache: 24K

L1i cache: 32K

L2 cache: 512K

NUMA node0 CPU(s): 0-3
 

RattletraPM

Well-Known Member
Member
Joined
Jan 18, 2017
Messages
897
Trophies
1
XP
8,341
Country
Italy
after update it wont work

Debian GNU/Linux 8 \n \l
It doesn't work because you're running an old version of Debian (the current stable is 9 "Stretch"). You'll either have to upgrade or add jessie-backports to /etc/apt/sources.list then run "apt update" again.

(Keep in mind that updating is definitely the way to go, using backports instead of updating is more like a lazy workaround instead of a proper solution)
 
Last edited by RattletraPM,

pillemats

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
46
Trophies
0
Age
36
XP
129
Country
Armenia
@RattletraPM now it works :-)

root@HPX312 ~ > sudo apt install libpcap0.8 libuv1

Paketlisten werden gelesen... Fertig

Abhängigkeitsbaum wird aufgebaut.

Statusinformationen werden eingelesen.... Fertig

libpcap0.8 ist schon die neueste Version (1.8.1-3).

libuv1 ist schon die neueste Version (1.9.1-3).

libuv1 wurde als manuell installiert festgelegt.

0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

root@HPX312 ~ >


thats it ? now i must configure the switch ?
 

pillemats

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
46
Trophies
0
Age
36
XP
129
Country
Armenia
i got it

root@HPX312 ~/switch-lan-play/server > npm run server


> [email protected] server /root/switch-lan-play/server

> node dist/udpserver.js



Monitor service started on port 11451/tcp

***************************************

Client count: 0 upload: 0KB/s download: 0KB/s






but i cant connect to any server ? i dont know why....
switch is configured an server is running
 

RattletraPM

Well-Known Member
Member
Joined
Jan 18, 2017
Messages
897
Trophies
1
XP
8,341
Country
Italy
i got it

root@HPX312 ~/switch-lan-play/server > npm run server


> [email protected] server /root/switch-lan-play/server

> node dist/udpserver.js



Monitor service started on port 11451/tcp

***************************************

Client count: 0 upload: 0KB/s download: 0KB/s






but i cant connect to any server ? i dont know why....
switch is configured an server is running
You're running the server, not the client (unless that's what you want but in your first post you said otherwise).
Considering that your computer is x86_64 just download the lan-play-linux binary from here and run it.
 

RattletraPM

Well-Known Member
Member
Joined
Jan 18, 2017
Messages
897
Trophies
1
XP
8,341
Country
Italy
i use only debian terminal console, so i can not use this
You're probably mistaking this for lan-play-gui. This one is a simple console application and doesn't depend on any graphical library.
lanplayscreenshot.png
As you can see from the screenshot, it's just a console executable. The only reason you're seeing it in a terminal window instead is because it's easier to take screenshots this way (yes, I'm lazy) but I can confirm it does run without any window manager/desktop environment/etc.

Source: I'm using Debian
 

pillemats

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
46
Trophies
0
Age
36
XP
129
Country
Armenia
Ok thanks But how can i run it on my terminal console right now? I only want to Play online with my banned Switch and i dont want to use my mac or Windows pc every time to run the gui.
 

RattletraPM

Well-Known Member
Member
Joined
Jan 18, 2017
Messages
897
Trophies
1
XP
8,341
Country
Italy
Thanks ! This will work Inlay on android ?

The other Method i use is only for Hosting ?
That method will work on android, yes - but you can also use your PC to connect.
You can just use the command you're seeing on my screenshot (sudo ./lan-play --relay-server-addr <server>:<port> --netif <interface>
 

pillemats

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
46
Trophies
0
Age
36
XP
129
Country
Armenia
yes, its running app in the background
how can i stop the process ?

--------------------- MERGED ---------------------------

That method will work on android, yes - but you can also use your PC to connect.
You can just use the command you're seeing on my screenshot (sudo ./lan-play --relay-server-addr <server>:<port> --netif <interface>
root@HPX312 ~/switch-lan-play/server > sudo ./lan-play --relay-server-addr usplay.secretgorithm.com:11451 --netif wlp36s0

sudo: ./lan-play: Befehl nicht gefunden

root@HPX312 ~/switch-lan-play/server >


i think i must wait for an easier solution :-D
 
Last edited by pillemats,

fst312

Well-Known Member
Member
Joined
Nov 4, 2008
Messages
1,176
Trophies
1
Age
35
Location
New York
XP
2,976
Country
United States
I believe these battles were against you,don't know what your username on gbatemp is but i want to apologize to msmazur because of a game disconnect during a battle on the pirate ship because my laptop battery ran out, didn't realize battery was low, normally I have my power adapter connected. I was on a nycserver against you, I believe that battle was against you and we had another battle after i reconnected and yoshi won that battle on peaches castle, that battle second battle for sure was against you. My online username is Phil.
 
Last edited by fst312,

MobiusRJ

Member
Newcomer
Joined
Mar 4, 2019
Messages
12
Trophies
0
Age
44
XP
75
Country
Brazil
Greatings!

I am having problems installing on Mac

I ran the brew install libpcap libuv command and everything was correct

In the step of the command sudo ./lan-play-macos and the message "Commando not found" appears.

I search on the google and found this solution:

Sounds like a bad path environmental, try:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH


I've done this step and still can't make Lan-play work. Still showing Command not found

ps. I am running the commands from inside the folder where the file lan-play-macos.dmg is

Thanks for the help!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs