Access server connected to PC via Ethernet, through WiFi network on a mobile device

I’m trying to access files stored on my headless file server, from an Android device.

So I have:


A headless Debian server.

IP address [Ethernet].

This is connected directly to my laptop via Ethernet.

A Windows 10 laptop.

IP address [Ethernet].

IP address [WiFi].

This is connected directly to my server via Ethernet.

This is also connected to my router via WiFi.

An Android device.

IP address [WiFi].

This is connected to my router via WiFi.

For reasons I won’t go in to, this setup is unchangeable.

Can I access the files from the server on my Android device?

If so, without modifying the cabling at all, how?

Can I bridge the connections together or something?

Android / Google “Find my device” service with multiple devices

I hope this is the right community for this question. if not I’d be thankful to be redirected.

I have multiple Android devices all connected to my google account and activated for the “Find my Device” anti theft service. When I go to it only displays one device and I cannot find a single way to choose which device to track. I’ve been googling this thoroughly and can’t seem to find an answer. Does the service only allow one device to be registered for emergency tracking?

BOOTLOADER – USB Device Not Recognized

I am currently using a ROOTED “Huawei MediaPad 7 Lite” tablet and am having issues entering the bootloader. When powered on and connected to a PC, the device is seen in adb using the command adb devices (driver is working). However, when I try to enter the bootloader, adb reboot bootloader, the device malfunctions in windows:

USB device not recognised

The same occurs when the tablet is powered off, and the power and volume up keys are held down (entering bootloader manually). In ‘Device Manager’, there are NO ‘Unknown Devices’ missing drivers. Instead, there is an issue with the USB controller:

Unknown USB Device

Due to this malfunction, I cannot install a driver for the tablet when in bootloader mode. To clarify, the tablet works OK when powered on and connected to a PC, but malfunctions when in bootloader mode. I have tried this on 3 different computers with 4 different MicroUSB cables with no success.

I also have a second identical MediaPad 7 Lite, and in trying the above steps also has the same problems. It seems Huawei have done this as a preventative measure (meaning it is a device specific issue), but does anyone know how to make the PC recognise this device properly when in bootloader?

EDIT: The bootloader screen is unusual. Without the cable connected, when the bootloader is entered (by pressing power with volume up & down), the following options exist:

  • continuing to hold volume up brings up a screen which is used to update the tablet software from a file on the external MicroSD card
  • continuing to hold volume down initiates an automatic recovery process
  • releasing all buttons reboots the tablet automatically after a few seconds

With all of the above options, I tried plugging the tablet into my PC. However, Windows does not recognize the tablet at all (nothing pops up).

Correctly store device info with Redux in React Native app

I’m currently building a React Native application and wondering if storing device information such:

  • if my app has granted location permission
  • location service is turned on
  • last known user location

in the Redux store can be a good idea.
I have different components that needs to know this informations and storing in Redux can grant me a predictable state. In the case, maybe I can store them like this:

{   user: {     id: '123'     name: 'Markus'     ...   },   device: {     locationPermission: 'denied'     locationActive: false     lastKnownLocation: {       lat: 44.123,       lng: 32.123     }   },   ... } 

Are there any cons about this approach?

I did a IP scan on a network and I see the IP is scannable, but I cannot ping the device

I made a change on a serial-to-ethernet converter and the device is no longer pingable or accessable through the webUI, but when I do a IP scan, NMAP picks it up as:

Nmap scan report for Host is up (0.00069s latency). All 1000 scanned ports on are filtered MAC Address: 00:90:E8:73:1F:16 (Moxa Technologies)

Says the host is up, but I cannot connect whatsover? Is this just stored in the cache? or am I missing something else here?

I will root your android device for $10

Hello, we are a startup company providing remote support for everything Android windows and apple at budget friendly rates. support is available 24×7 with professional technicians who will do whatever is necessary to make sure our customer is given the best customer service possible. For Android we are offering amazing packages that are a steal for their price 1 month Support 15 USD6 months Support 30 USD1 year Support 60 USD1 year Support Special (Unlimited devices covered with one package) 120USDAll packages will offer the following services for android, you are allowed to receive them unlimited number of times within your package duration Rooting and UnRootingUnbricking and Bug fixesCustom ROMs / Rooting ModsData Recovery (Images, sound files, videos, documents)FRP lock removal Removing AdsUpdating to a newer android versionWIFI tether enable Bloatware and skins removaland much much more. Place your order today

by: mrtechsupport
Created: —
Category: Programming
Viewed: 211

Developing SDK for a Device? [on hold]

I need to develop a SDK that will run on a device. This SDK should faciliate communication between any device which is using our SDK and our API Service.

I specify some methods for a device, these are

  1. Register Device (Itself) to the platform
  2. Init Device (After Registration or After Reboot)
  3. Sensors loaded (If any added)
  4. Actuators loaded (If any added)
  5. CRUD(Create/Update/Delete/Get) Sensors
  6. CRUD Actuators
  7. Getting Notification From Sensors and Actuators (ex. If someone whats to turn on/off light)

Now these are what I thought,

I need a class that will keep our API information and some Device Data

public class DeviceSettings {     public string DeviceId { get; private set; }     public string PlatformMqttAddress { get; private set; }     public string PlatformMqttUserName { get; private set; }     public string PlatformMqttPassword { get; private set; } } 

I need a class which is responsible to register device to the platform

public interface IProvisioningDeviceClient {     Task<DeviceRegistrationResult> RegisterAsync(); } 

I need a class which is responsible all the crud operations on the device

public interface IDeviceServiceClient {     Task<Device> GetDeviceInformation(string deviceId);     Task<Sensor> CreateSensorAsync(string sensorName, string currentValue, bool twoWayCommunication = false);     Task<Sensor> UpdateSensorAsync(string sensorId, string sensorName, string currentValue);     Task RemoveSensorAsync(string sensorId);     Task<List<Sensor>> GetSensorsAsync(string deviceId); } 

In addition to that I need a class which is responsible to Init Device. Init means it should get its device information, sensors and actuators from platform whenever device is rebooted or after registration process.

After getting these information from platform, it should subscribe these sensors and actuators with a mqtt connection. If another device (which is in the platform) wants to turn the light on by using our device, our device should get a notification from the platform

So I named another class as DeviceManager. Then I recognize I should inject IDeviceServiceClient to the DeviceManager because if any crud operation occurs on any sensor on the device, DeviceManager must manage its subscriptions. For example, it should unsubscribe the sensors that is deleted. If any new sensor added to the device, it should subscribe it automatically. Then DeviceManager started to manage CRUD operations too by using IDeviceServiceClient. It seems fine to me.

Then I think DeviceManager should be singleton because I want only one connection point to the platform from a device. This should be managed by one single instance.

public sealed  class DeviceManager {     private static readonly DeviceManager instance = new DeviceManager();      static DeviceManager()     {      }      private DeviceManager()     {      }      public static DeviceManager GetInstance     {         get         {             return instance;         }     }      private static bool IsConnected;     private readonly IDeviceServiceClient _deviceServiceClient;     private readonly IDeviceManagementServiceClient _deviceManagementServiceClient;     private readonly DeviceSettings _settings;      public Device Device { get; set;  }     public DeviceManagementModule DeviceManagementModule { get; set; }     public List<Sensor> Sensors { get; set; }      public async Task InitAsync()     {         var sensors = await _deviceServiceClient.GetSensorsAsync(_settings.DeviceId);        //todo subscription      }      public void AddSensor(){ //todo }     public void UpdateSensor() { //todo }      public void DeleteSensor() { //todo }       public event EventHandler<SensorNotification> SensorEventHandler;     public void OnDeviceManagementEvent(Notification notification)     {         //devicenotificaitona map etmeliyiz         DeviceManagementEventHandler?.Invoke(this, new DeviceManagementNotification());     }     public void OnSensorEvent(Notification notification)     {         if(Sensors != null)         {             var sensor = Sensors.FirstOrDefault(x => x.Id == notification.Id);              if (sensor == null)             {                 //Logging             }             else             {                 var sensorNotification = new SensorNotification()                 {                     SensorId = sensor.Id,                     SensorName = sensor.Name,                     Data = notification.Data,                 };                  SensorEventHandler?.Invoke(this, sensorNotification);             }         }         else         {             //Logging         }     }     public async Task PushDataToPlatform(string sensorId, string message)     {       }  } 

How should I design DeviceManager class ? Should it be singleton ? These are all concepts as you guessç Not actual implementation. If you have any experiences, I need your advice to design a simple sdk for a device to communicate with a platform. What should I do to make it better ?