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

2011-05-07 Thread Yuri

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2011-05-07 Thread Adam Vande More
On Sat, May 7, 2011 at 2:52 PM, Yuri y...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2011-05-07 Thread Adam Vande More
On Sat, May 7, 2011 at 4:59 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Sat, May 7, 2011 at 2:52 PM, Yuri y...@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


err, 0x4879484848

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org