Cannot run ARP on Android #2250
Replies: 2 comments 6 replies
-
You say you're getting a "module does not exist" error - is that because you haven't declared So: if you add
to your |
Beta Was this translation helpful? Give feedback.
-
Yes! That did work. I did not realize I could add python modules like that. It makes sense since toga is being added, but I've never had to edit the pyproject.toml. Thanks! This is a huge learning for me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app I'm developing. On Windows I use the scapy module to find all devices on my WLAN and return their MAC Address. I then look for this MAC Address in a JSON database to identify each device. This works great on Windows. On Linux I use the "arp" command-line tool called by subprocess to do much the same thing.
However, scapy is NOT available in Android (I proved this by trying to build and run the code in the android app and got an error from com.chaquo.python that the module does not exist...not a surprise). But, I also found that the arp command is not available on android, so now I'm stuck. Is there anyway to achieve the same WLAN scan for devices in android? It seems that even the ifconfig command is locked down so I cannot run it from a terminal app.
Beta Was this translation helpful? Give feedback.
All reactions