Hi Caramell,caramell wrote:Hi everybody,
Sleurhutje said in April 2012, and as I am recently using networks tools I'm not really sure of knowing what a "printable character" means.When you receive a valid IP-address you can PING your interface using both IP-address and host name. E.g. is your MAC address is like 0x01,0x3a,0xf8,0xb1,0x41,0x30 the host name would be like "WIZ▒A0". That's not a valid host name! It might cause problems on networks. So the easiest way is to use what they call printable characters.
Could you please precise what you meant or what you think it meant in this case. Is it only concerning letters and punctuation?
In this case printable characters means "ASCII" printable characters, which is any letters, punctuation and some "standard" symbols like the ones you can type on a US English keyboard.
There's a full list on the Wikipedia page for ASCII here: https://en.wikipedia.org/wiki/ASCII#ASC ... characters
If you look at the table, you'll see each "glyph" (aka character) in the ASCII printable character set corresponds with a number between 32 (hexadecimal 0x20) and 126 (hexadecimal 0x7E). Sleurhutje's post is showing that if you use the MAC address (a sequence of numbers) to generate the host name by using each number as a character in the name, it's possible some of them will be from outside the printable range, so you get something unexpected (and maybe unusable) as the host name.