Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 19:08:36 -0300
From:      Nenhum_de_Nos <matheus@eternamente.info>
To:        freebsd-mips@freebsd.org
Subject:   Re: Updates to freebsd-wifi-build
Message-ID:  <20150604190836.faa7547dddf44f410dd47712@eternamente.info>
In-Reply-To: <CAJ-Vmok4APQhnDMGB_geKXh4N-ZxvemcVsuOnx_s5A34gqGH%2BA@mail.gmail.com>
References:  <CAJ-Vmok4APQhnDMGB_geKXh4N-ZxvemcVsuOnx_s5A34gqGH%2BA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 May 2015 21:02:19 -0700
Adrian Chadd <adrian@freebsd.org> wrote:

> Hi!
> 
> I've churned out some changes to freebsd-wifi-build.
> 
> The supported list is here:
> 
> https://github.com/freebsd/freebsd-wifi-build/wiki/Supported-Boards
> 
> (I'd like to add more hardware to the list, so just let me know if you
> have a favourite router.)
> 
> The top level build instructions are here:
> 
> https://github.com/freebsd/freebsd-wifi-build/wiki
> 
> * it now checks for required packages before running
> * it installs into ../tftpboot/ instead of requiring the user to
> create /tftpboot/. I still have /tftpboot/ and I just 'cp -fv
> ../tftpboot/* /tftpboot/ after a build so I can use TFTP.
> * There's basic templating support now for rc.conf - because some
> boards (eg carambola2) don't have arge0 hooked up to anything useful.
> So to make the default build work, now the carambola2 uses arge1.
> * there's now VLAN and etherswitch support in the configuration file format.
> 
> https://github.com/freebsd/freebsd-wifi-build/wiki/Config-Overview
> 
> I have it up and running on my carambola 2 with the internal switch
> configuration. It's running with two VLANs, one on each ethernet
> switch port, coming back to arge1 and arge1.2 (VLAN 2.)
> 
> I'm now going to throw it on the rest of my test hardware and tidy up
> whatever issues arise.
> 
> It also was a good test experience - I finally have wraped my head
> around what Stefan and others did with etherswitch and the various
> different things that each switch type supports. Hopefully this leads
> to me writing some more documentation.
> 
> I'd appreciate any and all testing that people may do with this stuff.
> All of my home APs are FreeBSD and have been for a couple of years.
> 
> Next up - adding configuration language to configure ipfw and routing.
> 
> 
> 
> -adrian

Hi Adrian,

I got the DIR-825B1 working (was running two years old FreeBSD 10-Current) now and it boots ok. It is really much easier to build it, and the image for 1043ND is fine now, back then only too big images were made. Double thanks and congrats.

Now I have a doubt. Am I able to make a firewall for DSL/Cable from it ?

I see pfctl and the pf module are not there. I know the storage and memory spaces are limited. So I ask, is it possible ?

Is the 1043ND v1 any more capable ? I can switch and use it instead.

thanks again,

matheus

# pfctl
-sh: pfctl: not found
# kldstst
-sh: kldstst: not found
# kldstat
Id Refs Address    Size     Name
 1   21 0x80050000 3e04b0   kernel
 2    2 0xc0101000 4db4     bridgestp.ko
 3    1 0xc0106000 7760     if_bridge.ko
 4    6 0xc010e000 64054    wlan.ko
 5    2 0xc0173000 126fb4   if_ath.ko
 6    1 0xc029a000 1f38     if_ath_pci.ko
 7    1 0xc029c000 2a94     wlan_tkip.ko
 8    1 0xc029f000 56f0     wlan_ccmp.ko
 9    1 0xc02a5000 3ac      wlan_xauth.ko
# kldload pf
kldload: can't load pf: No such file or directory
# ls /dev
bpf             devctl2         kmem            pci             ufssuspend
bpf0            devstat         map             random          urandom
console         fd              md0             stderr          xpt0
ctty            fido            md1             stdin           zero
cuau0           flash           md2             stdout
cuau0.init      full            mdctl           ttyu0
cuau0.lock      geom.ctl        mem             ttyu0.init
devctl          klog            null            ttyu0.lock
# ls /boot
kernel
# ls /boot/kernel/
ar71xx_ehci.ko          if_bridge.ko            wlan_acl.ko
ar71xx_ohci.ko          if_gif.ko               wlan_amrr.ko
bridgestp.ko            if_gre.ko               wlan_ccmp.ko
ehci.ko                 ohci.ko                 wlan_rssadapt.ko
gpiobus.ko              random.ko               wlan_tkip.ko
gpioiic.ko              uhci.ko                 wlan_wep.ko
gpioled.ko              umass.ko                wlan_xauth.ko
if_ath.ko               usb.ko
if_ath_pci.ko           wlan.ko
# uname -a
FreeBSD freebsd-wifi-build 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283896: Thu Jun  4 17:55:32 BRT 2015     root@xxx:xxx/head/sys/DIR-825B1  mips


-- 
Nenhum_de_Nos <matheus@eternamente.info>



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