shadesoflight Posted June 22, 2016 Share Posted June 22, 2016 (edited) Maybe I'm doing something wrong on the Pineapple, but wp6.sh is replacing /etc/resolv.conf and pointing my dns at the wifi pineapple which fails to resolve any domain names. A simple switch to google's DNS in /etc/resolv.conf allows my browser to be happy again. Thoughts? Is there a configuration issue on my end? Why is wp6.sh replacing /etc/resolv.conf at all? Edited June 25, 2016 by shadesoflight Quote Link to comment Share on other sites More sharing options...
shadesoflight Posted June 25, 2016 Author Share Posted June 25, 2016 (edited) I added a "reset" option to wp6.sh: https://gist.github.com/chadfurman/4b83132419315d05b8ccab5468caac45 This will fix the route table, bring down the pineapple connection, bring up your WAN connection, turn off IP forwarding, flush your IP tables (this also happens when you connect, go figure, maybe there should be a warning...), and fix your resolv.conf Edit: if you still have trouble, manually edit /etc/resolv.conf and add in google's nameservers: # Contents of /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Edited June 25, 2016 by shadesoflight Quote Link to comment Share on other sites More sharing options...
Null Trace Posted February 1, 2017 Share Posted February 1, 2017 Hi, I am in need of help when it comes to specifying the DNS the Pineapple should use. I did the above multiple times, as mentioned by other users, but at every reboot, the resolv.conf seems to revert back its default state. Any ideas as to why or how to fix it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.