Wednesday 18 of May 2011 12:22:37 crsnet.pl napisał(a): > On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski <m...@dat.pl> > > wrote: > > Dnia środa, 18 maja 2011 o 11:40:36 crsnet.pl napisał(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 > >> > >> > >> /var/log/messages > >> May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed > >> > >> /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=1^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=1^M^M > >> May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M > >> > >> > >> 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;/ > >> > >> #uname -a > >> FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 > >> > >> 02:24:46 > >> > >> UTC 2011 > >> > >> r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >> > >> i386 > >> > >> #dmesg > >> ugen6.3: <vendor 0x17ef> at usbus6 > >> ugen4.2: <Sierra Wireless, Incorporated> at usbus4 > >> u3g0: <Data Interface> on usbus4 > >> u3g0: Found 3 ports. > >> > >> #sudo usbconfig > >> ugen4.2: <Sierra Wireless MC5725 Modem Sierra Wireless, > >> > >> Incorporated> > >> > >> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > >> ugen6.4: <Wimedia device ManfID> at usbus6, cfg=0 md=HOST spd=HIGH > >> (480Mbps) pwr=ON > >> > >> #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 > >> > >> #cat /etc/ppp/ppp.conf > >> > >> iplus: > >> set log Phase Chat LCP IPCP CCP tun command > >> ident user-ppp VERSION (built COMPILATIONDATE) > >> > >> set device /dev/cuaU0.0 > >> set speed 460800 > >> #set speed 115200 > >> 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***1# CONNECT" > >> > >> 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 > >> > >> Regards, Adrian. > > > > Do you have a pin defined on sim? > > No. > I check with minicom that AT+CFUN=1 (Turns modem on) give Error but > AT+PCSTATE=1 turns it on. > Unfortunately when i change it in ppp.conf from AT+CFUN=1 to > AT+PCSTATE=1 that give me > May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Send: AT+PCSTATE=1^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=1^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_wireless_reaches_two_ev- do_revision_a_product_milestones.aspx -- Maciej _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"