Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
26
Location
Austria
XP
3,845
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
806
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,832
Trophies
0
Age
23
Location
Rivière
XP
3,235
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
26
Location
Austria
XP
3,845
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
26
Location
Austria
XP
3,845
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
26
Location
Austria
XP
3,845
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,829
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,829
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,829
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
  • K3Nv2 @ K3Nv2:
    We just question @AncientBoi
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
  • K3Nv2 @ K3Nv2:
    Grave shovel
  • BigOnYa @ BigOnYa:
    Nuh those goto the edge of the property (maybe just on the other side of)
  • K3Nv2 @ K3Nv2:
    On the neighbors side
    +1
  • BigOnYa @ BigOnYa:
    Yup, by the weird smelly green bushy looking plants.
    BigOnYa @ BigOnYa: Yup, by the weird smelly green bushy looking plants.