I need an explanation for Konsole

So in the past when i opened the terminal i would see username@pcname. Now it changes. Sometimes i see user@WiFiRepeaterModel and currently user@4. Just the number 4. Can anyone explain to me what that means?

Do you have ‘Send hostname’ disabled in you connection manager perhaps?. In NetworkManager connection editor, check the ‘Advanced’ IPv4 settings. If using wicked, there is ‘Set Hostname via DHCP’ in YaST > System > Network Settings.

I checked, it was enabled but had no hostname so i put in what i call my laptop. That being said i am more curious about the way this works, how did my system end up with the number 4 for example but i understand that this might not be the thread to get a lesson on that

It depends on the network environment (DHCP server) you’re connecting to. DHCP option 12 (re hostnames) and option 15 (re domain names) may be relevant here…
http://wiki.snom.com/Networking/DHCP/Options

DHCP option 12: host name of the client, very useful for IoT and any device without user
DHCP option 15: specifies the domain name that client should use as suffix when resolving hostnames via the Domain Name System