dtf
Group: Members
Posts: 196
Joined: Nov. 2005 |
|
Posted: Mar. 08 2006,14:07 |
|
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.
|