Witzbold Posted April 5, 2012 Share Posted April 5, 2012 Hey Guys, Got my first pineapple this week (MkIV), I was attempting to set up a tethered connection for the pineapple to use. I set the local address to 172.16.42.42, to be the gateway to the internet, and set up ICS to that connection, but it's not connecting. On the Windows machine, I can't ping 172.16.42.1 and from the pineapple, I can't ping .42 (the gateway). Any suggestions on what troubleshooting steps I can take? Quote Link to comment Share on other sites More sharing options...
barry99705 Posted April 5, 2012 Share Posted April 5, 2012 Which port do you have the network cable plugged into? Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 5, 2012 Author Share Posted April 5, 2012 I am using the WAN\LAN port on the pineapple. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 5, 2012 Share Posted April 5, 2012 Use the PoE port. Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 9, 2012 Author Share Posted April 9, 2012 I switched it over to the POW port, and while I can ping from the pineapple to the 42.42 address, and from the 42 address to the pineapple, it doesn't forward internet traffic through it. I even flashed the pineapple to just make sure there was no software issues. I confirmed the internet sharing was enabled and working. Any other advice? Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 9, 2012 Share Posted April 9, 2012 If you could ping back and forth from PC-Pineapple, then I would be inclined to say it was the ICS setup not passing the traffic through to your outward facing network. I don't play much with Windows ICS but it seems that may be the issue. How did you confirm it was working? Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 9, 2012 Author Share Posted April 9, 2012 I thought that may be a similar issue, but when I took the connection off to pineapple, and plugged into a normal home router, the PC attached to that was able to get internet. Tracert confirmed that it was using the ICS connection to get to the web. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 9, 2012 Share Posted April 9, 2012 I think you have a miss understanding of how it's supposed to work? The pineapple gets internet from your PC, Not PC gets internet from Pineapple. Something is unclear here, let me see if I can find my crappy diagram I made a while back. Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 9, 2012 Author Share Posted April 9, 2012 I'm sorry if I mispoke or didn't explain myself clearly. I get the concept of the pineapple getting the internet from the PC, I just think I explained it horribly. I should have used PC1 and PC2 to clarify the ICS testing steps. I used PC1 (with ICS) to share a connection to PC2 to confirm that PC1 was sharing the internet connection (and there were no problems there). I then detached from PC2 and plugged PC1 (with ICS) into the pineapple PoE Lan port. Confirmed that both the pineapple and PC1 could see eachother (by pinging). Then I had PC2 wirelessly connect to the pineapple and see if I could get it to server up internet to PC2 (victim). If what I am saying seems still like total nonsense, then maybe I do have a horrible understanding...and will just do some more reading. Let me know if that makes sense. Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 9, 2012 Author Share Posted April 9, 2012 (edited) And looking and the Pineapple site (172.16.42.1/pineapple) I noticed that the WAN/LAN port has an IP address populated and it's pingable, but there is nothing plugged into that port in the back...only the PoE port with the 172.16.42.42 address configured and pingable and the WAN light on the pineapple is lit. Now I'm confused. Edited April 9, 2012 by Witzbold Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 9, 2012 Share Posted April 9, 2012 What firmware revision are you on? I am currently not able to access my pineapples until Wednesday, so this may be tricky. Have you change network settings at all on the pineapple? Is Karma started? What do the clients of the pineapple get for IP/Subnet/Gateway? Quote Link to comment Share on other sites More sharing options...
Witzbold Posted April 10, 2012 Author Share Posted April 10, 2012 I'm on firmware 1.1.1. I just re-reflashed my pineapple, and am able to get the connection to share from the PoE Lan port. I am still getting nothing on my WAN/Lan port though. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted April 10, 2012 Share Posted April 10, 2012 I'm on firmware 1.1.1. I just re-reflashed my pineapple, and am able to get the connection to share from the PoE Lan port. I am still getting nothing on my WAN/Lan port though. have you issued those iptables commands for the wan/lan port? found on the wiki Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 10, 2012 Share Posted April 10, 2012 I don't think the WAN port is active or has a use yet. Sebkinne would have to confirm that. Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted April 10, 2012 Share Posted April 10, 2012 (edited) I don't think the WAN port is active or has a use yet. Sebkinne would have to confirm that. WAN port is active but is a bit erratic. Sometimes I can use it just with iptables commands found on the wiki, sometimes not at all. Also try on the pineapple the following command echo "1" > /proc/sys/net/ipv4/ip_forward Edited April 10, 2012 by Whistle Master Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 10, 2012 Share Posted April 10, 2012 WAN port is active but is a bit erratic. Sometimes I can use it just with iptables commands found on the wiki, sometimes not at all. Also try on the pineapple the following command echo "1" > /proc/sys/net/ipv4/ip_forward IP forwarding should already be enabled on the pineapple, at least when Karma is active. Default I think it uses the PoE for just normal usage. If you want to use the WAN port for whatever reason, you will have to check ifconfig for the interface, and change up things to work for that interface instead. 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.