NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Tomme1
Mar 26, 2012Aspirant
SSH Anmeldung per Putty und Shares verloren
Hallo,
ich hab einen Readynas Pro und darauf den Squeezebox Server in aktueller Version und den Vorversionen installiert.
Nach dem letzten Update der Squeezebox fiel mir auf, dass einige shares nicht mehr da waren.
Wozu man so nen Nas hat is ja eigentlich klar so mit Raid5 und so ... na egal ...
Ich habe dann zufällig in den Squeezebox Server Einstellungen alle Shares wieder gefunden sogar mit Inhalt (nur Ordner) und gehe davon aus, dass der Nas noch irgendwie weiß wo die Daten sind.
Dann etwas lesen und suchen und den SSH Aktivator installiert und Putty gesaugt.
Aber nun das Problem:
SSH Sitzung per Putty gestartet und versucht anzumelden ...
Rückmeldung Putty:
"login as: admin
admin@192.168.6.249's password:
Last login: Mon Mar 26 17:28:03 2012 from 192.168.6.13 on pts/0
Linux NAS 2.6.37.6.RNx86_64.2.1 #1 SMP Mon Aug 15 16:19:41 PDT 2011 x86_64 GNU/L inux
Last login: Mon Mar 26 18:10:10 2012 from 192.168.6.13"
dann kommt die Meldung "Connection closed by Remote Host"
und das Fenster ist tot.
eigentlich wollte ich dann: die Shares.conf und Shares.conf-sav in /etc/frontview/samba/ editieren.
Oder gibt es eine andere Möglichkeit die Daten wieder zu holen???
Was muß ich tun damit ich irgendwie die Anmeldung hinbekomme und dann die Shares wiederherstellen kann? :roll:
ich hab einen Readynas Pro und darauf den Squeezebox Server in aktueller Version und den Vorversionen installiert.
Nach dem letzten Update der Squeezebox fiel mir auf, dass einige shares nicht mehr da waren.
Wozu man so nen Nas hat is ja eigentlich klar so mit Raid5 und so ... na egal ...
Ich habe dann zufällig in den Squeezebox Server Einstellungen alle Shares wieder gefunden sogar mit Inhalt (nur Ordner) und gehe davon aus, dass der Nas noch irgendwie weiß wo die Daten sind.
Dann etwas lesen und suchen und den SSH Aktivator installiert und Putty gesaugt.
Aber nun das Problem:
SSH Sitzung per Putty gestartet und versucht anzumelden ...
Rückmeldung Putty:
"login as: admin
admin@192.168.6.249's password:
Last login: Mon Mar 26 17:28:03 2012 from 192.168.6.13 on pts/0
Linux NAS 2.6.37.6.RNx86_64.2.1 #1 SMP Mon Aug 15 16:19:41 PDT 2011 x86_64 GNU/L inux
Last login: Mon Mar 26 18:10:10 2012 from 192.168.6.13"
dann kommt die Meldung "Connection closed by Remote Host"
und das Fenster ist tot.
eigentlich wollte ich dann: die Shares.conf und Shares.conf-sav in /etc/frontview/samba/ editieren.
Oder gibt es eine andere Möglichkeit die Daten wieder zu holen???
Was muß ich tun damit ich irgendwie die Anmeldung hinbekomme und dann die Shares wiederherstellen kann? :roll:
30 Replies
Replies have been turned off for this discussion
- Tomme1Aspirantja den / vorm etc vergessen :((
aber "cat" gibts nich oder?
mein linux is nich sooooooooo ... schluchts ;) - WhoCares_MentorLogisch gibt's cat, ist ein interner Shell-Befehl. Ich schreib doch nicht Sachen wo ich Gefahr laufen muss, dass die Leute nachher aus Verzweiflung ausm Fenster springen :-P
-Stefan - Tomme1Aspiranthmm na ich spring schon nicht ... hätt ich eher wegen den daten gemacht ... 40 jahre photos videos und mucke weg ...
aber wenn ich " cat shares.conf" eingebe kommt:
NAS:/etc/frontview/samba# cat shares.conf
cat: shares.conf: No such file or directory
NAS:/etc/frontview/samba# - WhoCares_MentorOpps. Mein Fehler.
cat Shares.conf
Grosses S am Anfang, Linux ist da kleinlich. Sorry.
-Stefan - Tomme1Aspirantis nich wahr lach ... haut hin!
[Angebote]
path = /c/Angebote
comment = "InnoSys Angebote"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[BackupImages]
path = /c/BackupImages
comment = "Datensicherungen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Benutzer]
path = /c/Benutzer
comment = "Benutzerdaten"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Container]
path = /c/Container
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Dokumente]
path = /c/Dokumente
comment = "InnoSys Dokumente"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Download]
path = /c/Download
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Dreambox]
path = /c/Dreambox
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[DruckerShare]
path = /c/DruckerShare
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[EigeneDateien]
path = /c/EigeneDateien
comment = "allgemeine Dokumente"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Geraetesoftware]
path = /c/Geraetesoftware
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[IPhone]
path = /c/IPhone
comment = "IPhone Software"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[InnoSysDoku]
path = /c/InnoSysDoku
comment = "InnoSys Dokumentationen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Install]
path = /c/Install
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Mobotix]
path = /c/Mobotix
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Projekte]
path = /c/Projekte
comment = "InnoSys Projekte"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHB-NAS]
path = /c/SHB-NAS
comment = "Daten des alten NAS"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHBDatensich]
path = /c/SHBDatensich
comment = "SHB Datensicherung"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHBdoku]
path = /c/SHBdoku
comment = "SHB Dokumentationen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Spiele]
path = /c/Spiele
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Technik]
path = /c/Technik
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Treiber]
path = /c/Treiber
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Upload]
path = /c/Upload
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[VMWare]
path = /c/VMWare
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[backup]
path = /c/backup
comment = "Backup Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force directory mode = 1777
directory mask = 1777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[media]
path = /c/webroot
comment = "Media Server Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
NAS:/etc/frontview/samba# - Tomme1Aspirantnu muß ich das nur noch editieren und media statt webroot rein hacken oder? womit sich gleich die nächste frage auftut :D
- WhoCares_MentorGenau.
Geht gaaaanz einfach :) (So tippen wie ich's hinschreibe, am Schluss immer ein <Enter> machen ;))vi Shares.conf
:s/webroot/media
:x
Danach solltest du wieder auf der Kommandozeile sein, wo du erstmal zum Überprüfen ein
cat Shares.conf
macht. Wenn das gut aussieht, dann ein
/etc/init.d/samba restart
Das sollte es dann gewesen sein. Ggf. musste das auch mit Shares.conf-sav machen.
-Stefan - Tomme1Aspirantglaub nicht :(
[Angebote]
path = /c/Angebote
comment = "InnoSys Angebote"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[BackupImages]
path = /c/BackupImages
comment = "Datensicherungen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Benutzer]
path = /c/Benutzer
comment = "Benutzerdaten"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Container]
path = /c/Container
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Dokumente]
path = /c/Dokumente
comment = "InnoSys Dokumente"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Download]
path = /c/Download
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Dreambox]
path = /c/Dreambox
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[DruckerShare]
path = /c/DruckerShare
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[EigeneDateien]
path = /c/EigeneDateien
comment = "allgemeine Dokumente"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Geraetesoftware]
path = /c/Geraetesoftware
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[IPhone]
path = /c/IPhone
comment = "IPhone Software"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[InnoSysDoku]
path = /c/InnoSysDoku
comment = "InnoSys Dokumentationen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Install]
path = /c/Install
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Mobotix]
path = /c/Mobotix
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Projekte]
path = /c/Projekte
comment = "InnoSys Projekte"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHB-NAS]
path = /c/SHB-NAS
comment = "Daten des alten NAS"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHBDatensich]
path = /c/SHBDatensich
comment = "SHB Datensicherung"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[SHBdoku]
path = /c/SHBdoku
comment = "SHB Dokumentationen"
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Spiele]
path = /c/Spiele
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Technik]
path = /c/Technik
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Treiber]
path = /c/Treiber
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[Upload]
path = /c/Upload
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[VMWare]
path = /c/VMWare
oplocks = 1
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[backup]
path = /c/backup
comment = "Backup Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force directory mode = 1777
directory mask = 1777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[media]
path = /c/webroot
comment = "Media Server Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
NAS:/etc/frontview/samba# - WhoCares_MentorHeute ist nicht mein Tag, glaub ich:
vi Shares.conf
:%s/webroot/media
:x
Was so ein kleines '%' nicht alles ausmachen kann...
-Stefan - Tomme1Aspirantnoch n / hinter media und es ging
aber ich glaub ich hab die andere datei versaut :( die -sav
Related Content
NETGEAR Academy
Steigern Sie Ihre Fähigkeiten mit der Netgear Academy - Lassen Sie sich schulen, zertifizieren und bleiben Sie mit der neuesten Netgear-Technologie auf dem neuesten Stand!
Machen Sie mit!
ProSupport for Business
Umfassende Supportpläne für maximale Netzwerkverfügbarkeit und geschäftliche Sicherheit