Giter Club home page Giter Club logo

steamdeck-samba-server's People

Contributors

malordin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

steamdeck-samba-server's Issues

SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)

Ранее ставил уже раз 5 (после каждого обновления ессно слетает). При последней попытке вылезло вот такое, ни вручную ни автоматически не ставится, полагаю вопрос скорее не к скрипту но сам поправить версии не смог.

(1)(deck@steamdeck ~)$ sudo pacman -Sy samba
:: Synchronizing package databases...
jupiter-rel is up to date
holo-rel is up to date
core-rel is up to date
extra-rel is up to date
community-rel is up to date
multilib-rel is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) samba-4.17.1-1

Total Installed Size: 56.35 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#######################################################] 100%
(1/1) checking package integrity [#######################################################] 100%
(1/1) loading package files [#######################################################] 100%
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) checking available disk space [#######################################################] 100%
:: Processing package changes...
(1/1) installing samba [#######################################################] 100%
Optional dependencies for samba
python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup
python-markdown: for samba-tool domain schemeupgrade
glusterfs: for vfs_glusterfs support
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
(deck@steamdeck ~)$ sudo systemctl enable smb.service
(deck@steamdeck ~)$ sudo smbpasswd -a deck
smbpasswd: /usr/lib/samba/libsamba3-util-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libmsrpc3-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libgenrand-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libreplace-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcliauth-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/liblibsmb-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libsecrets3-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libsamba-debug-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcli-smb-common-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libdcerpc-samba-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
(1)(deck@steamdeck ~)$

Unable to connect

The setup completed, but other devices on the network can't connect. Only the steam deck itself can connect to the smb server.

Install Script Fails: liburing PGP signature

The script fails to install Samba. Output says: "Samba server set up successfully!"

(deck@steamdeck ~)$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"
WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] y
Please enter your password: Continuing with Samba server installation...
Disabling steamos-readonly...
Editing pacman.conf file...
Populating pacman keys...
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
==> Appending keys from archlinux.gpg...
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
==> Updating trust database...
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
gpg: next trustdb check due at 2023-04-21
Initializing pacman keys...
gpg: WARNING: running with faked system time: 2023-01-01 00:00:00
Installing samba...
:: Synchronizing package databases...
 jupiter-rel is up to date
 holo-rel is up to date
 core-rel is up to date
 extra-rel is up to date
 community-rel is up to date
 multilib-rel is up to date
resolving dependencies...
looking for conflicting packages...

Packages (3) liburing-2.2-1  perl-parse-yapp-1.21-5  samba-4.17.1-1

Total Download Size:    0.13 MiB
Total Installed Size:  56.65 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 liburing-2.2-1-x86_64                                                                            128.3 KiB   160 KiB/s 00:01 [############################################################################] 100%
(3/3) checking keys in keyring                                                                                                [############################################################################] 100%
(3/3) checking package integrity                                                                                              [############################################################################] 100%
error: liburing: signature from "David Runge <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/liburing-2.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Adding 'deck' user to samba user database...
sudo: smbpasswd: command not found
Enabling and starting smb service...
Failed to enable unit: Unit file smb.service does not exist.
Failed to start smb.service: Unit smb.service not found.
Writing new smb.conf file...
tee: /etc/samba/smb.conf: No such file or directory
Restarting smb service...
Failed to restart smb.service: Unit smb.service not found.
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...```

не подходит не логин не пароль

стоит последняя стабильная версия стим ОС, при попытке ввода пароля или имя пользователя пишет что пароль не верный, хотя мой пароль верный

I ran the script but the Username and password are not working?

After running the script if I navigate to SMB within the steamdeck the desired folders show up. However, when I attempt to navigate to \steamdeck or the IP address of the steamdeck I am prompted for the username and password, where I get stuck.

I have double checked I am using the correct password that I set within the steamdeck, and the username should be deck?

Am I missing something silly?

error: failed to commit transaction (invalid or corrupted package)

Doesn't seem to work currently.

(1)(deck@steamdeck ~)$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"

WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] y
Please enter your password: [sudo] password for deck: Continuing with Samba server installation...
Disabling steamos-readonly...
Editing pacman.conf file...
Populating pacman keys...
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2023-10-27
Initializing pacman keys...
Installing samba...
:: Synchronizing package databases...
 jupiter-rel is up to date
 holo-rel is up to date
 core-rel is up to date
 extra-rel is up to date
 community-rel is up to date
 multilib-rel is up to date
resolving dependencies...
looking for conflicting packages...

Packages (3) liburing-2.2-1  perl-parse-yapp-1.21-5  samba-4.17.1-1

Total Installed Size:  56.65 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                                [#######################################################] 100%
(3/3) checking package integrity                                                              [#######################################################] 100%
error: liburing: signature from "David Runge <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/liburing-2.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Adding 'deck' user to samba user database...
sudo: smbpasswd: command not found
Enabling and starting smb service...
Failed to enable unit: Unit file smb.service does not exist.
Failed to start smb.service: Unit smb.service not found.
Writing new smb.conf file...
tee: /etc/samba/smb.conf: No such file or directory
Restarting smb service...
Failed to restart smb.service: Unit smb.service not found.
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...

Windows not seeing smb share

I've ran the command sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)" from the readme and gotten the following logs

WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] y
Please enter your password: [sudo] password for deck: Continuing with Samba server installation...
Disabling steamos-readonly...
Editing pacman.conf file...
Populating pacman keys...
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 5 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabled 33 keys.
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:  85  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:  63  signed:  24  trust: 63-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-12-07
Initializing pacman keys...
Installing samba...
:: Synchronizing package databases...
 jupiter-3.5                                                      112.1 KiB  43.2 KiB/s 00:03 [#######################################################] 100%
 holo-3.5                                                          69.4 KiB  39.1 KiB/s 00:02 [#######################################################] 100%
 core-3.5 is up to date
 extra-3.5 is up to date
 community-3.5 is up to date
 multilib-3.5 is up to date
warning: samba-4.18.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) samba-4.18.3-1

Total Installed Size:  56.41 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                [#######################################################] 100%
(1/1) checking package integrity                                                              [#######################################################] 100%
(1/1) loading package files                                                                   [#######################################################] 100%
(1/1) checking for file conflicts                                                             [#######################################################] 100%
(1/1) checking available disk space                                                           [#######################################################] 100%
:: Processing package changes...
(1/1) reinstalling samba                                                                      [#######################################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
Adding 'deck' user to samba user database...
New SMB password:
Retype new SMB password:
Added user deck.
Enabling and starting smb service...
Writing new smb.conf file...
Restarting smb service...
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...

I thought everything went fine but Windows is unable to access \\steamdeck.

Read-only file system modification

This script modifies the read-only file system of Steam OS, so it is extremely likely to just get wiped out by the next Steam OS update.

A better alternative way to handle this might be to run the samba server inside some kind of container so changes to the underlying host OS wouldn't affect it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.