Openmoko Bug #2298: GPRS connection works only once

Openmoko Public Trac bugs at docs.openmoko.org
Tue Aug 25 20:25:02 CEST 2009


#2298: GPRS connection works only once
---------------------+------------------------------------------------------
 Reporter:  niccolo  |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:  Om2009        
Component:  unknown  |        Version:  unspecified   
 Severity:  normal   |       Keywords:  GPRS          
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:                
---------------------+------------------------------------------------------

Comment(by zoff99):

 Replying to [comment:5 zoff99]:
 > also i needed this fix to get normal nameservers after shutting down
 GPRS.
 > otherwise 127.0.0.1 would be in /etc/resolv.conf
 >

 ok better readable:

 {{{
 # grps down fix
 cd /usr/lib/python2.6/site-
 packages/framework/subsystems/ogsmd/modems/abstract/
 rm -f pdp.pyo
 cat pdp.py |sed -e 's#echo nameserver 127.0.0.1 > /etc/resolv.conf#
 echo nameserver 208.67.222.222 \> /etc/resolv.conf\;echo nameserver
 208.67.220.220 \>\> /etc/resolv.conf#' > pdp.py_patched
 mv pdp.py_patched pdp.py
 # grps down fix
 }}}

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2298#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list