Mar 16 2013

My new RSS reader

Category: Android,Computer,LinuxTuxevara @ 16:49

Unnecessary to tell, that I am one of the million Google reader users that is very disappointed about Google’s announcement to shut down Google Reader in a few months. Recalling WHY I love Google reader, it turns out that it’s mainly for one reason: synchronization. I’m used to access an always in-sync list of my feeds from my phone, tablet, laptop or home/work desktop computers. I remember that I tried TTRSS back in the days where I was naively thinking I could live without all the Google services that are so addictive.

After checking Google Play for a TTRSS app and getting a positive response – the TTRSS developer offers an app himself – this seems to become really satisfying. Having some free time today between talks at the Chemnitzer Linux Days, I re-installed TTRSS on my webserver to see if that’s still an option. And let me tell you: IT IS!!!

Installation is smooth if you read the config.php file carefully. I missed that the database server was set ‘pgsql’ by default, which cost me a few minutes wondering about an empty page and no error messages in the logs. After creating a new user and importing my RSS subscriptions exported via Google Takeout I installed the Android app as well. I have to say that to me, the TTRSS app looks even better than Google Reader. BTW: The app is a seven day trial and the unlock costs 1.59 EUR. I think think it’s a fair price for such a good app (Have seen lots of crappy ones for more).

In case I change my mind about TTRSS, I’ll let you know.

UPDATE: Installed the app on my Galaxy Tab 10.1N. It’s awesome!

Tags: , ,

 


Mar 12 2013

Alice IAD 3221 Reloaded

Category: Computer,Hardware,LinuxTuxevara @ 00:34

Nachdem bei mir letzte Woche das Netzteil des Speedport 201 DSL-Modem den Geist aufgegeben hat und ich auf die Schnelle nur das original Alice IAD 3221 an die TAE haengen konnte, um ueberhaupt wieder Netz zu haben, war heute Abend endlich die Gelegenheit zu schauen, mit welchem der hier rumliegenden Geraete ich wieder die Buffalo AirStation mir DD-WRT zu meinem Router machen konnte.

Plan A: Die Samsung 3210 Box, welche eigentlich nur meine TK-Anlage ist, nun als DSL-Modem zu nutzten scheiterte daran, dass einfach kein ADSL-Sync zustande kam. Waere nicht das erste Mal, dass das Modem-Board darin kaputt geht.

Also Plan B: Gucken was man mit dem Alice IAD 3221 noch so anstellen kann. Irgendwie konnte ich nicht glauben, dass die Dinger so unfassbar beschraenkt sein sollen, wie einem das Webinterface versucht weiss zu machen. Nach ein wenig suchen stellte sich heraus, dass das ganze Geheimnis in der versteckten URL: http://192.168.1.1/web.cgi?controller=Internet&action=IndexAccessMode liegt. Dort kann man den Betriebsmodi des IAD umstellen. Der Modus “Modem (1 VC), VoIP over PPPOE” ermoeglicht es, dass IAD als normales DSL-Modem zu verwenden UND gleichzeitig die Alice Telefonfunktion vom IAD selber ueber die zweite PPPOE-Session laufen zu lassen. Letzteres ist nur just for fun aktiviert. Habe die Telefonfunktion noch nie verwendet, da mein eigentlicher Telfon-Anschluss bei Sipgate liegt.

Es gibt uebrigens noch eine Menge mehr solcher versteckter Seiten:

Standard-, Experten- oder Developermodus einschalten
http://192.168.1.1/web.cgi?controller=System&action=IndexAccessConfig

Zwischen “Standart-Installation (PIN)” und “Benutzerspezifische Installation” wechseln
(ja da steht wirklich “Standart)
http://192.168.1.1/web.cgi?controller=Overview&action=IndexPinMode

PIN fuer Standard-Installation festlegen
http://192.168.1.1/web.cgi?controller=Overview&action=IndexPin

IP-Adresse und DHCP-Server Konfiguration
http://192.168.1.1/web.cgi?controller=Network&action=IndexLan

Statische IP-Adressen fuer DHCP-Clients festlegen
http://192.168.1.1/web.cgi?controller=Network&action=IndexStaticDhcp

Statische Routen definieren
http://192.168.1.1/web.cgi?controller=Network&action=actionIndexNewStaticRoute

Uebersicht aktueller NAT-Verbindungstabelle
http://192.168.1.1/web.cgi?controller=Network&action=IndexStatistics

USB-Drucker und -Festplattenkonfiguration
http://192.168.1.1/web.cgi?controller=Network&action=IndexUsbDevices

WebCam-Konfiguration
http://192.168.1.1/web.cgi?controller=Network&action=IndexExtDevices

Betriebsmodi Internetzugang konfigurieren
http://192.168.1.1/web.cgi?controller=Internet&action=IndexAccessMode

Zugangsdaten VoIP PPPOE-Session
http://192.168.1.1/web.cgi?controller=Internet&action=IndexAccessDataVoip

DynDNS-Konfiguration
http://192.168.1.1/web.cgi?controller=Internet&action=IndexDynDNS

DSL-Verbindungsinformationen
http://192.168.1.1/web.cgi?controller=Internet&action=IndexInfoConnection
http://192.168.1.1/web.cgi?controller=Internet&action=IndexInfoAdsl

MAC-Adressen-Filter
http://192.168.1.1/web.cgi?controller=Security&action=IndexMacFilter

Allgemeine Firewall-Einstellungen
http://192.168.1.1/web.cgi?controller=Security&action=IndexSecurityConfig

Paketfilter-Regeln
http://192.168.1.1/web.cgi?controller=Security&action=IndexPacketFilter

URL-Filter
http://192.168.1.1/web.cgi?controller=Security&action=IndexUrlFilter

UPnP-Einstellungen
http://192.168.1.1/web.cgi?controller=Security&action=IndexUPnP

System-Log
http://192.168.1.1/web.cgi?controller=System&action=IndexSyslog

System-Diagnose
http://192.168.1.1/web.cgi?controller=System&action=IndexSystemTest

Sprache aendern
http://192.168.1.1/web.cgi?controller=System&action=IndexLanguage

Zeitserver-Einstellungen bzw. Uhrzeit manuell stellen
http://192.168.1.1/web.cgi?controller=System&action=IndexTime

Firmware-Upgrade
http://192.168.1.1/web.cgi?controller=System&action=IndexFirmware

Aufzeichnen von Datenpaketen
http://192.168.1.1/web.cgi?controller=System&action=IndexDiagnostic

Tags: , , , ,

 


Nov 18 2012

Goolge Play Music

Category: Android,Computer,LinuxTuxevara @ 12:38

Once again Google just tackled me. While still not being completely satisfied with my OwnCloud + FolderSync setup that still requires too much manual steps to be really comfortable, Google released Play Music in Germany last week. As I am already a happy Android user owning a Nexus S and a Galaxy Tab, I had to give it a try. One thing it does not seem to do yet is uploading existing Music from the Android devices, BUT there is Google Music Manager for Linux. With that tool I was able to easily upload all my existing music albums from my local file server at home to my Google Play account. The best thing about it is, that it does not need to upload all files if they can be identified and found in Google’s music database. Now I have access to all the music from my Android devices as well and if necessary I can download them directly from Google for offline usage. Google Play Music allows to store 20,000 songs for free plus the ones you buy through their music store, which probably becomes my preferred choice over Amazon now.

And It would not be Google if they would not offer a full download of the library via Music Manager. That of cause makes it feel less painful to trust them with storing all your music, as it makes you feel like you could break up with them at any time.

Tags: , , ,

 


Oct 14 2012

Moneyplex mit ReinerSCT secoder unter Ubuntu 12.04 64Bit

Category: Computer,LinuxTuxevara @ 00:17

Nachdem ich heute mein System von Ubuntu 10.04 auf Xubuntu 12.04 aktualisiert habe (Neuinstallation wegen zweiwoechigem Kubuntu Versuch), mussten mein ReincerSCT secoder Kartenleser und Moneyplex neu verheiratet werden.

Dazu bin ich zunaechst wie in der von Matrica bereit gestellten Anleitung vorgegangen. Insgesamt sollten zur Installation aller benoetigten Pakete folgender Befehl ausreichend sein:

sudo aptitude install linux-source linux-headers-server libccid libpcsclite1 libpcsc-perl pcscd libifd-cyberjack6

Anschliessend sollte der Rechner wirklich neu gestartet werden.

Auf einem 64Bit System sind ausserdem noch zwei weitere Pakete zu installieren um Moneyplex ausfuehren und den Chipkartenleser verwenden zu koennen:

sudo aptitude instal ia32-libs libpcsclite1:i386

Danach sollte Moneyplex den Kartenleser erfolgreich erkennen.

Tags: , , ,

 


Jun 12 2012

Apache, authnz_ldap and Active Directory

Category: Computer,LinuxTuxevara @ 12:10

After spending several hours of debugging into an Apache Active Directory LDAP authentication issue, I finally found the hint I was looking for. The error I was constantly getting in the error.log was:

[debug] mod_authnz_ldap.c(379): [client 192.168.182.23] [29481] auth_ldap authenticate: using URL ldap://dc001.mydomain.local:389/DC=mydomain,DC=local?sAMAccountName?sub?(objectClass=*)
[info] [client 192.168.182.23] [29481] auth_ldap authenticate: user tuxevara authentication failed; URI / [ldap_search_ext_s() for user failed][Operations error]

and regarding to some other sites [ldap_search_ext_s() for user failed][Operations error] must be related to authnz_ldap not handling referrals. The solution to this was just too obvious: Changing the LDAP port to 3268 (Global Catalog) solved it.

Here is the content of the htaccess file only grants access to members of a specific group:


AuthBasicProvider ldap
AuthType Basic
AuthName "Protected"
AuthLDAPURL "ldap://dc001.mydomain.local:3268/DC=mydomain,DC=local?sAMAccountName?sub?(objectClass=*)"
AuthzLDAPAuthoritative on

AuthLDAPBindDN "svc-apache@mydomain.local"
AuthLDAPBindPassword "thisissupposedtobesecret"

AuthLDAPGroupAttributeIsDN on
require ldap-group CN=Support,OU=Groups,DC=mydomain,DC=local

Tags: , ,

 


 


Mar 28 2012

Heise Open: “LiMux: Billiger und robuster als Windows”

Category: Linux,PolitikTuxevara @ 20:27

Wie Heise Open heute in seinem Artikel schreibt, hat Oberbürgermeister Ude in München, festgestellt, dass es nach derzeitigem Verlauf des Projekts darauf hinaus läuft, dass die Kosten vom Linux-Einsatz dauerhaft geringer sind als Windows und auch noch deutlich robustere Systeme hervorbringt.

Selbst mich als Linux-Anhänger überrascht diese Aussage eines Amtsträgers doch sehr. Hoffen wir mal, dass es so weiter geht mit LiMux und es nicht im gleichen Debakel endet wir im Auswärtigen Amt.

Tags: , , , ,

 


Mar 18 2012

Das waren die Chemnitzer Linux Tage 2012

Category: Allgemein,LinuxTuxevara @ 20:49

Und schon wieder ist ein Wochenende Chemnitzer Linux Tage vorüber und wir sind auf dem Rückweg. Zeit ein kleines Resume zu verfassen.

Die Organisation des gesamten Events ist wie immer perfekt gewesen. Viele fleißige und freundliche Helfer an allen Orten, gute Beschilderung und übersichtliche Infoscreens. Das Vortragsprogramm war wie immer bunt gemischt und so war für jeden was dabei. Leider hat sich auch mal wieder gezeigt, dass im Programm sehr interessant klingende Vorträge auch schon mal eher weniger spannend sind und hinter denn Erwartungen zurück blieben. Wer allerdings immer in allen Belangen – inhaltlich wie unterhaltsam – klasse Vorträge abliefern sind Peer Heinlein und Martin Loschwitz. Der Vortrag zu Strace war auch recht interessant und hat einem noch ein paar mehr Hintergründe zu diesem alltäglichen Helferlein vermittelt. Allerdings hätten eine Stunde auch gereicht. Leider ein wenig ohne roten Faden war der Django Vortrag. Das war wie mit Dartpfeile auf die vier Tutorials geschossen.

Das Social Event am Samstag Abend war in allen Belangen zwiespältig. Zum einen waren die Besucher auf zwei Räume verteilt, zum anderen war vor allem im Diskoraum die Musik nur zur Hälfte erträglich, was man auch daran festmachen konnte, dass die Tanzfläche nur bei einem DJ Beachtung gefunden hat. Im Nebenraum gab es die Möglichkeit auf der Retro-Party alte Konsolen und PC spiele noch einmal zu erleben. Kindheitserinnerungen wurden da sicher bei den Allermeisten noch einmal geweckt.

Auf jeden Fall steht fest, dass wir (Turrican, Killefiz, Rudi und ich) auch nächstes Jahr wieder dabei sein werden.

Tags: , ,

 


Jan 31 2012

Converting WAV to ULAW directly

Category: Computer,LinuxTuxevara @ 20:17

After several years some voicebox messages of a Vbox system I’m responsible for had to be changed. Although I left a README file in the MSG directory with the commands used in the past to convert WAV to ULAW, the result wasn’t what I expected. There was an ugly cracking sound at the beginning of each ULAW file. As it wasn’t there in the intermediate AU files, it must be autovbox “adding” it.

After some research it turned out, that it is easily possible to convert WAV to ULAW in directly using SOX. The following command works like charm:

find . -name \*.wav -exec sox -V {} -r 8000 -c 1 -t ul -w {}.ulaw \;

Tags: , , ,

 


Jan 07 2012

Bacula & Vchanger Error: “i/o error reading loaded0 file on magazine in bay 1″

Category: Computer,LinuxTuxevara @ 21:13

Today I debugged a Bacula backup issue at of the networks I support during spare time. Every backup terminated with an “i/o error reading loaded0 file on magazine in bay 1″ error after the first virtual volume was full and a new one should be loaded. I quickly figured out that upon mounting, the loaded0 file was still empty and therefore every unmount request as well as new mount requests just fails.

In order to see what exactly is going on when vchanger tries to load a volume, I ran:


strace -f vchanger /etc/bacula/vchanger.conf -u bacula -g disk load 8 usbchanger1 0

You’ll never guess what the problem was! I forgot to set the number of reserved blocks to zero when preparing the file system of the disks, so from a normal users perspective the disk was just out of space.

Here you can see the important lines of the strace call:
open("/mnt/vchanger/donnerstag/loaded0", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77c2000
write(5, "usbchanger1_0004_0008\n"..., 22) = -1 ENOSPC (No space left on device)
close(5) = 0

A tune2fs -m 0 /dev/sdc1 solved the problem, but why isn’t vchanger’s first load failing with an error message that tells me that it was not possible to update the loaded0 file? I think I am going to write a patch for this now.

UPDATE: Here is my patch to correctly interrupt loading and write useful log information: diskmanager.patch

Tags: , , ,

 


Next Page »