This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ifled with Astaro?

I'm sure alot of folks, if not the majority run their Astaro's headless.  Has anyone ever tried setting up ifled?  In case you've never heard of it, it lets you use your keyboard LEDs.. (Caps, Scroll and Number) in place of the specified eth interface's status.  Like Caps for tx, and Num for rx activity.  However in the normal implementation of ifled it did not affect the keyboards operation.. as in if the caps/num led's are blinking away that doesn't mean that your keybaord is switching those options on and off.
Its just making the lights blink.

Just wondering.
Thanks


This thread was automatically locked due to age.
  • Hi,
    How's the CPU usage for a busy network?

    Barry
  • Well like mine at home.. heh mostly under 1%.  I haven't tested with torrents yet tho ;p

    Wait.. my bad, running ifled like I did in Smoothwall, it added maybe 1%..if that.  Granted that was on the same home network so YMMV.
  • Well, if you can find a static binary, it shouldn't be hard to get running.
    (assuming you aren't worried about voiding any Astaro support contracts)

    Barry
  • Or what about with a parallel/serial LCD like the Security Gateway product has... Im sure all it is is a software difference.
  • You can download it here: Download ifled - GPL Software - Tucows

    There README inside is very informative and yes there is a pre-compiled binary that Im going to try tonight.  There's many options you can do with this including flashing for collisions-tx-rx, eth1 up-eth0 up, etc.  Alot of combinations to pick from.

    And yeah I mean I realize something like this is fairly unimportant in the grand scheme of a firewall but it sure is nice to look up (or over or below) and instantly tell is your interface(s) is up and handling data.  Plus call me old school but I like blinking lights ;p
  • I've previously setup a custom-compiled LCD4Linux on Astaro with a CrystalFontz 634 rs232 LCD, and setup a network graph for each interface... 
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/18789

    It worked fine for a long time... CPU usage by LCD4Linux was pretty high though, up to 20% on a 500MHz PII.
    After upgrading to Astaro 7, I tried to compile a current version of LCD4Linux but the driver for the 634 display seems to be broken (the contrast was completely incorrect, making the display unreadable except at a 90degree angle).

    I ended up getting a mini-ITX case, and there's no room for my LCD, so I've given up on it.

    FYI, Astaro does come with LCD4Linux, for the appliances, but I doubt all the display drivers are compiled in.

    If you get it working, please post details.

    Barry
  • I'll definitely be giving it a shot over the next few weeks.  My issues have always been getting all the wires soldered correctly as I've never bought an lcd kit before.  I'm a pack rat so I've always got pieces and parts to build one lol.

    What model LCD comes with the appliance?  I'd think anything HD47780 compliant would work.
  • I'm not sure which model, but it's only a 2-line display iirc.

    Barry
  • WOOT

    ifled works like a champ.. here's the commands Im putting into an .sh

    ifled console eth0 -c cnn -d 10 -f
    ifled console eth0 -c nan -d 10 -f
    ifled console eth1 -c nna -d 10 -f


    ok so obviously the "eth" part is where your specifying an interface to poll.
    in the first line the "-c cnn" is specifying to poll collisions on num-lock. Think of "cnn/nan/nna" like the arrangement of the LEDs on a keyboard.  first is num-lock, second is caps-lock and third is scroll lock.
    It makes sense when looking at the second line n=none a=activity n=none.. and on the third line n=none n=none a=activity.

    the "-d" switch is setting the update delay parameter in milliseconds.  Default is 50.  well one of the things that irritated me about the smoothwall implementation was that there were no switches, so my LED's blinked rather slowly.  As you see form my example I'm using a 10ms delay rate.
    And "-f" forks the process into the background.

    So on my box, I have drilled three cooresponding holes through a blank 5.25 faceplate.  I dismantled a ps/2 keyboard and just ran the cable thru an empty expansion bay cover to the port.
    I'm able to use a usb keyboard if the need arises while ifled is running and it's never messed with my usb keyboard's led's at all.

    YMMV.

    Enjoy.
  • cool. too bad my mini-ITX box is USB only.

    Barry