Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2008 12:31:31 GMT
From:      Jean-Charles Longuet <jclonguet@free.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/126392: rc.conf ifconfig_xx keywords cannot be escaped
Message-ID:  <200808091231.m79CVVAk050958@www.freebsd.org>
Resent-Message-ID: <200808091240.m79Ce1SK023471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126392
>Category:       conf
>Synopsis:       rc.conf ifconfig_xx keywords cannot be escaped
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 09 12:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Charles Longuet
>Release:        7.0-RELEASE
>Organization:
none
>Environment:
FreeBSD soekris 7.0-RELEASE FreeBSD 7.0-RELEASE #4: Sun Aug  3 16:35:00 CEST 2008     root@soekris-master:/usr/obj/usr/src/sys/NET4801  i386

>Description:
Special keywords in ifconfig_xx varaibles in /etc/rc.conf cannot be escaped. However, some of these keywords may be mandatory in ifconfig arguments, for example, in :

ifconfig_ath0="inet 192.168.101.1 netmask 255.255.255.0 ssid Winet channel 9 mode 11g mediaopt hostap media OFDM54 authmode WPA"

The "WPA" is used to mounf the interface using WPA, insead of setting the authmode.

>How-To-Repeat:

Configure an interface this way :
ifconfig_ath0="inet 192.168.101.1 netmask 255.255.255.0 ssid Winet channel 9 mode 11g mediaopt hostap media OFDM54 authmode WPA"

Other keywords like DHCP may trigger the problem as well.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808091231.m79CVVAk050958>