From nobody@FreeBSD.org  Sat Aug  6 20:21:36 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C304B106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2011 20:21:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 99A248FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2011 20:21:36 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p76KLa95097013
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Aug 2011 20:21:36 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p76KLap8097012;
	Sat, 6 Aug 2011 20:21:36 GMT
	(envelope-from nobody)
Message-Id: <201108062021.p76KLap8097012@red.freebsd.org>
Date: Sat, 6 Aug 2011 20:21:36 GMT
From: Gavin Chappell <gavin.chappell@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installer doesn't configure WPA2-PSK network correctly
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159558
>Category:       bin
>Synopsis:       bsdinstall(8): Installer doesn't configure WPA2-PSK network correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 20:30:09 UTC 2011
>Closed-Date:    Sat Sep 17 07:46:37 UTC 2011
>Last-Modified:  Sat Sep 17 07:46:37 UTC 2011
>Originator:     Gavin Chappell
>Release:        9.0-BETA1
>Organization:
n/a
>Environment:
>Description:
I just ran through the 9 BETA installer, and found that when I tried to configure my WPA2-PSK network as part of the installer, I ended up with rc.conf reading

ifconfig_wlan0="WPADHCP"

which obviously means that it doesn't bring up the network correctly
>How-To-Repeat:
Run through the 9.0-BETA1 installer and try to configure a WPA-PSK network for IPv4 DHCP
>Fix:


>Release-Note:
>Audit-Trail:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/159558: commit references a PR
Date: Fri, 16 Sep 2011 09:37:27 +0000 (UTC)

 Author: nwhitehorn
 Date: Fri Sep 16 09:37:13 2011
 New Revision: 225612
 URL: http://svn.freebsd.org/changeset/base/225612
 
 Log:
   Fix WPA setup broken by changes to shell argument passing inside the
   installer network configuration.
   
   PR:		bin/159558
   Approved by:	re (kib)
 
 Modified:
   head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
 
 Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
 ==============================================================================
 --- head/usr.sbin/bsdinstall/scripts/netconfig_ipv4	Fri Sep 16 09:15:34 2011	(r225611)
 +++ head/usr.sbin/bsdinstall/scripts/netconfig_ipv4	Fri Sep 16 09:37:13 2011	(r225612)
 @@ -35,6 +35,7 @@
  
  INTERFACE=$1
  IFCONFIG_PREFIX="$2"
 +test -z "$IFCONFIG_PREFIX" || IFCONFIG_PREFIX="$2 "
  case "${INTERFACE}" in
  "")	dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
  	    --msgbox 'No interface specified for IPv4 configuration.' 0 0
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: nwhitehorn 
State-Changed-When: Sat Sep 17 07:45:39 UTC 2011 
State-Changed-Why:  
Fixed in r225612. Thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159558 
>Unformatted:
