Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#704 closed defect (invalid)

after gprs connection is stopped nameservers are set to

Reported by: zoff99 Owned by: daniel
Priority: major Milestone:
Component: Frameworkd / FSO Version: SHR-unstable
Keywords: Cc:


using: shr-lite-eglibc-ipk--20091114-om-gta02.rootfs.tar.gz

this old old bug ist still not fixed :-(

to fix you need to run:

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

this is certainly only a HOT-fix
it should be fixed so that, after shutting down gprs connection the resolv.conf is restored to what it was before.

Change History (7)

comment:1 Changed 9 years ago by spaetz

  • Milestone set to MS2

Yep, that is bad. But this is really a frameworkd upstream issue. Can you file a bug on, so mickey can have a look at that?

comment:2 Changed 9 years ago by zoff99

i already have :-)

yet it should be fixed in SHR also, or should we wait forever until its fixed upstream?

comment:3 Changed 9 years ago by spaetz

Cool. Yes it should be fixed in SHR, but without upstream fixing it there is little we can do. Surely just commenting out that one line will not be the correct fix, right?

comment:4 Changed 9 years ago by zoff99

the about is the correct fix. it works fine.
it does not comment out anything. just replaces the with the free dns servers.

but still the question remains if gprs can be shut down without frameworkd hanging?
that is another ticket i filed :-)

comment:5 Changed 9 years ago by spaetz

Hehe, yep, frameworkd needs to fix that. I am not sure that hardcoding the opendns servers can be considered *correct*, but it's certainly better than hardcoding The correct thing really would be to use resolvconf or whatever package allows the switching of that file back and forth. Perhaps even connman (which we already have running), is able to provide that functionality. I don't use GPRS, so I cannot test this stuff, unfortunately.

I'll ask mickey and some others what they think about us fixing it short-term this way.

comment:6 Changed 7 years ago by jama

  • Resolution set to invalid
  • Status changed from new to closed

comment:7 Changed 7 years ago by morphis

  • Milestone MS2 deleted

Milestone MS2 deleted

Note: See TracTickets for help on using tickets.