On Sat, Feb 20, 2010 at 7:00 PM, bipin kumar <bipin...@gmail.com> wrote:
> Hi there > > hope the following stuff will be of help. it works for me in > ubuntu 9.10 karmic. i will split this into two halves First is setup > your linux machine with samba and second is accessing files from your > friends systems > I. Setting up your system > install system-config-samba by giving command > > sudo aptitude system-config-samba > > once the installation is finished go to > > system > administration > samba to open Samba Server Configuration > > in the Samba Server Configuration go to > > Preferences > Server Setting > this will pop up a dialog box with two tabs namely Basic & Security > > in the basic tab > > specify the workgroup (it is advisable to have all u r friends systems > including non linux ones in same workgroup, say Hostel) > > and in security group change authentication mode to Share(User setting > too works) leave the rest of the settings to their defaults > once your done click OK > now go to File > Add share or click on the Big + button on the > toolbar to get a dialog box to add folder u need to share > this dialog is almost self explanatory select the folder(for instance > 'Library'), give a share name (preferably a shorter one, 'library' in > this case), check visible if everyone should be able to see the share > through either network neighbourhood(windows systems) or smb:///(linux > boxes), check writable if u r friends should be able to modify the > files. in the access tab u can configure access settings i.e everbody > or select users who can access(Please read the next para before u give > setup user access). once u r done click Ok and voila u r share is > ready to be accessed over the network. to be on safe side restart > samba service by executing following command in terminal > > sudo /etc/init.d/samba restart > > since your primary linux user account will have sudo privilages it is > not desirable use that account to access file from the client machine. > so here is what i did i created a new user account named 'shareuser' > using system > administration > users and groups. click the lock icon > to enable administrator privileges. click on add user enter the user > name, shareuser in thisexample and password, say 'xxxxxx' and select > profile desktop user. do not select administrator profile!!. after > this i give this user access to the share in Access tab. > > > II. accessing from a client machine (i am assuming your machine name > to be, say, enigma for this step) > > assuming that all u guys are in same workgroup(windows and linux > included. mac guys too) u will see the your machine(something like > enigma(samba, ubuntu)) in the network neighbourhood or smb:///(or > rather Places > network). in case of windows machine if it does not > show just click the link view workgroup computers this will most > probably show the available workgroups browse to your work group i.e > hostel and nd access your machine enigma annd u can see the shared > folder in it. now while opening share user name and password will be > asked give the user name, shareuser in this example and password > 'xxxxxx' to access the contents > > in windows machines u can also map the shares as network drives the > procedure is as follows > 1. Right click on 'My Computer' icon, either on desktop or start menu, > and select 'Map Network Drive'. > 2. Now select drive letter' default is Z; and last available one and > enter the share location in the format \\server name\share (for this > example \\enigma\library) > 3. click the link 'connect using a different username' and enter the > username (shareuser) and password (xxxxxx) and click OK / Finish > buttons > > now the share will appear as a network drive in the my computer. > > Well that is it for now. hope that it will work for you as it has done > for me and all the best. > I tried to follow your guidelines. COnfigured Samba and shared a folder in my machine. Installed samba in my friends machine, but when he navigate to smb:// he cannot see the folder I shared. What could be wrong? > > > Bipin > > Again i hope that this will work for you as it has done for me and all > the best > > Bipin > > On Feb 20, 2:06 pm, Sajjad Anwar <sajja...@gmail.com> wrote: > > On Sat, Feb 20, 2010 at 2:31 PM, Deepak <deepakkuma...@gmail.com> wrote: > > > You can install samba server then share the folder you want to > > > share .It will be accessible to all the users in the network. > > > > I installed samba and shared the folder. > > How do my friends access the folder? > > > > > > > > > > > > > > > > > On Feb 20, t1:56 pm, Sajjad Anwar <sajja...@gmail.com> wrote: > > > > Hello. > > > > > > We have a wireless connection at our hostel, how can I set up a a > folder > > > in > > > > my machine to be shared in the network? > > > > I'm using Ubuntu 9.10. > > > > > > Thanks! > > > > > > -- > > > > Sajjad Anwar |http://geohackers.in|Blog:http://sajjad.in > > > > > -- > > > "Freedom is the only law". > > > "Freedom Unplugged" > > >http://www.ilug-tvm.org > > > > > You received this message because you are subscribed to the Google > > > Groups "ilug-tvm" group. > > > To post to this group, send email to ilug-tvm@googlegroups.com > > > To unsubscribe from this group, send email to > > > ilug-tvm-unsubscr...@googlegroups.com > > > > > For details visit the website:www.ilug-tvm.orgor the google group page: > > >http://groups.google.com/group/ilug-tvm?hl=en > > > > -- > > Sajjad Anwar |http://geohackers.in| Blog:http://sajjad.in > > -- > "Freedom is the only law". > "Freedom Unplugged" > http://www.ilug-tvm.org > > You received this message because you are subscribed to the Google > Groups "ilug-tvm" group. > To post to this group, send email to ilug-tvm@googlegroups.com > To unsubscribe from this group, send email to > ilug-tvm-unsubscr...@googlegroups.com > > For details visit the website: www.ilug-tvm.org or the google group page: > http://groups.google.com/group/ilug-tvm?hl=en > -- Sajjad Anwar | http://geohackers.in | Blog: http://sajjad.in -- "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to ilug-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@googlegroups.com For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en