arclights Posted December 5, 2013 Share Posted December 5, 2013 Hi guys, I have a little problem that had me scratching my head for a while now. I am connecting to the pineapple through the eth0 interface of my PC using the wp5.sh script to setup the internet sharing. When I use the standard settings (PC IP 172.16.42.42) everything is fine. But when I try to change the PC IP to the static IP 172.16.42.2 I loose the internet sharing. I know 172.16.42.2 is outside the dhcp ip allocation range, so maybe this is linked to the problem. Has anyone an idea why I loose internet sharing with the PC IP 172.16.42.2 and how I can solve that ? Thankx in advance Cheers Quote Link to comment Share on other sites More sharing options...
Sitwon Posted December 5, 2013 Share Posted December 5, 2013 If you ssh to your Mk5 and check the route table (`route -n`) you will see that by default it's got a gateway route for 172.16.42.42. If you want to change the IP of your PC's IP and have the Internet continue to work for your Mk5 you will need to update the route table to point to the new gateway address. # route del default gw 172.16.42.42 # route add default gw 172.16.42.2 Also make sure that /etc/resolv.conf points to some actual DNS servers (or to your PC) so you can resolve domain names. Quote Link to comment Share on other sites More sharing options...
arclights Posted December 5, 2013 Author Share Posted December 5, 2013 Hey thankx for that fast reply... It solved my problem :-) Cheers 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.