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.
5 Comments
WIPocket@lemmy.world · 22 pts · 164d
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.
frongt@lemmy.zip · 9 pts · 164d
You should file a bug on the broken stuff.
kittenz@lemmy.blahaj.zone · 1 pts · 144d
New reason not to use systemd just dropped
snoons@lemmy.ca · 16 pts · 164d
Thanks for sharing Rainbow Shit. Might do that sometime haha.
daychilde@lemmy.world · 9 pts · 164d
Cursed in a most delightful way. lol