Ist auch eher wieder so ein Ding, was ich für nen Kumpel gemacht habe. Ist eher so eine Windows zu Raspberry Geschichte – Ich habe ihm das gemacht – macht ihr das Beste daraus.
- sudp apt-get install samba samba-common-bin
- sudo mkdir /media/usbl > das ist unser „share“ (Weitergabe Ordner)
- sudo nano /etc/samba/smb.conf > Wir konfigurieren
- ####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server.
security = user > bei „security = user“ nehmt ihr am „start“ das „#“
- Wir bleiben in der Datei und fügen folgendes hinzu!
[Share]
comment = Samba Freigabe
path = /media/usb1
writeable = yes
guest ok = no
- sudo smbpasswd -a pi && sudo chown -R pi:pi /media/usbl > Wir erstellen einen Nutzer
- sudo /etc/init.d/samba restart > Wir starten Samba einmal neu
- sudo nano /etc/samba/smb.conf > Die Arbeitsgruppe einrichten
- Wir suchen die „Global Settings“ und darin nach „workgroup = xxx“ - die xxx stehen für euere Arbeitsgruppe.
- Aussehen muss das ganze am Schluss so...
#===================== Global Settings =====================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP (HIER KOMMT EUER NAME DER WK REIN)
Keine Kommentare:
Kommentar veröffentlichen