Date: Wed, 18 May 2011 13:07:01 +0200 From: Maciej Milewski <milu@dat.pl> To: freebsd-stable@freebsd.org Cc: "crsnet.pl" <crsnet@crsnet.pl> Subject: Re: Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem Message-ID: <201105181307.01358.milu@dat.pl> In-Reply-To: <3133cb5f034869766ba728c450e56d2e@i-pi.pl> References: <8bce9b8a86d5c7a83095d8e58f794f64@i-pi.pl> <201105181205.20934.milu@dat.pl> <3133cb5f034869766ba728c450e56d2e@i-pi.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wednesday 18 of May 2011 12:22:37 crsnet.pl napisa=B3(a): > On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski <milu@dat.pl> >=20 > wrote: > > Dnia =B6roda, 18 maja 2011 o 11:40:36 crsnet.pl napisa=B3(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 > >> =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 -> > >>=20 > >> dial > >>=20 > >> 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, > >>=20 > >> etc) > >>=20 > >> But any of them can use X300 GPS;/ > >> =20 > >> #uname -a > >> FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 > >>=20 > >> 02:24:46 > >>=20 > >> UTC 2011 > >>=20 > >> root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >>=20 > >> 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, > >>=20 > >> Incorporated> > >>=20 > >> at usbus4, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON > >> ugen6.4: <Wimedia device ManfID> at usbus6, cfg=3D0 md=3DHOST spd=3DH= IGH > >> (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 > >> =20 > >> 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 \ > >> =20 > >> \"\" \ > >> 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. > >=20 > > Do you have a pin defined on sim? >=20 > No. > I check with minicom that AT+CFUN=3D1 (Turns modem on) give Error but > AT+PCSTATE=3D1 turns it on. > Unfortunately when i change it in ppp.conf from AT+CFUN=3D1 to > AT+PCSTATE=3D1 that give me > May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Send: AT+PCSTATE=3D1^M > May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Expect(2): OK > May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: AT+PCSTATE=3D1^M^M > May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: ERROR^M > May 18 12:13:50 x60s ppp[2697]: tun0: Chat: Expect timeout Oh and very important thing: MC5725 is a CDMA EV-DO card. It will not work in GSM/UMTS network AFAIK. https://www.sierrawireless.com/Newsroom/newsreleases/2006/09-18_sierra_wire= less_reaches_two_ev- do_revision_a_product_milestones.aspx =2D- Maciej
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105181307.01358.milu>