Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2009 09:01:56 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Wesley Miranda <lista@freebsdconsult.com.br>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Modem 3G ZTE 626
Message-ID:  <20090803070156.GA1934@current.Sisis.de>
In-Reply-To: <73AF33672A3B4540BB1A193FECDC770A@worklab>
References:  <73AF33672A3B4540BB1A193FECDC770A@worklab>

next in thread | previous in thread | raw e-mail | index | archive | help

El día Sunday, August 02, 2009 a las 09:04:36PM -0300, Wesley Miranda escribió:

	...
> Jan 12 01:55:33 idxbox ppp[1349]: Phase: Using interface: tun0
> Jan 12 01:55:33 idxbox ppp[1349]: Phase: deflink: Created in closed state
> Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set device /dev/cuau1
> Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set speed sync
> Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set dial ABORT BUSY TIMEOUT 2         ""         AT OK-AT-OK         AT+CFUN=1 OK-AT-OK         AT+CMEE=2 OK-AT-OK
>     AT+CSQ OK         AT+CGDCONT=1,\"IP\",\"internet\" OK         AT+CGACT? OK-AT-OK         AT+CGATT? OK         AT+CGCLASS? OK         AT+COPS? OK         ATD*99# CONNECT
> Jan 12 01:55:33 idxbox ppp[1349]: tun0: Phase: PPP Started (interactive mode).
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Command: /dev/pts/1: dial
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: bundle: Establish
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: closed -> opening
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: Connected!
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: opening -> dial
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: deflink: Dial attempt 1 of 1
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: Send: AT^M
> Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: Expect(2): OK
> Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Expect timeout
> Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Send: AT^M
> Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Expect(2): OK
> Jan 12 01:55:54 idxbox ppp[1349]: tun0: Chat: Expect timeout
> Jan 12 01:55:54 idxbox ppp[1349]: tun0: Warning: Chat script failed
	...

Try with some terminal software, like kermit, if you can talk AT cmds to the
device /dev/cuau1 at all;

btw: my device name in 8-CURRENT for a Huawei E220 USB card is /dev/cuaU0.0;
check the man page of the driver you are using for the correct name;

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090803070156.GA1934>