Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows not seeing smb share #7

Open
PhilippeMarcotte opened this issue Dec 5, 2023 · 4 comments
Open

Windows not seeing smb share #7

PhilippeMarcotte opened this issue Dec 5, 2023 · 4 comments

Comments

@PhilippeMarcotte
Copy link

PhilippeMarcotte commented Dec 5, 2023

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.

@malordin
Copy link
Owner

Please try this command:

firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --reload

Or just use the script again, these commands are included by default:

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

@PhilippeMarcotte
Copy link
Author

PhilippeMarcotte commented Feb 11, 2024

That seems to be working to access \\steamdeck but I still can't access the inner folders (download mmcblk0p1 and steamapps).

@PhilippeMarcotte
Copy link
Author

hmmm, I retried and it worked. It seems unstable? I'll continue testing it and report if it happens again. Thanks!

@adeldex
Copy link

adeldex commented Mar 22, 2024

i had to
systemctl enable nmb
systemctl start nmb
systemctl status nmb
to connect from windows 7

from https://unix.stackexchange.com/questions/360396/getting-samba-working-in-manjoro-linux-daemon-failed-to-start-samba-detected-m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants