Date: Sun, 21 Jul 2013 15:49:51 -0700 From: Sean Bruno <sean_bruno@yahoo.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-embedded@freebsd.org Subject: Re: Dlink DIR-825 B1 status Message-ID: <1374446991.1402.41.camel@localhost> In-Reply-To: <CAJ-Vmon49=d4iGB%2BJNRNRXVhxasGSqQcDvXeXbG2=AvbVwaVRA@mail.gmail.com> References: <1374340359.1421.3.camel@localhost> <CAJ-VmondZPFnKa-Ko=X1g4Dmd9nZLDhFm7Xis8wy__fwF2zQUg@mail.gmail.com> <1374422850.1402.8.camel@localhost> <CAJ-Vmon49=d4iGB%2BJNRNRXVhxasGSqQcDvXeXbG2=AvbVwaVRA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-z5wIZpcw94K0aPKZvEFU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. >=20 > Oh, I think ath isn't being built in the kernel, due to size > constraints. See if I built it in the filesystem image. >=20 >=20 >=20 >=20 > -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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- build/files/hostap.wlan0.conf (revision 0) +++ build/files/hostap.wlan0.conf (working copy) @@ -0,0 +1,8 @@ +interface=3Dwlan0 +driver=3Dbsd +ssid=3DTEST +wpa=3D3 +wpa_key_mgmt=3DWPA-PSK +wpa_passphrase=3Dpassword123 +wpa_pairwise=3DCCMP TKIP +ctrl_interface=3D/var/run/hostapd Index: build/files/rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- build/files/rc.conf (revision 227) +++ build/files/rc.conf (working copy) @@ -2,11 +2,24 @@ system_hostname=3D"freebsd-wifi-build" =20 # Modules to load -kernel_modules=3D"bridgestp if_bridge random" +kernel_modules=3D"if_ath_pci bridgestp if_bridge random wlan_xauth wlan_tkip" =20 # These interfaces are configured in-order -network_interfaces=3D"arge0 bridge0" +network_interfaces=3D"arge0 wlan0 bridge0" =20 +netif_wlan0_enable=3D"YES" +netif_wlan0_type=3D"wifi" +netif_wlan0_wifi_mode=3D"hostap" +netif_wlan0_descr=3D"default" +netif_wlan0_addrtype=3D"none" +netif_wlan0_name=3D"wlan0" +netif_wlan0_wifi_parent=3D"ath0" +netif_wlan0_wifi_createargs1=3D"country US regdomain FCC3" +netif_wlan0_wifi_createargs2=3D"channel 36:ht/40 up" +netif_wlan0_wifi_hostapd_enable=3D"yes" +netif_wlan0_wifi_hostapd_conf=3D"/etc/cfg/hostapd.wlan0.conf" + + # Create arge0, no interface address netif_arge0_enable=3D"YES" netif_arge0_type=3D"ether" @@ -23,5 +36,5 @@ netif_bridge0_members_stp=3D"arge0" # These are bridge members w/ STP disabled netif_bridge0_members=3D"" -netif_bridge0_ipv4_address=3D"192.168.1.20" +netif_bridge0_ipv4_address=3D"192.168.100.20" netif_bridge0_ipv4_netmask=3D"255.255.255.0" --=-z5wIZpcw94K0aPKZvEFU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJR7GWPAAoJEBkJRdwI6BaHPMEH/2c+t4oyMhBpkpOsexrdBZ4C kY+WDvvH2UERpukluWZsph0WWttHOlCnKvD+jOuflrPzdE2Fvsd26doMWsfi1VvV TQn09vYYcmN61UhmnlZV6beB0W+EvSBkxj497EkM5USRYZCmMxwV9fEWgbiqn/fO 5vIIjVzSTowBrN71QkJxMJYmIT4WTx7VnZ+fBSbJj9c+p7Yyhkom8BP5YZ/Xx4+6 o1JbUW4SnpQBGsLGyMlJNNc4gHQ8lt/Ye0UYLHAfW7Hpzs/nHqHfYAUMqk8XIDr8 GVS5dnhwA0SlPyuo7wpVNJig1AgAHCqgQnbZOB0XTB04BT81sffWZRPuc5B9cZo= =ZorQ -----END PGP SIGNATURE----- --=-z5wIZpcw94K0aPKZvEFU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1374446991.1402.41.camel>