Samba server for iOS

UPDATE 2011/07/18:

Tom Zickel/OpenHebrew, creator of Samba for iOS, informed that Samba is now available from Cydia/BigBoss repository so no need to follow the procedure described below, instead install Samba Controller from Cydia.

http://tom.zickel.org/samba/samba.txt

 

About
-----
Samba for iPhone/iPod Touch allows you to see your device as a network drive on your computer (and you can copy / change / stream files from / to it). It works on any OS that supports SMB/CIFS protocols (out of the box for most ones, including Windows).

This package should work on both iPhoneOS 2.x and 3.x

Disclaimer
----------
This is a BETA release, install it at your own risk, only if you feel comfortable with accessing the device via terminal. The final release will be made publicly on Cydia with a much simpler installation routine.
Please provide me back with feedback about this package as much as possible (i expect this do be a very popular package once out officaly), so tell me if you've used it, on what device & OS and if it works Ok or not.

Please report your findings to openhebrew (at) gmail (dot) com with Samba in the topic.

Installation instructions
-------------------------
1. Add the following repository URL: http://tom.zickel.org/samba/ No need to add a new repository because BigBoss repository is included with Cydia.
2. Install the package "Samba controller" and it's dependencies.

Uninstall
---------
2. Uninstall the package "samba".

How to use this
---------------
Samba is disabled after installation, to turn it on and configure it:
1. Go to Settings in your device.
2. Go to Samba.
3. Change the settings as you like.
4. To start samba, make sure to turn autostart on, and leave the settings pane.

After turning it on, find your device's IP and put it in your computer as a samba / network share (windows \\<your device ip> or linux smb://<your device ip> etc...)

Important Notes
---------------
- The service is turned off by default after installation.
- The service username is root and cannot be changed.
- The service default password is listed on the bottom on the settings pane (this is a security feature, each device has it's own auto generated passwd), you can use it, or change to your own one.
- nmbd isn't automatically loaded, so device doesn't show up at "network neighbourhood" (and the likes) for now.
- The whole filesystem of the device shows up as a writable network share with the URI \\<your phone ip>\main in windows or smb://<your phone ip>/main otherwise.
- To make samba work also when screen is black (device is idle), consider installing insomnia and running it: apt-get install com.imalc.insomnia (and respring), this makes network applications still keep running when device goes idle, and is not specific to samba.

SBSettings switch
-----------------
You may also install an SBSettings switch to quickly turn samba on/off via running:
1. Install from the repoistory the samba toggle.
Then, you should have an samba sbsettings toggle in your list (after you run samba settings atleast once).

Feedback
--------
I need feedback, even if everything works ok, I also want to get your input on if the settings pane is ok, and if the default password issue is ok as well.
openhebrew (at) gmail (dot) com

 

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *