View previous topic :: View next topic |
Author |
Message |
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Mon Jan 02, 2023 9:30 pm Post subject: [Solved] Gentoo Samba not working for Android VLC, files not |
|
|
Hi.
I'm trying to connect from my android tv to my gentoo samba share.
The share is seen, and i can see all the sub directories and browse them.
but i can see no files.
If i put some .mp4 files, .avi, .jpg
nothing seen.
VLC version on my android-tv: 3.5.3
This is my smb.conf:
Code: |
[global]
workgroup = MYGROUP
server string = Samba Server
server role = standalone server
hosts allow = 192.168.1. 192.168.0. 127.
log file = /var/log/samba/log.%m
max log size = 50
min protocol = SMB2
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[public]
path = /home2/samba
public = yes
writable = no
printable = no
|
Last edited by heikkikk on Tue Jan 03, 2023 7:43 pm; edited 2 times in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Jan 03, 2023 10:48 am Post subject: |
|
|
Try
Code: |
rc-service samba stop
chmod 777 /home2/samba
|
Then edit smb.conf
Code: |
[global]
.
.
map to guest = Bad User
[public]
.
.
guest ok = yes
create mode = 0777
directory mode = 0777
|
_________________
|
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Tue Jan 03, 2023 11:21 am Post subject: |
|
|
Still nothing, i did everything you said except that i have systemd and i did
systemctl restart smb
systemctl restart nmbd
i can browse all the directories but there seems to be no files... even tho there are files. I triple checked from my Gentoo machine.
EDIT:
I even tried: chmod -R a+rwX /home2/samba/ |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Tue Jan 03, 2023 3:13 pm Post subject: |
|
|
If you browse this share using some other SMB client, such as smbclient, are the files present? We need to determine whether Samba is telling all clients that there are no files, or if Samba is telling VLC about files and VLC is declining to show them, perhaps because its filtering rules lead it to hide these as a misguided courtesy. |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Tue Jan 03, 2023 7:42 pm Post subject: |
|
|
My mistake.
I was telling vlc to browse audio files, and there were only videos and images
Sorry guys! |
|
Back to top |
|
|
|