-
Notifications
You must be signed in to change notification settings - Fork 49
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
DNS Support #1
Comments
Thanks Felix, glad it has worked cool for you :-) I'm not 100% sure but I think we need more cross-compile work to be done for: host, bind and/or nslookup commands. Anyway, I'll do some research tonight and get back with more info. |
@daraosn no worries / no rush. I don't need it right now, but having this eventually would be nice to really do internet stuff with the drone! |
I'm on this. Found something useful (not 100% related, but really cool) DHCP client: |
So this could be used to make the router assign an IP to the drone? |
Exactly :) I just pushed a commit. Now is even simpler to connect the drone to a router. You can set Static DHCP leases with the Drone's MAC address and have always the same IP when it connects. I'm still working on the DNS resolution issue. |
Some progress: BusyBox actually has nslookup but you're right, /etc/resolv.conf won't help. Even when you do nslookup google.com 8.8.8.8 using google's dns server, it won't work. I found some stuff that might lead to the fix: |
@daraosn nice work! So seems like this guy has a patch but isn't giving it out? : ) |
Just tried the DHCP support which seems to work. However, what's the best way to find the new IP of the drone? I had to get it from my router, but IMO this may be unpractical in some cases. |
@felixge yeah, unfortunately it seems like he won't give it for free, but some more people reporting problem, more research to be done. Regarding DHCP, I just set a DHCP Static Lease for the AR Drone MAC address. Then whenever you connect to it the network, the router will take care of always giving the same IP. I agree though that it might be unpractical in some cases, and that's why it's still possible to pass the -a flag to give the desired address and avoid DHCP :-) |
Yeah, that's good enough. |
I managed to get DNS working by copying libresolv-2.15.so (from armtools/arm-none-linux-gnueabi/libc/lib) in /lib and creating the link /lib/libresolv.so.2 to it |
I can confirm is working!! Thanks for sharing @antlai. Now to install 3G stick.
|
Woa! This is huge! @antlai thank you so much for sharing! |
Hi
|
Hi Diego,
just tried out ardrone-wpa2 and it's working like a charm! Thank you so much for doing this!!!
Did you figure out how to get DNS resolution working? I just tried adding my router to
/etc/resolv.conf
(which required me to rm the broken symlink that was in there), but it doesn't work. Any idea?The text was updated successfully, but these errors were encountered: