F5F Stay Refreshed Power Users Networks Raspberry Pi assigns its network name through DHCP or manual configuration during setup.

Raspberry Pi assigns its network name through DHCP or manual configuration during setup.

Raspberry Pi assigns its network name through DHCP or manual configuration during setup.

0
0ZeroGaming0
Member
152
12-02-2016, 03:31 AM
#1
Observing the behavior shows the hostname is exposed during imager setup. This happens because the imager configs the network settings so external devices can reach it. To achieve similar access in a standard Linux system, you’d need to adjust firewall rules and possibly use a service like iptables or ufw to allow traffic on the relevant ports while keeping the hostname hidden from default browsing.
0
0ZeroGaming0
12-02-2016, 03:31 AM #1

Observing the behavior shows the hostname is exposed during imager setup. This happens because the imager configs the network settings so external devices can reach it. To achieve similar access in a standard Linux system, you’d need to adjust firewall rules and possibly use a service like iptables or ufw to allow traffic on the relevant ports while keeping the hostname hidden from default browsing.

M
Miyuumi
Senior Member
543
12-03-2016, 06:49 PM
#2
M
Miyuumi
12-03-2016, 06:49 PM #2

G
gavin0099
Member
179
12-04-2016, 02:09 AM
#3
It's fascinating how straightforward it is. Appreciate the feedback!
G
gavin0099
12-04-2016, 02:09 AM #3

It's fascinating how straightforward it is. Appreciate the feedback!

E
Ernst_sel
Member
246
12-04-2016, 03:18 AM
#4
More precisely, when the device initiates a DHCP request it transmits both the MAC address and the hostname. At that point the router selects this information and adds it to its own DNS table. I usually configure these settings statically on the router, since dynamic allocation might force a restart of the DNS server each time a DHCP request occurs, causing temporary DNS disruptions across the entire LAN.
E
Ernst_sel
12-04-2016, 03:18 AM #4

More precisely, when the device initiates a DHCP request it transmits both the MAC address and the hostname. At that point the router selects this information and adds it to its own DNS table. I usually configure these settings statically on the router, since dynamic allocation might force a restart of the DNS server each time a DHCP request occurs, causing temporary DNS disruptions across the entire LAN.

H
hom3star
Junior Member
45
12-04-2016, 04:21 AM
#5
In my configuration, I use fixed DHCP/DNS settings for all stationary devices—meaning not laptops or phones. This works well for headless systems like servers or Raspberry Pi units in the room corner that act as IoT nodes, giving a consistent IP when troubleshooting remotely. It’s typically needed when you need port forwarding to expose services from outside.
H
hom3star
12-04-2016, 04:21 AM #5

In my configuration, I use fixed DHCP/DNS settings for all stationary devices—meaning not laptops or phones. This works well for headless systems like servers or Raspberry Pi units in the room corner that act as IoT nodes, giving a consistent IP when troubleshooting remotely. It’s typically needed when you need port forwarding to expose services from outside.