Skip to content

Monthly Archives: Oktober 2013

cronfiles in cron.d

30-Okt-13

Alle Dateien in /etc/cron.d benötigen ein newline /n am Zeilenende.

ubuntu server mit static ip eth0 und wlan0

25-Okt-13

Edit: /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.0.7 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.5 dns-search leitzahl.de metric 1 auto wlan0 iface wlan0 inet static address 192.168.0.9 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.5 dns-search leitzahl.de wpa-psk …….. wpa-driver wext wpa-key-mgmt WPA-PSK wpa-proto WPA2 wpa-ssid radithor.de metric 2 /etc/resolv.conf ist ein link, rm! Edit: /etc/resolv.conf […]

postfix smarthost mit authentifizierung

24-Okt-13

In /etc/postfix/main.cf hinzufügen relayhost = smtp.server.com smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth smtp_sasl_security_options = noanonymous Datei /etc/postfix/smtp_auth hinzufügen: smtp.server.com senduser:supersecret Erstelle lookup-table /etc/postfix/smtp_auth.db : postmap /etc/postfix/smtp_auth Postfix reloaden: sudo service postfix reload

Drucken mit EPSON LQ-100 unter Linux

13-Okt-13

Konvertiere UTF-8 in den beliebten DOS-Zeichensatz für diesen Nadeldrucker: cat text.txt | iconv -f utf8 -t 850 | lpr -p

alpine soll sich bitte das IMAP Passwort merken

13-Okt-13

touch ~/.pine-passfile Beim der nächsten Passworteingabe wird gefragt, ob es gesichert werden soll. Wenn alpine mit –with-passfile compiliert wurde.