Hey Leute,
Ich habe auch alles so eingerichtet, möchte aber gerne eine öffentliche Freigabe für alle Nutzer im Netzwerk einstellen. Ich kann auch die Datein sehen, aber nicht schreiben, weil ich keine Berechtigungen habe. Muss ich da noch ne Zeile ändern oder dem ordner irgendwelche Rechte setzten?
Samba - Windows Freigabe Server Installation - Raspbian/Debian
-
-
Samba - Windows Freigabe Server Installation - Raspbian/Debian? Schau mal ob du hier fündig wirst!
-
Ich melde mich hier nochmal.
Und zwar habe ich ein Problem mit der Rechtevergabe.
Ich nutze den Server bei uns im Netzwerk um Dateien zu verteilen.
Ich kann die Datein zwar angucken aber nicht schreiben bzw löschen.
Rechte sehen so aus:
drwxr-xr-x 6 root root 16384 Jan 1 02:15 freigabeWeiß einer hilfe?
Gruß Paule -
Zitat von K-lang pid="2327" dateline="1353096299"
Habe alles soweit installiert und kann auch über das Netzwerk auf die Ordner Pi zugreifen aber da drin ist kein ordener USB1 auch wenn ich mkdir /media/ usb1 ausführe
aber wenn ich ein usb Stick oder eine externe Festplatte anschließe kann ich die daten der Festplatter/stick nicht gehen
wodran kann das liegen ?
Du musst den Stick auch vorher einbinden -
Hallo Forum,
als pi-newbi habe ich folgendes Problem.
Bei modifizieren der samba.conf habe ich diese versehentlich gelöscht und nun die Frage wo bekomme ich den eine "junfräuliche" conf. wieder her.
-
- Offizieller Beitrag
Da hast du sie:
Code
Alles anzeigen# This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # For a step to step guide on installing, configuring and using samba, # read the Samba-HOWTO-Collection. This may be obtained from: # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf # # Many working examples of smb.conf files can be found in the # Samba-Guide which is generated daily and can be downloaded from: # http://www.samba.org/samba/docs/Samba-Guide.pdf # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not made any basic syntactic errors. # #======================= Global Settings ===================================== [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH workgroup = MYGROUP # server string is the equivalent of the NT Description field server string = Samba Server # Security mode. Defines in which mode Samba will operate. Possible # values are user, domain and ads. Most people will want # user level security. See the Samba-HOWTO-Collection for details. security = user # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.1. 192.168.2. 127. # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, cups, sysv, plp, lprng, aix, hpux, qnx ; printing = cups # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /usr/local/samba/var/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * ; password server = <NT-Server-Name> # Use the realm option only with security = ads # Specifies the Active Directory realm the host is part of ; realm = MY_REALM # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. ; passdb backend = tdbsam # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting. # Note: Consider carefully the location in the configuration file of # this line. The included file is read at that point. ; include = /usr/local/samba/lib/smb.conf.%m # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for this servers netbios name, %U is username # You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server ; wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The default is NO. dns proxy = no # These scripts are used on a domain controller or stand-alone # machine to add or delete corresponding unix accounts ; add user script = /usr/sbin/useradd %u ; add group script = /usr/sbin/groupadd %g ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u ; delete user script = /usr/sbin/userdel %u ; delete user from group script = /usr/sbin/deluser %u %g ; delete group script = /usr/sbin/groupdel %g #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writable = yes # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ; comment = Network Logon Service ; path = /usr/local/samba/lib/netlogon ; guest ok = yes ; writable = no ; share modes = no # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] ; path = /usr/local/samba/profiles ; browseable = no ; guest ok = yes # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /usr/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes # A publicly accessible directory, but read only, except for people in # the "staff" group ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; writable = no ; printable = no ; write list = @staff # Other examples. # # A private printer, usable only by fred. Spool data will be placed in fred's # home directory. Note that fred must have write access to the spool directory, # wherever it is. ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes # A private directory, usable only by fred. Note that fred requires write # access to the directory. ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no # a service which has a different directory for each machine that connects # this allows you to tailor configurations to incoming machines. You could # also use the %U option to tailor it by user name. # The %m gets replaced with the machine name that is connecting. ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes # A publicly accessible directory, read/write to all users. Note that all files # created in the directory by users will be owned by the default user, so # any user with access can delete any other user's files. Obviously this # directory must be writable by the default user. Another user could of course # be specified, in which case all files would be owned by that user instead. ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable = yes ; printable = no # The following two entries demonstrate how to share a directory so that two # users can place files there that will be owned by the specific users. In this # setup, the directory should be writable by both users and should have the # sticky bit set on it to prevent abuse. Obviously this could be extended to # as many users as required. ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writable = yes ; printable = no ; create mask = 0765
Gesendet von meinem GT-I9300 mit Tapatalk 2
-
Noch folgende Fragen:
Wie bekomme ich denn die hdd automatisch gemountet? / erl.
Kann ich auch ohne passwort-abfrage starten?/erl.
Gibt es eine Art web-if zum externen Zugriff? / erl. -
Hallo erstmal. Vielen Dank für dieses sehr hilfreiche Tutorial :-). Aber ein kleines Problem habe ich leider noch:
Wenn ich mich mit einem Computer der mit einem LAN Kabel ans Internet angeschlossen ist einlogge, kann ich problemlos auf alles zugreifen.
Wenn ich dann aber über WLAN mit iPhone oder AppleTV2 immer nach Anmeldungsdaten gefragt werde verzweifle ich. Es funktioniert
weder das PW für pi oder für root. Ich bitte um Hilfe -
Hallo zusammen,
ich bin seit einigen Tagen stolzer Besitzer eines Pis und inzwischen leider am Ende meines Lateins den Samba Dienst zum Laufen zu bekommen.
Es läuft Raspbian Wheezy (vom 09.02.2013) und ich bin per SSH mit dem Pi verbunden.
Ich bin wie folgt vorgegangen:Codesudo apt-get update sudo apt-get install samba samba-common.bin sudo cp /etc/samba/smb.conf /ect/samba/smb.conf.old
Anschließend habe ich die smb.conf nach meinen Wünschen konfiguriert. Sie sieht folgendermaßen aus:
Code
Alles anzeigen# testparm -s smb.conf.old >smb.conf [global] workgroup = WORKGROUP server string = %h server #wins support = no ;wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n $ pam password change = yes map to guest = bad user usershare allow guests = yes [homes] comment = Home Directories browseable = yes read only = no create mask = 0700 directory mask = 0700 valid users = %S
Ich habe dem Benutzer pi mit
ein Samba Passwort gegeben.
Der Pi wird in der Arbeitsgruppe auch erkannt und ich kann auf ihn zugreifen.
Mein Problem besteht darin, dass ich, wenn ich über mein Windows 7 System auf das freigegebene /homes Verzeichnis zugreifen möchte, folgende Fehlermeldung bekomme:
Eigentlich erwarte ich den Login-Screen da ich ja in der smb.conf
gesetzt habe.
Ich wüsste zu gerne was für ein Fehler sich da eingeschlichen hat, denn über mein Galaxy S2 mit Android 4.1.2 kann ich mit "ES Datei Explorer" und dem Login des Benutzers pi auf /homes zugreifen. Über meine beiden Windows 7 Systeme jedoch nicht.
Wäre nett wenn sich jemand bereit erklären könnte mir zu helfen
#1 Edit:
Problem hat sich erledigt
Mit meiner neuen smb.conf funktioniert es jetzt. Ein USB-Stick (/dev/sda1) ist in /media/usb1 gemountet.
Allerdings bekomme ich trotz alle dem keine
Passwortabfrage beim Öffnen des freigegebenen Ordners.
Vielleicht weiß da jemand was ich evtl. falsch eingestellt habe.
Anbei noch meine neue smb.conf :Code
Alles anzeigen[global] server string = %h server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\s$ unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d security = user idmap config * : backend = tdb [USB1] comment = USB1 path = /media/usb1 valid users = @users force group = users create mask = 0660 directory mask = 0771 read only = no
-
Hallo, zusammen,
hier bin ich wohl richtig, die meisten schildern das Problem, das auch ich habe. Ich bekomme einfach keine Freigabe hin, auf die ich mit Windows 7 zugreifen kann. Mein alter (inzwischen abgerauchter) Server mit Ubuntu ließ sich mit Samba ohne Probleme in mein lokales Netzwerk einbinden, aber mit dem Raspi komme ich einfach nicht weiter, obwohl ich genau der in diesem Forum veröffentlichten Anleitung gefolgt bin.
Ich habe auch den Eintrag der Workgroup nicht vergessen, die bei mir nicht "WORKGROUP" heißt. Ebenfalls habe ich in der Freigabe Lesen und Schreiben zugelassen, ebenso Gastzugang, weil ich kein Passwort in Windows eingeben will.
Ich habe das Verzeichnis /var/www meines Apache als Freigabe eingestellt, damit ich von Windows auf meine Webs in Entwicklung zugreifen kann.
Mein Netzwerk ist wie folgt aufgebaut:
- Router: Fritzbox. Ich habe für alle Rechner je eine feste IP vergeben aus dem Nummernkreis 192.168.2.x
- Angeschlossene Geräte:
- Workstation (Windows 7) über LAN
- Weiteres Notebook (Windows 7) über LAN
- NAS (Freecom, Linux) über LAN
- Printserver über LAN
- MacBook (OsX) über LAN
- iPad (iOS 6) über WLAN
- Samsung Galaxy 10.1 Tablet (Android 2) über WLAN
- Samsung Galaxy S+ Smartphone (Android 3) über WLAN
Wenn jemand auch ein ähnliches Netzwerk betreibt und Samba erfolgreich konfiguriert hat, bitte ich um Kontaktaufnahme. Ich habe keine Ahnung, was ich falsch mache.Gruß Plotti9143
-
Hallo Plotti9143,
ZitatIch bekomme einfach keine Freigabe hin, auf die ich mit Windows 7 zugreifen kann.
Was für ein Problem hast du denn genau?
Kannst du den Raspberry Pi nicht in der Netzwerkumgebundg finden?
Kannst du über \\ip-vom-raspberry-pi zugreiffen?
Siehst du die Freigaben nicht?
Kannst du dich beim Zugriff auf eine Freigabe nicht anmelden?
Funktioniert der Zugriff nur bei Windows 7 nicht?
...Hier meine Anleitung wie ich in meinem Netzwerk einen Samba-Server eingerichtet habe.
http://www.gtkdb.de/index_7_2043.htmlVielleicht könntest du auch deine Samba Konfigurationsdatei posten damit wir mal einen Blick darauf werfen können.
Gruß Georg
-
Hallo, boandlkramer,
vielen Dank für Deine Antwort, in diesem Forum fühlt man sich doch wenigstens aufgehoben und nicht als blöder Anfänger gedisst.
Alles funktioniert jetzt korrekt. Ich hatte Samba offenbar unvollständig installiert, weil eine Anleitung mir geraten hatte, "samba" und "samba-common" zu installieren, es hätte aber heißen müssen "samba-common-bin". Außerdem wurde seinerzeit bei meiner Ubuntu-Installation das Freigabe-Verzeichnis bei der Samba-Installation gleich mit chmod auf Lesen und Schreiben gesetzt, bei der Installation auf dem Raspi aber nicht, so dass ich das selbst machen musste, das hatte ich nicht berücksichtigt.
Außerdem habe ich die Default-Version der smb.conf komplett verworfen und eine ganz neue geschrieben, die nur noch enthält:
[global]
Workgroup = (meineWorkgroup)
security = share
netbiosname = (meinServername)[meineFreigabe]
path = /var/www
browseable = yes
writeable = yes
public = yes
create mask = 0775
directory mask = 0775Ich kann zwar unter Windows im "Netzwerk" den Raspi immer noch nicht sehen, aber ich kann ihn mit "Netzlaufwerk verbinden" einem Laufwerkbuchstaben direkt zuordnen, so dass mein kleiner Apache jetzt unter Z:\ erreichbar ist.
Versuch macht kluch.
Gruß Plotti9143
-
Hallo Plotti9143,
du kannst mal versuchen deinen Samba-Server als Domain Master Browser und WINS-Server zu konfigurieren. Dann hast du einen zentralen Server welcher die Windows Namensauflösung durchführt. Da du im Moment nur Clients im Netzwerk hast, übernimmt einer von diesen diese Aufgabe. Es kann sein, dass daher der Samba-Server nicht im Netzwerk bekannt ist und unter Windows nicht angezeigt wird.
http://www.gtkdb.de/index_7_955.html
http://www.gtkdb.de/index_7_956.htmlGruß Georg
-
Hallo Georg,
vielen Dank, ich werde das ausprobieren. Aber es eilt jetzt nicht, weil ich den Raspi ja auch so erreiche. Ich hab hier noch ein Typo3-Projekt in der Warteschlange,
der Kunde scharrt schon mit den Hufen, das hat jetzt Priorität.Gruß Michael (Plotti9143)
-
Moin,
zuerst muss ich sagen, dass ich der totale Linux Noob bin und ich nichtmal 100%ig weiß, ob das hier der richtige Thread dafür ist, da ich openelec mit xbmc auf meinem Pi istalliert habe. Da ich aber im openelec thread nix vergleichbares gefunden habe, versuche ich mein Glück nun hier.
Kurz zu meinem Problem:
Der Raspberry Pi hängt ganz normal an meinem Samsung TV, ist über Kabel mit dem Heimnetzwerk verbunden, hat Internetverbindung usw. Alles sexy soweit. SMB, SAMBA und SSH sind aktviert.
Jetzt möchte ich gerne, wie hier in dem Thread beschrieben ist den Pi als ganz normalen Netzwerk ORdner in meinem Win7 PC haben um auf die über USB angeschlossene externe HDD des Pi's zugreifen zu können (lese- und Schreibzugriff)Ich habe putty auf meinem PC installiert und komme auch ins SSH rein, ganz normal über "root" und pw: "openelec". Wenn ich jetzt über die Kommandos versuche z.B. die smb.conf zu öffnen, klappt das nur wenn ich "sudo" vor den Befehlen weglasse.
Allerdings habe ich für die smb.conf keinerlei schreibzugriff und kann mir maximal alles ansehen, ändern und dann nicht speichern. Habe in openelec und auf meinem PC schon die Arbeitsgruppe auf "HOME" gesetzt, kann dies aber auch mangels schreibzugriff nicht im Samba machen.Ehrlich gesagt habe ich keinen Plan, woran das ganze jetzt liegt, vielleicht könnt ihr mir ja weiterhelfen. Habe auch ziemlich viel rumgesucht aber nix passendes zu diesem Thema gefunden.
Grüße
Beispiel 1:
login as: root
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################OpenELEC Version: 2.99.5
root@openelec's password:
openelec:~ # sudo nano /etc/samba/smb.conf
-sh: sudo: command not foundBeispiel 2:
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 0211$
# http://www.gnu.org/copyleft/gpl.html
################################################################################
[ Read 162 lines (Warning: No write permission) ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spellopenelec:~ #
-
-
Hallo, Georg,
ich habe Deine Tipps befolgt, und jetzt läuft alles super, ich seh meinen Raspi im Windows-Netzwerk, Lese- und Schreibrechte sind, wie ich sie haben wollte. Separate Tastatur und Maus brauche ich nicht mehr, weil ich alles über Putty/SSH administrieren kann.
Vielen Dank für diese profunde Hilfe.
Gruß Plotti9143
-
Zitat von pfaelzer pid=10553 dateline=1366025574
Moin, danke für die schnelle Antwort. Also ich kann die smb.conf eben nicht ändern, versuche ich das, passiert folgendes:
but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 0211$
# http://www.gnu.org/copyleft/gpl.html
################################################################################
# samba.conf# This configuration file allows you to customize the samba shares
# available from your machine[global]
server string = OpenELEC
workgroup = HOME
netbios name = %h
security = user
[ Error writing /etc/samba/smb.conf: Read-only file system ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To SpellDen Pi als Medienserver zu nutzen ist auch nicht das Problem. Hab UnPn oder so im XBMC aktiviert und ich sehe den Pi auch, kann auf diesen aber nur über den Mediaplayer zugreifen, bzw. diese Webansicht aufrufen. Ich habe aber keinen Zugriff auf die Ordnerstruktur etc. Mir geht es ja darum das ganze im Netzwerk für alle freizugeben und die Festplatte am Pi als zentralen Medienserver zu nutzen, so dass ich z.B. auch neue Filme, Serien etc direkt vom Rechner auf der HDD vom Pi speichern kann.
Grüße
-
Hallo Plotti9143,
keine Ursache. Freut mich wenn jetzt alles wie gewünscht läuft.
Gruß Georg
=======================================================
Hallo flyingvodka,
du verwendest OpenELEC wie ich sehe. Da ist das Root-Dateisystem read-only eingehängt damit man keine Änderungen vornehmen kann und somit auch das System nicht zerschießt. Das bedeutet, du kannst zwar alle Konfigurationsdateien ansehen ober nicht so einfach ändern.
Gruß Georg
-
alles super hin bekommen ! funzt soweit das ich in Windows,Netzwerk die Freigegebenen Ordner (pi-raspberry-forum) zusehen sind ,lesen und schreiben kann ich auch .
smb.config path/media/usb1
sudo chown -R pi:pi /media/usb1zuvor hatte ich noch Owncloud installiert ! kann mit Clientsync oder über Browser mit eingabe der ip.raspberry.pi als adresse, auf Owncloud zugreifen. das hab ich so Configuriert !
sudo mkfs.ext4 /dev/sda1
sudo mkdir -p /media/usb1/owncloud/data
sudo mount /dev/sda1 /media/usb1und Rechte Vergeben mit : sudo chown -R www-data:www-data /var/www
sudo chown -R www-data:www-data /media/usb1/owncloud/datanun meine erste frage wäre da , und gefunden habe ich , aber verstehe das nicht ganz,
Lass den Eigentümer www-data und die Gruppe www-data doch bestehen und füge einfach den user pi der Gruppe www-data mit dem Befehlusermod -a -G www-data pi
wie muss ich hier vorgehen ?
zweite frage. gibt es vllt. jemanden der SamsungTV hat und bestätigen das , die HD am PI nicht als Netzwerk festplatte erkannt wird? -
Hallo myemo5,
also den ersten Teil kann ich noch verstehen. Beim zweiten Teil - der scheinbar deine Fragen enthalten soll - verstehe ich größtenteils nur noch Bahnhof.
Zitatnun meine erste frage wäre da , und gefunden habe ich , aber verstehe das nicht ganz,
Lass den Eigentümer www-data und die Gruppe www-data doch bestehen und füge einfach den user pi der Gruppe www-data mit dem Befehlusermod -a -G www-data pi
wie muss ich hier vorgehen ?
Da steht doch schon die Lösung. Du solltest dir vielleicht mal die Manpage/Hilfe zu "usermod" ansehen.
Zitatzweite frage. gibt es vllt. jemanden der SamsungTV hat und bestätigen das , die HD am PI nicht als Netzwerk festplatte erkannt wird?
Und das ganze jetzt bitte nochmal in einem verständlichen Satz. Danke.
Ich rate jetzt mal: Du hast eine Festplatte am Raspberry Pi angeschlossen. Diese ist über Samba als Netzwerkfreigabe konfiguriert oder auch nicht - geht aus deinem "Satz" nicht hervor. Du möchtest aber an deinem Samsung TV über dein Netzwerk auf diese Festplatte zugreifen. Dann solltest du erstmal überprüfen ob dein Samsung TV überhaupt auf eine SMB/CIFS-Freigabe zugreifen kann. Ich vermute mal nicht. Damit ein Fernseher welcher DLNA-fähig ist auf Multimedia-Daten zugreifen kann, braucht man in der Regel einen UPnP-/DLNA-Server welcher die Daten zur Verfügung stellt.Gruß Georg
-
Jetzt mitmachen!
Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!