Spaces in SSID in /etc/rc.conf

Gunther Mayer kilian at redbutton.co.za
Mon May 14 20:16:24 UTC 2007


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


More information about the freebsd-questions mailing list