Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

ehnoah

Well-Known Member
Member
Joined
Oct 9, 2012
Messages
918
Trophies
0
XP
781
Country
Netherlands
Dang some really bad advice given here. See my videos here

https://www.youtube.com/edit?o=U&video_id=I4b2oQ5VcOM

and here

https://www.youtube.com/edit?o=U&video_id=EEDDQSRU-j0

And learn about the incredibly cool new feature of Windows 10 called Linux sub system. Basically a way to run linux bash inside of Windows! More info here:

https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/

Please spread the word. It's not well known but incredibly useful....


When I try run in Windows I get blank Screen when Pega switch started, so I asume he cannot bind port?
 

Xyphoseos

Hack or no games
Member
Joined
Jun 29, 2016
Messages
1,833
Trophies
0
Age
23
Location
Rivière
XP
3,262
Country
France
now I get this

Capture.PNG
 

Attachments

  • Capture.PNG
    Capture.PNG
    52.8 KB · Views: 180
  • Capture.PNG
    Capture.PNG
    52.8 KB · Views: 183
  • Capture.PNG
    Capture.PNG
    52.8 KB · Views: 161

Xyphoseos

Hack or no games
Member
Joined
Jun 29, 2016
Messages
1,833
Trophies
0
Age
23
Location
Rivière
XP
3,262
Country
France
nano ~/.bashrc

and then add this line into .bashrc

alias pegaswitch='cd ~/pegaswitch; sudo node start.js'

I type this as like the screenshot
and the pegaswitch isn't reconized as command
"pegaswitch: command not found"
Capture.PNG
 
Last edited by Xyphoseos,

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
nano ~/.bashrc

and then add this line into .bashrc

alias pegaswitch='cd ~/pegaswitch; sudo node start.js'

I type this as like the screenshot
and the pegaswitch isn't reconized as command
"pegaswitch: command not found"
View attachment 106292
put the full path to your pegaswitch folder instead of ~/pegaswitch. i think for an alias to work you have to log out and back in to ubuntu.

EDIT: or better yet, skip the alias thing. just cd into the pegaswitch folder and do sudo node start.js
 
Last edited by machinoman,

KardchCode

Well-Known Member
Member
Joined
Sep 18, 2017
Messages
133
Trophies
0
XP
874
Country
Spain
So I have a problem, when I try to connect to the wifi with the DNS settings and that (on the switch) gives me an error saying that DNS are incorrect or not valid.
So my question is, has the switch to be connected to my local wifi? or should I create a new hostpot in the computer to connect the switch?
Edit: ok no problem, I solved it by disabling firewall
 
Last edited by KardchCode,

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
nothing change :(
cd into the pegaswitch folder and type "sudo node start.js"
its the same error?

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

So I have a problem, when I try to connect to the wifi with the DNS settings and that (on the switch) gives me an error saying that DNS are incorrect or not valid.
So my question is, has the switch to be connected to my local wifi? or should I create a new hostpot in the computer to connect the switch?
1. ensure you are on firmware 3.0.0
2. some networks i can't get it to work on, my android as a hotspot is the most reliable (ensure computer and switch are both connected to it)
3. is ubuntu running in a virtual box? you may have to tweak some settings if so, let me know if 1 and 2 don't work
 

Xyphoseos

Hack or no games
Member
Joined
Jun 29, 2016
Messages
1,833
Trophies
0
Age
23
Location
Rivière
XP
3,262
Country
France
cd into the pegaswitch folder and type "sudo node start.js"
its the same error?

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


1. ensure you are on firmware 3.0.0
2. some networks i can't get it to work on, my android as a hotspot is the most reliable (ensure computer and switch are both connected to it)
3. is ubuntu running in a virtual box? you may have to tweak some settings if so, let me know if 1 and 2 don't work

When I do it I go to pegaswitch but "pegaswitch" command doesn't work :(
 
Last edited by Xyphoseos,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Psionic Roshambo, would you recommend playing n64 games on a ps3 through retroarch?