From owner-freebsd-stable@FreeBSD.ORG Fri Sep 2 20:55:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46C76106564A for ; Fri, 2 Sep 2011 20:55:42 +0000 (UTC) (envelope-from mailinglistmember@mgwigglesworth.net) Received: from mail.mgwigglesworth.net (mail.mgwigglesworth.net [75.146.26.81]) by mx1.freebsd.org (Postfix) with ESMTP id E78188FC0C for ; Fri, 2 Sep 2011 20:55:41 +0000 (UTC) To: freebsd-stable@freebsd.org Date: Fri, 02 Sep 2011 16:44:36 -0400 Envelope-To: freebsd-stable@freebsd.org Message-ID: <4E614034.6070300@mgwigglesworth.net> From: "Martes G Wigglesworth" Received: from devsecure.mgwigglesworth.net (192.168.5.21 [192.168.5.21]) by mail.mgwigglesworth.net; Fri, 02 Sep 2011 16:45:48 -0400 Organization: M. G. Wigglesworth Holdings, LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14 Lightning/1.0b2 Thunderbird/3.1.12 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: wlan0 rc.conf setup does not assign static ip on 8.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mailinglistmember@mgwigglesworth.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 20:55:42 -0000 The system has been giving me some issues with the ifconfig commands after an unstable world upgrade from 8.1-PRERELEASE. However, after re-installing the kernel all commands result in the appropriate functionality, except for wlan0 devices being assigned their static ip address from the rc.conf script. The device becomes active, and registers as an access point, when using hostap mode, having the desired ssid, however, no IP address is ever issues during the rc.conf setup process. Example: (with hostapd activated on boot) wlan0: flags=8843 metric 0 mtu 1500 ether 00:1b:2f:37:02:46 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid wireless2 channel 1 (2412 MHz 11g) bssid 00:1b:2f:37:02:46 country US ecm authmode WPA privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 23 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs (without hostapd activated on boot) wlan0: flags=8843 metric 0 mtu 1500 ether 00:1b:2f:37:02:46 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid wrouter0 channel 1 (2412 MHz 11g) bssid 00:1b:2f:37:02:46 country US ecm authmode OPEN privacy OFF txpower 23 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs rc.conf section for this device is as follows: wlans_ath0="wlan0" create_args_wlan0="wlanmode hostap" ifconfig_wlan0="inet 192.168.200.1 netmask 255.255.0.0 ssid "wrouter0" mode 54g channel 1" However, all works perfectly, if I simply assign the intended ip address to the wlan0 device. Any input on this? -- Respectfully, Martes G Wigglesworth M. G. Wigglesworth Holdings, LLC www.mgwigglesworth.net