Jump to content

Need help with setting up Pineapple


Recommended Posts

I am trying to setup Pineapple on my laptop.

OS: Ubuntu 14.04

I have connected power to the Pineapple have plugged in a LAN cable in the Pineapple's "WAN/LAN" port (not in the "PoE LAN" port). The other end of the LAN cable is plugged in my laptop. I ran the "wp5.sh" script but I get an error saying "SIOCADDRT: Network is unreachable" . Initially my routing table was as follows:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.0.0.1        0.0.0.0         UG    0      0        0 wlan0
10.0.0.0        *               255.255.255.0   U     9      0        0 wlan0
172.16.16.0     *               255.255.255.0   U     0      0        0 vmnet8
172.16.42.0     *               255.255.255.0   U     0      0        0 eth0
192.168.167.0   *               255.255.255.0   U     0      0        0 vmnet1

Later I added another route my routing table by issuing following command:

sudo route add default gw 172.16.42.1 eth0

So now my routing table looks like this:

$ 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
default         10.0.0.1        0.0.0.0         UG    0      0        0 wlan0
10.0.0.0        *               255.255.255.0   U     9      0        0 wlan0
172.16.16.0     *               255.255.255.0   U     0      0        0 vmnet8
172.16.42.0     *               255.255.255.0   U     0      0        0 eth0
192.168.167.0   *               255.255.255.0   U     0      0        0 vmnet1

However, when I point my browser to 172.16.42.1:1471, the browser cannot connect to it. I read some posts saying that I should run the script initially and then plug in the ethernet cale in my laptop. I tried that too but it doesn't help. Currently, I am trying to set up a bridge between my Wi-Fi and Pineapple according to the the post given here to see if it helps.

Can anyone please tell me how to set this up on Ubuntu from connecting the wires to the proper port to installing any libraries on my laptop to anything else that's required. Please treat me as a total n00b.

Link to comment
Share on other sites

Sorry for the trouble. It seems like, I needed to setup a bridge between eth0 and wlan0. I am not sure if that was needed to be done (as any video from "PineappleWifi University" didn't mention it) so I assume that this is not a necessary step. However, this might help some people in the future. So just keeping it as a reference. Also, I connected the ethernet to PoE LAN port instead of WAN/LAN port. I guess attaching the LAN cable to the improper port is what was preventing it from connecting.

Edited by PervySage
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...