./manuel klimek

Irda communication and the Ipaq

First let's see what ipkg list |grep irda tells us... Now let's install opie-irdaapplet. This was all it took to get basic irda support on my Ipaq. But to use your phone as a modem, you need more. There's a nice description in the IrDA Wiki Page.

Using GPRS with your mobile phone

There's a really nice Howto. And a general linux + gprs Howto. The stuff from the general howto worked for me like a charm, after I looked into the siemens settings sheet (there's a link in the howto).

/etc/ppp/peers/s45_gprs:

s45_gprs
/etc/ppp/peers # cat s45_gprs
noauth
connect "export DNS1=195.182.096.028; export DNS2=195.182.096.061; \
    /usr/sbin/chat -v -f /etc/ppp/chatscripts/s45_gprs"
defaultroute
/dev/ircomm0
115200
persist
usepeerdns
user ""

/etc/ppp/chatscripts/s45_gprs:

TIMEOUT 45
ABORT BUSY
ABORT "NO CARRIER"
ABORT ERROR
"" 'ATE1'
OK AT+CGDCONT=1,"IP","internet";+CGQREQ=1,0,0,0,0,0
OK ATD*99***1#
CONNECT \d\c

Managing all from Opie

Now we want to connect and disconnect from opie. Therefor we create some files.

/usr/bin/s45_gprs_on.sh (make executable)

#!/bin/sh
pppd call s45_gprs &

/usr/bin/s45_gprs_off.sh (make executable)

#!/bin/sh
killall pppd

/opt/QtPalmtop/apps/Settings/s45_gprs_on.desktop

[Desktop Entry]
Exec=s45_gprs_on.sh
Icon=Network/PPPConnect
Type=Application
Name=Connect GPRS
CanFastload=0

/opt/QtPalmtop/apps/Settings/s45_gprs_off.desktop

[Desktop Entry]
Exec=s45_gprs_off.sh
Icon=Network/PPPConnect
Type=Application
Name=Disconnect GPRS
CanFastload=0