Archiv der Kategorie: Linux

SMSen mit Linux (… SMS-Server)

Unter Linux können ganz einfach mit einem entsprechenden Modem (zB UMTS-Stick) SMS versendet und empfangen werden. Die Beschreibung nimmt Bezug auf Ubuntu mit Gammu und UMTS-Stick (Huwaei E160):

Die Befehle:

  • gammu-config

  • gammu getallsms

  • gammu sendsms text NUMBER

Im Detail:

Wenn Gammu noch nicht installiert wurde:

# sudo apt-get install gammu

Next, we need to configure Gammu to pickup the correct device. Check your dmesg for the serial port:

$ dmesg|grep tty
[12321.308078] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB0
[12321.308275] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB1

Edit ~/.gammurc, or run gammu-config to change the device settings. Your ~/.gammurc file should look similar to:

[gammu]
port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =

Give it a test by getting all the SMS from the device:

# gammu getallsms

This should bring back all the SMS currently stored on the stick, which should include your login details for the Three website (unless you’ve deleted them). To send a SMS use the „sendsms“ command:

$ gammu sendsms text 07874454543
Enter message text and press ^D:
Test Message!!!!!1!
Sending SMS 1/1….waiting for network answer..OK, message reference=2

Projection settings (CRS) in QGIS 2.0 Dufour (e.g. Austria)

In QGIS 2.0 Dufour CRS-Settings are „hidden“ in a new menu (not anymore in „Settings“ like in 1.8).

  • Menu „Project“ – „Project properties“
  • You’ll find an entry „CRS“ ! Now you can choose your dedicated CRS and activate „on-the-fly“ transformation. Using „on-the-fly“ be aware of the correct transformation parameters for your CRS.
  • The parameters for Austria (see Screenshot) are OK and there is no difference between using ArcGIS 10.x and QGIS 2.0

qgis_crs