From nobody@FreeBSD.org  Mon Jun 18 13:56:24 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 605E01065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2012 13:56:24 +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 315438FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2012 13:56:24 +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 q5IDuNPG015775
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2012 13:56:23 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5IDuNJh015734;
	Mon, 18 Jun 2012 13:56:23 GMT
	(envelope-from nobody)
Message-Id: <201206181356.q5IDuNJh015734@red.freebsd.org>
Date: Mon, 18 Jun 2012 13:56:23 GMT
From: Don Allen <donaldcallen@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot set up static ip addresses for wireless with wpa encryption
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169199
>Category:       kern
>Synopsis:       [ath] Cannot set up static ip addresses for wireless with wpa encryption
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 18 14:00:22 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Jun 25 08:40:01 UTC 2012
>Originator:     Don Allen
>Release:        9.0
>Organization:
>Environment:
FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
During installation of 9.0 on a Thinkpad G41 with an Atheros-based pcmcia
wireless card, I ran into trouble trying to set up wireless networking. I
have multiple machines behind a NAT router and I want static IP addresses
that I can stick in /etc/hosts so, for example, I can ssh from one to the
other, rsync my home directory, etc. The installer found my base station
just fine, accepted the wpa pass key and then asked if I wanted to do IPV4
setup. Yes. DHCP or static? Static, please. I then entered the IP address,
netmask, and gateway address and clicked 'ok'. I immediately ended up back
at the page that gives you a choice of network interfaces to configure. It
did not proceed, as the Handbook suggests and as one would expect, to
collect addresses of DNS servers and ask if I wanted to do IPV6 configuration.
I have done this multiple times to no avail. The information I entered was
correct. And if it was not, I would expect an error message, which I did
not get. If I just click 'cancel ' when it mysteriously loops back, I can
proceed with the rest of the install, but none of the static IP setup info
makes it into /etc/rc.conf or anywhere else.

My wireless base station does allow you to configure its DHCP server to
assign IP addresses based on MAC address, so the address assigned to a
particular machine is predictable. I prefer using static IP addresses
because it avoids the handshake time with the DHCP server every time you
boot. But in this case, I was unable to get static IP address assignment
working, so I resorted to DHCP, which did work.

I do not know if this problem is wireless-specific or wpa-specific; I can
only speak about my own specific case.

I will not be able to do anything further with this machine on this problem,
as I abandoned the install of FreeBSD -- just too many problems during
installation.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jun 25 08:20:52 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169199 

From: Adrian Chadd <adrian@freebsd.org>
To: bug-followup@FreeBSD.org, donaldcallen@gmail.com
Cc:  
Subject: Re: kern/169199: [ath] Cannot set up static ip addresses for wireless
 with wpa encryption
Date: Mon, 25 Jun 2012 01:37:39 -0700

 Hi,
 
 This sounds like an installer problem. Have you created PRs for all
 the other installer issues that you were seeing?
 
 I use static and DHCP IPs on a variety of atheros NICs on -8, -9 and
 -10. I've had no problems.
 
 If you don't mind, I'll file this over to whoever looks after the
 installer PRs for them to look at. it may have been fixed after
 9.0-RELEASE was made and thus a 9-STABLE snapshot would work better.
 
 Thanks,
 
 
 Adrian
>Unformatted:
