[Raspberry Pi] send Mail Konfiguration

How to Configure the Raspberry Pi with Debian image to Send Mails trouth an firewall.

# Login as Root
# Update Package List
apt-get update
# apt-get install ssmtp

# if Installation complete
# Configure the ssmtp.conf

vim /etc/ssmtp/ssmtp.conf
root=yourMailAddy@myDomain.com

# Sender Server / Extern Mail Hoster Adress
mailhub=mail.myDomain.com:25

# Senders Host must be Exist.
hostname=myDomain.com

AuthUser=myMailUserName
AuthPass=MySecretKey
UseTLS=YES

Now the Mail Configuration is ready to test.

# Login as Root
pstree | mail -s "PSTREE RESULT" mymail@addyy.com

If you plan to test this Projekt you need:

Asterisk asterisk-chan-dongle

So erstellt du chan-dongle für deine Asterisk GSM box am Beispiel fürs Cubieboard.


# root werden
sudo su -
# Paket Quellen erneuern
apt-get update
# Asterisk installieren mit zugehörigen Dev und Dok Packen
apt-get install asterisk asterisk-dev asterisk-doc asterisk-modules
# asterisk-chan-dongle downloaden
cd /usr/src
wget https://code.google.com/p/asterisk-chan-dongle/downloads/detail?name=chan_dongle-1.1.r14.tgz
# asterisk-chan-dongle entpacken
tar xzf chan_dongle-1.1.r14.tgz
cd chan_dongle-1.1.r14/
# Chan_dongle conf und bauen..
./configure --enable-debug
make
make install
# dongle conf in Asterisk kopieren und rechte definieren.
cp etc/dongle.conf /etc/asterisk/
chown asterisk:asterisk /etc/asterisk/dongle.conf
service asterisk restart
# Asterisk kontrollieren
asterisk -r

Lenovo U410 touchpad right click not work under Ubuntu 12.10 LTS rechte Maustaste funktioniert nicht

Mit der Funktion xinput ist es Möglich sich alle Eingabegeräte auszugeben und diese zu Testen.

 xinput

....
Virtual core pointer                        id=a  
   ? PS/2 Synaptics TouchPad                     id=x
....

 

Gut nun wollen wir den Fehler bei Ubuntu 12.10 LTS für den Lenovo U410 beheben. Alles was wir dafür machen müssen ist im Endeffekt modprobe.d und den Eintrag psmouse.modprobe zu erweitern.

sudo su
echo options psmouse proto=exps > /etc/modprobe.d/psmouse.modprobe
reboot

Nach dem Neustart sollte die rechte Maustaste wie gewohnt funktionieren.