Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 12:05:20 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        freebsd-stable@freebsd.org
Cc:        "crsnet.pl" <crsnet@crsnet.pl>
Subject:   Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem
Message-ID:  <201105181205.20934.milu@dat.pl>
In-Reply-To: <8bce9b8a86d5c7a83095d8e58f794f64@i-pi.pl>
References:  <8bce9b8a86d5c7a83095d8e58f794f64@i-pi.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Dnia =C5=9Broda, 18 maja 2011 o 11:40:36 crsnet.pl napisa=C5=82(a):
>  Hello.
>  Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is
>  recognized, but when i try to run ppp -ddial iplus i get this error :
>=20
>  /var/log/messages
>  May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed
>=20
>  /var/log/ppp
>  May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening -> dial
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=3D1^M
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=3D1^M^M
>  May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M
>=20
>=20
>  For GPS i try to use
>  gpsdrive-2.09_11    A GPS navigation system
>  viking-1.0.2        Program to manage GPS data (tracks, waypoints, etc)
>  But any of them can use X300 GPS;/
>=20
>  #uname -a
>  FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46
>  UTC 2011     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>  i386
>=20
>  #dmesg
>  ugen6.3: <vendor 0x17ef> at usbus6
>  ugen4.2: <Sierra Wireless, Incorporated> at usbus4
>  u3g0: <Data Interface> on usbus4
>  u3g0: Found 3 ports.
>=20
>  #sudo usbconfig
>  ugen4.2: <Sierra Wireless MC5725 Modem Sierra Wireless, Incorporated>
>  at usbus4, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON
>  ugen6.4: <Wimedia device ManfID> at usbus6, cfg=3D0 md=3DHOST spd=3DHIGH
>  (480Mbps) pwr=3DON
>=20
>  #ls -la /dev/cuaU*
>  crw-rw----  1 uucp  dialer    0, 123 18 maj 09:39 /dev/cuaU0.0
>  crw-rw----  1 uucp  dialer    0, 124 18 maj 09:39 /dev/cuaU0.0.init
>  crw-rw----  1 uucp  dialer    0, 125 18 maj 09:39 /dev/cuaU0.0.lock
>  crw-rw----  1 uucp  dialer    0, 129 18 maj 09:39 /dev/cuaU0.1
>  crw-rw----  1 uucp  dialer    0, 130 18 maj 09:39 /dev/cuaU0.1.init
>  crw-rw----  1 uucp  dialer    0, 131 18 maj 09:39 /dev/cuaU0.1.lock
>  crw-rw----  1 uucp  dialer    0, 135 18 maj 09:39 /dev/cuaU0.2
>  crw-rw----  1 uucp  dialer    0, 136 18 maj 09:39 /dev/cuaU0.2.init
>  crw-rw----  1 uucp  dialer    0, 137 18 maj 09:39 /dev/cuaU0.2.lock
>=20
>  #cat /etc/ppp/ppp.conf
>  iplus:
>   set log Phase Chat LCP IPCP CCP tun command
>   ident user-ppp VERSION (built COMPILATIONDATE)
>=20
>   set device /dev/cuaU0.0
>   set speed 460800
>   #set speed 115200
>   set dial "ABORT BUSY TIMEOUT 2 \
>          \"\" \
>          AT OK-AT-OK \
>          AT+CFUN=3D1 OK-AT-OK \
>          AT+CMEE=3D2 OK-AT-OK \
>          AT+CSQ OK \
>          AT+CGDCONT=3D1,\\\"IP\\\",\\\"internet\\\" OK \
>          AT+CGACT? OK-AT-OK \
>          AT+CGATT? OK \
>          AT+CGCLASS? OK \
>          AT+COPS? OK \
>          ATD*99***1# CONNECT"
>=20
>   set timeout 180
>   enable dns
>   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>   add default HISADDR
>=20
>  Regards, Adrian.
Do you have a pin defined on sim?

=2D-
Maciej



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