News: This forum is now permanently frozen.
Pages: [1]
Topic: Has anyone figured out how to get the lights on a watch guard firebox 2 to work.  (Read 4800 times)
« on: August 23, 2007, 02:11:45 »
rockclimberwray *
Posts: 1

Has anyone figured out how to get the lights on a watch guard firebox 2 to work.
« Reply #1 on: May 11, 2009, 11:29:53 »
jimmy *
Posts: 9

I realize that I am replying on a very old topic...
But since I'm sure lots of people have old Firebox II/III's, I still would like to share this:

After a lot of strugling with my two Fireboxes (FBIII-500 and FBIII-1000) I have complete control over the LED panels!
I now have a piece of code from which I can do nearly everything with the LEDs.
It seems to be working under both FreeBSD and OpenBSD.
(OpenBSD with some security restrictions)

All I need (to make) now is some code to get the information from the OS and translate it to the LEDs.

Are there any people interested in this?
(and can somebody help me with the last pieces)
« Reply #2 on: May 12, 2009, 02:09:33 »
brushedmoss ****
Posts: 446

what are the last pieces you need help with ?  I don't have one of these boxes ...
« Reply #3 on: May 12, 2009, 11:08:52 »
jimmy *
Posts: 9

What I need is some (tiny as possible) C code that gives me the following:
1 - Is the firewall booted and secure (e.g. is pf active)
2 - The status of the 3 NICs (dc1, dc1, dc2: link up/down)
3 - Is traffic flowing from-to these 3 NICs  (it has a triangular with the 3 NICs at each egde and '<<' '>>' LEDs displaying traffic flowing from one to another NIC)
4 - For the higher models:  What is the CPU load (will be displayed with a bar of 8 LEDs)
5 - Also for these higher models: What is the Network Traffic load (also 8 LEDs)
6 Not really for m0n0wall, is the box running in some kind of safemode.

1 and 2 are the most important basics.
3 might be a bit more difficult because I understood you need to do some calculations to figure out in what direction traffic flows.
4 and 5 are 'nice to haves' for those who have the most expensive boxes.   Wink
6 is just because the box originally had a factory default / safe mode (with a LED for that).
« Last Edit: May 12, 2009, 11:12:44 by jimmy »
« Reply #4 on: May 12, 2009, 17:34:36 »
mppkll *
Posts: 3

Jimmy,  I'm interested in this topic as I just loaded m0n0wall onto a x1000,  Works great but I don't have the LEDs for status and the LCD display working yet.  Right now I'm working on recompiling the m0n0wall image to include a driver for the SafeNet 1141 VPN accelerator [FreeBSD device = safe(4)] and possibly a wireless n driver for a miniPCI (still looking into this)
« Reply #5 on: May 12, 2009, 17:42:47 »
jimmy *
Posts: 9

On the X-series there's an LCD display that works totally different. My code for the Firebox III series won't do anything for the LEDs and/or LCD display on a X-series.   Sad
I've seen topics about an LCD display driver that would possibly work on the X-series.

(I too have an X-series (X500), but I'm currently focussing on the older III-boxes)
« Reply #6 on: May 12, 2009, 22:41:05 »
brushedmoss ****
Posts: 446

Jimmy, what is the code that  you have , and are you saying you have no C skills and are looking for someone with C skills to do it for you ?


« Reply #7 on: May 13, 2009, 09:05:13 »
jimmy *
Posts: 9

The code I have is C code, I've written it with only minimal skills.
What it does is accessing the hardware ports and writing the correct values and bit-patterns to control the leds. In addition I have a few functions like turning a specific led on/off by name and setting/increasing/decreasing traffic/network load.

So it's only the interface to control the leds.

What I need is the functions that give me the information to send to the leds.
These are decribed here:
http://forum.m0n0.ch/index.php/topic,923.0.html#msg9638
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines