Add this line in nano ~/.bashrcFor 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 MYIPADRESSFor 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
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 10954 nobody 5u IPv4 55264 0t0 TCP ubuntu:domain (LISTEN)
try thisAlways listen to port 53 and when I kill it, it starts again...Code:COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dnsmasq 10954 nobody 5u IPv4 55264 0t0 TCP ubuntu:domain (LISTEN)
Thx now it works But is there any solution to not always need to do this after reboot?try this
service network-manager stop
killall dnsmasq
npm start
worked for me.
Just save state machine with running pegaswitchThx now it works But is there any solution to not always need to do this after reboot?
That works!!! I also tried to set the port of dnsmasq to 0 but I still got an error. Finally it works nowPermanent 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.
Clear your update data by powering your switch off fully and then booting while holding + and -, then reboot back to the main menu.
I used @yardie solution to fix the port 53 issue, now I get this:
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 ?
I used @yardie solution to fix the port 53 issue, now I get this:
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 ?
Try another npm install but as sudo
So sudo npm install
I had internet and removed this line so it wasn't the problem.No Internet?!
Check the Internet.
Try:
dnsmasq restart
OR:
Remove the line "dns=dnsmascq" from /etc/NetworkManager/NetworkManager.conf
then RESTART Ubuntu
I removed the pegaswitch folder and re-cloned it.Try another npm install but as sudo
So sudo npm install
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 ?