binarywasp Posted April 4, 2015 Share Posted April 4, 2015 This is beyond frustrating me. I did a fresh reset of the device which worked great. I did the wp5.sh script which worked great. I can plug-in and remote to the device via http & ssh. However, If I try to get the pineapple or the laptop out to the internet...no go. I did a ping and I'm not sure what this is all about. PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data. From 172.16.42.1: icmp_seq=2 Redirect Host(New nexthop: 172.16.42.1) From 172.16.42.1: icmp_seq=3 Redirect Host(New nexthop: 172.16.42.1) From 172.16.42.1: icmp_seq=4 Redirect Host(New nexthop: 172.16.42.1) I also flushed the iptables with iptables -F with no success. On top of it all, I did TWO fresh OS installs (Ubuntu 14 & Mint 17) and got the same results. Anything I can do to fix this? Quote Link to comment Share on other sites More sharing options...
binarywasp Posted April 4, 2015 Author Share Posted April 4, 2015 I should also mention, that if I simply unplug the cat5 from the pineapple, my internet starts working again on the laptop. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 5, 2015 Share Posted April 5, 2015 Sounds like your default route is broken on your Linux boxes by the wp5 script. You may have to specify the default gateway manually. If you run the route command, what's the output? (on your machine) Quote Link to comment Share on other sites More sharing options...
binarywasp Posted April 5, 2015 Author Share Posted April 5, 2015 Sounds like your default route is broken on your Linux boxes by the wp5 script. You may have to specify the default gateway manually. If you run the route command, what's the output? (on your machine) When pineapple is unplugged and things are working... $ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default lastname.tx.rr. 0.0.0.0 UG 0 0 0 wlan0 192.168.1.0 * 255.255.255.0 U 9 0 0 wlan0 When pineapple is plugged in and things aren't working... $ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 172.16.42.1 0.0.0.0 UG 0 0 0 eth0 172.16.42.0 * 255.255.255.0 U 1 0 0 eth0 192.168.1.0 * 255.255.255.0 U 9 0 0 wlan0 Default router gateway is 192.168.1.1. Strange because this is a brand new OS and freshly reset pineapple. Thanks for your help. Any suggestions are greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 5, 2015 Share Posted April 5, 2015 As I said, your default route is incorrect (see your routing table #2). Set your default route to 192.168.1.1 manually or specify that gateway in the wp5.sh script manually. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
binarywasp Posted April 5, 2015 Author Share Posted April 5, 2015 Thanks. Ill give it a shot when I get home. However, can you tell me why it works when it's not plugged in? It seems the gateway is incorrect in the first snippet too. Also, what's the easiest way via command line to change the gateway? Quote Link to comment Share on other sites More sharing options...
binarywasp Posted April 5, 2015 Author Share Posted April 5, 2015 route add default gw 192.168.1.1 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.