Download   Online Shop   Red Hat Network
Home  |  Products  |  Shop  |  Services  |  Training  |  Support   
Red Hat Documentation

Linux IR HOWTO: Appendix A - Configuration Script Next Previous Contents

21. 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.6 $ $Date: 2025/08/28 08:47:17 $ (Takahide Higuchi)
# Mar 10 12:31:41 octagon kernel: IrVTD, $Revision: 1.6 $ $Date: 2025/08/28 08:47:17 $ (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

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2000 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat