#! /bin/sh
# /etc/init.d/mumble
# version 0.1 2011-11-01 (YYYY-MM-DD)
### BEGIN INIT INFO
# Provides: mumble
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Mumble server
# Description: Starts the Mumble/Murmur server as defined user
### END INIT INFO
#Default Settings
PATH=/sbin:/usr/sbin:/bin:/usr/bin
#Settings neede (PLEASE CHANGE)
SERVERNAME=”MUMBLE”
SERVERPATH=”/srv/mumble”
SERVERINI=”murmur.ini”
SUPERUSERPW=”mumblesrv”
USERNAME=”srv_mumble”
#PID Settings (dont have to be changed)
PIDFILE=”$SERVERPATH/murmur.pid”
PID=”`cat $PIDFILE`”
PIDSTAT=”`ps aux |grep $PID |grep -v ‘grep’ |awk {‘print $2′} |head -n1`”
# ——————————————————————-
ME=`whoami`
as_user() {
if [ $ME == $USERNAME ] ; then
bash -c “$1″
else
su – $USERNAME -c “$1″
fi
}
if [[ "$SERVERINI" == "" ]]; then
echo “Error: no INI defined”
exit
fi
# -
case “$1″ in
start)
if [[ $PIDSTAT ]]; then
echo “Server $SERVERNAME already started”
exit
else
as_user “$SERVERPATH/./murmur.x86 -ini $SERVERPATH/$SERVERINI”
as_user “$SERVERPATH/./murmur.x86 -ini $SERVERPATH/$SERVERINI -supw $SUPERUSERPW”
echo “Server $SERVERNAME sarted”
fi
;;
stop)
if [[ $PIDSTAT ]]; then
kill -9 $PID
echo “Server $SERVERNAME stopped”
else echo “Server $SERVERNAME not running”
fi
;;
restart)
$0 stop
sleep 2
$0 start
;;
status)
if [[ $PIDSTAT ]]; then
echo “Server $SERVERNAME is running”
else echo “Server $SERVERNAME is stopped”
fi
;;
*)
echo “Usage: $0 {start|stop|restart|status}”
;;
esac
exit 0
MeeGo ist eine beliebte Linux-Distribution für Intel Atom Netbooks.
Für mein IdeaPad S10e mit Broadcom Wireless Card sind von Board an keine Treiber beim MeeGo 1.2 dabei, aber man kann diese von Hand auf den 2.6.35 Kernel per rpmbuild kompilieren, hier die Vorgehensweise:
MEEGO 1.2 WIFI
Please visit the Broadcom site to read the details on the license of this driver
http://www.broadcom.com/support/802.11/linux_sta.phpThese steps can be used to create the binary rpm yourself. You need to actually install MeeGo 1.2. These steps won’t work while booting off the live image.
1)Activate the MeeGo toolbar and select the applications icon
2)Choose the Accessories section and select Terminal (or type terminal in the search box)
3)Install the various tools you’ll need
sudo zypper install rpmdevtools
4)Install the compilers and other tools,
sudo zypper install pattern:meego-development-tools
5)Install the kernel-netbook-devel package.
sudo zypper install kernel-devel
6)Now we’re ready to build and install the new broadcom drivers, my moblin srpm works
wget http://slaine.org/meego/releases/1.2/ia32/source/wl-kmod-5.100.82.38-1.src.rpm
(This build will download the broadcom driver archive directly from their site)
rpmbuild –rebuild –target=i586 wl-kmod-5.100.82.38-1.src.rpm
7)Install the resulting rpm,
sudo rpm -ivh ~/rpmbuild/RPMS/i586/wl-kmod-5.100.82.38-1.i586.rpm
8)Loading the module,
sudo modprobe -a wl
9)You should be able to now connect to a network.
Quelle:
http://slaine.org/_slaine/Meego_1.2_Wifi.html
Mirror:
wl-kmod-5.100.82.38-1.src.rpm
Android 2.3.4 SMS – Setting Swisscom – Fail Delivery
Hatte heute Probleme mit SMS Nachrichten Versenden, Empfang funktionierte aber einwandfrei – SGS2 mit Android 2.3.4.
Nach Versuchen mit GSM/WCDMA automatic Mode und APN Einstellungen, welche alle so in Ordnung waren, erkannte ich das Problem: Keine Nachrichtenzentrale!
In der SMS App, Standard das “Messaging” oder “Nachrichten” kann die Nachrichtenzentrale definiert werden.
APN: Swisscom
Nachrichtenzentrale: +41794999000
Warum dieser Eintrag urplötzlich leer war, könnte an GSM Information Gattering Apps liegen wie “G-Mon” oder “Netzwerk”, welche auch spezifische Einstellungen ermöglichen – soweit meine Vermutung ^^
Schnell und gut, ein Treesize/Data Usage in Linux / bzw. in meinem Test Debian Lenny im shell anzeigen mit “du”:
du * -s -h
- *: alle Unterverzeichnisse im aktuellen Verzeichnis
- -s: nur Summe
- -h: für humanable read, MB anstatt Bytes ^^
Aktuelle DNSBL/RBL – DNS/Relay Black Lists – Provider
Man sollte immer wieder seine benutzten DNSBL’s für ein effizientes Anti-Spam System überprüfen. Kleinere Provider können Ihre Dienste oft nicht fortsetzen und man erhält keine Werte mehr bei der Überprüfung. Gewisse Systeme reagieren dann sogar fehlerhaft.
Eine aktuelle Liste, Tests und Meldungen zu “DEAD RBL’s” findet man auf http://www.dnsbl.com
Momentan verwende ich eine Mischung aus folgenden drei aktuell “lebenden” RBL Anbietern:
zen.spamhaus.org
bl.spamcop.net
dnsbl.sorbs.net
oder je nach eingesetzter Software, auch deren Hersteller-Listen, z.b. Websense: rep.global.surfsrs.com:
“OpenVPN-ALS” aka “adito” aka “SSL-Explorer” + MSTSC Extension
ADITO
Wer SSL-Explorer kennt, der weiss, dass dieses OS-Produkt abgelöst wurde durch adito, welches jetzt neuerdings OpenVPN-ALS heisst
(ich nenne ihn einfach ADITO)
Zu finden auf:
http://sourceforge.net/projects/openvpn-als/files/
Eine gute Installationsanleitung (CentOS) hier:
http://blog.verfriemelt.com/index.php/2009/02/installation-von-adito-ssl-explorer-auf-centos-52/
Adito ist nurnoch auf Linux lauffähig per Apache und Ant + natürlich Java SDK.
So hab auch ich mal die neuste Version getestet und gegenüber dem alten SSL-Explorer fiel mir gleich die magere Auswahl an extensions auf.
Wichtigstes extension für Windows Server ist natürlich ein funktionierendes RDP, und das standardmässig integrierte JavaRDP bietet nunmal keine richtig gute Alternative (no /console, Keybordlayout, Mappings etc. nicht vorhanden).
Zum Glück wurde diese Microsoft RDP extension weitergeführt und zur Sicherheit für weitere Installation findet man diese ebenfalls auf hertus.ch
Microsoft RDP extension hier: adito-application-advancednativerdpwin32
Die normale Version ist gedacht für RDP Clients mit niedrigerer Version als 6.0 und d.h.:
- vor 6.0 (Win2k, XP<=SP2) kann die 0 Session per /console aufgerufen werden
- ab 6.0 ( WinXP SP3 / Vista / 7 …) kann die 0 Session per /admin aufgerufen werden
Diese Extension mit RDPsso.exe beherrscht aber nur /console !
MSTSC Extension – by Hert
Doch kein Problem!
Ich hab eine Extension mit einer aktuellen mstsc.exe von Windows7 geschrieben – mit de-DE.MUI, also GERMAN MSTSC.EXE – Version 6.1.
Mit MSTSC lassen sich keine Passwörter mehr mitgeben, was aber nicht weiter schlimm sein sollte. Man kann jetzt “Admin Session” auswählen anstatt “Console Session” welche den Parameter /admin weitergibt, also nicht für ältere Clients geeignet!
Falls weitere Parameter nicht funktionieren sollten, liegt das daran, dass ich vielleicht nicht an alles gedacht habe oder ich ebenfalls nur unter Windows7(x86) getestet habe
Hert’s Microsft RDPÂ MSTSC v6 Extension (Vista/Win7) hier: adito-application-mstsc
und da Windows XP SP3 auch noch einen anderen Client benutzt
Hert’s Microsft RDPÂ MSTSC v6 Extension (WinXPSP3) hier: adito-application-mstsc_xpsp3
Mit beiden extensions sollten neue und alte Windows Client Systeme mit einem RDP-Tunnel versorgt sein.
übrigens eine saudumme Idee von Microsoft diesen Parameter zu ändern *nerv*
Die NDR (Non-Delivery-Reports) Codes von Exchange Server lassen sich so interpretieren
NT60 – Windows Vista / 7 Bootloader manuell erstellen
Wenn Hopfen und Malz verloren ist, und Windows Vista oder Windows 7 einfach nicht mehr booten möchte, da diese man evtl. von einer anderen Harddisk her gesichert hat, ein DualBoot System oder nebenbei an der BCD herumfingert, hilft meisten eine “Reparaturinstallation”, wobei letztere Bereichnung seit NT60 ausfällt.
Eine Reparatur über Windows Vista / 7 DVD zu starten, kann in den meisten Fällen schon helfen, es werden standardmässig div. Strukturen an Disk und BootLoader geprüft.
Manuell lässt sich dies bereits in der CMD (wenn man die Recovery Environment, sprich VistaPE auf der Windows DVD, gestartet hat) erledigen:
- CMD öffnen mit SHIFT+F10
- bootrec.exe /fixboot
- bootrec.exe /fixmbr
Wie man die Befehle von früher aus XP’s Recoveryconsole her kennt.
Muss aber ein Bootloader komplett neu erstellt werden, hilft diese gefundene Anleitung (übrigens von den Machern von EasyBCD, ein GUI für bcdedit.exe)
Alles gefunden auf: http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+from+the+DVD
Step Four: Nuclear Holocaust
Windows Vista doesn’t have its share of haters for no reason: when the going gets tough, the tough gets going.
So Windows Vista can’t even fix itself – god, that’s what we love about EasyBCD! If you were in Windows Vista right now, you could have used EasyBCD’s “Reset BCD Data” feature to have EasyBCD actively search for any and all discrepancies in your bootloader, zero out your old BCD data, and re-create it all from scratch. But you’re not and it’s no use lamenting what you could be doing with our super-cool app if you can’t even use it in the first place now, is it?
Go ahead and select “Command Prompt” yet again from that list. Roll up your sleeves, and prepare to be tortured.
The first order of business is to make sure the MBR and bootsector contain the right references to the Vista bootloader:
Replace x: in the commands below with the letter to your CD drive as detected by the Windows Recovery environment bootrec.exe /fixmbr x:\boot\bootsect.exe /nt60 all /forceNow we get rid of the old BCD registry, and create a new one instead.
Note: We’re assuming that the boot drive is drive C: below. If your computer is configured differently, be sure to use the appropriate drive letter here instead.del C:\boot\bcd bcdedit /createstore c:\boot\bcd.temp bcdedit.exe /store c:\boot\bcd.temp /create {bootmgr} /d "Windows Boot Manager" bcdedit.exe /import c:\boot\bcd.temp bcdedit.exe /set {bootmgr} device partition=C: bcdedit.exe /timeout 10 del c:\boot\bcd.tempNow we have a clean, working Vista bootloader. But we need to add a Vista entry to it:
bcdedit.exe /create /d "Windows Vista" /application osloaderbcdedit.exe should return a message with a GUID for the newly-created entry, something like this:
The entry {c0dfc4fa-cb21-11dc-81bf-005056c00008} was successfully created.You’ll need to use the value that bcdedit.exe returned for you below, along with the drive letter for the drive that Windows Vista is installed to:
bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=C: bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=C: bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path \Windows\system32\winload.exe bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot \WindowsAnd, last of all, tell the Vista bootloader to boot the new entry by default:
bcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008} bcdedit.exe /default {c0dfc4fa-cb21-11dc-81bf-005056c00008}Now the Vista bootloader has been nuked and rebuilt from scratch. If you got this to work, feel free to consider yourself one of the finest graduates of the NeoSmart Technologies Institute of BCD Learning.
At this point, you have a clean, untouched, and (hopefully) fully-working bootloader with one entry for Windows Vista. Go ahead and reboot your PC, get into Windows Vista, and use EasyBCD to further tweak the bootloader to your heart’s content. We advise backing up the BCD registry immediately with EasyBCD before making any changes.
Für Windows 2008 Terminalserver (x86) wurde ein PDF Programm für alle Benutzer gesucht.
Da FreePDF (jetzt aktuell in Version 4.0 erhältlich) standardmässig nicht richtig umzugehen weiss mit Terminalbenutzer und Sessions (trotz Anleitung zu Terminalserver 2003 etc. RedmonEE Treibern…) , wurde eine andere Lösung gesucht.
Das OpenSource Projekt qvPDF bietet genausoviele Funktionien und ein sehr nützliches und schlicht gehaltenese Benutzermenü zum PDF Dateien per virtuellem Drucker zu erzeugen.
Auf einem Terminalserver 2008 funktoinierte die Installation einwandfrei und es klappt auf Anhieb mit den Usersessions.
Per “change user \install” zum Installationsmodus wechseln, qvPDF draufinstallieren, per “change user /execute” in den Ausführungsmodus wechseln und fertig.
Ordnertemps zum PDF erstellen werden entweder im “All Users” oder im “Public” Ordner von Win2k8 erstellt, jeder Benutzer bekommt sein Menü zur Auswahl und kann unabhängig PDF’s erzeugen.



Pages
Categories
Tag Cloud
Entries RSS
Seven
City
Characters
Landscape
Nature
Shapes 