NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

How to Setup a Samba Server

From Texas Instruments Wiki
Jump to: navigation, search

Starting in v4.3, Processor SDK documentation is no longer hosted on processors wiki.

Please bookmark the new links:


TIBanner.png

Return to the Sitara Linux Software Developer's Guide

Introduction
[edit]

When using a Virtual machine you may share files & folders via the Share Foldr feature of that partoicular Virtual Machine.  Another alternative, especially if you are using a dedicated Linux host, is to configure a Samba server on your Linux host. 

Samba allows a host to interact with a Microsoft Windows client or server as if it is a Windows file and print server. In other words, if you are installing software on a Windows machine, you can easily transfer/modify files to the host machine by accessing it (the host machine) through windows.

Installing a Samba Server
[edit]


1.  Samba can be installed by opening a terminal. (Applications -> System Tools -> Terminal)

2.  Switch to root user by typing su and entering the password you set during the install.

3. On Fedora install Samba with the yum command: system-config-samba

    On Ubuntu install Samba using:  sudo apt-get install system-config-samba

4. Open the Samba GUI (System -> Administration -> Samba).

5. Configure the share

Samba Server Configuration 001.png

  • Click on "Add Share"
  • Specify the directory you want to share. For example, /home/<username>

Create Samba Share 002.png

  • Check both the Writable and Visable boxes
  • On the "Access" tab, select the Allow access to everyone option

Create Samba Share 003.png

  • Select "OK"


6. Set up the workgroup

  • From the toolbar, select Preferences -> Server Settings

Server Settings 004.png

  • Specify the "Workgroup" to match the workgroup on your Windows environment
  • Select "OK"


7. Add a user

  • From the toolbar, select Preferences -> Samba Users
  • Click "Add User"
  • From the "Unix Username" dropdown box, select the username you set up
  • In the "Windows Username" and password boxes, enter the Unix Username and password for that user, respectively.
  • Select "OK"


8. Turn off the firewall

  • System -> Administration -> Firewall
  • Select the "Disable" button


NOTE - If you are within your company's firewall you may need to configure the network proxy.


9. Enable the Samba and NFS services

  • System -> Administration -> Services  (NOTE - Not available in Ubuntu 10.04 LTS.  However the Samba service should start automatically)
  • Enable the services by browsing through the list on the left and locating nfs and smb. If they are not already enabled, enable them by clicking the "Enable" button.


10. Test the configuration

  • From a terminal on the Linux workstation, type the command <prompt> ifconfig and note the IP address
  • From your Windows machine, go to Start -> Run and type \\<IP_ADDR> replacing <IP_ADDR> with the IP address of the Linux system

Archived[edit]

Sitara Linux SDK 08.00.00.00

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article How to Setup a Samba Server here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article How to Setup a Samba Server here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article How to Setup a Samba Server here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article How to Setup a Samba Server here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article How to Setup a Samba Server here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article How to Setup a Samba Server here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article How to Setup a Samba Server here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article How to Setup a Samba Server here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article How to Setup a Samba Server here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity