Hi,
I try to make my Fujitsu Siemens laptop to work with my Siemens S40 
portable phone, to be able to use the internet with them, but I fail 
each time.
This is the process I've followed :
name of the computer : earlene

The Bios settings are :
. Infrared Port : Enabled
. Mode : IrDA
. I/O Address : 2E8-2EF
. Interrupt : IRQ 3

Then I've created this script file "Internet_cellular_start", 
-----------------------
#!/bin/sh
# Last updated : 16 feb. 2002

echo "/*               "
echo " * Internet_Cellular_Start - Internet Start Script with my  "
echo " * mobile phone              "
echo " *                                     "
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH

cd /etc/rc.d/init.d
./irda stop
read -t 2
./pcmcia stop
read -t 2
./irda start
read -t 2

modprobe ircomm-tty
read -t 2

irattach /dev/ttyS3 -s 1
read -t 1
ifconfig irda0 up
read -t 1
pppd call isp
--------------------------------

I've created a "/etc/ppp/peers/isp" file :
/dev/ircomm0 33600
connect '/usr/sbin/chat -v -r /home/fm/chat_script_output.txt -f 
/etc/ppp/chat-isp'
noauth

and a "/etc/ppp/chat-isp" file :
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
SAY "initializing modem..."
# a simple AT command
"" "AT"
# we expect an OK, then we send the ATZ command to reset the modem
"OK" "ATZ"
SAY "dialing..."
# Once the OK received, we dial the ISP phone number
"OK" "atdt~0860922000"
# we are waiting up to 2 mns for connection
TIMEOUT 120

But when I run the "Internet_cellular_start" script, I can see the 
portable phone calling my ISP, but once connected, it hangs. In the 
/var/log/messages file, I have those messages :
Feb 16 21:51:58 earlene pppd[2380]: pppd 2.4.0 started by root, uid 0
Feb 16 21:51:58 earlene pppd[2380]: speed 33600 not supported
Feb 16 21:51:59 earlene chat[2381]: abort on (NO CARRIER)
Feb 16 21:51:59 earlene chat[2381]: abort on (NO DIALTONE)
Feb 16 21:51:59 earlene chat[2381]: abort on (ERROR)
Feb 16 21:51:59 earlene chat[2381]: abort on (NO ANSWER)
Feb 16 21:51:59 earlene chat[2381]: abort on (BUSY)
Feb 16 21:51:59 earlene chat[2381]: send (AT^M)
Feb 16 21:51:59 earlene chat[2381]: expect (OK)
Feb 16 21:51:59 earlene chat[2381]: ^M
Feb 16 21:51:59 earlene chat[2381]: OK
Feb 16 21:51:59 earlene chat[2381]:  -- got it 
Feb 16 21:51:59 earlene chat[2381]: send (ATZ^M)
Feb 16 21:51:59 earlene chat[2381]: expect (OK)
Feb 16 21:51:59 earlene chat[2381]: ^M
Feb 16 21:51:59 earlene chat[2381]: ^M
Feb 16 21:51:59 earlene chat[2381]: OK
Feb 16 21:51:59 earlene chat[2381]:  -- got it 
Feb 16 21:51:59 earlene chat[2381]: send (atdt~0860922000^M)
Feb 16 21:52:00 earlene chat[2381]: timeout set to 120 seconds
Feb 16 21:52:00 earlene pppd[2380]: Serial connection established.
Feb 16 21:52:00 earlene pppd[2380]: speed 33600 not supported
Feb 16 21:52:00 earlene pppd[2380]: Using interface ppp0
Feb 16 21:52:00 earlene pppd[2380]: Connect: ppp0 <--> /dev/ircomm0
Feb 16 21:52:31 earlene pppd[2380]: LCP: timeout sending 
Config-Requests 
Feb 16 21:52:31 earlene pppd[2380]: Connection terminated.
Feb 16 21:52:31 earlene pppd[2380]: Receive serial link is not 8-bit 
clean:
Feb 16 21:52:31 earlene pppd[2380]: Problem: all had bit 7 set to 0
Feb 16 21:52:32 earlene pppd[2380]: Exit.

Where are my mistakes ?? Thanks. Francois

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to