From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 19:55:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F80D10656AE for ; Thu, 11 Jun 2009 19:55:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 041FC8FC0C for ; Thu, 11 Jun 2009 19:55:16 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 39FAC7E837; Thu, 11 Jun 2009 11:55:16 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org, yuri@rawbw.com Date: Thu, 11 Jun 2009 11:55:15 -0800 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A315B15.5030000@rawbw.com> In-Reply-To: <4A315B15.5030000@rawbw.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906111155.15644.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: rc.conf when ssid has spaces in it: missing documentation or missing feature? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 19:55:20 -0000 On Thursday 11 June 2009 11:29:25 Yuri wrote: > I can't find any references in rc.conf(5) on how to set up ifconfig line > if SSID has spaces which is very typical situation. > ifconfig(8) doesn't mention this either but it works if I put quotes > around it. So escape use and escape the quotes with a backslash. You may need more then one backslash, depending on the level of evaluation in /etc/rc.subr and /etc/rc.d/netif. > I would assume spaces should be substituted for '_' like in Linux. But I > remember I wasn't able to make it work for some reason. The reason probably being that underscores are different characters from spaces and FreeBSD not making assumptions on things really being other things. -- Mel