Hi,
I already did this way back, but now it all seems new and mysterious again... ;)
Here's the scope:
I want to connect a Palm III/V (or Ericsson MC218) IP-wise to a linux box. The
Palm uses ppp, and I've got a JetEye PC 9680 dongle. I simply want the Palm
(or whatever) to be an IP device, using the Linux box as a network connection point.
Setup:
RedHat 6.1, 2.2.13 kernel, patch-2.2.13-irda7 and irda-utils-0.9.5
I've created device files as:
crw-r--r-- 1 root root 161, 0 Nov 29 15:27 /dev/ircomm0
crw-r--r-- 1 root root 161, 1 Nov 29 15:27 /dev/ircomm1
crw-r--r-- 1 root root 161, 16 Nov 29 15:28 /dev/irlpt0
crw-r--r-- 1 root root 161, 17 Nov 29 15:28 /dev/irlpt1
crw-r--r-- 1 root root 60, 64 Nov 30 09:06 /dev/irnine
My conf.modules contains:
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
I load various modules, and start irmanager:
/sbin/modprobe ircomm-tty
/sbin/modprobe irtty
/sbin/modprobe esi
/sbin/modprobe ppp
/usr/sbin/irmanager -d 1
This gives the following messages, which looks pretty much OK:
Nov 30 12:23:47 gal kernel: IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Nov 30 12:23:47 gal kernel: IrCOMM protocol (Dag Brattli)
Nov 30 12:23:47 gal irmanager: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Nov 30 12:23:47 gal irmanager: executing: 'echo gal > /proc/sys/net/irda/devname'
Nov 30 12:23:47 gal irmanager: + 1.1 Tue Nov 9 15:30:55 1999 Dag Brattli
Nov 30 12:23:47 gal irattach: Serial connection established.
Nov 30 12:23:47 gal kernel: IrDA: Registered device irda0
Nov 30 12:23:47 gal irmanager: + 1.1 Tue Nov 9 15:30:55 1999 Dag Brattli
Nov 30 12:23:48 gal irattach: executing: 'echo gal > /proc/sys/net/irda/devname'
Nov 30 12:23:48 gal irattach: Using device: irda0
I start pppd with:
pppd /dev/ircomm1 <speed> 192.168.0.1:192.168.0.100 passive silent persist noauth
local nodetach
where I've tried speeds btwn 9600 and 115200.
This gives me:
Nov 30 12:27:18 gal pppd[912]: pppd 2.3.10 started by root, uid 0
Nov 30 12:27:18 gal pppd[912]: Using interface ppp0
Nov 30 12:27:18 gal pppd[912]: Connect: ppp0 <--> /dev/ircomm1
An lsmod gives me this:
Module Size Used by
esi 760 1
irtty 7164 2
ircomm-tty 29080 1
ircomm 13116 0 [ircomm-tty]
irda 134465 2 [esi irtty ircomm-tty ircomm]
ppp 20684 1
slhc 4300 0 [ppp]
At this stage, the LED on the dongle is happily blinking. However, there's no way
I can get the Palm (or MC) to connect.
I'm sure I've omitted some detail (or several...), and I'm stuck.
What have I missed?
Do I have to set serial speed some place? How does the ppp interface connect to
the serial port?
I really would appreciate if someone could shed some light on this - I'm
lost in darkness ;(
TIA, Best regards
Per Wallner
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda