CitizenTen Posted May 10 Share Posted May 10 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? Quote Link to comment Share on other sites More sharing options...
DramaKing Posted May 10 Share Posted May 10 What is the output of ifconfig for eth0/en0? Quote Link to comment Share on other sites More sharing options...
CitizenTen Posted May 10 Author Share Posted May 10 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. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 10 Share Posted May 10 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" Quote Link to comment Share on other sites More sharing options...
CitizenTen Posted May 11 Author Share Posted May 11 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? Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 11 Share Posted May 11 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 Quote Link to comment Share on other sites More sharing options...
CitizenTen Posted May 15 Author Share Posted May 15 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? Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 16 Share Posted May 16 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.