Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: sbp on March 04, 2012, 01:09:25 AM
-
Hi
My first post here.
I installed Tinycore on a Siemens Futro S400 small client (Geode CPU) 500 MB CF-card and 512 MB RMA. It is running very good.
I have a few questions/problems.
I installed SAMBA using the AppBrowser, set it to be used "OnBoot" The install went fine and I can see the service in the "Services "Browser"" - however it is not active. If I click on it, it briefly turn green, but the again the green disappears.
I can start it by sudo /usr/local/etc/init.d/samba start BUT still it isn't green in the "Services". but it is running which I checked by: sudo /usr/local/etc/init.d/samba status
Another issue if I try to edit the samba config file located in /usr/local/etc/samba/smb.conf using the editor in Tinycore I can't save the file, I get the error message: Error writing to file "/usr/local/etc/samba/smb.conf": Read only file system.
SO:
How do I make SAMBA start every time I boot
How do I save the changed conf file
I have a similar issue with SSH which I would like to start when I boot
Regards
Steen
-
To start samba on boot, add /usr/local/etc/init.d/samba start to /opt/bootlocal.sh
The smb.conf file should be writeable as root. If it is not, you can copy it over from /tmp/tcloop/samba3, edit it and add to your backup
-
Hi sbp
sudo cp /tmp/tcloop/samba3/usr/local/share/samba3/files/smb.conf /usr/local/etc/samba/smb.conf
sudo editor /usr/local/etc/samba/smb.conf
Add usr/local/etc/samba/smb.conf to /opt/.filetool.lst
-
Thanks Rich.
Your command line was spot on, and now I have samba running.
I think the command: "sudo editor “ was the important command as it allowed me to save the edited file.
Previously I just used the editor icon in the bottom of the screen, and here I was not allowed to save the file.
Thanks Steen