Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 19:38:39 -0300
From:      "Nenhum_de_Nos" <matheus@eternamente.info>
Cc:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: Dlink DIR-825 B1 trial
Message-ID:  <a1d93081057bcdaf0f8a0747cedabbce.squirrel@arroway.org>
In-Reply-To: <1378333250.36705.0.camel@localhost>
References:  <b9e5a389e69c587c54ac71e70ae47cfd.squirrel@arroway.org> <1378316083.1706.0.camel@localhost> <9165aa958e7dc206da3515146181c14b.squirrel@arroway.org> <1378325846.1706.2.camel@localhost> <CAJ-VmoncDAKpTQcDJa6GvV4we%2BJmZnSQgE4Kwkk1egvvutCyqQ@mail.gmail.com> <1378333250.36705.0.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <sean_bruno@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a1d93081057bcdaf0f8a0747cedabbce.squirrel>