Next Previous Contents

25. Appendix A - Configuration Script

Configuration script by Ove Ewerlid (please change to new major device numbers, WH):


#!/bin/sh

# You may have problems if kerneld is running!

killall irattach
killall irmanager

sleep 1

rm -f /dev/ircomm 
mknod /dev/ircomm c 60 64

rmmod ircomm-tty
rmmod ircomm
rmmod irtty
rmmod irda

insmod irda
insmod irtty
insmod ircomm
insmod ircomm-tty

irmanager    # executes 'irattach /dev/ttyS1' based on /etc/irda/drivers


# Now start your favorite PPP software on /dev/ircomm

# The 'no activity on link' happens if you move the phone out of IR sight, this is no problem once the phone is back in sight!

# Mar 10 12:31:41 octagon kernel: Linux-2.2 Support for the IrDA (tm) Protocols (Dag Brattli)
# Mar 10 12:31:41 octagon kernel: IrCOMM_common, $Revision: 1.13 $ $Date: 1998/10/13 12:59:05 $ (Takahide Higuchi)
# Mar 10 12:31:41 octagon kernel: IrVTD, $Revision: 1.2 $ $Date: 1998/09/27 08:37:04 $ (Takahide Higuchi)
# Mar 10 12:31:41 octagon irmanager: executing: './drivers start  0'
# Mar 10 12:31:41 octagon irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
# Mar 10 12:31:41 octagon irattach: Serial connection established.
# Mar 10 12:31:41 octagon kernel: IrDA device irda0 registered.
# Mar 10 12:31:41 octagon irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
# ...  
# Mar 11 13:13:43 octagon kernel: IrLAP, no activity on link!


Next Previous Contents