gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > Mount PC-HD as a Network-Disk from DS ?

#86617 - Rudi Rastelli - Thu Jun 08, 2006 8:54 am

I think to myself if there is a way to mount a PC-HD as a Network-Disk accessible from the DS or the other way around to mount CF/SD (inserted in the DS) as a Network-Disk accessible from PC ?

This would give us the possibility to access mp3s, pictures, dpgs directly from moonshell without copying it first to CF/SD.
Or the other way to write programs, games etc. directly to CF/SD without the need to insert CF/SD in a Cardreader.

I think this would really be a very hard task, but who knews... maybe someone with good knewlege of such things could take this as an idea !


Rudi

#86619 - juhees - Thu Jun 08, 2006 9:21 am

If your HD is connected to a running PC, that's not a big deal. Just write an app, that downloads files from a webserver or ftpserver and run one on your PC.
For the other way, you would need a ftp server on your DS (or samba or whatever), which can be done, but would be more to code.

#86709 - TJ - Thu Jun 08, 2006 7:14 pm

I think what you are after is a port of Samba to the DS.

Actually porting it shouldn't be too difficult, or you could even run it from DSLinux.

The problem is, I really don't think the DS is powerful enough to run any standard build of Samba, so you would either have to create your own SMB/CIFS client and server, or attempt to streamline Samba for the task as much as humanly possible.

It would be a lot easier to do an FTP client/server on the DS, which won't be as elegant as just doing drag and drop with Samba, but it will get the job done.

#86737 - takieda - Thu Jun 08, 2006 9:02 pm

While a port of Samba would be nice, I think a simpler, faster, solution would be an FTP server port to the DS. There was an app shortly after the release of the first WiFi lib called WiFi transfer that did something similar. It ran a Jaava server on the computer and ran code to connect to that server on the DS. It only worked for GBAMP CF, and hasn't even been talked about since January 29th, so we need an update to that, or something new... Also, it never worked with WEP as it came out before the WiFiLib supported it.

I think the biggest issue with this, moreso than just porting some Samba or FTP server code is having it successfully write to an SD/CF card.. CF seems to have good drivers for it, but even then, people have difficulty writing apps to support that, and SD... I've yet to see any homebrew write to an SD card effectively, and flawlessly.
_________________
Est Sularis Oth Mithas - My Honor is My Life
(\_/)
(o.o)
(> <) This is The Bunny. Copy The Bunny into your signature to help him on his way to world domination.

#86744 - juhees - Thu Jun 08, 2006 9:45 pm

TJ wrote:
It would be a lot easier to do an FTP client/server on the DS, which won't be as elegant as just doing drag and drop with Samba, but it will get the job done.


I can do drag&drop with ftp too in konqueror ;-)

#86751 - takieda - Thu Jun 08, 2006 10:12 pm

As I'm not very familiar with using Samba, what would be required to have the DS look for Samba shares on the local network? I've been thinking about all the possibilities of transferring data from some source to the DS, and I *think* the most convenient would be to allow the DS to browse Samba shares, and drag and drop, or select to copy, etc..

it WOULD be interesting to supplement something like Win2DS with this functionality. Imagine setting up a VPN with your server sitting at home.. you've set up a network in some other location somewhere in the world that connects the two networks, you use Win2DS to connect to your server at home, modify some files, i.e. like adding pepsiman's loader to an .nds homebrew file for the M3, then, instead of even backing out of Win2DS (or some other alternative), select the newly modified file and copy it from the server to your DS...

I'm thinking with a modified VNC client with some sort of Samba client software built in, you could do all this without having much more than just a good network setup at home and something like RealVNC setup on your server (which I always run anyway).
_________________
Est Sularis Oth Mithas - My Honor is My Life
(\_/)
(o.o)
(> <) This is The Bunny. Copy The Bunny into your signature to help him on his way to world domination.

#86798 - parrot_ - Fri Jun 09, 2006 1:10 pm

NFS library anyone?
_________________
Squak! etc.
My Blog

#86831 - tepples - Fri Jun 09, 2006 7:03 pm

This is a video game system. NFS == Need For Speed, and SMB == Super Mario Bros.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#86832 - parrot_ - Fri Jun 09, 2006 7:04 pm

lol, Tepples. Network File System library? They've done it with DSLinux apparently.
_________________
Squak! etc.
My Blog

#87387 - sonny_jim - Tue Jun 13, 2006 6:26 pm

I can confirm that NFS under DSLinux does work (although last time I tried was about 6 months ago).

Managed to mount an NFS share on my PC using wifi and DSLinux, could navigate, list and cat stuff, I think write support worked as well.

SAMBA would almost certainly be too huge I think.
The alternative is tftp I suppose, someone did do a server somewhere I think.

#87391 - TJ - Tue Jun 13, 2006 7:10 pm

A stand alone NFS client would definitely be within the realm of possibility for the DS hardware, but I don't think that is going to help many Windows users. They have Services for Unix, but it isn't too great.

FTP is probably the only thing that will please everyone, and is probably the easiest to do as well.

#87402 - Darkflame - Tue Jun 13, 2006 8:31 pm

This is crazy...but wouldnt it be possible to do something like;
http://www.acscontrol.com/Index_ACS.asp?Page=/Pages/Products/CompactFlash/IDE_To_CF_Adapter.htm

Only in reverse?
So you have some flexible cable to plug into your CF/SD slot, that leads to a hard drive the other side? (with a seperate power supply obviously, like those from removeable hard drives).

========

Quote:

was an app shortly after the release of the first WiFi lib called WiFi transfer that did something similar. It ran a Jaava server on the computer and ran code to connect to that server on the DS. It only worked for GBAMP CF, and hasn't even been talked about since January 29th, so we need an update to that, or something new... Also, it never worked with WEP as it came out before the WiFiLib supported it.


I still use this...as far as I know, theres nothing yet better.
An update woud be nice indeed.



Quote:
This is a video game system. NFS == Need For Speed, and SMB == Super Mario Bros.


LBA = Little Big Adventure
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.