GUI for SAMBA in Void-Linux

Moderator: Forum moderators

Post Reply
User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

GUI for SAMBA in Void-Linux

Post by Sofiya »

GUI for SAMBA in Void-Linux

testing:
for packaging with installation of all dependencies
:ugeek:

Attachments
2024-11-08_22-02.png
2024-11-08_22-02.png (327.24 KiB) Viewed 309 times
Last edited by Sofiya on Sat Nov 09, 2024 3:10 am, edited 2 times in total.

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: GUI for SAMBA in Void-Linux

Post by Sofiya »

Install Samba

Code: Select all

sudo xbps-install -S samba smbclient cifs-utils gvfs-smb 

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: GUI for SAMBA in Void-Linux

Post by Sofiya »

KLV-Airedale

It seems to work, I need to have someone who knows test it, I don't remember how it works on Airedale :geek:

the configuration file has been slightly modified

in /etc/samba/smb.conf

Code: Select all

#this is a very simple smb.conf to get you started
#coutesy rcrsn51 and gcmartin
[global]
	workgroup = Workgroup
	netbios name = void-live
	server string = KLV-Airedale Server
	security = user
	map to guest = Bad Password
	printing = cups
	printcap name = cups
	load printers = yes
	client min protocol = NT1
        server min protocol = LANMAN1

[smbvoid]
	path = /root/smbvoid
	comment = Shared files
	writable = yes


[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	guest ok = yes
	writable = no
	printable = yes

--------------------------------------------------------------------------------------

Code: Select all

Create a user group:

sudo groupadd -r sambauser

Code: Select all

Add the user1 to the sambauser group:

sudo gpasswd sambauser -a spot

Code: Select all

vNow create samba share user:

sudo smbpasswd -a spot

New SMB password: <input password >
Retype new SMB password: <repeat password>
Attachments
gadmin-samba-0.3.2_1.x86_64.xbps
(121.83 KiB) Downloaded 12 times
2024-11-09_03-16.png
2024-11-09_03-16.png (254.8 KiB) Viewed 273 times
Last edited by Sofiya on Sun Nov 17, 2024 1:01 pm, edited 4 times in total.

KL
PUPPY LINUX Simple fast free

Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

Re: GUI for SAMBA in Void-Linux

Post by Clarity »

Just some ideas for future KL KDEs. If they match what you feel is useful, run with them.

  1. /etc/samba should be in OOTB filesystem

  2. Your 'sample' smb.conf should be within /etc/samba...maybe named smb.conf.sample such that it wont be over-layed when SAMBA is added to the running system.

    • /root/smbvoid from the conf should be present in KDE filesystem, OOTB, too.

    • /var/spool/samba from the conf should be present in KDE filesystem, OOTB, too.

This precludes a general user mandated to adding SAMBA needs to the system via the terminal.

Just some ideas.

@Sofiya I will send you a PM soon on something that could address one of your concerns on this package.

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: GUI for SAMBA in Void-Linux

Post by Sofiya »

KLV-plasma-KDE-CE

connection was successful!!!

Code: Select all

sudo xbps-install -S samba smbclient cifs-utils gvfs-smb 

in /etc/samba/smb.conf

Code: Select all

[global]
workgroup = Workgroup
netbios name = void-live
server string = KLV-Plasma-kde Server
security = user
map to guest = Bad Password
printing = cups
printcap name = cups
load printers = yes
client min protocol = NT1
server min protocol = LANMAN1

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes

[smbvoid]
path = /home/spot/smbvoid
comment = Shared files
writable = yes

--------------------------------------------------------------------------------------
:arrow: create groups and users

Code: Select all

1)Create a user group:

sudo groupadd -r sambauser

Code: Select all

2)Add the user1 to the sambauser group:

sudo gpasswd sambauser -a spot

Code: Select all

3)Now create samba share user:

sudo smbpasswd -a spot

New SMB password: <input password >
Retype new SMB password: <repeat password>

-----------------------------------------------------------------------------------

:arrow: Before you launch the program for the first time, click YES in the pop-up window

Attachments
2024-11-09_06-20.png
2024-11-09_06-20.png (217.81 KiB) Viewed 230 times
Last edited by Sofiya on Thu Nov 21, 2024 2:55 am, edited 9 times in total.

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: GUI for SAMBA in Void-Linux

Post by Sofiya »

Network

@Clarity :arrow: :ugeek:

The network section is in Dolphin

what network are you talking about can you clearly interpret

Attachments
2024-11-09_06-58.png
2024-11-09_06-58.png (253.45 KiB) Viewed 223 times

KL
PUPPY LINUX Simple fast free

Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

Re: GUI for SAMBA in Void-Linux

Post by Clarity »

Network category in distro's desktop menu: 2 examples: from a PUP and the area of KDE I was referring.
PUP Menu pic from BKWP64 desktop

Desktop's Menu.jpg
Desktop's Menu.jpg (64.25 KiB) Viewed 192 times

KDE Menu pic from KLV-KDE desktop

Desktop Menu.jpg
Desktop Menu.jpg (71.72 KiB) Viewed 188 times
Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

Re: GUI for SAMBA in Void-Linux

Post by Clarity »

if a Network category surfaced in the Menu in the future, it would be a Puppy Linux Forum distro's exclusive; making it distinctly PLDF's KL KDE with that category section.

It is not necessary, as items could be added in other existing Menu sections

Post Reply

Return to “KL-Dev_Work”