No Internet connection when running update script for first time

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
lcompx
Posts: 1
Joined: Sun Jun 07, 2020 10:00 pm

No Internet connection when running update script for first time

Unread post by lcompx »

I'm trying to get my first mister setup going. Everything seems to be working but I can't run the update script; I always just get "no internet connection press any button to continue. I have confirmed that my connection is working for everything else. The same cable, lan port, etc. works w/o issue for xbox, playstation, etc. I tried 2 different sd cards with 2 different fresh installs created using the Mister SD card utility from the mister-devel/main_mister setup guide but always have the same issue. Thanks for any help.
Locutus73
Core Developer
Posts: 51
Joined: Mon May 25, 2020 9:55 am
Has thanked: 1 time
Been thanked: 8 times

Re: No Internet connection when running update script for first time

Unread post by Locutus73 »

Is your MiSTer actually connected to the Internet?
Can you ping Google or GitHub using the framebuffer terminal?
Can you see the current date/time in the main menu?

Regards.
Locutus73
Spunkworks
Posts: 20
Joined: Thu May 28, 2020 8:15 pm
Has thanked: 4 times
Been thanked: 2 times

Re: No Internet connection when running update script for first time

Unread post by Spunkworks »

locate the file linux/_wpa_supplicant.conf (example: /media/fat/linux/_wpa_supplicant.conf)
open in text editor supporting Linux/Unix line endings (for example Notepad++)
replace put_your_SSID_here with your actual WiFi network name and put_your_password_here with your WiFi password.
sometimes you need to change the country code from TW to yours.
rename _wpa_supplicant.conf to wpa_supplicant.conf
reboot the MiSTer
User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: No Internet connection when running update script for first time

Unread post by aberu »

You need to identify the problem prior to troubleshooting, as this will rule out what you need to look for.

1. Connect a keyboard to your MiSTer and press F9 key to open the linux prompt up.

2. type "ip address show". What does that give you? If it has an address like 169.254.xxx.xxx then it does not have a valid IP configuration, this is an APIPA address and nothing will resolve like that. If there is no IP address, then your cable, switch, ethernet port, and anything else connecting could be the reason.

3. If it does have an ip address, can you ping the mister from another device on your network? If so, then it doesn't have access going out. If you can't, then it could be on the wrong network (wifi?), etc...

4. If it doesn't have access going outside of your network, but it can go in, then it could be a number of things:

a. DNS misconfigured either on the MiSTer or in your network somehow

b. Firewall on your router or in your network not allowing it to go out to the internet.

c. another device on your network has the same IP address for some reason, and this is taking priority over your MiSTer (DHCP server problem? or typical home setup does not have a DHCP server so could be you running out of DHCP slots on a low-IQ router :P ).
birdybro~
Post Reply