GPRS OpenMoko for ATT/Cingular

yochaigal yochaigal at gmail.com
Sat Sep 20 21:48:29 CEST 2008


Okay I figured it out.  I had added to /etc/network/interfaces this:

auto ppp0
iface ppp0 inet ppp
        provider gprs

Once I removed it, I was able to boot.

I wanted to reboot and have gprs connect automatically. Is there any way to
have the phone connect to GPRS automatically besides that?

Also, GPRS now does NOT work.  I did:

root at om-gta02:~# tail -n 50 /var/log/messages
Sep 20 12:33:21 om-gta02 local2.info chat[1796]: send
(AT+CGDCONT=1,"IP","wap.cingular"^M)
Sep 20 12:33:21 om-gta02 user.notice root: AtChat :  N : "+CREG:
1,"1796","1C4C"" 
Sep 20 12:33:22 om-gta02 local2.info chat[1796]: expect (OK)
Sep 20 12:33:22 om-gta02 local2.info chat[1796]: ^M
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,2" 
Sep 20 12:33:22 om-gta02 local2.info chat[1796]:
AT+CGDCONT=1,"IP","wap.cingular"^M^M
Sep 20 12:33:22 om-gta02 local2.info chat[1796]: OK
Sep 20 12:33:22 om-gta02 local2.info chat[1796]:  -- got it
Sep 20 12:33:22 om-gta02 local2.info chat[1796]: send (ATD*99***1#^M)
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "OK" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  T : "AT+COPS?" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "+COPS:
0,2,"310410"" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "OK" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "OK" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  T : "AT+COPS?" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "+COPS: 0,0,"AT&T"" 
Sep 20 12:33:22 om-gta02 user.notice root: AtChat :  F : "OK" 
Sep 20 12:33:22 om-gta02 daemon.info pppd[1793]: Serial connection
established.
Sep 20 12:33:22 om-gta02 daemon.info pppd[1793]: Using interface ppp0
Sep 20 12:33:22 om-gta02 daemon.notice pppd[1793]: Connect: ppp0 <-->
/dev/pts/1
Sep 20 12:33:26 om-gta02 user.notice root: AtChat :  T : "AT+CCFC=0,2" 
Sep 20 12:33:28 om-gta02 user.notice root: AtChat :  F : "+CCFC: 0,7" 
Sep 20 12:33:28 om-gta02 user.notice root: AtChat :  F : "OK" 
Sep 20 12:33:34 om-gta02 user.err kernel: [  384.845000] power_supply bat:
driver failed to report `current_now' property
Sep 20 12:33:49 om-gta02 daemon.info pppd[1793]: Terminating on signal 15
Sep 20 12:33:55 om-gta02 user.err kernel: [  405.330000] power_supply bat:
driver failed to report `current_now' property
Sep 20 12:33:55 om-gta02 daemon.notice pppd[1793]: Connection terminated.
Sep 20 12:33:55 om-gta02 user.debug kernel: [  405.720000] PM: Removing info
for No Bus:ppp0
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (OK)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (BUSY)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (DELAYED)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (NO ANSWER)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (NO CARRIER)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (NO DIALTONE)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (VOICE)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (ERROR)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: abort on (RINGING)
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: timeout set to 12 seconds
Sep 20 12:33:55 om-gta02 local2.info chat[1912]: send (\k\k\k\d+++ATH^M)
Sep 20 12:33:56 om-gta02 local2.info chat[1912]: expect (NO CARRIER)
Sep 20 12:33:57 om-gta02 local2.info chat[1912]: ATH^M^M
Sep 20 12:33:57 om-gta02 local2.info chat[1912]: OK
Sep 20 12:33:57 om-gta02 local2.info chat[1912]:  -- failed
Sep 20 12:33:57 om-gta02 local2.info chat[1912]: Failed (OK)
Sep 20 12:33:57 om-gta02 daemon.warn pppd[1793]: disconnect script failed
Sep 20 12:33:57 om-gta02 daemon.notice pppd[1793]: Modem hangup
Sep 20 12:33:58 om-gta02 daemon.info pppd[1793]: Exit.
Sep 20 12:33:58 om-gta02 local0.info /usr/sbin/gsm0710muxd[1387]:
gsm0710muxd.c:609:pseudo_device_read(): Logical channel 2 for (null) closed
Sep 20 12:34:05 om-gta02 user.err kernel: [  415.815000] power_supply bat:
driver failed to report `capacity' property

I rebooted and everything worked.




yochaigal wrote:
> 
> 
> So I re-imaged the freerunner, using the original kernel... and it works
> (again)!!!
> I rebooted and it froze at 40%... again!! basically this means I can't use
> GPRS until I figure out what is making it crash.  For now I'm putting a
> different kernel on and disabling the gprs startup script.
> 
> 
> yochaigal wrote:
>> 
>> GPRS was working, then I rebooted the freerunner, and it fails to boot. 
>> at around 40%, then shows a black screen with the message:
>> "removing info for no Bus:vcs2" 
>> 
>> but I think that was simply the most recent output of the boot process.
>> 
>> I uploaded it with the newest kernel (testing-om-0920), and it
>> successfully booted. but now GPRS doesn't work! 
>> 
>> I start it with the gui; it says "failed."  then I ran:
>> 
>> tail -n 25 /var/log/messages and got this:
>> 
>> Sep 20 11:08:56 om-gta02 local0.info /usr/sbin/gsm0710muxd[1783]:
>> gsm0710muxd.c:1410:extract_frames(): Logical channel 1 opened
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _spin_lock_bh
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _spin_unlock_bh
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> mutex_lock_nested
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _read_unlock_bh
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _spin_unlock
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _write_lock_bh
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _read_lock_bh
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> __spin_lock_init
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> __rwlock_init
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _spin_lock
>> Sep 20 11:08:58 om-gta02 user.warn kernel: ppp_generic: Unknown symbol
>> _write_unlock_bh
>> Sep 20 11:08:58 om-gta02 daemon.notice modprobe: FATAL: Error inserting
>> ppp_generic (/lib/modules/2.6.24/kernel/drivers/net/ppp_generic.ko):
>> Unknown symbol in module, or unknown parameter (see dmesg)
>> Sep 20 11:08:58 om-gta02 daemon.err pppd[1795]: This system lacks kernel
>> support for PPP.  This could be because the PPP kernel module could not
>> be loaded, or because PPP was not included in the kernel configuration. 
>> If PPP was included as a module, try `/sbin/modprobe 
>> 
>> .....
>> 
>> I then imaged the Om Milestone 3 kernel (stable) and now it boots but I
>> receive the same error message.  I think I have to load the gsm0710muxd
>> kernel module...
>> 
>> I'll try and figure it out.  If only that darn FDOM kernel would work!
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/GPRS-OpenMoko-for-ATT-Cingular-tp1097181p1106780.html
Sent from the Openmoko Community mailing list archive at Nabble.com.





More information about the community mailing list