Jump to content

problems using pineapple IV as a regular AP


gonzo

Recommended Posts

I just got a pineapple IV and I am trying to start very slow and simple before I try the other interesting but more complex uses. So I am trying to use it as a simple AP. So I have the WAN port connected to my home network. My home network assigned the address 192.168.1.63 to the pineapple WAN port. My home network gateway is 192.168.1.1.

Then on my ubuntu laptop I connect to the pineapple wireless. My laptop gets the address 172.16.42.134 and its gateway is 172.16.42.1

From the laptop I can access the pineapple web interface at 172.16.42.1:1471 and it shows that my laptop is indeed connected via the br-lan interface. It also shows that that my WAN port is indeed 192.168.1.63 via the eth1 interface. Under the Advanced menu, the routing table shows that the pineapple's default gateway is indeed 192.168.1.1. From this web interface I can ping my home network gateway 192.168.1.1 successfully.

From the laptop I can ping my pineapple gateway 172.15.42.1 and the route -n command shows that 172.16.42.1 is indeed the gateway. From the laptop I can also ping the WAN interface of the pineapple at 192.168.1.63. But I cannot ping my home network's gateway 192.168.1.1 from the laptop so I cannot reach the internet from my laptop using the pineapple as an AP.

I know this is a newbe question and is basic routing stuff but I am confused. Do I have to explicitly configure the pineapple to route to my home gateway?

Thanks,

-Andres

Edit: sorry guys, I just noticed that this pineapple question should be posted on a different forum. This is my 1st time here so I will do appropriately next time. I am assuming that I should not repost this on that forum so I will just leave it here.

Edited by gonzo
Link to comment
Share on other sites

Its kind of funny that you're trying to start simple, but ended up doing something at the intermediate level of pineapple'ing I'd say :) It really matters not, since you seem very bright and (thankfully!) can express your goals and steps taken to reach those goals. What inTheDMZ is saying above is that the default usage of the pineapple is with the POE port plugged into a laptop that is connected to a legit wireless AP with ICS enabled (internet connection sharing). That is kind of the go-to, standard, default that the pineapple is configured to be expecting upon bootup. In order to deviate from that standard, you'll have to change the routing tables - which makes sense right? It's expecting internet connectivity from one port, in one specific way (poe port with 172.16.42.42) and we're going to force it to do it another way.

So! Connect to the pineapple over the wifi and issue those commands onto the pineapple from either the advanced menu (one at a time) or ssh in. Once you're comfortable with that, I'd recommend using WhistleMasters button script (if its fixed for the latest firmware...I guess I'm not sure) to setup a script thats contingent on the WPS button press+hold. I have mine setup to configure the WAN port if help for 1-3 seconds, then start tcpdump/sslstrip if help for 5 seconds and it works great. Hope this helps you gonzo, and welcome to the pineapple community!

telot

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...