MiSTer Unable to Connect to Internet for Update Scripts

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
Bag of Schmidt
Posts: 4
Joined: Mon May 25, 2020 4:08 am

MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Bag of Schmidt »

About a month ago I set up my MiSTer to use MiSTerCast and it has been working great.

I went to use update_all and I get this error:

image.png
image.png (25.06 KiB) Viewed 4863 times

No clue how to fix this. DNS issue?

MrSniffles
Posts: 57
Joined: Tue May 26, 2020 11:11 am
Has thanked: 37 times
Been thanked: 15 times

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by MrSniffles »

Doesn't look like your Mister has a connection to the internet, and if it does, it doesn't look like it has got the time yet.
I usually wait until the time appears in the top right of the main menu before running the update scripts.

User avatar
Bag of Schmidt
Posts: 4
Joined: Mon May 25, 2020 4:08 am

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Bag of Schmidt »

So It's whenever i set a static IP for my MiSTer it is unable to connect to the update scripts. I guess I will just have to go back and forth if I want to use mister cast. Kind of a pain but It will do for now

Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Flandango »

Bag of Schmidt wrote: Mon Apr 08, 2024 4:53 pm

So It's whenever i set a static IP for my MiSTer it is unable to connect to the update scripts. I guess I will just have to go back and forth if I want to use mister cast. Kind of a pain but It will do for now

Out of curiousity, how did you configure the static IP address? Via dhcpd.conf? If so, did you configure it for static domain_name_servers?

User avatar
Bag of Schmidt
Posts: 4
Joined: Mon May 25, 2020 4:08 am

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Bag of Schmidt »

Flandango wrote: Mon Apr 08, 2024 5:14 pm
Bag of Schmidt wrote: Mon Apr 08, 2024 4:53 pm

So It's whenever i set a static IP for my MiSTer it is unable to connect to the update scripts. I guess I will just have to go back and forth if I want to use mister cast. Kind of a pain but It will do for now

Out of curiousity, how did you configure the static IP address? Via dhcpd.conf? If so, did you configure it for static domain_name_servers?

Yeah I edited the conf file an just added the "static ip_address=<ipaddreess>/24 at the end. Not sure if that actually configures anything for DNS

Don't be a silly Billy

Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Flandango »

Bag of Schmidt wrote: Mon Apr 08, 2024 10:02 pm

Yeah I edited the conf file an just added the "static ip_address=<ipaddreess>/24 at the end. Not sure if that actually configures anything for DNS

Add the following two lines also:

static routers=router's ip address
static domain_name_servers=x.x.x.x x.x.x.x

(First domain_name_server is usually your Router's IP, second can be a public dns server such as google's 8.8.8.8, your ISP's DNS server if you know it, or simply don't include one. There is only a blank space between IP addresses.

User avatar
Bag of Schmidt
Posts: 4
Joined: Mon May 25, 2020 4:08 am

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by Bag of Schmidt »

wow thanks!

Don't be a silly Billy

batanglambak
Posts: 1
Joined: Thu Sep 19, 2024 11:54 am

Re: MiSTer Unable to Connect to Internet for Update Scripts

Unread post by batanglambak »

I'm having the same problem with a fresh Mister install. Mister has an ip address but no date and time in menu. Whenever I run scripts internet connection failed or cannot sync date and time thru 0.pool.ntp.org appears.

Any ideas to fix this?

Post Reply