Toshiba Portege 3010 and Siemens S45 via IrDA

You are here: Bro1 :: English :: Linux :: Toshiba Portege 3010 and Siemens S45 via IrDA

It took me almost 2 evenings to configure IrDA connection on my Toshiba Portege, so I have decided to document what I have done.

Tools

Debian Woody
Toshiba Portege 3010
Siemens S45

Installation

# apt-get install irda-common
# apt-get install irda-tools

Configuration

# dpkg-reconfigure irda-common

Set parameters for kernel modules

add the following line to /etc/modules.conf
options toshoboe max_baud=19200

Load the required kernel modules

# modprobe toshoboe

Attach driver to the device file

# irattach -d /dev/ircomm0 -s

Siemens S45

Enable infrared port on your mobile and place it near Toshiba's IrDA port.

Test connection

# cat /proc/net/irda/discovery
This command should contain information that mentions your mobile telephone make (SIEMENS S45)

Init strings to be used

You should send the following initialisation strings to use it:
AT
AT+CBST=71,0,1

Create link to serial port

# cp -s /dev/ircomm0 /dev/ttyS2
This will create a symbolink ttyS2 (COM3) that leads to /dev/ircomm0
After this your Siemens S45 may be used the same way as any other hardware modem.

Connecting to internet

I recommend using program wvdial
# apt-get install wvdial
# wvdialconf
Then edit the file /etc/wvdial.conf and set the following lines
Init1 = AT
Init2 = AT+CBST=71,0,1
These init strings made my connection to be stable (it used to disconnect every 5-10 seconds if I used the default init strings)
And then just type wvdial

Thanks

Thanks to all the people who created all those HowTos I have used and to all those people who have implemented irda-tools.
Last modified: 2002-10-21

Created with Qixite