Remove the hack to get DNS
ClosedPublic

Authored by bshah on Aug 11 2015, 7:06 AM.

Details

Summary

NetworkManager handles it by itself. This allows to change network connections on fly

Reason for connection not getting DNS was that NetworkManager in phone images uses dnsmasq + resolvconf combo. But somehow resolvconf is not configured and doesn't create /etc/resolv.conf symlink to /run/resolvconf/resolv.conf

dpkg-reconfigure -f noninteractive resolvconf

Solves this problem

Test Plan

run,

dpkg-reconfigure -f noninteractive resolvconf

on phone, change wifi connection..

Diff Detail

Repository
R27 Plasma Phone: Development Setup
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bshah updated this revision to Diff 540.Aug 11 2015, 7:06 AM
bshah retitled this revision from to Remove the hack to get DNS.
bshah updated this object.
bshah edited the test plan for this revision. (Show Details)
bshah added reviewers: sebas, garg.
bshah set the repository for this revision to R27 Plasma Phone: Development Setup.
graesslin accepted this revision.Aug 11 2015, 7:08 AM
graesslin added a reviewer: graesslin.
This revision is now accepted and ready to land.Aug 11 2015, 7:08 AM
bshah edited edge metadata.Aug 11 2015, 7:09 AM
bshah added a project: Plasma: Mobile.
garg edited edge metadata.Aug 11 2015, 10:15 AM

Perhaps mobster needs to be fixed before this change lands ?

@garg yeah : I've created pull request there...

garg accepted this revision.Aug 11 2015, 10:28 AM
garg edited edge metadata.

Ah cool, missed that.

This revision was automatically updated to reflect the committed changes.