Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Problems with Shared Folders

  1. #11
    Member
    Join Date
    Jun 2009
    Posts
    74

    Default Re: Problems with Shared Folders

    Quote Originally Posted by fightclub View Post
    Thank you for your comment. I have loaded SSH but I do not know what to do from there and it makes me feel like a novice, which sad to say but I am. But never the less I am learning and hopefully I do master it. I know for smarter people it's easy and after I learn it I'm going to be kicking my self for not knowing it sooner. Probably tell myself "why didn't I learn it sooner".

    To novices aka new users here is my youtube video just for you.

    MOD EDIT: Link removed

    I would suggest muting my voice but thats up to you.

    bliptv link
    Backtrack 4r2 file shareing for dummies
    SSH is just a secure version of telnet. Read up on "how to use SSH to transfer files" and you'll find what you're looking for.
    cd ~
    cd ./fridge
    rm beer
    cd ../bedroom
    more beer

  2. #12
    Member fightclub's Avatar
    Join Date
    Jul 2010
    Location
    On some rock in the Milky Way
    Posts
    60

    Default Re: Problems with Shared Folders

    Quote Originally Posted by ThePistonDoctor View Post
    SSH is just a secure version of telnet. Read up on "how to use SSH to transfer files" and you'll find what you're looking for.
    I thought I was doing something wrong but apparently Windows doesn't play well with others. I am able to connect to BackTrack with Windows using cygwin but not Linux onto windows. I have tried Copssh since that seemed to work with Windows 7 x64. Also I looked into how to transfer files and even tho I am connected though cygwin in Windows I get a connection refused. Oh I used scp (secure copy) and it looks awesomely... I know its a Windows thing but eh! there you have it Windows doesn't play well with others. I also put port 22 to be open. I do not have any firewall besides the one Windows box comes with. What ever it is I will figure it out. The only reason I do not ask a question here is because its a Windows problem not a BackTrack problem.

    In BackTrack To another BackTrack in vmware the scp from ssh works flawlessly. Oh man! I thought I was doing it wrong but I wasn't, it was Windows that was giving me a headach.

    Well best of luck and thanks for the grate information about ssh. Now to learn more about Linux.

  3. #13
    Junior Member
    Join Date
    Jan 2010
    Posts
    35

    Default Re: Problems with Shared Folders

    I haven't used ssh to transfer files, I usually start up an ftp server on my bt box or just mount my windows share using mount -t cifs. I use the mount method to copy my music from my vista machine to bt so I can keep my tunes updated Here's the script(just edit the vars), it's quick and dirty and definitely could be more secure but here it is:

    Code:
    #!/bin/bash
    
    #  Create Mount
    
    sharepath="//VISTA-01/public/music"
    mntpathcmd="/mnt/music/*"
    mntpath="/mnt/music"
    musicpath="/music"
    user=""
    pass=""
    
    if [ ! -d "$mntpath" ]; then
    	echo "Mount path: $mntpath is missing and will be created"
       	mkdir $mntpath
    fi
    
    if [ ! -d "$musicpath" ]; then
    	echo "Music path: $musicpath is missing and will be created"
        	mkdir $musicpath
    fi
    
    echo "Mounting share: $sharepath to mount path: $mntpath"
    mount -t cifs $sharepath $mntpath -o username=$user,password=$pass
    echo "Copying update or missing files from: $mntpath to music path: $musicpath"
    cp -vru $mntpathcmd $musicpath
    echo "Done copying files, unmounting share"
    umount $sharepath
    echo "Done......"
    Last edited by Kx499; 01-28-2011 at 02:19 PM.

  4. #14
    Member fightclub's Avatar
    Join Date
    Jul 2010
    Location
    On some rock in the Milky Way
    Posts
    60

    Default Re: Problems with Shared Folders

    Quote Originally Posted by Kx499 View Post
    I haven't used ssh to transfer files, I usually start up an ftp server on my bt box or just mount my windows share using mount -t cifs. I use the mount method to copy my music from my vista machine to bt so I can keep my tunes updated Here's the script(just edit the vars), it's quick and dirty and definitely could be more secure but here it is:

    Code:
    #!/bin/bash
    
    #  Create Mount
    
    sharepath="//VISTA-01/public/music"
    mntpathcmd="/mnt/music/*"
    mntpath="/mnt/music"
    musicpath="/music"
    user=""
    pass=""
    
    if [ ! -d "$mntpath" ]; then
    	echo "Mount path: $mntpath is missing and will be created"
       	mkdir $mntpath
    fi
    
    if [ ! -d "$musicpath" ]; then
    	echo "Music path: $musicpath is missing and will be created"
        	mkdir $musicpath
    fi
    
    echo "Mounting share: $sharepath to mount path: $mntpath"
    mount -t cifs $sharepath $mntpath -o username=$user,password=$pass
    echo "Copying update or missing files from: $mntpath to music path: $musicpath"
    cp -vru $mntpathcmd $musicpath
    echo "Done copying files, unmounting share"
    umount $sharepath
    echo "Done......"
    I have actually started playing with SSH and have learned how to transfur files betweent the two. But man! that script looks nice to just touch. I will have to play with it. I just like new things, and I don't do things because they are need nore because they are hard but because I can.

    Much thanks Kx499.

  5. #15
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    4

    Default Re: Problems with Shared Folders

    Im still having problems trying to access my shared folder on Backtrack from Window 7.

    I've already installed and configured Samba
    Host and Virtual machine have same group name.

    But i cant find my backtrack machine on Windows network!

    WHy???

    I need move my wpa tables to Backtrack Vmware HD!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 10
    Last Post: 01-12-2011, 08:33 AM
  2. user folders
    By RageLtMan in forum OLD BackTrack 4 (pre) Final
    Replies: 10
    Last Post: 07-20-2009, 09:54 AM
  3. VMWare image hgfs (shared folders)
    By Touzoku in forum OLD BT4beta Bugs and Fixes
    Replies: 3
    Last Post: 02-20-2009, 08:26 PM
  4. Can´t see my shared folders in the network.
    By Devil_JP in forum OLD Newbie Area
    Replies: 2
    Last Post: 01-18-2008, 04:35 PM
  5. Replies: 4
    Last Post: 08-01-2007, 09:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •