Because I express my creativity through shitcode, I named my development hardware appropriately.

It’s actially xn--og8h8z because /etc/hostname is allowed to contain only ASCII Latin characters, numbers, and dash, but converting emojis to Punycode using command idn 🌈💩 does the job.

I can log into my Raspberry using command ssh user@🌈💩 however Bash login shell still shows untranslated Punycode hostname instead of rainbow poop symbols, so the support is not yet fully there, and avahi-resolve-address shows hex codes of UTF-8 emojis.

I’m using Debian 13 btw.

  • WIPocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    5 days ago

    because /etc/hostname is allowed to contain only ASCII Latin characters, numbers, and dash

    If you really wanna go for cursed, the syscall to change hostname doesnt have this restriction, and I do have a working system with non-ascii characters in the hostname. It takes some fighting with systemd and NetworkManager, and stuff does sometimes break, but it can be done.