Hi,
Apologies for a dumb newbie question, but does anyone have an idiot's guide to getting samba working on my C1? I need to give other macs/PCs on the network access to the C1. I'd hoped I could use system-config-samba, but that doesn't start. Attempts to use the terminal haven't been successful...
a step by step guide would be really appreciated
thanks,
Dan
Dummies guide to getting samba working
Re: Dummies guide to getting samba working
Translated from my favourite guide: http://jankarres.de/2013/11/raspberry-p ... tallieren/
Its usually a good idea to check for raspberry pi tutorials and modify for odroid. Its the same base system but raspberry pi has most topics already covered.
1) INstall samba
2)Edit config
2a)uncomment or add
2b)Add to config for your share folder
(ps. nano is an editor for command line. You can save changes with ctrl+o and exit with ctrl+x)
3)Add your user (odroid usually) to allow samba access giving him a password:
4)Restart Samba to re-read changed config
Its usually a good idea to check for raspberry pi tutorials and modify for odroid. Its the same base system but raspberry pi has most topics already covered.
1) INstall samba
Code: Select all
sudo apt-get install samba samba-common-bin
Code: Select all
sudo nano /etc/samba/smb.conf
Code: Select all
security = user
Code: Select all
[TestShare]
path = /path/to/folder
writeable = yes
guest ok = no
3)Add your user (odroid usually) to allow samba access giving him a password:
Code: Select all
sudo smbpasswd -a odroid
Code: Select all
sudo /etc/init.d/samba restart
-
- Posts: 2
- Joined: Thu Jun 25, 2015 9:10 pm
- languages_spoken: english
- ODROIDs: c1
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Dummies guide to getting samba working
thank you!
When I type "udo smbpasswd -a odroid" I get an error: "failed to open: /var/lib/samba/private/secrets.tdb"
Have I done something wrong?
When I type "udo smbpasswd -a odroid" I get an error: "failed to open: /var/lib/samba/private/secrets.tdb"
Have I done something wrong?
Re: Dummies guide to getting samba working
Its sudo instead of udo. maybe thats the problem?
Are you running the official odroid image? Everything updated?
Anyway, the commands before worked just fine?
You can try to fix it this way:
sudo mkdir /var/lib/samba/private
sudo touch /var/lib/samba/private/secrets.tdb
then you can add your user
Are you running the official odroid image? Everything updated?
Anyway, the commands before worked just fine?
You can try to fix it this way:
sudo mkdir /var/lib/samba/private
sudo touch /var/lib/samba/private/secrets.tdb
then you can add your user
-
- Posts: 202
- Joined: Mon Nov 28, 2016 2:43 am
- languages_spoken: english spanish
- ODROIDs: XU4, C2
- Has thanked: 0
- Been thanked: 4 times
- Contact:
Re: Dummies guide to getting samba working
smbpasswd is not found even after doing 'sudo apt-get install samba samba-common-bin'
What is my problem?
What is my problem?
Who is online
Users browsing this forum: Bing [Bot] and 1 guest