Monday, 26 August 2013

How to browse windows 7 shares in 13.04

How to browse windows 7 shares in 13.04 References I am by no means an Ubuntu expert, but I have been using it since 11.xx with no problems. however I can\'t get this to work at all. I have tried nautilus Network...and it can\'t connect..doesn\'t even detect PC\'s on the network. smbtree detects all pc\'s mounting gives error 115 operation is in progress <-- this is using cifs the only actual temporary solution i used was making an FTP server and connecting to it to make the file transfers. but this isn\'t viable because the computer I am connecting to is the house\'s central file server...it has family pictures, library and music, has about 3 TB of data...so if i wanna skim through a movie i can\'t stream it over FTP, I have to copy it first. Any pointers would be great, I know this has been done before. please include required settings for Windows 7 x64 SP1 server and Ubuntu 13.04 client. I have figured it out! First your windows account must have a password and be set to use user accounts for authentication. to test things try to connect to a folder using smbclient. smbclient -U win7_username //192.168.1.x/XXX you must use the IP address not the pc name although it doesn\'t say so in the documentation...but this is how it is. you will be asked for your password..if you don\'t set a password and leave it blank..it doesn\'t work (no idea why) so just make a password, in my case it was \"1\". if it connects type : dir it should show the files in the share..then type : exit sudo mount -t cifs //192.168.1.9/Movies /mnt/Movies -o user=win7_user,pass=1 then enjoy the shares. for some reason you can\'t mount the whole PC, just single folders..so I shared the whole drive on the server to be able to access everything at once with one command. I am also planning on putting this a script to enable the share when I need it as opposed to editing fstab because the server isn\'t on 24/7. cheers :D

No comments:

Post a Comment