Frugal install & samba myDSL extensionForum: HD Install Topic: Frugal install & samba myDSL extension started by: danielp Posted by danielp on Oct. 18 2007,18:43
Hi, I've done a frugal install on hda1, have hda2 for /home and hda3 for files (pictures, as I'm trying to build a digital picture frame).I have managed to get 2 .dsl extension working fine at startup using the cheat code myDSL=/home/dsl/myDSL I also use backup and restore, and have modified the .filetool.lst file to this (in order to avoid backing up the whole /home/dsl folder)
Now the problem is that when I installed the samba.dsl file into my /home/dsl/myDSL folder, I have several problems: 1) most of the icons on the desktop have disappeared when I reboot (there's only Xpdf, xZGV, and Samba left) 2)the smb.conf in /etc/samba/ folder was not backed up and it looks like the original file that comes with DSL 3)samba doesn't start up at all in fact So my questions are: 1) How to put all the icons back on the desktop? 2) How to keep my smb.conf file? 3) How to start samba.dsl at startup? Thanks! Daniel Posted by Juanito on Oct. 19 2007,06:53
Maybe it would be better to locate the /mydsl folder somewhere other than the /home/dsl directory on hda2. Any extension in the /mydsl folder will be loaded at boot. To restore the smb.conf file, add etc/smb.conf to filetool.list (maybe a typo, but you have etc/samba?)
Posted by danielp on Oct. 19 2007,19:02
Thanks Juanito for your suggestion. I thought about placing the mydsl dir elsewhere but it doesn't change anything.My smb.conf file is in /etc/samba/ not directly in /etc/ Is that not the correct place? Posted by roberts on Oct. 19 2007,19:08
You really should move your mydsl folder to another partition. You will then have no need for the mydsl boot option that you are using. And you will not have to keep messing the the filetool.lst to add each item in your home directory. Your really running the system counter to how it was designed.
Posted by danielp on Oct. 19 2007,19:39
OK, I moved them to hda3 but I don't understand how I can avoid the boot code mydsl=hda3/myDSL ?Other thing: I noticed that everytime I use mydsl-load samba.dsl, it overwrites the /etc/samba/smb.conf file with a standard one. How can I keep my own smb.conf file? Posted by roberts on Oct. 19 2007,19:52
myDSL is not the same as mydsl. *nix is case sensitive. Depends on the Samba extension. There are several. Are you sure it is /etc/samba/smb.conf and not /opt/samba/smb.conf? Posted by danielp on Oct. 19 2007,20:09
I see for the case; thanks. Now I put the extensions into /hda3/mydsl and removed the boot code, and DSL automatically found them anyhow.I'm using the samba.dsl extension that I had found with the MyDSL Extension Tool in the Net part. Not sure where it downloads it from. (I'm running frugal install from 3.4.1) And about the smb.conf file. I just found this: /etc/samba points to KNOPPIX/etc/samba KNOPPIX/etc/samba points to /opt/samba So when I do a mydsl-load samba.dsl it indeed overwrites /opt/samba/smb.conf with a default smb.conf file. Thanks for your help! Posted by roberts on Oct. 19 2007,22:02
Good. Now copy the samba.dsl to your mydsl/ directory.Make changes to smb.conf file. Add "/opt/samba/" to .filetool.lst Make sure your have a backup device selected, e.g. hda3 The restore occurs after autoloading extensions. With this setup, you should have your smb.conf working. Posted by danielp on Oct. 20 2007,18:52
Thanks Robert for the clear instructions. Indeed, I now get my own smb.conf file. However, I'm not sure if I understand how the extension is supposed to work. I don't see smbd in the working processes after boot, and I cannot see the DSL machine from other PCs on the network.To start up the samba server, I need to type: sudo smbd start Is that normal? In the meantime, I have added the command to my /opt/bootlocal.sh file and it starts it up fine. Posted by Juanito on Oct. 21 2007,03:45
- Yes. You could also click on the samba (actually linneighborhood) icon to see if you can browse the other windows machines on your network. Posted by vstech on Oct. 25 2007,13:37
I can finally post!!I have had the same questions as you for a while now, but have one other.... what program are you going to use to display the pictures? I have one frame I made using Mandriva (wanted dsl for speed and size), and was using the built in screensaver to display the pictures.. it has dissolves and such. I figured qiv to display on DSL, but how do you start it at boot, and restart it if it stops? Or do you have another program in mind? Thanks! Posted by danielp on Oct. 27 2007,13:52
I am using a great program called feh.I got a lot of help from this website: < http://www.frontiernet.net/~pictureframe/ > Currently, I'm adapting the scripts, and hopefully in due time, I'll contribute back by also making a webpage explaining all my steps and giving my scripts. I'm 100% convinced that DSL is the best way to go for a Digital Picture Frame, as it's small, and can be installed read-only. That way you can even use an electric timer to turn on/off your laptop; not only blank the screen! Let me know if you need any help. |