Stefan Posted August 25, 2022 Share Posted August 25, 2022 I seem to be in an endless loop after unpackaging the pineapple and connecting it to Linux. I enter all the parameters for the first run and end up with the message "Setup failed. (UCI failed to set country radio1 exit status 1) For additional information please view the system dignostics." The same happened on the very first setup with my Mac / Catalina / Wifi. That is why I use a Linus (Mint) right now, but still fail to win. Diagnostics turns up with this: Filesystems Filesystem Size Used Available Use% Mounted on /dev/root 20.8M 20.8M 0 100% /rom tmpfs 123.7M 92.0K 123.6M 0% /tmp /dev/mmcblk0 1.8G 8.2M 1.7G 0% /overlay overlayfs:/overlay 1.8G 8.2M 1.7G 0% / tmpfs 512.0K 0 512.0K 0% /dev Radios phy0../../devices/platform/10300000.wmac/ieee80211/phy0 phy1MISSING phy2MISSING USB Bus 002 Device 001: ID 1d6b:0001 Linux 5.4.154 ohci_hcd Generic Platform OHCI controller Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.154 ehci_hcd EHCI Host Controller Approaches: reset, reboot, reset with recovery and new firmware (2.1.0) - Setup with USB-Stick. Has anyone got an idea? Is this a hardware-issue? Cheers from Germany, Stefan Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 25, 2022 Author Share Posted August 25, 2022 assuming that I might have some issues with passwords ot timezones, I copied the contents of the USB-reboot-file: ROOT_PASSWORD="hak5pineapple" HOSTNAME="pineapple" TIMEZONE="utc" # # Wireless AP Configuration # MANAGEMENT_SSID="Pineapple_Management" MANAGEMENT_PSK="AGPSKPassphrase" MANAGEMENT_HIDDEN=0 MANAGEMENT_DISABELD=0 OPEN_SSID="Open1" OPEN_HIDDEN=0 COUNTRY_CODE=US # # Filters Configuration # CLIENT_FILTER="ALLOW" SSID_FILTER="ALLOW" # # Hak5 Cloud C2 Configuration # ENABLE_C2=1 # # Software License Agreement: # https://hak5.org/pages/software-license-agreement # ACCEPT_LICENSE=TRUE No solution was achieved here, even after playing with COUNTRY_CODE=DE and different paramters for TIMEZONE="utc" Suggestions welcome Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted August 25, 2022 Share Posted August 25, 2022 How are you powering your Pineapple? What USB cable are you using? The one that came with the Pineapple or some other cable? Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 26, 2022 Author Share Posted August 26, 2022 I have tried several cables without any progress or difference. The Pineapple will draw around 200 to 350 mAmps on my measurement. The manual recommends 2 Amps, with are delivered by either the USB-port and the hub. The cable that comes with the pine is a USB-C around 60cm. Using a USB-A to USB-C does not change things. This morning I tried the factory-reset booting with the very first firmware on the download page, ending with the same results. Currently, I have ree-installed the latest firmware again by http://172.16.42.1:1471/#/upload and find myself back in the endless loop. What ist the error-message concerning radios "phy0" and then "phy1" and "phy2" missing? Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted August 26, 2022 Share Posted August 26, 2022 I would most likely place a support ticket for that. If it's not related to "under-powering" the Pineapple, then there might be some issue with the hardware. As I remember it, the phy1 and phy2 radios (MT7601) are connected via an internal USB hub and I think it was hub issues on some Pineapples that made the radios unavailable. The phy0 radio is onboard/built into the main chipset/SoC (MT7688) of the Pineapple so that's why it's visible and up and running. Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 27, 2022 Author Share Posted August 27, 2022 THX a lot for this information an estimate. The Help-Chat seems dead, unfortunately. How can I manage to place a "proper request" for a help-ticket? I started with the form in the custeromer-desk-section. ist that it? Cheers, Stefan Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted August 27, 2022 Share Posted August 27, 2022 That should be the correct way. Never used it myself though. I would probably try: https://hak5.customerdesk.io/ "Product Support" > "WiFi Pineapple" > "WiFi Pineapple Mark VII" > "Hardware issue" Quote Link to comment Share on other sites More sharing options...
Stefan Posted September 1, 2022 Author Share Posted September 1, 2022 The spare hardware is on its way over the ocean - I shall report back as soon as I have news. THX a lot for your help with this topic so long! Quote Link to comment Share on other sites More sharing options...
Stefan Posted September 15, 2022 Author Share Posted September 15, 2022 (edited) I got a new pineapple yesterday. The setup worked smoothly on wireless with my Mac and it operates as expected with Kali on the Mac as well with the USB-cable. Thank you very much for your help - big respect and cheers to Hak5 for the replacement! Edited September 15, 2022 by Stefan Quote Link to comment Share on other sites More sharing options...
Soryn Posted September 19, 2022 Share Posted September 19, 2022 I don't want to make another topic for this but how did u made it on Kali ? I'am using VirtualBox from Oracle and i just can't use my pineapple. For exemple when I want to scan with using wlan Kali does not "see" my wlan pineapple is not there in the list. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 19, 2022 Share Posted September 19, 2022 Just to be sure about what you mean when saying that; are you expecting the WiFi Pineapple to show as a wireless device/adapter in your Kali VirtualBox VM? That won't happen since the Pineapple isn't a USB WiFi adapter. You won't get direct access to the WiFi interfaces of the Pineapple straight from the Kali VM. However, if you want to use the Pineapple's USB-C based Ethernet interface in the Kali VM, then you need to set up USB passthrough in the settings of the Kali VM in VirtualBox. Quote Link to comment Share on other sites More sharing options...
Soryn Posted September 19, 2022 Share Posted September 19, 2022 4 hours ago, dark_pyrro said: Just to be sure about what you mean when saying that; are you expecting the WiFi Pineapple to show as a wireless device/adapter in your Kali VirtualBox VM? That won't happen since the Pineapple isn't a USB WiFi adapter. You won't get direct access to the WiFi interfaces of the Pineapple straight from the Kali VM. However, if you want to use the Pineapple's USB-C based Ethernet interface in the Kali VM, then you need to set up USB passthrough in the settings of the Kali VM in VirtualBox. Yes, that is, i want that Pineapple as wireless device in Kali. I have tried to set up VirtualBox but without success.. Quote Link to comment Share on other sites More sharing options...
Soryn Posted September 19, 2022 Share Posted September 19, 2022 4 hours ago, dark_pyrro said: Just to be sure about what you mean when saying that; are you expecting the WiFi Pineapple to show as a wireless device/adapter in your Kali VirtualBox VM? That won't happen since the Pineapple isn't a USB WiFi adapter. You won't get direct access to the WiFi interfaces of the Pineapple straight from the Kali VM. However, if you want to use the Pineapple's USB-C based Ethernet interface in the Kali VM, then you need to set up USB passthrough in the settings of the Kali VM in VirtualBox. Look i can use SSH to connect to Pineapple from Kali, no need to set up USB in VirtualBox. But i had another problem. For exemple i had a wifidos-attack script for pentest and when i run that script in python it says that: Try running this program with sudo. when i try sudo, it says: ash: sudo: not found I thought that console from pineapple is kinda as linux copy that script and run it but it didn't worked Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 19, 2022 Share Posted September 19, 2022 The Pineapple is based on OpenWrt so it's Linux. There's no sudo available though. Quote Link to comment Share on other sites More sharing options...
Soryn Posted September 19, 2022 Share Posted September 19, 2022 Quote However, if you want to use the Pineapple's USB-C based Ethernet interface in the Kali VM, then you need to set up USB passthrough in the settings of the Kali VM in VirtualBox. Have you any tutorial because i have tried to set it up but Kali just don't see my pineapple! Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 19, 2022 Share Posted September 19, 2022 What have you tried already? You shouldn't set it up in network settings for the VM in VirtualBox, you should set up the passthrough for the Pineapple in the USB settings for the VM using a USB filter. Quote Link to comment Share on other sites More sharing options...
Soryn Posted September 19, 2022 Share Posted September 19, 2022 I don't know what i need to do. I need help. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 19, 2022 Share Posted September 19, 2022 Connect the Mark VII to the host/hypervisor and let the Mark VII finish booting up In VirtualBox, select the VM guest that is going to be used with the Mark VII Click Settings Click USB Add a filter and select the ASIX that represents the Mark VII on the host Start the VM Check that the Mark VII has been "identified" in the VM and that the VM has gotten an IP address from the 172.16.42.x range on one of its interfaces Try to ping 172.16.42.1 from the VM, the Mark VII should respond Open a web browser in the VM and visit the Mark VII web UI at http://172.16.42.1:1471 Quote Link to comment Share on other sites More sharing options...
Noxx Posted September 25, 2022 Share Posted September 25, 2022 I had to manually install the driver on Windows 10 have the OS recognize Pineapple VII. ASIX AX88772C USB2.0 to Fast Ethernet Adapter https://www.catalog.update.microsoft.com/Search.aspx?q=ax88179 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.