Date: Fri, 23 Sep 2011 02:19:25 GMT From: Adrian Chadd <adrian@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/160929: bsdinstall on 9.0-BETA2 incorrectly configures wpa/dhcp for wlan0 Message-ID: <201109230219.p8N2JPpn064991@red.freebsd.org> Resent-Message-ID: <201109230220.p8N2K2ej003730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160929 >Category: misc >Synopsis: bsdinstall on 9.0-BETA2 incorrectly configures wpa/dhcp for wlan0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 23 02:20:02 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Adrian Chadd >Release: 9.0-BETA2 >Organization: >Environment: FreeBSD viac3.home.cacheboy.net 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Thu Sep 22 23:06:19 WST 2011 adrian@viac3.home.cacheboy.net:/usr/obj/usr/src/sys/VIAC3 i386 >Description: When bsdinstall installed my system, it asked for wifi details. It correctly configured and associated to my wifi during install, but it didn't do so after a reboot. /etc/rc.conf contained: === wlans_ath0="wlan0" ifconfig_wlan0="WPADHCP" === I believe that should be "WPA DHCP" rather than "WPADHCP". The install NIC was a D-Link DWA-552 later edition PCI 802.11ng NIC (AR9223.) >How-To-Repeat: * Boot 9.0-BETA2 off of USB stick * Install to disk * Post-configure wifi * Reboot >Fix: >From IRC: 07:19 <@battlez> --- usr.sbin/bsdinstall/scripts/netconfig_ipv4 (revision 225733) 07:19 <@battlez> +++ usr.sbin/bsdinstall/scripts/netconfig_ipv4 (working copy) 07:19 <@battlez> @@ -45,7 +45,7 @@ esac 07:19 <@battlez> 07:19 <@battlez> dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' --yesno 'Would you like to use DHCP to configure this interface?' 0 0 07:19 <@battlez> if [ $? -eq $DIALOG_OK ]; then 07:19 <@battlez> - echo ifconfig_$INTERFACE=\"${IFCONFIG_PREFIX}DHCP\" >> $BSDINSTALL_TMPETC/._rc.conf.net 07:19 <@battlez> + echo ifconfig_$INTERFACE=\"${IFCONFIG_PREFIX} DHCP\" >> $BSDINSTALL_TMPETC/._rc.conf.net 07:20 <@battlez> 07:20 <@battlez> if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then 07:20 <@battlez> dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109230219.p8N2JPpn064991>