Configure the Samba server for Embedded Development In Debian

Source: Internet
Author: User
Debian: configure the Samba server for Embedded Development-Linux Release Technology-Debian information. For more information, see the following. 1. Installation

The installation process is very simple:
# Apt-get install samba

The system will ask you, please refer to these answers:

Use debconf to configure samba? Yes.

Enter the workgroup name or domain name mshome.

Password encryption? Yes.

How to run samba? We select the default daemons Method for listening in the background.

Create a samba password library? Yes.

2. Small Test

You may not believe it, but now you can see this Linux host named Debian in the Windows Network Neighbor!

Find the workgroup Group of the network neighbor and you will find that she is already there. How are you doing!

However, you will find that no matter what user name or password you enter, the verification fails. That's because we haven't told samba which users and passwords to verify.

3. Write a minimum smb. conf
Global Settings
[Global]
Workgroup = mshome
Server string = % h server
Log file =/var/log/samba/log. % m
Max log size = 1000
Syslog = 0
Panic action =/usr/share/samba/panic-action % d
Security = share
[Develop] // display the shared name
Comment = gbj
Path =/mnt/samba // shared file path
Public = yes
Writable = yes
Create mode = 0700

4. Change the/mnt/samba directory permission to writable.

5. If the modified smb. conf takes effect, restart samba:

#/Etc/init. d/samba restart

6. Mount ON THE DEVELOPMENT BOARD
# Mount-t cifs username = guest // 192.168.18.101:/mnt/samba/mnt
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.