How to get samba active at startup in Fossapup?
Moderators: 666philb, Forum moderators
- 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?
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 64 times
Try to use F96-CE non co-existing with any, without compressed and depressed redundancies, not 'frugally' forced.
Re: How to get samba active at startup
Make sure the session saves before rebooting..
-
- Posts: 3842
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1632 times
- Been thanked: 525 times
Re: How to get samba active at startup
- How to use SAMBA when its booted?
- How to setup SAMBA such that it starts at boot time without human interaction?
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.
- 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
This is absolutely done, no diferences with bionic, and they're identical files.
Thanks for help.
No problem how to use SAMBA. Have xperience in edition Samba.conf command mode.Clarity wrote: ↑Fri Oct 09, 2020 6:47 pm The OP's question could be interpreted 2 ways:Or is it a question at all? (the link provided)
- How to use SAMBA when its booted?
- How to setup SAMBA such that it starts at boot time without human interaction?
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.
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.
Re: How to get samba active at startup in Fossapup?
Same issue here. I have to manually start samba after every reboot. Any remedy on the horizon?
Thanks!!
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: How to get samba active at startup in Fossapup?
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)
fossapup64 viewtopic.php?f=40&t=88
-
- Posts: 3842
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1632 times
- Been thanked: 525 times
Re: How to get samba active at startup in Fossapup?
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.
Re: How to get samba active at startup in Fossapup?
/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.)
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: How to get samba active at startup in Fossapup?
this maybe fixed now in quickpet>>fossapup updates
fossapup64 viewtopic.php?f=40&t=88
-
- Posts: 3842
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1632 times
- Been thanked: 525 times
Re: How to get samba active at startup in Fossapup?
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 (42.42 KiB) Viewed 1605 times
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: How to get samba active at startup in Fossapup?
the samba on /samba off button determines whether it starts at boot or not.
fossapup64 viewtopic.php?f=40&t=88