Samba
Verfasst: 30. Aug 2024 11:25
Hallo,
bekomme keinen Samba-Zugriff von meinem Windows11-PC auf den Raspberry. Habe gerade noch mal das aktuelle Image gezogen und keinerlei Änderungen vorgenommen. Woran kann das liegen.
Das einzige was mir auffält ist: 2024-08-30_11:14:26_CEST [openHABian] Checking for default openHABian username:password combination... FAILED
habe auch viewtopic.php?t=8913 gelesen und ohne Erfolg nachvollzogen
der Raspi erscheint nicht unter Netzwerk
log.smbd
Berechtigung auf 700, 777 und wieder auf 750 geändert ohne das sich etwas ändert
Habe auch VisualStudioCode mit RemoteSSH probiert. Komme das aber auch nicht zum laufen.
bekomme keinen Samba-Zugriff von meinem Windows11-PC auf den Raspberry. Habe gerade noch mal das aktuelle Image gezogen und keinerlei Änderungen vorgenommen. Woran kann das liegen.
Das einzige was mir auffält ist: 2024-08-30_11:14:26_CEST [openHABian] Checking for default openHABian username:password combination... FAILED
Code: Alles auswählen
login as: openhabian
openhabian@192.168.178.13's password:
Linux openhabian 6.6.31+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.31-1+rpt1 (2024-05-29) armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Aug 30 10:56:29 2024 from 192.168.178.20
###############################################################################
############### openhabian ##################################################
###############################################################################
## Ip = 192.168.178.13
## Release = Raspbian GNU/Linux 12 (bookworm)
## Kernel = Linux 6.6.31+rpt-rpi-v7
## Platform = BCM43438A1 37.4MHz Raspberry Pi 3-0141
## Uptime = 0 day(s). 01:08:36
## CPU Usage = 2.61% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.00, 5m: 0.00, 15m: 0.00
## Memory = Free: 0.15GB (17%), Used: 0.84GB (83%), Total: 0.94GB
## Swap = Free: 1.38GB (100%), Used: 0.00GB (0%), Total: 1.38GB
## Root = Free: 1.74GB (27%), Used: 4.54GB (73%), Total: 6.63GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 131 running processes of 32768 maximum processes
###############################################################################
_ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| openHAB 4.2.1 - Release Build
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhabian:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
openhabian@openhabian:~ $ sudo openhabian-config
2024-08-30_11:14:16_CEST [openHABian] Checking for root privileges... OK
2024-08-30_11:14:16_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2024-08-30_11:14:16_CEST [openHABian] openHABian configuration tool version: [openHAB]{2024-08-24T14:04:31-06:00}(20f43d1)
2024-08-30_11:14:16_CEST [openHABian] Checking for changes in origin branch openHAB... OK
2024-08-30_11:14:18_CEST [openHABian] Switching to branch openHAB... OK
2024-08-30_11:14:18_CEST [openHABian] Checking openHAB Signing Key expiry.
2024-08-30_11:14:18_CEST [openHABian] Checking expiry date of apt keys... OK
2024-08-30_11:14:19_CEST [openHABian] Checking for updates of openhab_rules_tools for JS Scripting... No update available.
2024-08-30_11:14:26_CEST [openHABian] Checking for default openHABian username:password combination... FAILED
2024-08-30_11:14:27_CEST [openHABian] We hope you got what you came for! See you again soon ;)
openhabian@openhabian:~ $ sudo service smbd status
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-08-30 09:48:03 CEST; 1h 26min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 861 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 3 (limit: 2149)
CPU: 773ms
CGroup: /system.slice/smbd.service
├─861 /usr/sbin/smbd --foreground --no-process-group
├─882 /usr/sbin/smbd --foreground --no-process-group
└─883 /usr/sbin/smbd --foreground --no-process-group
Aug 30 09:48:02 openhabian systemd[1]: Starting smbd.service - Samba SMB Daemon...
Aug 30 09:48:03 openhabian systemd[1]: Started smbd.service - Samba SMB Daemon.
openhabian@openhabian:~ $ sudo service nmbd status
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-08-30 09:48:02 CEST; 1h 26min ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 850 (nmbd)
Status: "nmbd: ready to serve connections..."
Tasks: 1 (limit: 2149)
CPU: 3.464s
CGroup: /system.slice/nmbd.service
└─850 /usr/sbin/nmbd --foreground --no-process-group
Aug 30 09:47:57 openhabian systemd[1]: Starting nmbd.service - Samba NMB Daemon...
Aug 30 09:48:02 openhabian systemd[1]: Started nmbd.service - Samba NMB Daemon.
openhabian@openhabian:~
Code: Alles auswählen
openhabian@openhabian:~ $ sudo smbpasswd openhabian
New SMB password:
Retype new SMB password:
openhabian@openhabian:~ $ sudo openhabian-config
2024-08-30_12:01:17_CEST [openHABian] Checking for root privileges... OK
2024-08-30_12:01:17_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2024-08-30_12:01:17_CEST [openHABian] openHABian configuration tool version: [openHAB]{2024-08-24T14:04:31-06:00}(20f43d1)
2024-08-30_12:01:17_CEST [openHABian] Checking for changes in origin branch openHAB... OK
2024-08-30_12:01:20_CEST [openHABian] Switching to branch openHAB... OK
2024-08-30_12:01:20_CEST [openHABian] Checking openHAB Signing Key expiry.
2024-08-30_12:01:20_CEST [openHABian] Checking expiry date of apt keys... OK
2024-08-30_12:01:21_CEST [openHABian] Checking for updates of openhab_rules_tools for JS Scripting... No update available.
2024-08-30_12:01:59_CEST [openHABian] Updating Linux package information... OK
2024-08-30_12:02:29_CEST [openHABian] Changing password for Linux account "openhabian"... OK
2024-08-30_12:02:29_CEST [openHABian] Changing password for Samba (fileshare) account "openhabian"... OK
2024-08-30_12:02:34_CEST [openHABian] Checking for default openHABian username:password combination... FAILED
2024-08-30_12:02:35_CEST [openHABian] We hope you got what you came for! See you again soon ;)
openhabian@openhabian:~ $
log.smbd
Code: Alles auswählen
[2024/08/30 12:08:28, 0] ../../lib/util/util.c:338(directory_create_or_exist_strict) invalid permissions on directory '/var/log/samba/cores': has 0750 should be 0700
[2024/08/30 12:08:28, 0] ../../source3/lib/dumpcore.c:59(get_default_corepath) Failed to create /var/log/samba/cores for user 0 with mode 0700
[2024/08/30 12:08:28, 0] ../../source3/lib/dumpcore.c:256(dump_core_setup) Unable to setup corepath for smbd: File exists
[2024/08/30 12:08:28.466041, 0] ../../source3/smbd/server.c:1741(main) smbd version 4.17.8-Raspbian started. Copyright Andrew Tridgell and the Samba Team 1992-2022
Habe auch VisualStudioCode mit RemoteSSH probiert. Komme das aber auch nicht zum laufen.