Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

  • Thread starter Thread starter iAqua
  • Start date Start date
  • Views Views 151,909
  • Replies Replies 368
  • Likes Likes 44
Screenshot 2017-11-19 um 11.48.17.png
I followed the guide here but something strange happens when I try to start....
 
For everyone with the dns issue just use this as the command.

sudo node start.js --disable-curses --logfile debug.txt --host 192.xxx.xxx.xxx

Of course replace the IP address with whatever your machine is.

I had this same issue and saw this from one of the pegaswitch threads
 
  • Like
Reactions: pLaYeR^^
For everyone with the dns issue just use this as the command.

sudo node start.js --disable-curses --logfile debug.txt --host 192.xxx.xxx.xxx

Of course replace the IP address with whatever your machine is.

I had this same issue and saw this from one of the pegaswitch threads
Add this line in nano ~/.bashrc
and change
alias pegaswitch='cd ~/pegaswitch; sudo node start.js'
to
alias pegaswitch='cd ~/pegaswitch; sudo node start.js --disable-curses --logfile debug.txt --host 192.xxx.xxx.xxx'

???
 
it would be nice if in the section 3 there would be some more steps which are needed to setup VM

like using bridge mode in virtual box or if there are preferred images like ubuntu 16 ...?

the other steps are described extensive but this step is described with nearly nothing, no traps you could get into if you dont have setup a VM for Pegaswitch before
 
For everyone with the dns issue just use this as the command.

sudo node start.js --disable-curses --logfile debug.txt --host 192.xxx.xxx.xxx

Of course replace the IP address with whatever your machine is.

I had this same issue and saw this from one of the pegaswitch threads
Still get an error: There was an issue setting up DNS: bind EADDRNOTAVAIL MYIPADRESS
 
Code:
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 10954 nobody    5u  IPv4  55264      0t0  TCP ubuntu:domain (LISTEN)
Always listen to port 53 and when I kill it, it starts again...
 
Permanent fix for the port 53 issue

sudo nano /etc/NetworkManager/NetworkManager.conf
(if error, install gksu)

Comment out the line
dns=dnsmasq
So it looks like:
#dns=dnsmasq

Save (usually ctrl-s), reboot.
 
  • Like
Reactions: pLaYeR^^
Permanent fix for the port 53 issue

sudo nano /etc/NetworkManager/NetworkManager.conf
(if error, install gksu)

Comment out the line
dns=dnsmasq
So it looks like:
#dns=dnsmasq

Save (usually ctrl-s), reboot.
That works!!! I also tried to set the port of dnsmasq to 0 but I still got an error. Finally it works now :)

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

If my switch use the IP as DNS which is shown in the terminal, is there any possibility that my switch has an internet connection and search for system updates?
 
Clear your update data by powering your switch off fully and then booting while holding + and -, then reboot back to the main menu.

Hi. I'm having trouble doing this. I think my device should be on 3.0.0, but it always says an update is ready. My WiFi is currently disabled and has been for months, but it must have updated at least 1 update after 3.0.0 before I could. I tried shutting down, pressing and holding + and - and booting back up- no difference. Tried rebooting while keeping + - held the whole time-no difference. Regular reboot, shutdown restart, nothing seems to get rid of it. Any suggestions? I don't even know how to confirm my current version with that "update is ready" msg there
 
Do I specifically have to run the start.js file for it to work correctly, or can I just create my own local server and host the files from there and then connect that way? (Like with other consoles, such as Wii U or PS3)
 
I used @yardie solution to fix the port 53 issue, now I get this:
image.png


Pegaswitch don't show any log, is that normal ?

In the picture of this thread it does show some logs: (ip ect...)
https://gbatemp.net/threads/ubuntu-16-04-virtual-box-image-with-pegaswitch-preinstalled.489753/

Or do I have the connect my Switch before ?

No Internet?!
Check the Internet.

Try:
dnsmasq restart

OR:

Remove the line "dns=dnsmascq" from /etc/NetworkManager/NetworkManager.conf
then RESTART Ubuntu
 
Last edited by merlin555,
Try another npm install but as sudo
So sudo npm install
No Internet?!
Check the Internet.

Try:
dnsmasq restart

OR:

Remove the line "dns=dnsmascq" from /etc/NetworkManager/NetworkManager.conf
then RESTART Ubuntu
I had internet and removed this line so it wasn't the problem.

Try another npm install but as sudo
So sudo npm install
I removed the pegaswitch folder and re-cloned it.
My nodejs installation was broken when I did install npm, correctly reinstalling nodejs fixed it.

Thanks.
 
I have two SWITCH.
The last two days was the "old" SWITCH v4.0.1 in the docking station with LAN connected.
I have tested the PEGASWITCH.
Today, i wanted play a game, but the SWITCH has a Black Screen.
Its ON, and the POWER Option, i see a display screen, Volume and the click from Joycons hear.
I cant switch the console off.
Black Screen.

And now ?
 
I have two SWITCH.
The last two days was the "old" SWITCH v4.0.1 in the docking station with LAN connected.
I have tested the PEGASWITCH.
Today, i wanted play a game, but the SWITCH has a Black Screen.
Its ON, and the POWER Option, i see a display screen, Volume and the click from Joycons hear.
I cant switch the console off.
Black Screen.

And now ?

Solved! :-)

Hold 15 sec. the Power button.
 

Site & Scene News

Popular threads in this forum