# Bro on Linksys Router.

**URL:** <https://community.zeek.org/t/bro-on-linksys-router/797>\
**Category:** Zeek\
**Created:** [June 24, 2005, 7:52pm UTC](https://community.zeek.org/t/bro-on-linksys-router/797 "2005-06-24T19:52:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Mellander](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Jim\_Mellander](https://community.zeek.org/u/Jim_Mellander)\
**Post date:** [June 24, 2005, 7:52pm UTC](https://community.zeek.org/t/bro-on-linksys-router/797/1 "2005-06-24T19:52:22Z")

</div>

I've been tinkering with getting bro running on a Linksys commodity router which has a MIPS processor & runs linux.

bro has been compiled for MIPS & transferred to the linksys. The folks at [www.openwrt.org](http://www.openwrt.org) have made up quite a nice distribution. It actually is a nice general purpose (albeit tiny) Linux box. The tmp directory is in ram, the rest is actually in flash memory in compressed form, and is read-write, so you actually have a persistant file system (although, of course, flash has a limited number of re-write cycles, so you wouldn't want to abuse that property). It makes it nice for installing custom software, tho'.

Anyway, bro gets this error when starting up:  
/tmp/bro/bro/policy/pcap.bro, line 62: error: unknown identifier log, at or near "log"

---- Here's where it fails:  
function install\_default\_pcap\_filter()  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( ! install\_pcap\_filter(DefaultPcapFilter) )  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log fmt("%.6f Can't install default pcap filter (cmdline override?)", network\_time());  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:37pm UTC](https://community.zeek.org/t/bro-on-linksys-router/797/2 "2022-05-06T15:37:33Z")

</div>


