Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4494

Networking and servers • Cannot resolve Internet Addresses

$
0
0
Hi,

i downloaded the latest Raspi OS (headless) and installed it on the M.2 MNME SSD attached to my Raspi 5.

I am able to SSH into my Raspi 5. ping to my router will be successful.

However, sudo apt update always fails, because the Raspi cannot resolve the internet address e.g. deb.debian.org.

I configured a static IP Adress in /etc/network/interfaces:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug end0

iface end0 inet static
address 192.168.XXX.YY
netmask 255.255.255.0
broadcast 192.168.XXX.255
gateway 192.168.XXX.1
nameserver 192.168.XXX.1


What happened and how i am able to resolve the situation. Many thanks in advance for your kind help to resolve this unpleasant issue.

regards, hitam

Statistics: Posted by Hitam — Sun Oct 06, 2024 3:20 pm — Replies 16 — Views 170



Viewing all articles
Browse latest Browse all 4494

Trending Articles