misc/160929: bsdinstall on 9.0-BETA2 incorrectly configures
wpa/dhcp for wlan0
Adrian Chadd
adrian at FreeBSD.org
Fri Sep 23 02:20:03 UTC 2011
>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 at 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:
More information about the freebsd-bugs
mailing list