Android to Raspberry Pi

Support for Android version of Total Commander

Moderators: petermad, Stefan2, white, Hacker

JOUBE
Power Member
Power Member
Posts: 1653
Joined: 2004-07-08, 08:58 UTC

Re: Android to Raspberry Pi

Post by *JOUBE »

Thanks. Wow ;-)

1. But at first: This isn't the output of testparm -s, because the important validation part at the top of the output is missing. Please show this also.
2. Comment out sections [homes], [printers], [print$] with ; as the first character of all lines (section titel and all lines within). This will make conf more simple.
3. From where came the main parts at section [global]? This is not the default section [global] after installation of samba on RaspiOS.(came from horrible ;-) Ubuntu?)
4. Please change the line "obey pam restrictions = Yes" to 'obey pam restrictions = no'
Maybe this is all that you have to change. (Maybe you have to set some file and folder rights in addition to that within your share via RaspiOS)
5. After the change of samba.conf restart the deamon with: $ sudo systemctl restart smbd (before restarting check it with the validation tool: testparm -s )
6. Try to connect your Android device to your [Media] share with Tc-Android and its LAN-Plugin, and try it with (after the change of conf and restart) new created folders and files at toplevel of the share.
7. If this is working: Try connect your other devices...


If step 4. isn't working try this instead:
4.1. After save your samba.conf to samba.conf_01 please try this global section instead:

Code: Select all

[global]
        security = USER
        workgroup = SAMBA
        idmap config * : backend = tdb
        include = /etc/samba/usershares.conf
4.2. Do not forget to set a password with: $ sudo smbpasswd -a pi
5. Restart deamon with: $ sudo systemctl restart smbd (before restarting check it with the validation tool: testparm -s)
6. Try to connect your Android device to your [Media] share with Tc-Android and its LAN-Plugin (with user pi and the new set smbpasswd!)
7. If this is working with (after the change of conf and restart) new created folders and files at toplevel of the share: Try connect your other devices...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50249
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Android to Raspberry Pi

Post by *ghisler(Author) »

Just for test purposes, can you add a share somewhere else? FLASH1 seems to be a USB flash drive, which is usually formatted with FAT32 or VFAT. These don't support Unix permissions, which may be the problem here.
Author of Total Commander
https://www.ghisler.com
Post Reply