From owner-freebsd-mips@FreeBSD.ORG Fri Jun 5 00:40:44 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CBEB4BD8 for ; Fri, 5 Jun 2015 00:40:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95FB7197E for ; Fri, 5 Jun 2015 00:40:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igblz2 with SMTP id lz2so3847724igb.1 for ; Thu, 04 Jun 2015 17:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nU+xcIBUiQjUVi+WUuRbKqp0E6pgUWx7NeYHKEIi6BI=; b=F9NWUfEokqzKlpb1k2BYlQmumepMz7vssSd0FiOn7o6qFMoq+vtB4yiq3BCdme0mXb 7FI2XvfU4QZv89oXFuPU69WxUXAOlDMS5PLbyxgrsSNDLwExbpB3sla44sZJqklsBy7C SVRn+jMVD5XKzCCrtFdj8+xy8MpzNhnzhZvB1Zvak3bsOvCtOc7Eck04ODfScTbXxk7v eXiZO/6Ww1Gq5k3v7H10wmBT5G61/JlfSgbCBnD1HNya88fEi+T54hVOIfmKE/jExAFe 5d8B22weOUGldVlDNyf8DjFdDkJMFrlMPcy0rQKCL16PVcgs2PRcf61Gg7WffA7Y3NuZ YsXg== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr915219ioe.29.1433464843396; Thu, 04 Jun 2015 17:40:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 4 Jun 2015 17:40:43 -0700 (PDT) In-Reply-To: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> Date: Thu, 4 Jun 2015 17:40:43 -0700 X-Google-Sender-Auth: 2HoTnA9nSqAM6I6rHlX57WF4WDE Message-ID: Subject: Re: Updates to freebsd-wifi-build From: Adrian Chadd To: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 00:40:45 -0000 hi! Thanks! I haven't yet sat down and integrated ipfw configuration pieces into it. That includes kernel-NAT. I'm also going to try and squeeze in userland ppp so I can also use a 3g/4g USB device. What do you need for DSL? Just pppoe? -a On 4 June 2015 at 15:08, Nenhum_de_Nos wrote: > On Sun, 17 May 2015 21:02:19 -0700 > Adrian Chadd 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 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"