Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
27
Location
Austria
XP
3,900
Country
Austria
Screenshot 2017-11-19 um 11.48.17.png
I followed the guide here but something strange happens when I try to start....
 

veekay

Well-Known Member
Member
Joined
Jan 30, 2008
Messages
227
Trophies
1
XP
807
Country
United States
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^^

Xyphoseos

Hack or no games
Member
Joined
Jun 29, 2016
Messages
1,834
Trophies
0
Age
23
Location
Rivière
XP
3,277
Country
France
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'

???
 

FunThomas

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
652
Trophies
0
XP
2,016
Country
Gambia, The
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
 

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
27
Location
Austria
XP
3,900
Country
Austria
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
 

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
27
Location
Austria
XP
3,900
Country
Austria
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...
 

yardie

Banned!
Banned
Joined
Mar 27, 2016
Messages
1,334
Trophies
1
XP
1,549
Country
United States
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^^

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
27
Location
Austria
XP
3,900
Country
Austria
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?
 

Foundforgood89

Member
Newcomer
Joined
Nov 19, 2017
Messages
24
Trophies
0
Age
34
XP
147
Country
United States
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
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
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)
 

merlin555

Master
Member
Joined
Oct 27, 2014
Messages
1,585
Trophies
1
XP
5,831
Country
Germany
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,

yardie

Banned!
Banned
Joined
Mar 27, 2016
Messages
1,334
Trophies
1
XP
1,549
Country
United States

Arck

Well-Known Member
Member
Joined
Mar 13, 2016
Messages
955
Trophies
0
XP
878
Country
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.
 

merlin555

Master
Member
Joined
Oct 27, 2014
Messages
1,585
Trophies
1
XP
5,831
Country
Germany
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 ?
 

merlin555

Master
Member
Joined
Oct 27, 2014
Messages
1,585
Trophies
1
XP
5,831
Country
Germany
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1