Date: Tue, 15 May 2007 12:14:35 +0200 From: Erik Norgaard <norgaard@locolomo.org> To: Gunther Mayer <kilian@redbutton.co.za> Cc: freebsd-questions@freebsd.org Subject: Re: Spaces in SSID in /etc/rc.conf Message-ID: <4649880B.1030705@locolomo.org> In-Reply-To: <4648BC6C.4020609@gmail.com> References: <4648BC6C.4020609@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Gunther Mayer wrote: > 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? I think the "right way" is to use wpa_supplicant.conf to define wireless networks. Then in your rc.conf you prefix the NIC configuration with WPA like this: ifconfig_ath0=="WPA DHCP" This method also allows you to define various wireless networks if needed. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org [-- Attachment #2 --] 0 *H 010 + 0 *H 0p0XET+0 *H 0110 UDK10 U TDC10UTDC OCES CA0 061115083154Z 081115090154Z0u10 UDK1)0'U Ingen organisatorisk tilknytning1;0U Erik Nrgaard0#UPID:9802-2002-2-54436976931500 *H 0 WR&5ʄ8#S^fOパBrIsPBc! >r&8hl3?\.UGB\E3Q!1MrwP*02\|\&s{b'`1&1 00U0+U$0"20061115083154Z20081115090154Z07U .0*0& *P)00/+#http://www.certifikat.dk/repository0+00 TDC0For anvendelse af certifikatet glder OCES vilkr, CPS og OCES CP, der kan hentes fra www.certifikat.dk/repository. Bemrk, at TDC efter vilkrene har et begrnset ansvar ift. professionelle parter.0A+50301+0%http://ocsp.certifikat.dk/ocsp/status0 U0norgaard@locolomo.org0U}0{0KIGE0C10 UDK10 U TDC10UTDC OCES CA10UCRL15570,*(&http://crl.oces.certifikat.dk/oces.crl0U#0`Vd~'gPKs;0U~kG'f+Q{m&0 U0 0 *H}A 0 V7.10 *H OJ'|)%Ҋi`1 ^nE jJwKӼB65VSǶw`y$L=YXʷ/\E~,PW$AB\汎͙ 7%$ N-ށ"/Ww#ғkMA6S0dD~\w*z Pq`# 69;pS6 뛨3:9s_.'³Q$S0yAƶlqfLi0p0XET+0 *H 0110 UDK10 U TDC10UTDC OCES CA0 061115083154Z 081115090154Z0u10 UDK1)0'U Ingen organisatorisk tilknytning1;0U Erik Nrgaard0#UPID:9802-2002-2-54436976931500 *H 0 WR&5ʄ8#S^fOパBrIsPBc! >r&8hl3?\.UGB\E3Q!1MrwP*02\|\&s{b'`1&1 00U0+U$0"20061115083154Z20081115090154Z07U .0*0& *P)00/+#http://www.certifikat.dk/repository0+00 TDC0For anvendelse af certifikatet glder OCES vilkr, CPS og OCES CP, der kan hentes fra www.certifikat.dk/repository. Bemrk, at TDC efter vilkrene har et begrnset ansvar ift. professionelle parter.0A+50301+0%http://ocsp.certifikat.dk/ocsp/status0 U0norgaard@locolomo.org0U}0{0KIGE0C10 UDK10 U TDC10UTDC OCES CA10UCRL15570,*(&http://crl.oces.certifikat.dk/oces.crl0U#0`Vd~'gPKs;0U~kG'f+Q{m&0 U0 0 *H}A 0 V7.10 *H OJ'|)%Ҋi`1 ^nE jJwKӼB65VSǶw`y$L=YXʷ/\E~,PW$AB\汎͙ 7%$ N-ށ"/Ww#ғkMA6S0dD~\w*z Pq`# 69;pS6 뛨3:9s_.'³Q$S0yAƶlqfLi1*0&090110 UDK10 U TDC10UTDC OCES CAET+0 + G0 *H 1 *H 0 *H 1 070515101435Z0# *H 1i{ 8Y:0H +71;090110 UDK10 U TDC10UTDC OCES CAET+0J*H 1;90110 UDK10 U TDC10UTDC OCES CAET+0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 *H ] _n;b{{BGNSOSOVc.+ᘕ8˻8#GIڳx^fcf'xoG!n9eWWyԌV>28help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4649880B.1030705>
