Jump to content
jeff03038

Setup for Wifi Pineapple Nano on Ubuntu 18.04

Recommended Posts

Upgraded to Ubuntu 18.04, ran the wp6.sh script. The pineapple would work after I disconnected and reconnected and reset Network Manager but it would work sometimes. The Route Table was also messed up, it had dual entries for 172.16.42.0 as an example.

Instead I came up with procedures that work really well. 

Take a look

----------------------------------------------------------------------------

prior to plugging Pineapple in

#Ensure /etc/resolv.conf has DNS entries if not add DNS, ignore warnings

nano /etc/resolvconf/resolv.conf.d

#If nothing there add

nameserver 8.8.8.8
nameserver 1.1.1.1

#Ensure ufw is disabled

ufw disable

#Make sure routing is enabled

cat /proc/sys/net/ipv4/ip_forward

#Set to 1 if 0

nano /proc/sys/net/ipv4/ip_forward

#Plug-in Pineapple

Route Table will look soemething like this:

root@redsox1:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    0      0        0 wlo1
default         _gateway        0.0.0.0         UG    20100  0        0 enx00c0ca914973
10.0.0.0        0.0.0.0         255.255.255.0   U     600    0        0 wlo1
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 enx00c0ca914973
172.16.42.0     0.0.0.0         255.255.255.0   U     100    0        0 enx00c0ca914973

#Delete the additonal route added by the Pineapple
route del -net 0.0.0.0/0 dev enx00c0ca914973

Table should look like this 

root@redsox1:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    0      0        0 wlo1
10.0.0.0        0.0.0.0         255.255.255.0   U     600    0        0 wlo1
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 enx00c0ca914973
172.16.42.0     0.0.0.0         255.255.255.0   U     100    0        0 enx00c0ca914973

#http into the pineapple http://172.16.42.1:1471 and change the default route to 172.16.42.201

#Web into 172.16.42.1:1417 and make sure you can update bulletins

#Now you have internet sharing with the Pineapple!!!

Edited by jeff03038
mispelled word

Share this post


Link to post
Share on other sites

I use Ubuntu 18 and dont use the script - its bestr to set it up manually in my experience. See my post here : -

 

 

 

Share this post


Link to post
Share on other sites

Just_a_user,  I have followed your post mentioned above for both Ubuntu 18.04 and Kali 2018.3 with no success.  I created an ethernet connection named nano and assigned it an ip of 172.16.42.42/24.  When testing the connection it will still not connect to receive bulletins.

 

 

Share this post


Link to post
Share on other sites
1 minute ago, olsenwc said:

When testing the connection it will still not connect to receive bulletins.

did you follow the nm-connection-editor part?

Specifically the "Browse to ipv4 settings tab and use the drop down menu to select "Shared to other computers" "

Edited by Just_a_User

Share this post


Link to post
Share on other sites
Just now, olsenwc said:

I did.  Though I did the nm-connection-editor with the pineapple connected.

 

shouldn't make a difference, but once the changes are made and saved/closed you will need to either disable then re-enable the connection using network manager switch. or unplug and re-plug the nano to take effect.

Im using this method now for ICS all my hak5 gear so i know the method is solid.

Share this post


Link to post
Share on other sites

this after you have run the wp6 script right?

maybe that's borked your iptables. i haven't run that script and ONLY set up manually.

Try flushing the rules (backing up any others you have entered/need).

That's the only difference i can think of.

Share this post


Link to post
Share on other sites
1 minute ago, olsenwc said:

I have not run the script and this is a fresh install

Then i don't know what to suggest. If i get time tomorrow i will try and download Kali (I'm using Ubuntu 18) and see if I get the same issues. For now i sleep.

Share this post


Link to post
Share on other sites

For Ubuntu 18.04 just install the legacy net tools and re-run the script:

sudo apt install net-tools

sudo ./wp6.sh

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...