iptables basics

Block ping from localhost root@ace1:/home/c1audio# iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP root@ace1:/home/c1audio# iptables -L Chain INPUT (policy ACCEPT) target     prot opt source               destination DROP       icmp —  localhost            anywhere Chain FORWARD (policy ACCEPT) target     prot opt source               destination Chain OUTPUT (policy ACCEPT) target     prot opt source               destination root@ace1:/home/c1audio# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) […]

E-Mail Config/Test

E-Mail Test mit Telnet: myMac:~ c1audio$ telnet vmk.zhdk.ch 25 Trying 195.176.254.139… Connected to vmk.zhdk.ch. Escape character is ‘^]’. 220 php5.vmk.zhdk.ch ESMTP Exim 4.69 Tue, 31 Jan 2012 07:26:07 -0500 HELO 172.31.40.115 250 php5.vmk.zhdk.ch Hello 172.31.40.115 [172.31.40.115] MAIL FROM:xy@z.ch 250 OK RCPT TO:ab@c.ch 250 Accepted DATA 354 Enter message, ending with “.” on a line by […]

Mod wordpress to searchable static archive

Clone website. New site url: mysql> update wp_options set option_value=”http://newurl.xyz” where option_name=”home”; mysql> update wp_options set option_value=”http://newurl.xyz” where option_name=”siteurl”; Disable comments: mysql> update wp_options set option_value=’closed’ where option_name=’default_comment_status’; mysql> UPDATE wp_posts SET comment_status=”closed”; Prevent any changes: move away wp-admin and wp-login.php

Drucken mit CUPS/IPP/OSX 10.6.8

1. Checken, ob Netzwerkzugriff auf die Drucker vorhanden ist: http://printy.vmk.zhdk.ch:631/printers/laserjet http://printy.vmk.zhdk.ch:631/printers/laserjet2 2. Systemeinstellungen Drucken & Faxen öffnen 3. Adresse ipp://printy.vmk.zhdk.ch:631/printers/laserjet wie folgt eintragen: 4. Treiber / “Druckersoftware auswählen” 5. “hp laserjet 5100” im Suchfeld eingeben und folgenden Treiber auswählen 6. Treiberoptionen anwählen… fertig.