pOOBs4-buildroot icon indicating copy to clipboard operation
pOOBs4-buildroot copied to clipboard

Not loading

Open R5tl opened this issue 3 years ago • 13 comments

I burned the image on a few different SDcard (class 10) and tried different usb cable but even if I can connect to the Orange pi zero wifi Poobs4, the page doesn't load nor on the ps4 nor on my phone (I tried to see) it get stuck. I can't access the board from m phone by ssh either. Is there something i'm missing ?

R5tl avatar Feb 03 '22 15:02 R5tl

Orange Pi Zero wifi module XR819 is known to have problematic firmware. I also faced the same issue, but it rarely occurred. It would be easier to debug if you have USB TTL serial cable. But if you don't have any, you can try to SSH via a LAN cable.

Alternatively, you can try dumping dmesg by creating a new script in /etc/init.d/. For example /etc/init.d/S99dumpdmesg:

#!/bin/sh

dmesg > /root/dmesg.txt
exit 0

Then you can pull the dump from the SD card.

By the way, I recommend dongles with RTL8188 or MT7601 chipset, much better and very cheap.

Shivelight avatar Feb 03 '22 16:02 Shivelight

Thank you for the quick answer. I could SSH via LAN cable but what I can do there is very limited. Not sure how to make a scrip as it seems there isn't a test editor in this image.

R5tl avatar Feb 04 '22 13:02 R5tl

Great! Now, you don't need the script, just run dmesg > /root/dmesg.txt and download the log via SFTP. You can upload it here so I can take a look.

Shivelight avatar Feb 04 '22 13:02 Shivelight

dmesg.txt Thanks to you I could get the file. Hope it's helpfull.

R5tl avatar Feb 04 '22 15:02 R5tl

Is the issue persist? Looking at the log, it seems like everything is normal. I can't reproduce it on my system either.

When the board is on, login to SSH via LAN and try restarting hostapd by executing /etc/init.d/S41hostapd restart. Connect to the AP and make sure your device gets an IP, try if you can ping 10.0.0.1.

Shivelight avatar Feb 05 '22 14:02 Shivelight

At first I couldn't connect via SSH or sftp, but then I connected to the pOOBs4 wifi on my computer and then I could connect via both SSH and stfp. Especially sftp was helpful to transfer files from and to the var/www/html directory since I was trying to load a different exploit. But I am unsure how to load another exploit. Do I just save the html file for host website like karo218.ir in the var/www/html directory or what ?

saivignesh avatar Feb 05 '22 15:02 saivignesh

Now it's working. I can even access the root by SSH on 10.0.0.1 I tried so many times and now without changing anything, out of the blue it worked.

R5tl avatar Feb 05 '22 15:02 R5tl

@saivignesh I wrote a short guide here https://github.com/Shivelight/pOOBs4-buildroot#bring-your-own-exploit-host. Please open a new issue if you still need help.

Shivelight avatar Feb 05 '22 15:02 Shivelight

Now it's working. I can even access the root by SSH on 10.0.0.1 I tried so many times and now without changing anything, out of the blue it worked.

Nice. Although, I still recommend a USB dongle to avoid issues. The wifi module can crash on boot too!

Shivelight avatar Feb 05 '22 15:02 Shivelight

Thank you @Shivelight Would the USB dongle be plug and play with this build our do I need to add the rtl8188 drivers ?

R5tl avatar Feb 05 '22 16:02 R5tl

Yes. I can upload a pre-release image if you have trouble building the image. Or, you can always try the dev build that you can find in the actions tab, e.g., https://github.com/Shivelight/pOOBs4-buildroot/actions/runs/1784236192

Shivelight avatar Feb 05 '22 17:02 Shivelight

I'm a noob with those boards. I couldn't build the image myself from your repo. I think I don't understand the path system and BR2_EXTERNAL isn't working on my PC. If your very kind offer to make a build with the drivers, I'll get my hands on a WiFi dongle as the OPi zero module isn't trust worthy.

R5tl avatar Feb 05 '22 23:02 R5tl

Feel free to ask when your dongle arrives.

Shivelight avatar Feb 06 '22 05:02 Shivelight