CitizenTen Posted May 10, 2023 Share Posted May 10, 2023 I'm running ubuntu 23.04. I've created an internet network connection following this: https://docs.hak5.org/wifi-pineapple/setup/connecting-to-the-wifi-pineapple-on-linux IP: 172.16.42.42 Netmask: 255.255.255.0Gateway: Unset, or 0.0.0.0 And then I run the wp7.shwp7.sh script from: https://docs.hak5.org/wifi-pineapple/faq/establishing-an-internet-connection/configuring-ics-on-linux My computer has an Ethernet connection, and I plug my wifi pineapple into the computer via usb-c This allows me to connect at http://172.16.42.1:1471. And makes my wifi pineapple is fully functional. But my computer is unable to use the internet for anything beyond http://172.16.42.1:1471 Is there anyway to have my computer also be connected to the internet as well? Link to comment Share on other sites More sharing options...
DramaKing Posted May 10, 2023 Share Posted May 10, 2023 What is the output of ifconfig for eth0/en0? Link to comment Share on other sites More sharing options...
CitizenTen Posted May 10, 2023 Author Share Posted May 10, 2023 28 minutes ago, DramaKing said: What is the output of ifconfig for eth0/en0? Ifconfig is depreciated if memory serves? Here's the ip show link insead? https://ibb.co/YTftcqY The enx001337a76d64 is the pineapple and the enx14c88bfa9aa3 is the Ethernet cable connection. Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 10, 2023 Share Posted May 10, 2023 It's not unusual that the script will mess up the routing on the computer to which the Pineapple is connected (and offers ICS). Check with "ip r" Link to comment Share on other sites More sharing options...
CitizenTen Posted May 11, 2023 Author Share Posted May 11, 2023 On 5/10/2023 at 11:33 AM, dark_pyrro said: It's not unusual that the script will mess up the routing on the computer to which the Pineapple is connected (and offers ICS). Check with "ip r" Seems something like that is happening. https://ibb.co/jf1XF1g The first is just my computer connected to the internet as normal, the second is the transition, and the third is where my internet drops but the pineapple works. What do you do to fix it? Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 11, 2023 Share Posted May 11, 2023 I extremely seldom use ICS, and the only distro I've used that doesn't kill the network connection on the computer is Kali. But, since you're using Ubuntu, and I assume you're using Desktop (not Server), I'd suggest totally skipping the wp7.sh script and use Network Manager instead. Follow the instructions in this link: https://infosecwriteups.com/wifi-pineapple-how-to-setup-internet-connection-sharing-ics-on-linux-e5a544345738 Link to comment Share on other sites More sharing options...
CitizenTen Posted May 15, 2023 Author Share Posted May 15, 2023 On 5/11/2023 at 2:49 PM, dark_pyrro said: Follow the instructions in this link: https://infosecwriteups.com/wifi-pineapple-how-to-setup-internet-connection-sharing-ics-on-linux-e5a544345738 I did it and it didn't work. All it asks it to restrict the connection to your pineapple device, and share the connection. I can no longer access http://172.16.42.1:1471/, and I still have internet as normal. Any other ideas? Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 16, 2023 Share Posted May 16, 2023 Don't have any other ideas since the one presented works. You need to troubleshoot your environment and find what's wrong in your specific setup. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.