Jump to content

Error: UCI failed to set country for radio1 exit status 1 ----- MISSING phy1 phy2


tra5er

Recommended Posts

My initial setup of the WiFi Pineapple Mark Vll failed. I got the following error:

UCI failed to set country for radio1 exit status 1

Looking at pineapple-diagnostics it showed phy1 and phy2 missing as shown below:

                                                  .NN,                              
                                       .cxxdl'    xMMO    'cdxxl'                   
                                         .c0WMNk;,NMMW:,xXMMKo.                     
                                         ...:KMMMWMMMMWMMMXc...           .         
                            ,        .l0NMMMNXMMMMMMMMMMMMXNMMMWKl'      xWd        
                          ,0Wd         .':xNMMMMMMMMMMMMMMMMNkc'.        ;KM0'      
                         lWMo            .;dNMMMMMMMMMMMMMMWx:.      .l.   dMWc     
                        :WWo   oNd   .;xKWMMMMMMMMMMMMMMMMMMMMWXx:.  dWX:   dMW;    
                       ,NWo   oMW:   .. ..,lOXWMMMMMMMMMMWN0o;.. ..   cWMl   dMN'   
                      .XMx   oWN;   lc     .loooolcooclooool.    cXl   oMWc   kMK.  
                      oMW'  ,WMl   cMW:   lWMW0d:;cdd:;:o0WMWl   lMW:   OMW'  ,WMl  
                      0M0   xMX.  .XMd   .lo:.,dXMMMMMMXd,.:ol.   kMK.  'NMd   KMO  
                      NMd   KMk   lMN.  .;:xOxollccddcclloxOx:;.  'WM:   OM0   xMX  
                      WMo  .XMx   dMK   oNMMMMWOc;;ol;;cOWMMMMNo  .XMl   kMK   dMN  
                      NMx   0MO   :Kd. .lllcl;.:0WMMMMW0:.;lclll. .xK;   0MO   kMX  
  __          ___ ______ _   _____ _  .:W0;,oxl:::oOOo:::lxo,;0W: _     .ONo   KMk  
  \ \        / (_|  ____(_) |  __ (_)  ;cKMMMMWk:.;,.;kWMMMMKc;. | |          .OX:  
   \ \  /\  / / _| |__   _  | |__) _ _ __   ___  __ _ _ __  _ __ | | ___            
    \ \/  \/ / | |  __| | | |  ___| | '_ \ / _ \/ _` | '_ \| '_ \| |/ _ \           
     \  /\  /  | | |    | | | |   | | | | |  __| (_| | |_) | |_) | |  __/           
      \/  \/   |_|_|    |_| |_|   |_|_| |_|\___|\__,_| .__/| .__/|_|\___|           
 ----------------------------------------------------| |-- | |----------------------
                                                     |_|   |_|                      

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.0M      1.7G   0% /overlay
overlayfs:/overlay        1.8G      8.0M      1.7G   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

Radios
phy0	../../devices/platform/10300000.wmac/ieee80211/phy0
phy1	MISSING
phy2	MISSING
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

 

I believe I am experiencing the same issue as https://forums.hak5.org/topic/36498-missing-wireless-radio/.

I ssh'd into my pineapple and ran ifconfig -a, iwconfig, and lsusb and did not see a radio0 or radio1 (referred to as wlan0 and wlan1 respectively). Here's the output from those commands:

ifconfig -a:
 

br-lan    Link encap:Ethernet  HWaddr 00:13:37:A9:3A:4F  
          inet addr:172.16.42.1  Bcast:172.16.42.255  Mask:255.255.255.0
          inet6 addr: fdb4:f3c1:8fc0::1/60 Scope:Global
          inet6 addr: fe80::213:37ff:fea9:3a4f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10767 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4951 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:832081 (812.5 KiB)  TX bytes:5051361 (4.8 MiB)

eth0      Link encap:Ethernet  HWaddr 00:13:37:A9:3A:4F  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10724 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:973336 (950.5 KiB)  TX bytes:5216788 (4.9 MiB)
          Interrupt:5 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4562 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4562 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:426723 (416.7 KiB)  TX bytes:426723 (416.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:13:37:A9:3A:4F  
          inet6 addr: fe80::213:37ff:fea9:3a4f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2812 (2.7 KiB)

 

 

lsusb:

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

 

iwconfig:

br-lan    no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11  Mode:Master  Tx-Power=22 dBm   
          RTS thr:off   Fragment thr:off
          Power Management:off
          
lo        no wireless extensions.

 

I also tried the command below and it only returned Wiphy phy0

iw list | grep phy0 && iw list | grep phy1 && iw list | grep phy2

 

I'm at a loss right now. My guess is that this is in fact a hardware issue like the person in https://forums.hak5.org/topic/36498-missing-wireless-radio/ was having. Anyways, any help would be appreciated as I'm not sure how to proceed. Thanks!

Link to comment
Share on other sites

I'm using the USB-C cable that came with the WiFi Pineapple box. I got it at DEFCON30, it came with the pineapple, 3 antennas, and the USB-C cable.

I'm also trying to do this on a Linux Mint 21 OS (not in a vm) in case that info is helpful.

Link to comment
Share on other sites

So, I connected the Pineapples USB-C/Ethernet port to my laptop via the USB-C cable that came shipped with it. My laptop has a 2A power supply... I thought this was the proper way to do this as the USB-C cable connection to my laptop is needed to complete the setup on my Pineapple.

Link to comment
Share on other sites

In normal situations it should be enough to power the Pineapple using a USB port. It's important though to make sure the Pineapple *really* gets the power that is mentioned in the docs (which is 2A). If you are absolutely sure your laptop USB-C port can deliver 2A, then it's all good. If not, you could try a power adapter that is rated for 2A. The Pineapple can be set up using wireless as well (but if your radios are defective, then that will not work). If you have tried all these things and it still won't work, then I'd suggest you create a support ticket.

Link to comment
Share on other sites

Yeah, my USB-C port can deliver 2A. I also verified with my laptops manufacturer again. Regarding the WiFi, the wlan2, wlan0-1, wlan1 interfaces don't even show up which lead me to think it's a defective unit.

Better question is, does Hak5 provide unit replacements for cash purchases at DEFCON? Anyways, thanks for the help dark_pyrro.

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...