gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokiid & Nokia 6610 & FBUS cable (PL2303) & GPRS


From: Panagiotis Astithas
Subject: Re: gnokiid & Nokia 6610 & FBUS cable (PL2303) & GPRS
Date: Mon, 05 Apr 2004 18:44:28 +0300
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040313

Petr Spodniak wrote:
V po, 05. 04. 2004 v 16:25, Panagiotis Astithas píše:

What is the problem with ucom? I use it daily, albeit not with a cell phone. Does the driver attach to the device? Can you post the output of "usbdevs -v"? Can you also show the error from ppp's log?


gnokii working correctly with ucom device, but ppp (or tip) not.

# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: power 100 mA, config 1, PL2303 Serial adapter (ATEN/IOGEAR 
UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02
 port 2 powered
#

Ah OK, so the device is probed and attaches fine.

ppp.log fragment:
Apr  5 16:53:40 acer-nb ppp[4502]: Phase: Using interface: tun0
Apr  5 16:53:40 acer-nb ppp[4502]: Phase: deflink: Created in closed state
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: default: ident user-ppp 
VERSION (built COMPILATIONDATE)
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set device /dev/ucom0
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set speed 115200
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set dial ABORT BUSY ""    
AT+CGDCONT=1,\"IP\",\"internet\" OK    ATD*99# CONNECT
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set timeout 0
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set ctsrts off
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set timeout 300
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: set ifaddr 0 0 
255.255.255.0
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Command: gprs: add default HISADDR
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Phase: PPP Started (foreground mode).
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Phase: bundle: Establish
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Phase: deflink: closed -> opening
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Phase: deflink: Connected!
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Phase: deflink: opening -> dial
Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Chat: deflink: Dial attempt 1 of 1

Seems lile this is the culprit:

Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Chat: Send: 
AT+CGDCONT=1,"IP","internet"^M

This command does not return anything for 30 secs, so ppp aborts:

Apr  5 16:53:40 acer-nb ppp[4502]: tun0: Chat: Expect(30): OK
Apr  5 16:54:10 acer-nb ppp[4502]: tun0: Chat: Expect timeout
Apr  5 16:54:10 acer-nb ppp[4502]: tun0: Warning: Chat script failed
Apr  5 16:54:10 acer-nb ppp[4502]: tun0: Phase: deflink: dial -> hangup

Since I don't have a data connection in my mobile subscription plan, I can't verify it, but are you sure the string you send is correct? For instance can you verify it from tip, or even Windows' HyperTerminal? This string (AT+CGDCONT=1,\"IP\",\"internet\" OK) seems rather weird syntax, but I could be wrong.

Cheers,
--
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece




reply via email to

[Prev in Thread] Current Thread [Next in Thread]