- this is what needs to be done :
- i will be running debian off a pen drive.
- the software will be on the debian distro.
- i want to do 2 things depending on situation :
- SITUATION 1:
- put in the pen drive in the port, boot, and go to the live debian distro (trivial task, easily done).
- now, i want it to automatically run a script that connects to the server (details below), and fetch some files and store them on the PD.
- SITUATION 2:
- we insert pen drive when in windows, and it does the same thing above, without having to boot to windows.
- eg: irl, we do this :
- windows :
- 1. open run window (win+R)
- 2. type name of server "\genericservername" (i hope its a '\' and not a '/', i get confused sometimes)
- 3. an authentication window opens, where we have to give our username, pass.
- 4. opens the resource we want
- 5. navigate to genericservername\folderx\myfolder and copy off stuff
- linux :
- 1. go to "connect to server" option
- 2. change type to "windows share"
- 3. in server name we type "genericservername"
- 4. auth dialog opens
- 5. input name, pass, domain(abcd)
- 6. do what we want
- i can do this on my own, however, im stuck at the programming stage : how to code it in? how to identify which is linux and which is windows, and to act accordingly?
- also, i'd be satisfied with solution of either of the 2 situations given above... i think i can work out the other from the solution of the other.
a guest Nov 9th, 2012 19 Never
RAW Paste Data