tsleds - an idea for IP Cop 1.2

getestet mit 1.2 und 1.3 tested with 1.2 and 1.3
(das ganze dürfte auch mit smoothwall funktionieren,
habe ich aber nicht getestet)

Diese Änderung zeigt auf der Tastatur den Online-Status an.

CAPS = On/Offline

NUM / SCROLL = Input/Output

 

(Should work also with smoothwall, but not tested)

This modification shows the status of your internet-connection on the keyboard

CAPS = On/Offline

NUM / SCROLL = Input/Output

 

Notwendige Änderungen:
(rote Zeilen werden hinzugefügt)

tleds überwacht ippp0 für ISDN
Bei DSL das Device entsprechend anpassen

sleds gibt den Status auf der ersten Konsole aus

 

Modifications:
(add the red lines)

tleds monitors ippp0 for ISDN
If you use DSL please modify the device

sleds outputs to the first console 

/etc/rc.d/rc.sysinit

if [ -e "/var/ipcop/proxy/squid.conf" ]; then
echo "Starting squid (if enabled)"
/usr/local/bin/restartsquid
fi

echo "Starting tleds"
/usr/local/bin/tleds -d 300 ippp0

echo "Silencing kernel, syslog output on tty12"
echo >/proc/sys/kernel/printk "1 4 1 7"

/etc/ppp/ip-up

system "/bin/echo -en '\a' >/dev/console";

system('/usr/local/bin/setleds -L +caps < /dev/tty1');

system('/etc/rc.d/rc.machineregister');

 

/etc/ppp/ip-down

system('/usr/local/bin/ipsecctrl', 'S');

system('/usr/local/bin/setleds -L -caps < /dev/tty1');

system "/bin/echo -en \a >/dev/console";

 

 

 


  Download sleds + tleds
  

Die Dateien sleds und tleds in das Verzeichnis
/usr/local/bin/ kopieren
Copy the files sleds and tleds to
/usr/local/bin
 

Wer keinen Platz für eine Tastatur hat, kann natürlich auch eine alte ausschlachten...

 

If you have not enough space for a keyboard, you can use only parts of it...

  

 

 

Falls Ihr Browser kein Javascript unterstützt, oder diese Funktion abgeschaltet ist, benutzen Sie bitte das folgende Menü: