Vladislav Cerny <[EMAIL PROTECTED]> writes:
> I have for testing Tekram IRmate 210 dongle, Tekram IRmate 210B dongle,
> HP 5MP, HP 2100M, HP4050N printers.
>
> I found no difference between 210 (old model, without diode) and 210B dongles.
>
> Tested on 2.2.14, patch 2.2.14-irda1 (serial; modules irda, ircomm, irlan,
> irtty, irport, tekram dongle, irda debug), irda utils 0.9.5 on Debian 2.2.
> ---
> insmod irda
> insmod irtty
> insmod tekram
> insmod ircomm
> insmod ircomm-tty
> insmod irlan
> echo 1 > /proc/sys/net/irda/debug
> irattach /dev/ttyS0 -d tekram
> ---
>
> Link between Tekram dongles - they found each other [LAN], irdaping did not
> work (but irdadump on the other computer showed communication). No success
> in LAN connection {ifconfig irda0 host1 pointopoint host2;
> route add -host host2 dev irda0} - should it work? Is it right way?
If you use Redhat or a similar dist, then you should make
/etc/sysconfig/network-scripts/ifcfg-irlan0 on both sides:
DEVICE="irlan0"
IPADDR="192.168.0.20"
NETMASK="255.255.255.0"
ONBOOT="no"
BOOTPROTO="none"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
You can also make this file using netcfg. When you want to start irlan, you
can just do "ifup irlan0" on both sides.
> Printing Tekram -> HP5MP is OK, -> HP2100M also OK, -> HP4050N does not work
> (discovery works, irdaping works, printing does not). Has anybody HP4050N
> working via IRDA?
>
> The print speed of 2.5MB file on Tekram <-> HP5MP was 1850 bytes/seconds.
> Isn't it slow?
... and you have enabled "Fast RR's" in the kernel?
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda