Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 21:45:48 +0200
From:      Gunther Mayer <kilian@redbutton.co.za>
To:        freebsd-questions@freebsd.org
Subject:   Spaces in SSID in /etc/rc.conf
Message-ID:  <4648BC6C.4020609@gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi there,

I got a low key server who is wirelessly connected to the net using an 
SSID that contains a space. In rc.conf I define the ifconfig line for 
configuration of my wireless interface upon bootup, but the entire line 
reads something like

ifconfig_ath0=' inet 192.168.0.1 ssid "my network" '

No matter how I tweak the quotes (single then double, other way round, 
with lots of \\) I never get my interface to configure properly upon 
bootup and I need to get to the console to fix it up. I thought I knew 
shell syntax but this is beyond me or manpages...

What's the right way to do this?

Gunther



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4648BC6C.4020609>