Professional Documents
Culture Documents
SUBMITTED TO
ABINASH BHAGAT
SUBMITTED BY
PRIYANKA SHARMA
ROLL NO RTB901A04
MSC( CS)
Part-A
1. Q)Give overview of samba server.
Ans) Samba-server provides a SMB server which can be used to
provide
network services to SMB (sometimes called \"Lan Manager\")
clients. Samba uses NetBIOS over TCP/IP (NetBT) protocols
and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
protocol.
2) Discuss the various steps for Starting and Stopping the SAMBA
server.
Ans) To start a Samba server, type the following command in a shell
prompt while logged in as root:
/sbin/service smb start
To set up a domain member server, you must first join the domain or Active
Directory using the net join command before starting the smb service.
To stop the server, type the following command in a shell prompt while
logged in as root:
The restart option is a quick way of stopping and then starting Samba. This
is the most reliable way to make configuration changes take effect after
editing the configuration file for Samba. Note that the restart option starts the
daemon even if it was not running originally.
To restart the server, type the following command in a shell prompt while
logged in as root:
1Q)How we can Install DHCP Server and what are the Benefits of DHCP
servers.
Ans) To install DHCP Service:
1. Open the Control Panel and double-click Add/Remove
Programs.
2. Click Add/Remove Windows Components.
3. Highlight Networking Services and click Details.
4. Select Dynamic Host Configuration Protocol (DHCP) as
shown in Figure A and click OK.
5. Click Finish when prompted.
Figure A
Benefits of DHCP
Deploying DHCP on your enterprise network provides the following
benefits:
• Safe and reliable configuration. DHCP minimizes configuration errors
caused by manual IP address configuration, such as typographical
errors, as well as address conflicts caused by a currently assigned IP
address accidentally being reissued to another computer.
• Reduced network administration.
• TCP/IP configuration is centralized and automated.
• Network administrators can centrally define global and subnet-
specific TCP/IP configurations.
• Clients can be automatically assigned a full range of additional
TCP/IP configuration values by using DHCP options.
• Address changes for client configurations that must be updated
frequently, such as remote access clients that move around
constantly, can be made efficiently and automatically when the
client restarts in its new location.
• Most routers can forward DHCP configuration requests,
eliminating the requirement of setting up a DHCP server on every
subnet, unless there is another reason to
Then open the configuration file with your favorite text editor (vim, nano,
emacs, gedit, kate)
vim /etc/samba/smb.conf
[global]
workgroup = CHANGETHIS
server string = %h server
log file = /var/log/samba/log.%m
security = user
invalid users = root
load printers = no
[jffs]
comment = JFFS for DD-WRT
path = /mnt/jffs
browseable = no
valid users = jffsuser
read only = no