pfSense Gold Subscription

Author Topic: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED  (Read 37634 times)

0 Members and 1 Guest are viewing this topic.

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #75 on: May 03, 2011, 04:09:16 pm »
Good to hear.   ;D

Steve

Offline fastcon68

  • Sr. Member
  • ****
  • Posts: 593
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #76 on: May 28, 2011, 10:15:48 pm »
I added you LED package and it works perfectly.  I got both your LCD package and your ARM/Disarm light package running and they are working great.

Since the lcd backlight is not working correctly, I was wondering if I could open the case up and take a USB light and add it internally so you could see the display.  How do you think it would be to do that.
RC

Offline woc38

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #77 on: July 14, 2011, 02:55:08 pm »
Steve, just to let you know: your arm/disarm LED script is working fine on my Core X700! Thanks!

pfSense 2.0-RC3 (i386) built on Thu Jul 14 02:02:34 EDT 2011 (nanobsd 4g) running on a 4GB Hitachi microdrive.

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #78 on: July 15, 2011, 05:12:35 pm »
Thanks for the feedback.  ;D

Steve

Offline dmitche

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #79 on: September 13, 2011, 02:55:44 pm »
For those who are complete noobs at this like me, I thought I would add two pointers to help you out.
  • In Windows, to use WinSCP, your login should be root, admin never worked for me. root will allow you to change file permissions.
  • You also must give your WGXepc.sh startup script file execute privileges. I used 0755 again like WGXepc.

Don't forget the following post to display different settings:
http://forum.pfsense.org/index.php/topic,7920.msg135626.html#msg135626

Thanks stephenw10!

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #80 on: September 13, 2011, 03:08:33 pm »
In Windows, to use WinSCP, your login should be root, admin never worked for me. root will allow you to change file permissions.

Good point, I've become too used to logging in as root. A bad habit.
The reason is that the admin account always shows the menu when you log in via ssh, root does not have to.

Steve

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #81 on: December 07, 2011, 11:15:32 am »
Hmm I seem to omitted to attach the source for this.  :-[
Not very open.

Steve

Offline bryansxviper

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #82 on: January 30, 2012, 09:03:01 pm »
Yep!

I am a new pfsense user and also have a firebox x700. Just did the led fix and its working great. Running 4GB CF card with pfsense 2.0.1-Release.

Thanks.

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #83 on: January 31, 2012, 04:54:09 am »
Another firebox resurrected.  ;D
With any luck we might be able to get this included with the lcd driver soon. Stuck on some bugs at the moment though. I'll post here when things are closer to working.

Steve

Offline Unubtanium

  • Full Member
  • ***
  • Posts: 136
  • Logic Dictates
    • View Profile
    • Work
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #84 on: February 01, 2012, 04:34:15 am »
Another firebox resurrected.  ;D
With any luck we might be able to get this included with the lcd driver soon. Stuck on some bugs at the moment though. I'll post here when things are closer to working.

Steve

So there are bugs....  ;D  Good to know, because my Light will not turn/change color no mater what i do, by script or by manual running the prog, its a no go.

When it did not work, i just ignored it and accepted that it would not work.
But now that you mention that there might be bugs in it i want to give it a go and see if i can get it to work.
So any pointer would be helpful to where to start looking....

I am running pfSense-2.0.1-RELEASE-2g-i386-nanobsd.img.gz and the program runs like it should, no errors or feedback when i run it and nothing happens.

So if you think this could be a "bug" let me know and i will give you all the info you need..  ;)
« Last Edit: February 01, 2012, 05:20:07 am by Unubtanium »

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #85 on: February 01, 2012, 06:23:43 am »
The bugs I mentioned are in the LCD driver/package not WGXepc. Since lcdproc includes code for associated leds we hoped to eventually have the leds controllable through the lcd driver.
WGXepc should be working for any firebox however there are some models that are untested.
Which box is not working? What happens when you run the program?

Steve

Offline Unubtanium

  • Full Member
  • ***
  • Posts: 136
  • Logic Dictates
    • View Profile
    • Work
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #86 on: February 01, 2012, 06:59:05 am »
it is a x500 and when i run it, it looks like it run's it and just goes to next line like this:

#WGXepc -green
#

No error no nothing, and the LED stays red, have tried the blink also but same result, and have checked that the permissions are correct too  ???

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8085
    • View Profile
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #87 on: February 01, 2012, 07:15:43 am »
Hmm, interesting.
The code is absolutely terrible!  :D I'm embarrased to release the source. So I could have easily overlooked some input condition that could causer that. However it should either operate correctly or spit out a message showing the correct syntax. Then it tries to recognise which box you have and either sets the led colour or displays a message saying 'you have an unknown box' or something similar.
Anyway the correct syntax is:

Code: [Select]
WGXepc -l green
Try that.

Steve

Offline Unubtanium

  • Full Member
  • ***
  • Posts: 136
  • Logic Dictates
    • View Profile
    • Work
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #88 on: February 01, 2012, 07:28:56 am »
i am pretty sure i did use -l when trying to get it to work but will check my script/manual tonight when done at work..

Offline Unubtanium

  • Full Member
  • ***
  • Posts: 136
  • Logic Dictates
    • View Profile
    • Work
Re: [As Good As Solved!] Watchguard Firebox Arm/Disarm LED
« Reply #89 on: February 01, 2012, 02:20:15 pm »
Hi Steve

as you can see from pic attached, that the app does run, gives no error.
And also you can see if i run it without any argument it does show the options, and this shows that the premissions are ok on the app...

So you can see the enigma i have ...  ::)

Could it be hardware problems?? I could pop in a 1.2.3 card and see if it work there...  :)
« Last Edit: February 01, 2012, 02:33:18 pm by Unubtanium »