PINE64
Network shared folder discovery (smb4k) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Network shared folder discovery (smb4k) (/showthread.php?tid=14885)

Pages: 1 2


Network shared folder discovery (smb4k) - solostian - 09-14-2021

Hi,

I recently reconfigured my home network and setup a few shared folders (music, movies, pictures...).
Except for my PBPro, all my other PCs are running Linux Mint and access to those shared folders is working flawlessly.

On the PBPro (stock Manjaro) on the other hand, zilch.
Can't find the folders in Dolphin and smb4k will not start at all.

Do any of you have a workaround or a solution to my Samba issues?

Cheers,
Solostian


RE: Network shared folder discovery (smb4k) - KC9UDX - 09-14-2021

NFS.  Cool


RE: Network shared folder discovery (smb4k) - solostian - 09-14-2021

(09-14-2021, 09:31 AM)KC9UDX Wrote: NFS. ?

I don't understand your question.
If it can help, I've installed Warpinator and it is unable to "see" the other computers on the network.


RE: Network shared folder discovery (smb4k) - jiyong - 09-14-2021

(09-14-2021, 08:33 AM)solostian Wrote: Hi,

I recently reconfigured my home network and setup a few shared folders (music, movies, pictures...).
Except for my PBPro, all my other PCs are running Linux Mint and access to those shared folders is working flawlessly.

On the PBPro (stock Manjaro) on the other hand, zilch.
Can't find the folders in Dolphin and smb4k will not start at all.

Do any of you have a workaround or a solution to my Samba issues?

Cheers,
Solostian

I don't have the solution, but Manjaro ARM doesn't come with all the needed stuff for samba.
I found this thread and did everything except user and password, as my samba share is public, but nothing seems to work.
https://www.reddit.com/r/ManjaroLinux/comments/bdh1hc/new_to_manjaro_need_help_setting_up_a_network/

Do note the link to the Manjaro Wiki for your file browser plugin.

smb4k does start for me, but it doesn't find anything and the add dialogue only enables the cancel button.

Who knows if it does work for you.

When you need the IP address of your SMB server, you can try to find it with the following command.
nmblookup <wins-hostname>

As found here.
https://unix.stackexchange.com/questions/29930/how-do-i-resolve-samba-share-to-ip-address-or-host-name


RE: Network shared folder discovery (smb4k) - solostian - 09-23-2021

(09-14-2021, 04:10 PM)jiyong Wrote: I don't have the solution, but Manjaro ARM doesn't come with all the needed stuff for samba.
I found this thread and did everything except user and password, as my samba share is public, but nothing seems to work.
https://www.reddit.com/r/ManjaroLinux/comments/bdh1hc/new_to_manjaro_need_help_setting_up_a_network/

Do note the link to the Manjaro Wiki for your file browser plugin.

smb4k does start for me, but it doesn't find anything and the add dialogue only enables the cancel button.

Who knows if it does work for you.

When you need the IP address of your SMB server, you can try to find it with the following command.
nmblookup <wins-hostname>

As found here.
https://unix.stackexchange.com/questions/29930/how-do-i-resolve-samba-share-to-ip-address-or-host-name

I will give this a try.
Can any one suggest a method other than samba to share folders between Linux computers on the same network?


RE: Network shared folder discovery (smb4k) - wpeckham - 09-24-2021

(09-23-2021, 02:49 PM)solostian Wrote:
(09-14-2021, 04:10 PM)jiyong Wrote: I don't have the solution, but Manjaro ARM doesn't come with all the needed stuff for samba.
I found this thread and did everything except user and password, as my samba share is public, but nothing seems to work.
https://www.reddit.com/r/ManjaroLinux/comments/bdh1hc/new_to_manjaro_need_help_setting_up_a_network/

Do note the link to the Manjaro Wiki for your file browser plugin.

smb4k does start for me, but it doesn't find anything and the add dialogue only enables the cancel button.

Who knows if it does work for you.

When you need the IP address of your SMB server, you can try to find it with the following command.
nmblookup <wins-hostname>

As found here.
https://unix.stackexchange.com/questions/29930/how-do-i-resolve-samba-share-to-ip-address-or-host-name

I will give this a try.
Can any one suggest a method other than samba to share folders between Linux computers on the same network?

As already mentioned: NFS.  Network File System is the offspring of the original UNIX way of sharing storage over network.  SAMBA is the offspring of the original Microsoft way.


RE: Network shared folder discovery (smb4k) - solostian - 09-25-2021

(09-24-2021, 07:54 AM)wpeckham Wrote: As already mentioned: NFS.  Network File System is the offspring of the original UNIX way of sharing storage over network.  SAMBA is the offspring of the original Microsoft way.

I will give this a try too.

Thanks!


RE: Network shared folder discovery (smb4k) - solostian - 10-18-2021

Update time...

I have kept trying to make Samba work for a few weeks more.
I tried different combinations but the bug remains.

Two weeks ago, I have started to set up for NFS.
I had to make a few time consuming changes to my external USB drives.
They are connected to a HTPC desktop running Linux Mint which I use as a home server.

I am now at the last leg of the server-side setup : fstab.
The documentation is not clear on the entries I should be putting in there.
Device and Mountpoint are ready. But it seems that my Ext4 USB drives should be defined as "NFS".

Can anyone help me with that part?
One of the drives should be read/write and the other read_only.

Cheers,
Solostian


RE: Network shared folder discovery (smb4k) - KC9UDX - 10-18-2021

The server doesn't mount anything as NFS. The server exports local filesystems as NFS exports.

Mount your devices the same way you normally would.

You need to determine if you want the read only devices mounted read only locally. If so, mount them read only in /etc/fstab. Else, if you only want the export to be read only, put -ro after the mount point in /etc/exports.

Do read the manuals, they tend to be very good, which is why information on the web is so scant. `man exports` `man fstab`

Whenever you edit /etc/exports you will have to restart mountd. I can't recommend how to do that in Mint.


RE: Network shared folder discovery (smb4k) - solostian - 10-19-2021

Hi,

I found a few YouTube videos from which I deduced what you just explained.
I took a day off, tomorrow.
I'll give it another whirl then.

Cheers,
Solostian