From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 4 22:38:49 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DDA8BB6 for ; Wed, 4 Sep 2013 22:38:49 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id A0B822BA6 for ; Wed, 4 Sep 2013 22:38:49 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id A2A071CC59; Wed, 4 Sep 2013 19:38:39 -0300 (BRT) Received: from 187.61.251.141 (SquirrelMail authenticated user matheus) by arroway.org with HTTP; Wed, 4 Sep 2013 19:38:39 -0300 Message-ID: In-Reply-To: <1378333250.36705.0.camel@localhost> References: <1378316083.1706.0.camel@localhost> <9165aa958e7dc206da3515146181c14b.squirrel@arroway.org> <1378325846.1706.2.camel@localhost> <1378333250.36705.0.camel@localhost> Date: Wed, 4 Sep 2013 19:38:39 -0300 Subject: Re: Dlink DIR-825 B1 trial From: "Nenhum_de_Nos" Cc: "freebsd-embedded@freebsd.org" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 22:38:49 -0000 On Wed, September 4, 2013 19:20, Sean Bruno wrote: > On Wed, 2013-09-04 at 15:07 -0700, Adrian Chadd wrote: >> ... there's a warning about nmbclusters zone starvation. Would someone >> please chase up the autotuning stuff? It seems it's been broken on >> platforms with very minimal RAM (like this.) >> .. you didn't load wlan_ccmp >> >> >> >> >> -adrian >> > It doesn't seem like its broken for my box, but I am indeed loading > wlan_ccmp ... > > sean hail, as for me, I have ccmp: # kldstat Id Refs Address Size Name 1 24 0x80050000 498da0 kernel 2 2 0xc0101000 4da4 bridgestp.ko 3 1 0xc0106000 7730 if_bridge.ko 4 1 0xc010e000 a7e0 random.ko 5 6 0xc0119000 626ac wlan.ko 6 2 0xc017c000 120c3c if_ath.ko 7 1 0xc029d000 1078 if_ath_pci.ko 8 1 0xc029f000 2a94 wlan_tkip.ko 9 1 0xc02a2000 56f0 wlan_ccmp.ko 10 1 0xc02a8000 3ac wlan_xauth.ko and this is the config that makes it freeze: # cat rc.conf # Set the default system hostname system_hostname="freebsd-wifi-build" # Modules to load kernel_modules="bridgestp if_bridge random wlan if_ath if_ath_pci wlan_tkip wlan_ccmp wlan_xauth" # These interfaces are configured in-order network_interfaces="arge0 wlan0 wlan1 bridge0" # Create arge0, no interface address netif_arge0_enable="YES" netif_arge0_type="ether" netif_arge0_addrtype="none" netif_arge0_descr="default" netif_arge0_name="arge0" netif_wlan0_enable="NO" netif_wlan0_type="wifi" netif_wlan0_wifi_mode="hostap" netif_wlan0_descr="default" netif_wlan0_addrtype="none" netif_wlan0_name="wlan0" netif_wlan0_wifi_parent="ath0" netif_wlan0_wifi_createargs1="country US regdomain FCC3" #netif_wlan0_wifi_createargs2="channel 36:ht/40 up" netif_wlan0_wifi_hostapd_enable="yes" #netif_wlan0_wifi_hostapd_conf="/etc/cfg/hostapd.wlan0.conf" netif_wlan1_enable="YES" netif_wlan1_type="wifi" netif_wlan1_wifi_mode="hostap" netif_wlan1_descr="default" netif_wlan1_addrtype="none" netif_wlan1_name="wlan1" netif_wlan1_wifi_parent="ath1" netif_wlan1_wifi_createargs1="country US regdomain FCC3" netif_wlan1_wifi_createargs2="channel 6:g up" netif_wlan1_wifi_createargs3="txpower 5" netif_wlan1_wifi_hostapd_enable="yes" #netif_wlan1_wifi_hostapd_conf="/etc/cfg/hostapd.wlan1.conf" # Create a bridge, flip on an IPv4 static address netif_bridge0_type="bridge" netif_bridge0_addrtype="static" netif_bridge0_descr="default" netif_bridge0_name="bridge0" # These are bridge members w/ STP enabled netif_bridge0_members_stp="arge0" # These are bridge members w/ STP disabled netif_bridge0_members="wlan0 wlan1" netif_bridge0_ipv4_address="10.1.1.83" netif_bridge0_ipv4_netmask="255.255.255.0" defaultrouter="10.1.1.81" the conf lines are commented to not get the panic. # cat hostapd.wlan0.conf interface=wlan0 driver=bsd ssid=WLAN-TT_ wpa=3 wpa_key_mgmt=WPA-PSK wpa_passphrase=password wpa_pairwise=CCMP TKIP ctrl_interface=/var/run/hostapd # cat hostapd.wlan1.conf interface=wlan1 driver=bsd ssid=WLAN-T_ wpa=3 wpa_key_mgmt=WPA-PSK wpa_passphrase=password wpa_pairwise=CCMP ctrl_interface=/var/run/hostapd as I saw in ifconfig, I have two ath devices and thought that was the way to make them work. I got the 2.4GHz interface with wrong ssid by the way. Sean, your config uses just one ath. this way you can use both 2.4 and 5GHz radios ? thanks, matheus >> >> >> >> On 4 September 2013 13:17, Sean Bruno wrote: >> On Wed, 2013-09-04 at 17:02 -0300, Nenhum_de_Nos wrote: >> > On Wed, September 4, 2013 14:34, Sean Bruno wrote: >> > > On Tue, 2013-09-03 at 20:36 -0300, Nenhum_de_Nos wrote: >> > >> hail, >> > >> >> > >> just splitting that thread. I git it to work, and when >> ath was on, that got on my screen. >> > >> >> > >> is this known ? >> > >> >> > >> att, >> > >> >> > >> matheus >> > >> >> > > No, I don't see this on mine. Let me fire up it up and >> see what I get. >> > > >> > > sean >> > >> > for that to happen, I must use the hostapd config you sent >> the link (wiki, examples) turned on. >> > without, no issue at all. >> > >> > thanks, >> > >> > matheus >> >> >> >> i'm using the following hostap.wlan0.conf and rc.conf. Once I >> configured my router, I did a cfg_save to make sure they don't >> get >> overwritten. >> >> Sean >> >> >> >> > > -- We will call you Cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style