How to get samba active at startup in Fossapup?

Moderators: 666philb, Forum moderators

Post Reply
User avatar
iarda1
Posts: 18
Joined: Wed Jul 15, 2020 5:37 am
Location: Bèarn council
Has thanked: 5 times
Been thanked: 1 time

How to get samba active at startup in Fossapup?

Post by iarda1 »

Hi, Fossapup64 Samba is dead after reboot.
This was not so in previous puppy versions, at the beginning samba appeared as it was when turning off.
So, my question: How to get samba active at startup?
Attachments
bootsysinit.txt.gz
(3.37 KiB) Downloaded 55 times

Try to use F96-CE non co-existing with any, without compressed and depressed redundancies, not 'frugally' forced.

User avatar
Jafadmin
Posts: 377
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 84 times

Re: How to get samba active at startup

Post by Jafadmin »

Try this: right-click on /etc/init.d/rc.samba and click "Permissions", then select the "make executable" option, then click the "Yes" button.

Make sure the session saves before rebooting..
Clarity
Posts: 3315
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1369 times
Been thanked: 442 times

Re: How to get samba active at startup

Post by Clarity »

The OP's question could be interpreted 2 ways:
  1. How to use SAMBA when its booted?
  2. How to setup SAMBA such that it starts at boot time without human interaction?
Or is it a question at all? (the link provided)
Which is meant by the his thread's opening

When ALL 2019-2020 PUPs is booted, the utility to, both, define what to share as well as to turn SAMBA on is accomplished via the SSM. (Menu>Network>Samba ...)

Beyond that you can add a step in the PUP's startup to activate SAMBA at sucessive system starts.
User avatar
iarda1
Posts: 18
Joined: Wed Jul 15, 2020 5:37 am
Location: Bèarn council
Has thanked: 5 times
Been thanked: 1 time

Re: How to get samba active at startup

Post by iarda1 »

Jafadmin wrote: Fri Oct 09, 2020 6:33 pm Try this: right-click on /etc/init.d/rc.samba and click "Permissions", then select the "make executable" option, then click the "Yes" button.

Make sure the session saves before rebooting..
This is absolutely done, no diferences with bionic, and they're identical files.
Thanks for help.
Clarity wrote: Fri Oct 09, 2020 6:47 pm The OP's question could be interpreted 2 ways:
  1. How to use SAMBA when its booted?
  2. How to setup SAMBA such that it starts at boot time without human interaction?
Or is it a question at all? (the link provided)
Which is meant by the his thread's opening

When ALL 2019-2020 PUPs is booted, the utility to, both, define what to share as well as to turn SAMBA on is accomplished via the SSM. (Menu>Network>Samba ...)

Beyond that you can add a step in the PUP's startup to activate SAMBA at sucessive system starts.
No problem how to use SAMBA. Have xperience in edition Samba.conf command mode.

The error is found when bootsysinit says:

Starting Samba: /usr/sbin/smbd -D
/usr/sbin/smbd: symbol lookup error: /usr/lib/libsmbconf.so.0: undefined symbol: nt_time_to_full_timespec, version SAMBA_UTIL_0.0.1
/usr/sbin/nmbd -D

Seems SAMBA is started then shutoff cause this undefined symbol.
This is my limit.
Many thanks.

Try to use F96-CE non co-existing with any, without compressed and depressed redundancies, not 'frugally' forced.

rmcellig1
Posts: 28
Joined: Fri Dec 25, 2020 1:03 pm
Been thanked: 1 time

Re: How to get samba active at startup in Fossapup?

Post by rmcellig1 »

Same issue here. I have to manually start samba after every reboot. Any remedy on the horizon?

Thanks!!😀

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: How to get samba active at startup in Fossapup?

Post by 666philb »

rmcellig1 wrote: Thu Jul 01, 2021 5:14 pm

Same issue here. I have to manually start samba after every reboot. Any remedy on the horizon?

Thanks!!😀

hi @rmcellig1
samba autostarts for me in fossapup once turned on. check that /etc/init.d/rc.samba is executable (right click>>permissions>>make executable)

Clarity
Posts: 3315
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1369 times
Been thanked: 442 times

Re: How to get samba active at startup in Fossapup?

Post by Clarity »

Hi @666philb and @01micko . Should/could the SAMBA SSM be updated with a "new" button allowing user confirmantion for SAMBA start at boot-time? This would standardize SAMBA SSM setup+start use.

williams2
Posts: 1023
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 288 times

Re: How to get samba active at startup in Fossapup?

Post by williams2 »

/usr/sbin/smbd: symbol lookup error: /usr/lib/libsmbconf.so.0: undefined symbol: nt_time_to_full_timespec, version SAMBA_UTIL_0.0.1

This means that the files /usr/sbin/smbd and /usr/lib/libsmbconf.so.0 are not compatible.

Probably smbd (the samba daemon) and libsmbconf.so.0 (a library file it needs) are from 2 different versions of the samba source.

Have you installed anything that might have changed either file?
You can check whether the files are the same files that came with FossaPup.

If you have a frugal install:

Code: Select all

diff /usr/sbin/smbd /initrd/pup_ro2//usr/sbin/smbd
diff /usr/lib/libsmbconf.so.0 /initrd/pup_ro2//usr/lib/libsmbconf.so.0

Will tell you if the files are different from the original files.
If either file is different from the original, you could copy it back.

Or the files might be in the adrv:

Code: Select all

diff /usr/sbin/smbd /initrd/pup_a//usr/sbin/smbd
diff /usr/lib/libsmbconf.so.0 /initrd/pup_a//usr/lib/libsmbconf.so.0

Either the Samba source needs to be recompiled,
or the files need to come from compiled packages (deb, pm,txz, etc) that are compatible (that is, the packages need to be for the same version of Samba.)

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: How to get samba active at startup in Fossapup?

Post by 666philb »

Clarity wrote: Sat Jul 03, 2021 3:03 pm

Hi @666philb and @01micko . Should/could the SAMBA SSM be updated with a "new" button allowing user confirmantion for SAMBA start at boot-time? This would standardize SAMBA SSM setup+start use.

this maybe fixed now in quickpet>>fossapup updates

Clarity
Posts: 3315
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1369 times
Been thanked: 442 times

Re: How to get samba active at startup in Fossapup?

Post by Clarity »

Hello @666philb. Should I see an indication/button or some difference in the SSM?
The SSM before, after quickpet before reboot, and after reboot is showing the same, visually. I may be missing something.

Please Advise

Attachments
SSM after QuickPET update.jpg
SSM after QuickPET update.jpg (42.42 KiB) Viewed 1270 times
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: How to get samba active at startup in Fossapup?

Post by 666philb »

the samba on /samba off button determines whether it starts at boot or not.

Post Reply

Return to “Fossapup64”