for setup/reset irda at linux pc i'm using such script:
ifconfig irlan0 down
ifconfig irda0 down
/etc/init.d/irda-utils stop
rmmod irlan
rmmod ircomm-tty
rmmod ircomm
rmmod irtty-sir
rmmod sir-dev
rmmod irda
modprobe irda
modprobe irtty-sir
modprobe sir-dev
modprobe ircomm
modprobe ircomm-tty
/etc/init.d/irda-utils start
modprobe irlan access=2
ifconfig irlan0 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
most importand thing is last line for setup ip for irda device.
rest stuff is needed when want use irda at next boot linux pda boot.
that script i'm running when linux start, it should be before pda linux
attach irda port. later you need do a little trick to proper setup.
when on pda irattach is done, you need take pda for irda beam, and you
should see 4 times lines about IRLAP disconnection and after that you
should see message about "irlan done.", and now you could access to pda at
ip 10.0.0.2 using ssh client.
about usb net you need kernel image 2.6 to proper setup, it also need to
be done a trick to setup, but it's a little diffrent :)
Pawel
Received on Tue Oct 26 08:35:11 2004
This archive was generated by hypermail 2.1.8 : Tue Oct 26 2004 - 08:35:31 EDT