Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Samba for File Server, I would like 2 setup a file / print srvr< Next Oldest | Next Newest >
Ankuryu Offline





Group: Members
Posts: 24
Joined: Mar. 2006
Posted: Mar. 08 2006,11:47 QUOTE

Hi I am a newbie.

Also I would like to set up one of my 486 machines for File Print sharing as well as mail server. Is this possible with DSL ? If so could anyone guide me or where 2 look up the info
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Mar. 08 2006,14:07 QUOTE

For your file printer server you want to research the topic samba if you are working in a mixed network (windows and linux machines).  You can download samba from MyDSL->Net with the desktop icon.  Once done, you will need to edit the /etc/samba/smb.conf to allow sharing with your windows machines.  Configuring smb.conf can be complex so you might want to keep it simple at first.  For file sharing you can do something like -
[global]
         workgroup = your_work_group_name
         
          server string = your share name
         
           hosts allow = your home network id like 192.168.10.0/24

           security = user # allows you to require a password on your share
           encrypt passwords = yes # if you choose security = user
           # you need to add users with smbpasswd command
            smb passwd file =/etc/smbpasswd

            # alternatively you can use the following to allow every access t the share without password
            security = share

             socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  [your_share_name]
       comment = my network share
       # make sure your permissions on the directory are set correctly
       path = your_path_to_the_share_directory
       guest ok = no #if you don't want to require a login use guest ok = yes for no login
       read only = no

Once this is in place you'll want to start the smbd and nmbd deamons.  In a terminal window type

sudo smbd stop
sudo nmbd stop
sudo smbd start
sudo nmbd start

or just make yourself the superuser and forget the sudo.

You can search the DSL wiki and forums for more information on the topic. I have found some that are quite good.  I have not setup a shared print server yet (no share printer or room) so I don't know what is needed in the smb.conf file.  There is some information in the conf file and on the internet.  

As far as the e-mail server goes.  I am not sure what is needed there either.          
   
Use this information as a guide and double check it against what I typed.  It can be tricky at times getting it setup but once it is working it works well.
Back to top
Profile PM 
Ankuryu Offline





Group: Members
Posts: 24
Joined: Mar. 2006
Posted: Mar. 09 2006,09:25 QUOTE

Thank You very much.  That would b more like peer to peer sharing ? Right
Can I Use SAMBA.dsl to substitute for windows 2000 ?
for File / Printer Sharing ? Currently  I am reading documentation for SAMBA, however I want 2 know if SAMBA.dsl will perform equally ?
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Mar. 09 2006,11:04 QUOTE

I am not sure what you mean by "perform equally".  Once setup correctly your linux share will show up on all other machines in you network in the same workgroup (and network id) and you will be able to share files between the machines.  Likewise your linux box see all windows machines in the same workgroup.  There are commercial products that use linux in this way to provide an inexpensive (less than $100) file server for home networking - linksys nslu2 for example.  However using DSL and setting it up yourself is more fun if are into that sort of thing.
Back to top
Profile PM 
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Mar. 11 2006,13:14 QUOTE

Samba can do most of except the domain controlling/password business.  It can do quite a lot and the documentation is really good.  I 've found the book Teach Yourself Samba in 24 Hours  to be quite good, but here's a ton of good documentation on the Internet.
Back to top
Profile PM 
5 replies since Mar. 08 2006,11:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Samba for File Server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code