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

Adam Vande More amvandemore at gmail.com
Sat May 7 21:59:12 UTC 2011


On Sat, May 7, 2011 at 2:52 PM, Yuri <yuri at rawbw.com> wrote:

> 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?
>

0xNUL79NULNULNUL

-- 
Adam Vande More


More information about the freebsd-questions mailing list