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 root@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.
On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski <milu@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 >> root@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> > -- > Maciej
On Wed, May 18, 2011 at 11:40:36AM +0200, crsnet.pl wrote:> 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^MI'm not familiar with GPS modem units, but I am familiar with classic modems and a little bit with chat scripts from my Linux days. A couple things -- and possibly these GPS modems behave differently than what I was used to back in the early 90s: 1) Based on the chat logs above, it looks like echo mode is enabled on the modem. The client should be sending "AT\r", and it should receive the response "OK\r". Instead, the log indicates what you're getting back is "AT\r\rOK\r". 2) Regardless of #1, the AT+CFUN=1 command you're sending to the modem results in the modem itself responding with ERROR. This isn't coming from ppp, chat, or anything else -- the modem is literally responding with ERROR itself. Meaning, that command (obviously not Hayes!) the modem firmware doesn't know how to interpret. I have no idea what +CFUN=1 does, but then again the modem doesn't seem to either. :-) So I guess my advice would be: fix your chat script to work properly with your modem. :-) Your script is here:> 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"-- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |
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 root@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? -- Maciej
Wednesday 18 of May 2011 12:22:37 crsnet.pl napisa?(a):> On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski <milu@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 > >> > >> root@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 timeouthttp://sierrawireless.custhelp.com/app/answers/detail/a_id/500/~/can-i-use-my- sierra-wireless-modem-on-a-linux-operating-system-%3F-%28-v.1.7.36%29 Sometimest command port is different than data port. Try different cuau0.0, cuau0.1, cuau0.2 also GPS many times has his own subinterface so that may be the point. My working ppp.conf dial definition, with pin enabled: set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK \ AT OK-AT-OK AT+CPIN=0000 OK-AT-OK\ AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \ AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" -- Maciej
Wednesday 18 of May 2011 12:22:37 crsnet.pl napisa?(a):> On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski <milu@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 > >> > >> root@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 timeoutOh 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
>> >> 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:( I must check that is a available CDMA network in Poland. But if any here know that i can use GPS builded into this Modem i will be gratful. Adrian.> > -- > Maciej
Wednesday 18 of May 2011 14:13:00 crsnet.pl napisa?(a):> >> 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_wi > > reless_reaches_two_ev- do_revision_a_product_milestones.aspx > > > :( I must check that is a available CDMA network in Poland.Look on the http://www.bez- kabli.pl/viewtopic.php?t=12788&postdays=0&postorder=asc&start=15> But if any here know that i can use GPS builded into this Modem i will > be gratful. > > Adrian.http://forum.thinkpads.com/viewtopic.php?f=30&t=61164 -- Maciej
Hello. I upgrade my FreeBSD 8.2-Release to FreeBSD 9-Beta and pkg_delete -f -a and add new (that same) pkgs with pkg_add. And system, xorgs, wine, opera, java, flash works ok, but... I find two things that dont works ;/ 1. Suspend. On FreeBSD 8.2 when i make ifconfig wlan0 down, and use zzz from X.org all works. Suspend/resume. Now when i make this same, system go to console and suspend. When i try to resume. System show console, but when i try to press ALT+F9 i get long beeep and system hang ;/ I found on Google that i can try, to make uhci as a module, and first unload it, and then suspend system. But when i try to kldload uhci system go to dbg and hangs ;/ 2. Kadu/Gnu Gadu. I dont know why, but when i run kadu / gnu gadu and try to connect to Gadu-Gadu network software segments ;/ Kadu with signal 6, GnuGadu with signal 11. I try to use old gadulib, or recompie it. But this doesn't help ;/ [cr4sh@x300 ~]$ uname -a FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #2: Mon Sep 26 00:25:30 CEST 2011 cr4sh@x300:/sys/amd64/compile/GENERIC amd64 Regards.
Hello. I upgrade my FreeBSD 8.2-Release to FreeBSD 9-Beta and pkg_delete -f -a and add new (that same) pkgs with pkg_add. And system, xorgs, wine, opera, java, flash works ok, but... I find two things that dont works ;/ 1. Suspend. On FreeBSD 8.2 when i make ifconfig wlan0 down, and use zzz from X.org all works. Suspend/resume. Now when i make this same, system go to console and suspend. When i try to resume. System show console, but when i try to press ALT+F9 i get long beeep and system hang ;/ I found on Google that i can try, to make uhci as a module, and first unload it, and then suspend system. But when i try to kldload uhci system go to dbg and hangs ;/ 2. Kadu/Gnu Gadu. I dont know why, but when i run kadu / gnu gadu and try to connect to Gadu-Gadu network software segments ;/ Kadu with signal 6, GnuGadu with signal 11. I try to use old gadulib, or recompie it. But this doesn't help ;/ [cr4sh@x300 ~]$ uname -a FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #2: Mon Sep 26 00:25:30 CEST 2011 cr4sh@x300:/sys/amd64/compile/GENERIC amd64 Regards.