Jump to content

WP6 issues with Kali and Tetra


l0pus1

Recommended Posts

I'm having issues with something which seems like it should be pretty simple, and hoping someone can help.

I've connected my Tetra using the Y cable, which is mapping to eth1 in Kali. I've set the IP for  eth1 to 172.16.42.2/24. I can connect to the Tetra settings page in my browser with no problems.

When I use wp6.sh and use the guided setup, everything seems to be fine and it says it saves the config. When I try to connect using the settings I saved, I get this:

Detecting WiFi Pineapple.............................................................................................

I've let it sit for 10 minutes, and all it does is add more periods.

I tried to set it manually several times, and here is what I see every time:

Saved Settings: Share Internet connection from wlan0
   to WiFi Pineapple at eth1 through default gateway 192.168.1.1

   [C]onnect using saved settings
   [G]uided setup (recommended)
   [M]anual setup
   [A]dvanced IP settings
   [Q]uit

    
   Select WiFi Pineapple Interface:
   [0] eth0
   [1] wlan0   192.168.1.245/24
   [2] eth1    172.16.42.2/24
   > 2

   Select Internet Interface:
   [0] eth0
   [1] wlan0   192.168.1.245/24
   [2] eth1    172.16.42.2/24
   > 1

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 wlan0
172.16.42.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan0

   Specify Default Gateway IP Address: 192.168.1.1

   Settings saved.

   Saved Settings: Share Internet connection from wlan0
   to WiFi Pineapple at eth1 through default gateway 192.168.1.1

   [C]onnect using saved settings
   [G]uided setup (recommended)
   [M]anual setup
   [A]dvanced IP settings
   [Q]uit

   Detecting WiFi Pineapple......................................................................................


I've reset the Tetra, I've recreated the connection in Kali twice, and I've rebooted both devices several times.

One thing I looked at is the routing table on the Tetra.

 

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.16.42.42    0.0.0.0         UG    0      0        0 br-lan
172.16.42.0     *               255.255.255.0   U     0      0        0 br-lan

 

I'm not sure that's right.

Also of note - if I set the eth1 to get an IP assigned automatically, the pineapple assigns it an address in the 172.16.42.0/24 network, and only connections to the pineapple can be had. If I set the interface settings manually, I must select "use only for resources on this connection" in the route section of the interface settings or my system can't see the internet anymore.

 

It's just odd... I can ping the Tetra from the same command line I'm running wp6 from with no issues, but the script can't detect the Tetra on the same IP? It's not writing anything to the Tetra's route table, that's for sure.

Link to comment
Share on other sites

  • 2 weeks later...
On 4/4/2020 at 8:12 AM, l0pus1 said:

I also tried today to use my Windows 10 boot image and set up windows ICS per the following document:

https://wiki.wifipineapple.com/#!connectivity.md

The results were identical. The Tetra can't find the internet, and the Tetra's routing table remains unchanged.

I believe this is the same problem that I was having. I fixed it on my Kali Box by typing:

route add -net 172.16.42.0 netmask 255.255.255.0 -dev eth1

For myself and the OP, this should be the correct command, for everyone else, you might need to replace the last parameter, 'eth1' with a different value - it should always be the interface of your WiFi Pineapple. After that, try running wp6.sh again, and hit 'c' to connect.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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