Installing Software on a Nokia 6230i with bluetooth on Ubuntu

gammu 1 identify
gammu 1 nokiaaddfile Application _program name without .jar_

My ~/.gammurc

[gammu1]
port = 00:14:A7:67:D1:FB
#model = 6110
connection = bluephonet
#synchronizetime = yes
#logfile = gammulog
#logformat = textall
#use_locking = yes
#gammuloc = locfile
#startinfo = yes
#gammucoding = utf8

Bluetooth GPS “BT-GPS8 Jentro” with Ubuntu

hcitool dev
hcitool scan
sudo rfcomm bind /dev/rfcomm0 00:0D:B5:81:9B:CF
sudo gpsd -N -n -b -D4 /dev/rfcomm0

GPS-Software:

gpspipe -r
xgps
viking
gpsdrive

Hylafax, WHFC error “Wrong command line or help pa”

I got this error when sending a fax from the windows client WHFC. I had an HP Laserjet PS as printer driver.

After choosing another printer driver it worked. I now use “Apple LaserWriter 16/600 PS”.

Links

http://whfc.uli-eckhardt.de/

nagios with check_by_ssh on Debian

nagios machine: sudo aptitude install nagios2
watched machine(example.com): sudo aptitude install nagios-plugins-basic

On both machines: create a new home dir for the nagios user:

sudo -i
mkdir /home/nagios
chown nagios:nagios /home/nagios
vipw
^D

In `vipw’ find the user nagios and edit home dir and login shell to /home/nagios and /bin/bash.

On nagios machine: create SSH key pair:

sudo su nagios
ssh-keygen
ssh-copy-id root@example.com
#
ssh root@example.com
mkdir /home/nagios/.ssh
cp .ssh/authorized_keys /home/nagios/.ssh
chown -R nagios:nagios  /home/nagios/.ssh
^D
#
ssh example.com w
^D

* edit /etc/nagios2/commands.cfg
* edit /etc/nagios2/conf.d/services_nagios2.cfg

GPRS with Linux, bluetooth, 6230i, fonic.de

Prerequisites

* laptop
* bluetooth dongle
* cell phone (Nokia 6230i in my case)
* fonic.de prepaid SIM card

hcitool scan
sudo rfcomm bind rfcomm0 00:14:A7:XX:XX:XX
sudo editor /etc/ppp/peers/o2

/etc/ppp/peers/o2

/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault

/etc/ppp/chat-gprs

'' ATZ OK
AT+CGDCONT=1,"IP","pinternet.interkom.de"
OK "ATD*99#"
CONNECT ''

Dial

pppd call o2
# Control+C to stop

Links

HowToForge

key signing with “signing-party”

LinuxTag 2007 in Berlin. Howto sign the keys.
http://www.linuxtag.org/2007/en/community/keysigning.html

Prerequisites

You need a working mail server.

install needed software:

$ sudo aptitude install \
signing-party \
gnupg-agent \
pinentry-gtk2

first run of caff. additional options for it.

$ caff
$ editor ~/.caff/gnupghome/gpg.conf
use-agent
no-greeting
# 2007-06-04
default-cert-level 2 # fingerprint verified, ID checked

test with 1 fingerprint:

$ echo "ABC" > testFp.txt # fingerprint without spaces
$ caff `cat testFp.txt`

create a file with just the fingerprints and without spaces:

$ grep fingerprint ksp-lt07.txt
$ grep fingerprint ksp-lt07.txt | cut -d "=" -f2 | tr -d " " > all-finger-prints.txt

delete all keys of people, that didn't show up. and my own

$ editor all-finger-prints.txt


$ eval `gpg-agent --daemon`
$ caff -mR --key-file ksp-lt07.asc `cat all-finger-prints.txt`

Links

http://www.wlug.org.nz/KeySigningScripts

bug hunters

bughunters.jpg

back to the roots: Motofone F3

Gnome-OSD

Gnome-OSD is an On Screen Display system. It can show messages when:
- rhythmbox switches to the next song
- someone logs in or out his IM account (by running Gaim locally)
- new mail arrives (through mail-notification)
- someone talks to you on IRC
gnome-osd.pngthat’s a test message

Packages

- gnome-osd
- mail-notification
- mail-notification-evolution

irssi with festival

Directory layout and files:

ranf@schlepp:~$ tree  .irssi/
.irssi/
|-- config
|-- config_freenode_ubuntu
`-- scripts
    |-- Festival
    |   `-- Client.pm
    `-- speak.pl

In irssi run this to load speak.pl:

/load speak.pl

These are the commands “speak.pl” understands. They can be run from from inside irssi (with a slash in front of them):

ranf@schlepp:~$ cd .irssi/scripts/
ranf@schlepp:~/.irssi/scripts$ grep command *
speak.pl:       Irssi::command_bind('writeconfig', '_writeconfig');
speak.pl:           Irssi::command_bind('startfest', '_startfest');
speak.pl:       Irssi::command_bind('really', '_startfest_really');

To start the festival server type /startfest

Links

irssi FAQ
irc2fest
Festival::Client