In Windows 7:
Start>Right Click Computer and Choose Manage>Shared Folders>Shares>Right Click Shares>New Share[/code]
Setup the default properties and permissions for the Share
Install essential packages:sudo apt-get install samba samba-common python-glade2 system-config-samba gksu[/code]
Hit F2, type samba. You get a popup hint "Samba: Create modify and delete Samba Shares"
Create a share in Samba.
Hit the big plus sign
Browse to the appropriate directory, choose writable and type a name.
On Windows, it appears as the computer name and the share below it.
Note: Even if you make the folder writable, a windows user cant write/delete files on the share unless you change the permissions and allow group write access with a chmod command
Immediately after setting up the share in Samba, the location becomes accessible in Windows Network.
To view the Windows 7 network on Ubuntu, one should change the Ubuntu Workgroup to be same as the Windows 7 workgroup:kdesudo kate /etc/samba/smb.conf[/code]
Edit this part and change it appropriately.# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = HOMEPC[/code]
Once done, you need to manually share each and every folder that you want to be accessed on the Network. Even then, linux will ask you for the Windows user password when you want to connect.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.