Dlink DIR-825 B1 status

Sean Bruno sean_bruno at yahoo.com
Sun Jul 21 23:52:58 UTC 2013


On Sun, 2013-07-21 at 11:32 -0700, Adrian Chadd wrote:
> Woo! Please submit a diff and I'll give you the OK to commit it.
> 
> Oh, I think ath isn't being built in the kernel, due to size
> constraints. See if I built it in the filesystem image.
> 
> 
> 
> 
> -adrian

Patches for the freebsd builder at
http://code.google.com/p/freebsd-wifi-build/

-- libkvm so bump
-- added needed modules at load time for wlan/ath
-- add a useable configuration for wlan0

Index: build/bin/build_mfsroot
===================================================================
--- build/bin/build_mfsroot	(revision 226)
+++ build/bin/build_mfsroot	(working copy)
@@ -265,7 +265,7 @@
 ${INSTALL_PROG} ${X_DESTDIR}/lib/libsbuf.so.6 ${X_STAGING_FSROOT}/lib/
 # install ${X_DESTDIR}/lib/libipx.so.5 ${X_STAGING_FSROOT}/lib/
 ${INSTALL_PROG} ${X_DESTDIR}/lib/libutil.so.9 ${X_STAGING_FSROOT}/lib/
-${INSTALL_PROG} ${X_DESTDIR}/lib/libkvm.so.5 ${X_STAGING_FSROOT}/lib/
+${INSTALL_PROG} ${X_DESTDIR}/lib/libkvm.so.6 ${X_STAGING_FSROOT}/lib/
 ${INSTALL_PROG} ${X_DESTDIR}/lib/libpcap.so.8 ${X_STAGING_FSROOT}/lib/
 ${INSTALL_PROG} ${X_DESTDIR}/lib/libcrypto.so.7
${X_STAGING_FSROOT}/lib/
 ${INSTALL_PROG} ${X_DESTDIR}/lib/libm.so.5 ${X_STAGING_FSROOT}/lib/
Index: build/files/hostap.wlan0.conf
===================================================================
--- build/files/hostap.wlan0.conf	(revision 0)
+++ build/files/hostap.wlan0.conf	(working copy)
@@ -0,0 +1,8 @@
+interface=wlan0
+driver=bsd
+ssid=TEST
+wpa=3
+wpa_key_mgmt=WPA-PSK
+wpa_passphrase=password123
+wpa_pairwise=CCMP TKIP
+ctrl_interface=/var/run/hostapd
Index: build/files/rc.conf
===================================================================
--- build/files/rc.conf	(revision 227)
+++ build/files/rc.conf	(working copy)
@@ -2,11 +2,24 @@
 system_hostname="freebsd-wifi-build"
 
 # Modules to load
-kernel_modules="bridgestp if_bridge random"
+kernel_modules="if_ath_pci bridgestp if_bridge random wlan_xauth
wlan_tkip"
 
 # These interfaces are configured in-order
-network_interfaces="arge0 bridge0"
+network_interfaces="arge0 wlan0 bridge0"
 
+netif_wlan0_enable="YES"
+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"
+
+
 # Create arge0, no interface address
 netif_arge0_enable="YES"
 netif_arge0_type="ether"
@@ -23,5 +36,5 @@
 netif_bridge0_members_stp="arge0"
 # These are bridge members w/ STP disabled
 netif_bridge0_members=""
-netif_bridge0_ipv4_address="192.168.1.20"
+netif_bridge0_ipv4_address="192.168.100.20"
 netif_bridge0_ipv4_netmask="255.255.255.0"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-embedded/attachments/20130721/74baeecd/attachment.sig>


More information about the freebsd-embedded mailing list