MrStack Posted January 28, 2016 Share Posted January 28, 2016 When I plug the Nano into my Mint installation, Mint sees the device and gets attached - then I lose all internet access on my computer, even though wlan0 is still connected to my wifi. I'm assuming the computer is configuring eth0 and trying to make that the primary route for traffic (which won't work, of course). I haven't had a chance to dig deep yet, but was wondering if anyone else experienced this? Am I going to have to manually set routes every time I plug in, or is something simpler happening? I know the wp6.sh script does some magic for me on sharing, but it throws errors when I experience this issue. Sorry to fish broadly - I'm on a different device atm so unable to give logs and screens of the error message. Thought I'd ask just in case this was a common knowledge thing. Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 28, 2016 Share Posted January 28, 2016 You're correct it's trying to connect to the Internet over usb ethernet once the pineapple is plugged in. Should be in your Internet settings and shut it off after it boots. Then make sure you're on your wifi connection and getting Internet. Then run the script to share Internet access with the pineapple. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted January 28, 2016 Share Posted January 28, 2016 This is completely normal - the last interface to be added usually takes the default route (especially if it's ethernet). The fix is to either set "Use this network only for it's resources" in your network manager (where applicable), or to run the wp6.sh script. This will correct your default route. I know there is currently an issue with the script, but Darren is going to release a new one later today. Best Regards, Sebkinne 2 Quote Link to comment Share on other sites More sharing options...
Infinitynull Posted January 28, 2016 Share Posted January 28, 2016 I need help with this, I can't even use the script. It won't detect that I am using wireless. When manually configuring the interfaces it won't even come up with a list for any option including the default gateway. What do I do? I'm using the nano pineapple and Kali Linux 2.0. The videos don't help me at all. Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 28, 2016 Share Posted January 28, 2016 Under network connections for your ethernet is automatically connect to this network when it's available on? I like Sebs answer better than mine above. Quote Link to comment Share on other sites More sharing options...
Infinitynull Posted January 28, 2016 Share Posted January 28, 2016 Alright I will re post in a minute or two with results. Why can I only post three times a day, have I done something wrong? I bought a lot from Hak5, or is this a anti-spam method? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted January 28, 2016 Share Posted January 28, 2016 Alright I will re post in a minute or two with results. Why can I only post three times a day, have I done something wrong? I bought a lot from Hak5, or is this a anti-spam method? It's an anti-spam measure. I have approved your account to allow you to keep posting. In regards to the script, Darren is fixing the issues now. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
teranaut Posted January 29, 2016 Share Posted January 29, 2016 Interestingly, I had this same issue with my Nano's first boot last night. Running route -n showed me that the only available gateway was 172.16.42.1, but didn't provide a gateway for the shared internet connection. It looked a bit like this: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.16.42.1 0.0.0.0 UG 0 0 0 eth2 172.16.42.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan1 I ended up having to add a route to 192.168.1.1 using the following: route add default gw 192.168.1.1 wlan1 After that I ran the wp6 script to verify that the settings were seen and the Nano worked perfectly. I'm looking forward to the pending enhancements to the Nano. Quote Link to comment Share on other sites More sharing options...
Infinitynull Posted January 29, 2016 Share Posted January 29, 2016 (edited) Alright, first of all. Adding the route gave me access to the Internet again through my wlan0 device. But even without the route this happened below, I tried manually and entered randomly to show the error. As it did not give me a list at all. I know you said he was working on the script. I thought maybe this would just be helpful. I can access the browser GUI for Pineapple. Though it has no Internet access as the bulletin can not load. I can also access the Pineapple through wireless if I disconnect the USB and power it with the Juice. What do I do? What is ether? I am not trying to be a problem child. I just really want to learn how to use and fix this. root@NKAL:~/Downloads# ./wp6.sh _ ___ _______ ____ _ __ | | / (_) ____(_) / __ \(_)___ ___ ____ _____ ____ / /__ | | /| / / / /_ / / / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \ | |/ |/ / / __/ / / / ____/ / / / / __/ /_/ / /_/ / /_/ / / __/ |__/|__/_/_/ /_/ /_/ /_/_/ /_/\___/\__,_/ .___/ .___/_/\___/ /_/ /_/ v6.3 _ . ___ \||/ Internet: wlan0 192.168.1.1 ( _ )_ <--> [___] <--> ,<><>, Pineapple: ether 172.16.42.42 (_ _(_ ,) \___\ '<><>' Network: 172.16.42.0/24 Connect using saved settings [Y/n]? n Autodetect network configuration [Y/n]? y WiFi Pineapple Interface: ether Internet Interface: wlan0 Default Gateway: 192.168.1.1 Use above autodetected settings [Y/n]? n Select WiFi Pineapple Interface: > Response must be a listed numeric option Select WiFi Pineapple Interface: > Response must be a listed numeric option Select WiFi Pineapple Interface: > 1 Select Internet Interface: > 1 Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. 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 0.0.0.0 172.16.42.1 0.0.0.0 UG 0 0 0 eth1 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 No Gateway available for selected Internet Interface. And the route -n output EDIT: Wrong output Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 0.0.0.0 172.16.42.1 0.0.0.0 UG 100 0 0 eth1 0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlan0 172.16.42.0 0.0.0.0 255.255.255.0 U 100 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0 Edited January 29, 2016 by Infinitynull Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted January 29, 2016 Share Posted January 29, 2016 Update to the latest version of the script wget www.wifipineapple.com/wp6.sh chmod wp6.sh +x sudo ./wp6.sh The new version contains error handling for the issues with overzealous network managers. The guided mode plays nice with 'em and uses iproute2 instead of ifconfig for more consistent results. Will look like this: ▄ ▄ ▄█ ▄████ ▄█ █ ▄▄ ▄█ ▄ ▄███▄ ██ █ ▄▄ █ ▄▄ █ ▄███▄ █ █ ██ █▀ ▀ ██ █ █ ██ █ █▀ ▀ █ █ █ █ █ █ █ █▀ ▀ █ ▄ █ ██ █▀▀ ██ █▀▀▀ ██ ██ █ ██▄▄ █▄▄█ █▀▀▀ █▀▀▀ █ ██▄▄ █ █ █ ▐█ █ ▐█ █ ▐█ █ █ █ █▄ ▄▀ █ █ █ █ ███▄ █▄ ▄ █ █ █ ▐ █ ▐ █ ▐ █ █ █ ▀███▀ █ █ █ ▀ ▀███▀ ▀ ▀ ▀ ▀ █ ██ █ ▀ ▀ v6.4 Saved Settings: Share Internet connection from wlan0 to WiFi Pineapple at eth1 through default gateway 192.168.1.1 Since this is the first time running the WP6 Internet Connection Sharing script, Guided setup is recommended to save initial configuration. Subsequent sessions may be quickly connected using saved settings. [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit G WiFi Pineapple detected. Please disconnect the WiFi Pineapple from this computer and press any key to continue with guided setup. Step 1 of 3: Select Default Gateway Default gateway reported as 10.73.31.1 Use the above reported default gateway? [Y/n]? Step 2 of 3: Select Internet Interface Internet interface reported as eth0 Use the above reported Internet interface? [Y/n]? Step 3 of 3: Select WiFi Pineapple Interface Please connect the WiFi Pineapple to this computer. ..............[Checking] Detected WiFi Pineapple on interface eth17 Use the above detected WiFi Pineapple interface? [Y/n]? Settings saved. Saved Settings: Share Internet connection from eth0 to WiFi Pineapple at eth17 through default gateway 10.73.31.1 [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit Detecting WiFi Pineapple............found. _ . ___ \||/ ( _ )_ <--> [___] <--> ,<><>, (_ _(_ ,) \___\ '<><>' Browse to http://172.16.42.1:1471 1 Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 29, 2016 Share Posted January 29, 2016 (edited) Update to the latest version of the script wget www.wifipineapple.com/wp6.sh chmod wp6.sh +x sudo ./wp6.sh The new version contains error handling for the issues with overzealous network managers. The guided mode plays nice with 'em and uses iproute2 instead of ifconfig for more consistent results. Will look like this: ▄ ▄ ▄█ ▄████ ▄█ █ ▄▄ ▄█ ▄ ▄███▄ ██ █ ▄▄ █ ▄▄ █ ▄███▄ █ █ ██ █▀ ▀ ██ █ █ ██ █ █▀ ▀ █ █ █ █ █ █ █ █▀ ▀ █ ▄ █ ██ █▀▀ ██ █▀▀▀ ██ ██ █ ██▄▄ █▄▄█ █▀▀▀ █▀▀▀ █ ██▄▄ █ █ █ ▐█ █ ▐█ █ ▐█ █ █ █ █▄ ▄▀ █ █ █ █ ███▄ █▄ ▄ █ █ █ ▐ █ ▐ █ ▐ █ █ █ ▀███▀ █ █ █ ▀ ▀███▀ ▀ ▀ ▀ ▀ █ ██ █ ▀ ▀ v6.4 Saved Settings: Share Internet connection from wlan0 to WiFi Pineapple at eth1 through default gateway 192.168.1.1 Since this is the first time running the WP6 Internet Connection Sharing script, Guided setup is recommended to save initial configuration. Subsequent sessions may be quickly connected using saved settings. [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit G WiFi Pineapple detected. Please disconnect the WiFi Pineapple from this computer and press any key to continue with guided setup. Step 1 of 3: Select Default Gateway Default gateway reported as 10.73.31.1 Use the above reported default gateway? [Y/n]? Step 2 of 3: Select Internet Interface Internet interface reported as eth0 Use the above reported Internet interface? [Y/n]? Step 3 of 3: Select WiFi Pineapple Interface Please connect the WiFi Pineapple to this computer. ..............[Checking] Detected WiFi Pineapple on interface eth17 Use the above detected WiFi Pineapple interface? [Y/n]? Settings saved. Saved Settings: Share Internet connection from eth0 to WiFi Pineapple at eth17 through default gateway 10.73.31.1 [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit Detecting WiFi Pineapple............found. _ . ___ \||/ ( _ )_ <--> [___] <--> ,<><>, (_ _(_ ,) \___\ '<><>' Browse to http://172.16.42.1:1471 Nice rotating banners! The one uploaded had eth17 on it but not really a big issue once the guided script is ran. Edited January 29, 2016 by Ret0n Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 29, 2016 Share Posted January 29, 2016 Also, I like the bunny. Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted January 29, 2016 Share Posted January 29, 2016 This one? :) 1 Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 29, 2016 Share Posted January 29, 2016 This one? :) I think thats the one :) Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted January 29, 2016 Share Posted January 29, 2016 Nice rotating banners! The one uploaded had eth17 on it but not really a big issue once the guided script is ran. Accidentally uploaded my dev version which has my interfaces and default gateway configured. A version with defaults is up now if you care to download again. Otherwise only thing you may have missed is the paragraph recommending you to use guided setup on first run. To the OP - MrStack, I advise trying wp6 version 6.4 Quote Link to comment Share on other sites More sharing options...
Ret0n Posted January 29, 2016 Share Posted January 29, 2016 I saw it and just changed it in the paragraph in the code. Though I realized that it would adjust after running it anyway. Just was thinning for someone that might read it as is. Nice work on the new one! Quote Link to comment Share on other sites More sharing options...
WiFiJuice Posted February 16, 2016 Share Posted February 16, 2016 How do I make wp6.sh (latest update) give my Pineapple wlan0 or wlan1 instead of eth1? Wifite is so stupid so it doesn't understand that I have connected a WiFi interface otherwise. And as I understand it the Pineapple is not able to capturing the WiFi handshake by its own and Wifite is needed... I have a feeling that this question will remain unanswered and right now I really feel I wasted my money on both the NANO and the TETRA since non of them can crack the WiFi passwords and that's what I tough they could do! Update to the latest version of the script wget www.wifipineapple.com/wp6.sh chmod wp6.sh +x sudo ./wp6.sh The new version contains error handling for the issues with overzealous network managers. The guided mode plays nice with 'em and uses iproute2 instead of ifconfig for more consistent results. Will look like this: ▄ ▄ ▄█ ▄████ ▄█ █ ▄▄ ▄█ ▄ ▄███▄ ██ █ ▄▄ █ ▄▄ █ ▄███▄ █ █ ██ █▀ ▀ ██ █ █ ██ █ █▀ ▀ █ █ █ █ █ █ █ █▀ ▀ █ ▄ █ ██ █▀▀ ██ █▀▀▀ ██ ██ █ ██▄▄ █▄▄█ █▀▀▀ █▀▀▀ █ ██▄▄ █ █ █ ▐█ █ ▐█ █ ▐█ █ █ █ █▄ ▄▀ █ █ █ █ ███▄ █▄ ▄ █ █ █ ▐ █ ▐ █ ▐ █ █ █ ▀███▀ █ █ █ ▀ ▀███▀ ▀ ▀ ▀ ▀ █ ██ █ ▀ ▀ v6.4 Saved Settings: Share Internet connection from wlan0 to WiFi Pineapple at eth1 through default gateway 192.168.1.1 Since this is the first time running the WP6 Internet Connection Sharing script, Guided setup is recommended to save initial configuration. Subsequent sessions may be quickly connected using saved settings. [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit G WiFi Pineapple detected. Please disconnect the WiFi Pineapple from this computer and press any key to continue with guided setup. Step 1 of 3: Select Default Gateway Default gateway reported as 10.73.31.1 Use the above reported default gateway? [Y/n]? Step 2 of 3: Select Internet Interface Internet interface reported as eth0 Use the above reported Internet interface? [Y/n]? Step 3 of 3: Select WiFi Pineapple Interface Please connect the WiFi Pineapple to this computer. ..............[Checking] Detected WiFi Pineapple on interface eth17 Use the above detected WiFi Pineapple interface? [Y/n]? Settings saved. Saved Settings: Share Internet connection from eth0 to WiFi Pineapple at eth17 through default gateway 10.73.31.1 [C]onnect using saved settings [G]uided setup (recommended) [M]anual setup [A]dvanced IP settings [Q]uit Detecting WiFi Pineapple............found. _ . ___ \||/ ( _ )_ <--> [___] <--> ,<><>, (_ _(_ ,) \___\ '<><>' Browse to http://172.16.42.1:1471 Quote Link to comment Share on other sites More sharing options...
bored369 Posted February 16, 2016 Share Posted February 16, 2016 How do I make wp6.sh (latest update) give my Pineapple wlan0 or wlan1 instead of eth1? Wifite is so stupid so it doesn't understand that I have connected a WiFi interface otherwise. And as I understand it the Pineapple is not able to capturing the WiFi handshake by its own and Wifite is needed... I have a feeling that this question will remain unanswered and right now I really feel I wasted my money on both the NANO and the TETRA since non of them can crack the WiFi passwords and that's what I tough they could do! You don't. The nano nor the tetra are wifi devices you are attaching to a system. They are full systems themselves you can connect to and you can run the tools on the devices themselves. As I mentioned on another thread to you, everything you are looking to do is explained in this 3 part tutorial https://forums.hak5.org/index.php?/topic/37108-using-the-pineapple-without-modules-or-infusions-part-one-ssh Wifite isn't on the pineapple but you don't need that as all the tools you need are loaded on the pineapple by default and usage of those tools is described in that very well done tutorial series if you read through all 3 parts. If you are not willing to learn and research more about the tools and options available to you then you probably have wasted your money. If you thought you would be able to turn these devices on and crack your neighbor's wifi passwords with the click of a button then you probably have wasted your money. If you wanted to learn more about or professionally do penetration testing and auditing wireless security then you have spent your money well and this generation of wifi pineapples will give you the means to quickly accomplish those goals. 1 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.