OS/2, eCS & ArcaOS - Technical > Storage

MTP plugin for Netdrive?

<< < (2/5) > >>

Doug Bissett:

--- Quote ---I just tried mediatomb, dies with,
--- End quote ---

It was a few years ago (2011?) when I set it up, so I don't remember what I did. It still works perfectly, for me. The basic setup was to assign a user ID and password, then attach the file structure. FWIW, your ifconfig shows exactly the same as what I have (except for the address), so it is probably a program setup problem.


--- Quote ---MTP support would allow connecting devices much like a MSD.
--- End quote ---

I am not sure that I understand the need. I can connect my android phone as a MSD device, if I want to bother doing it. WiFi is easier, and the speed is reasonable.

To make it even easier, Lenovo has a program, available to all, called ShareIt. It doesn't run in native OS/2, but it does run under windows (as well as Android and IOS, including windows in VBox). See: http://shareit.lenovo.com/. It says it uses WiFi, but it also uses wired connections, or even VBox to host networks. The "worst" part about it is that they keep changing the user interface, but it is usually not too difficult to figure it out.

Perhaps the code is available for ShareIt???

Greggory Shaw:

--- Quote from: Dave Yeo on June 26, 2016, 07:29:19 pm ---I just tried mediatomb, dies with,

--- Quote ---2016-06-26 10:22:12    INFO: Configuration check succeeded.
2016-06-26 10:22:12   ERROR: main: upnp error -208
2016-06-26 10:22:12   ERROR: Socket error.
2016-06-26 10:22:12    INFO: Please check if your network interface was configured for multicast!
2016-06-26 10:22:12    INFO: Refer to the README file for more information.
2016-06-26 10:22:12   ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed

F:\mediatomb\bin>ifconfig lan0
lan0: flags=bc63<UP,BROADCAST,NOTRAILERS,RUNNING,DEFMTU,MULTICAST,BRIDGE,SNAP,LOOPBRD>
        inet 192.168.0.2  netmask 0xffffff00 broadcast 192.168.0.255

--- End quote ---

MTP support would allow connecting devices much like a MSD. Currently here I can unmount the microsd card, risk losing it, plug it into an adapter and then into my OS/2 computers USB port and transfer files that way, or use FTP. FTP is slow over the wireless and the moving microsd card is a bit of a hassle

--- End quote ---

Hi Dave,

I think this should help - http://www.os2world.com/forum/index.php/topic,705.msg6657.html#msg6657


Greggory

Dave Yeo:
Thanks Greggory

@Doug, being able to connect devices as a MSD device is going away. My Android tablet doesn't allow it. The reason given is to prevent race conditions, eg 2 devices writing to the same file, which is a consideration but the other reason is to limit what you can access. Can't have you copying stuff that the powers that be say not to.
As for wi-fi, here my computer is on the other side of the wireless router so some things just don't work and even those that do, I have to use my 207.xxx.xxx.xxx external address which is always changing, rather then my 192.168.0.x address that I've assigned to my lan card.
I'll follow Greggory's link.

Paul Smedley:
Thanks guys, I'll look at getting a build of the libmtp command line tools first, as this would form the core of any netdrive plugin.

I tried testing this morning with a Nexus tablet and virtualbox, and got a USB error - Ill see if I can test with native hardware tonight. Not sure if something has changed with libusb or its just a virtualbox usb issue....

Doug Bissett:

--- Quote ---Can't have you copying stuff that the powers that be say not to.
--- End quote ---

There will always be a way to do it.


--- Quote ---As for wi-fi, here my computer is on the other side of the wireless router so some things just don't work and even those that do, I have to use my 207.xxx.xxx.xxx external address which is always changing, rather then my 192.168.0.x address that I've assigned to my lan card.
--- End quote ---

You do have an "unusual" internet connection. There may be a way to work around that, but it could be more work than it is worth.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version