conf/126392: rc.conf ifconfig_xx keywords cannot be escaped

Jean-Charles Longuet jclonguet at free.fr
Sat Aug 9 12:40:07 UTC 2008


>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 at 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:


More information about the freebsd-bugs mailing list