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 ShareInstall 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.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
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.