How to specify ssid to ifconfig if it begins with '0x'?

Yuri yuri at rawbw.com
Sat May 7 20:21:06 UTC 2011


ifconfig(8) says:
The SSID is a string up to 32 characters in length and may be specified 
as either a normal string or in hexadecimal when preceded by ‘0x’.

But what if ssid actually begins with ASCII 0x?
'ifconfig wlan0 list scan' shows that my ssid is 0x000. Specifying "ssid 
\\0x000" doesn't help. How to specify SSID beginning with 0x?

Yuri


More information about the freebsd-questions mailing list