Documentation:NGW/Newbie/Samba

From AVRFreaks Wiki

Jump to: navigation, search

[edit] Samba

[edit] My Removable SDCard

The default config allows you to connect to the onboard flash.

if you want to get access to your SDCard

edit samba config

vi /etc/samba/smb.conf


look for [netdisk]

add this below the [netdisk] section

[mysdcard]
  comment = Shared network disk
  path = /media/mmcblk0p1
  public = yes
  guest ok = yes
  writable = yes
  printable = no
  locking = no
  create mask = 0777

Then restart samba or reboot

Then mount /samba/mysdcard (replace samba with your IP address) On window you would Map a Drive

[edit] Restricted Access

By default you can only connect to samba from 10. and 127. network

to change this restricted access

edit samba config

vi /etc/samba/smb.conf

look for hosts allow change this to suit your network

  hosts allow = 10.11.13. 127.

Thats for my network. eg any IP from 10.11.13.1 to 10.11.13.254

Personal tools