-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does DNS work? #21
Comments
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. |
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. |
Check the following line in ManetServiceHelper.java:
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. |
Hi.
I was looking at the gateway and DNS settings for a use case where a cell or Wifi node would be an Internet/Intranet link point. However I can't tell if the dns.server setting in manet.conf is being picked up by anything. I can't see any shell level evidence and poked around the MM source looking for clues. Thanks.
The text was updated successfully, but these errors were encountered: