From owner-freebsd-questions@FreeBSD.ORG Tue May 15 02:26:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A812A16A400 for ; Tue, 15 May 2007 02:26:39 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0532E13C447 for ; Tue, 15 May 2007 02:26:38 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from svmarshal2.bytecraft.internal (svmarshal2.bytecraft.internal [10.0.0.3]) by bcmelmx.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id l4F2FJFN061818; Tue, 15 May 2007 12:15:19 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal2.bytecraft.internal with MailMarshal (v6, 1, 4, 441) id ; Tue, 15 May 2007 12:15:19 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 15 May 2007 12:15:18 +1000 Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F12DF4B1@svmailmel.bytecraft.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Spaces in SSID in /etc/rc.conf Thread-Index: AceWZPSiJeKGxjkUTsKCh6R2xMVi6QAMUYTg From: "Murray Taylor" To: "Gunther Mayer" , Cc: Subject: RE: Spaces in SSID in /etc/rc.conf 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: Tue, 15 May 2007 02:26:39 -0000 =20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of=20 > Gunther Mayer > Sent: Tuesday, 15 May 2007 5:46 AM > To: freebsd-questions@freebsd.org > Subject: Spaces in SSID in /etc/rc.conf >=20 > Hi there, >=20 > I got a low key server who is wirelessly connected to the net=20 > using an=20 > SSID that contains a space. In rc.conf I define the ifconfig line for=20 > configuration of my wireless interface upon bootup, but the=20 > entire line=20 > reads something like >=20 > ifconfig_ath0=3D' inet 192.168.0.1 ssid "my network" ' >=20 > No matter how I tweak the quotes (single then double, other=20 > way round,=20 > with lots of \\) I never get my interface to configure properly upon=20 > bootup and I need to get to the console to fix it up. I=20 > thought I knew=20 > shell syntax but this is beyond me or manpages... >=20 > What's the right way to do this? >=20 > Gunther Have you tried this (I havent, its just a suggestion)... I use this construct to get around scp transfers and the file names windoze users love to create with heaps of spaces... ifconfig_ath0=3D' inet 192.168.0.1 ssid "my\ network" ' If there are multiple spaces then you need to slash each one, i.e. > ifconfig_ath0=3D' inet 192.168.0.1 ssid "my\ \ network" ' Give it a shot ;-) mjt --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ### This e-mail message has been scanned for Viruses by Bytecraft ###