On further investigation, it turns out that no WiFi is needed after all-- if the config.json has "useADB": true set. Also, the local loopback address is available before WiFi is enabled, at the Linux API level. So it appears that DroidScript is still trying to detect an available WiFi network before listening on all addresses. If the WiFi is found at startup, it could probably be disabled thereafter, as long as the connection is made over one of the other addresses.
But the useADB code path working demonstrates that this is not an issue of RemixOS not working without WiFi, though perhaps it works differently than DroidScript expects. It would be nice to get this fixed so it works out of the box, but in the meantime, here's the config.json I'm using for RemixOS on VirtualBox:
{
"headless": false,
"autoWifi": true,
"usePass": true,
"password": "(My Password)",
"orientation": "Portrait",
"useADB": true
}
With this configuration, both the internal editor and remote connections to the wired IP address work. In summary:
- Without "useADB": true, DroidScript currently can be made to work with a WiFi dongle (tested EDIMax N 150, the one recommended for Raspberry Pi). In that case, apps run full screen (Landscape orientation).
- With "useADB": true, DroidScript works with only a wired connection (local or remote). In that case, apps run windowed in Portrait orientation, as they would appear on a phone. (Which is actually nice for testing).