So, while setting up my laptop with the new version of ubuntu (7.10) I found lack of easy to read documentation on a lot of pretty simple tasks. It took me quite a bit of digging for some tasks, and some help from friends with further linux experience. Also, google is definitely your friend! So, I made a few notes while setting up, and I thought I would post some as tutorials for new 7.10 users. I poilished them up a bit. This is my first, a tutorial on how to share files from your ubuntu machine to your windows one. This is definitely for new users to the OS, and is very basic with instructions. From a n00b with this OS to n00bs wanting to learn. Enjoy:
Sharing files in ubuntu using samba to access over network:
1.Just create a new folder on your desktop.
2.Right click the folder and click share.
3.At this point it will tell you that the sharing services are not installed. Go ahead and install both services.
4.If the install finishes successfully, then go back and share the folder giving the permissions you would like to and make sure you set it up to use the SMB file sharing type. You will follow the share procedure #2 and #4 every time you want to share a folder over the network.
5.Open up the terminal and type in (without the ” “) “sudo gedit /etc/samba/smb.conf” and press enter. (you may be prompted for a password – type in the administrator password and press enter).
6.At the top, look at the binoculars icon that says “Find”. Type in “browseable” and find it.
7.Make the no a yes, or leave it as yes if it is already there by default.
8.Delete the “;” before the statement.
9.Look about 10 lines under that previously edited one to one that says writeable. repeat the same “yes” and “;” deletion process.
10.Save the document and exit
11.Open another terminal and type “sudo smbpasswd -a username” replace the username with the user you wish to access these files. Here is an example:
“sudo smbpasswd -a user1“
12.It will now prompt you for a new smb password. This will be the password you will use to access the share, so make it something secure.
13.Go to your windows machine and test. for example – I brought up a “My Computer” window and typed in the box “\\192.168.1.100″ instead (replace my IP with your linux machine hostname or IP.)
14. You should be prompted for credentials now. Type in the username you added before, and the password you just created, and press Enter.
** If it doesn’t work, you did something wrong. Heh actually just go through the smbpasswd procedure again and make sure you didn’t make an error with your new username or password. After that you may want to try asking for help in the ubuntuforums… Feel free to ask me, but I am by no means a linux expert! I am merely passing on the hard to find information for simple tasks like folder sharing. Also, if I made any mistakes or there is an easier way you would like me to post just send me an email and let me know.
