Mr Kite,
> Subject: Re: Question about "Serial line is looped back"
> From: Clifford Kite ([EMAIL PROTECTED])
> Date: Fri Jun 09 2000 - 13:22:43 EST
>A common cause is that the connect
> script doesn't login to the ISP properly, or, in the case of PAP or CHAP
> authentication, the script ends with CONNECT '' instead of CONNECT '\d\c'.
Thanks to your response, i got the above connection to work at last!!
The CONNECT '\d\c' finally did it.
Performance is quite miserable, though.
> Clifford Kite Not a guru. (tm)
Yes you are. At least to me. :-) Found you via google.
Here is my setup. I am running kernel 2.2.18, irda patches for this kernel version
plus irda-utils 0.9.13, all on a toshiba tecra 8000 with SuSE 6.3 installed.
I am running ppp 2.3.10.
Here is my /etc/ppp/options file:
/dev/ircomm0
user "<user>"
remotename "t-online"
noipdefault
connect "/usr/sbin/chat -v -f /etc/ppp/chat-script"
ipcp-accept-remote
ipcp-accept-local
19200
noauth
-chap
defaultroute
debug
nocrtscts
nocdtrcts
modem
asyncmap 00000000
netmask 255.255.255.0
nodetach
and here is my /etc/ppp/chat-script:
ABORT BUSY
ABORT "NO CARRIER"
ECHO OFF
SAY "Calling T-Online..."
'' ATDT0191011
TIMEOUT 60
SAY "Waiting for up to 60 sec for connection"
CONNECT "\d\c"
SAY "Connected..."
and here is my /etc/rc.d/init.d/irda script:
#!/bin/sh
#
# irattach This shell script takes care of starting and stopping
# irattach (irda daemon).
#
# description: lrattach is the irda daemon required for irda to work \
# properly.
#
# Source function library.
# . /etc/rc.d/init.d/functions
# Source networking configuration.
# . /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -f /usr/sbin/irattach ] || exit 0
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting irattach: "
modprobe ircomm-tty
modprobe irtty
modprobe irport
modprobe irlan
# daemon irattach irda0 -s 1
irattach irda0 -s 1
echo
;;
stop)
# Stop daemons.
echo -n "Shutting down irattach: "
killproc /usr/sbin/irattach
rmmod irlan
rmmod ircomm-tty
rmmod ircomm
rmmod irport
rmmod irtty
rmmod toshoboe
rmmod irda
echo
;;
status)
status irattach
;;
restart|reload)
$0 stop
$0 start
;;
*)
echo "Usage: irda {start|stop|restart|reload|status}"
exit 1
esac
exit 0
---
Thomas Mittelstaedt <[EMAIL PROTECTED]>
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda