Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

merlin555

Master
Member
Joined
Oct 27, 2014
Messages
1,585
Trophies
1
XP
5,829
Country
Germany
The best solution is for me:

WUBI Installer.

Install Ubuntu to a Harddisk drive of choice without build a new partition.
Wubi installer copy the Ubuntu to directory.

"NPM install" works then perfectly.
 
  • Like
Reactions: Masterwin

edepot

Member
Newcomer
Joined
Oct 12, 2017
Messages
21
Trophies
0
Age
124
XP
80
Country
United States
i just wanted to share that using linux subsystem in Windows 10 works flawless for me.
Can you please make a "full guide" from beginning to end including setting up linux on Win10 WSL, grabbing necessary software, and how to setup linux carriage return, and of course all the Switch stuff, and finally how to run them
 

lucasreis1

New Member
Newbie
Joined
Nov 15, 2017
Messages
1
Trophies
0
Age
27
XP
52
Country
Brazil
I'm trying to setup pegaswitch, but there's no option to type anything on prompt. The exploit works, but I can't give any feedback.
 

H4nz0

Member
Newcomer
Joined
Nov 16, 2017
Messages
6
Trophies
0
Age
37
XP
166
Country
Canada
Tried doing this on Windows 10, but it always fails on node-gyp rebuild
Same - except doing it in Ubuntu virtualized environment

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.10.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pty.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntuswitch/pegaswitch/npm-debug.log
 
D

Deleted User

Guest
threw together a set of shell scripts that "should" automate this process assuming I didn't mess up if anyone would rather use these. You need to have unix still. simply run step1.sh and it should do everything automatically in theory :)

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

Tried doing this on Windows 10, but it always fails on node-gyp rebuild

Same - except doing it in Ubuntu virtualized environment

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.10.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pty.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntuswitch/pegaswitch/npm-debug.log
Read the thread..you need unix
 

Attachments

  • Pegaswitch Scripts.zip
    647 bytes · Views: 246

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
netstat -vanp tcp | grep 53

This is what I get:
Code:
Whale:~ AgentMoose$  netstat -vanp tcp | grep 53
tcp4       0      0  127.0.0.1.12080        127.0.0.1.52486        ESTABLISHED 407853 146988    414      0
tcp6       0      0  *.53                   *.*                    LISTEN      131072 131072    183      0
tcp4       0      0  *.53                   *.*                    LISTEN      131072 131072    183      0
tcp4       0      0  127.0.0.1.52537        127.0.0.1.12080        TIME_WAIT   408300 146988    503      0

I took out a few lines because I felt like they were only things I should have. Pretty sure it was my IP address.
 

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
This is what I get:
Code:
Whale:~ AgentMoose$  netstat -vanp tcp | grep 53
tcp4       0      0  127.0.0.1.12080        127.0.0.1.52486        ESTABLISHED 407853 146988    414      0
tcp6       0      0  *.53                   *.*                    LISTEN      131072 131072    183      0
tcp4       0      0  *.53                   *.*                    LISTEN      131072 131072    183      0
tcp4       0      0  127.0.0.1.52537        127.0.0.1.12080        TIME_WAIT   408300 146988    503      0

I took out a few lines because I felt like they were only things I should have. Pretty sure it was my IP address.

The process is the 2nd to last one, so if you read this later double check that the process is the same then run

kill -QUIT 183
Or whatever the number is at that point
 
Last edited by machinoman,
D

Deleted User

Guest
ah i see but if you review the link it's not a command blinkzane gives. I guess you are saying this is where your install hangs at? After what command do you get this error? Also are you on latest Windows 10 and are you sure the feature was enabled and that your linux bash is working?
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
The process is the 2nd to last one, so if you read this later double check that the process is the same then run

kill -QUIT 183
Or whatever the number is at that point
No matter what I do, whatever is open on that port, when I kill it, it opens right back up under a different ID.
 

wiired24

Developer
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,473
Country
United States
Upon running the makefile and compiling the libtransistor toolchain, I'm getting an error that looks something like

Makefile:58: recipe for target 'build/test/test_malloc.nro.so' failed
make: *** [build/test/test_malloc.nro.so] Error 127

Anyone else having this issue? I have the Windows Subsystem for Linux installed. I also have all required packages.
 

edepot

Member
Newcomer
Joined
Oct 12, 2017
Messages
21
Trophies
0
Age
124
XP
80
Country
United States
ah i see but if you review the link it's not a command blinkzane gives. I guess you are saying this is where your install hangs at? After what command do you get this error? Also are you on latest Windows 10 and are you sure the feature was enabled and that your linux bash is working?

It would be extremely helpful if you start a new thread with the full instructions for Windows 10 WSL. There are major differences in instructions between VirtualBox and Linux Subsystem on Windows. For example for VirtualBox you need to virtualize your network adapters which is a real pain and will stop most people from even trying pegaswitch. Also unix linefeeds are different between VirtualBox and Linux subsystem for Windows. 90% of the newbies will want to use Linux Windows Subsystem, and they can graduate to full VirtualBox (on this thread) if they have more time to tinker and download those gigabytes worth of files.
 
Last edited by edepot,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Going.