Coder Social home page Coder Social logo

Does DNS work? about android-manet-manager HOT 3 OPEN

projectspan avatar projectspan commented on July 19, 2024
Does DNS work?

from android-manet-manager.

Comments (3)

jrobble avatar jrobble commented on July 19, 2024

I did some testing over a year ago using Galaxy Nexus devices that were connected in an intranet. I added the DNS setting so that I could configure them to access the DNS server running on a laptop on that network. The settings worked for that device.

The DNS setting corresponds to the "net.dns1" property in Android. If you "adb shell" in and run "getprop net.dns1" then you should see if the setting took effect.

from android-manet-manager.

duhmojo avatar duhmojo commented on July 19, 2024

Thanks for the reply. In my testing MM DNS setting updates /data/data/org.span/conf/manet.conf line dns.server, but I don't see anything else changing. greprop doesn't have my MM set DNS set. Which part of MM uses the DNS setting and pushed it into the OS properties? Is it OLSRd related? In your test, did you set your MM Gateway to that laptop?

I'm just trying to determine where my Nexus 7 and S4 devices should have these settings, and if there's some kind of Android difference. Thanks.

from android-manet-manager.

jrobble avatar jrobble commented on July 19, 2024

Check the following line in ManetServiceHelper.java:

CoreTask.setProp("net.dns1", manetcfg.getDnsServer());

It's not specifically OLSR related. It should be invoked no matter the routing protocol.

Now that I think about it, I was using an ASUS Transformer Prime with a USB Wi-Fi dongle to bridge the mesh and a managed Wi-Fi network. The Prime set its gateway interface to its internal Wi-Fi and the mesh interface to the external USB dongle. We did this so that was could connect the Prime to the managed Wi-Fi network using the normal Android Settings app.

from android-manet-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.