dsl blues


Forum: Networking
Topic: dsl blues
started by: realpc

Posted by realpc on Jan. 09 2005,13:50
hello all.

could anyone help show me how to use dsl (either hd install or cd boot) to boot a machine and start the ethernet card automatically so that it can act as a small file server?

i have sorted the samba side out and everything else, the only thing i cant figure is the getting eth0 up at boot time.

i have read all i can read, tried all i can try, however to no avail.

i have tried this on 3 systems now and with the same effect.

i favoured hd install but have since wondered if i should use the cd boot and the abckup restore function.

could someone please help, this is the 3rd time i have come back to dsl as it is an incredibly usefull alternative, its this silly eth0 issue that is preventing me deploying this bigtime.

many thanks.

steve.

Posted by mikshaw on Jan. 09 2005,14:57
So are you saying that eth0 has to be manually configured?  If this is the case, then yes you should use the backup/restore feature.  
Put the command(s) you used to get it working into /opt/bootlocal.sh.
Make sure /opt/bootlocal.sh and ~/.filetool.lst are both listed in ~/.filetool.lst, and that you have a writeable partition specified as backup.
Reboot.

Posted by realpc on Jan. 09 2005,16:25
yes thats it, when i tried this last time i had to do a eth0 up (is that right?) and then all the setting were there and it worked, this is not a massive problem but the server would have eventually run without a monitor and this would have been a pain.

what i am loking for (and i thought / think that dsl would have fitted the bill) is a distro of linux not too hard to install, that can be configured to fire up a samba server on either older or newer kit, thats it plain as.

do you think i am looking down the wrong route here?

if so where do you think i should be looking.

i have no issue with using the command line really, as long as the finished product can boot up and do the above.

Posted by ke4nt1 on Jan. 09 2005,22:13
Mikshaw has your answer..

Adding your needed commands to the /opt/bootlocal.sh file,
then including the /opt/bootlocal.sh file in your backup,
is the way to get where you want to be.

If you install the samba.dsl file to the root of your mydsl area (partition),
it will self-load as well..  
Adding these three additional lines to your /opt/bootlocal.sh file will
bring up your network and autostart your samba on every reboot..

eth0 up
nmbd -d
smbd -d

Remember to add the location of your custom samba.conf file
to your /home/dsl/filetool.lst file..

Boot up your DSL with these commands, if you can..
' dsl dma toram mydsl=hdXx restore=hdXx '
* toram requires 128MB minimum
* mydsl=hdXx is your mydsl location - e.g mydsl=hda2
* restore=hdXx is your backup location - e.g. restore=hda2
( I keep both my extensions and my backup on a separate partition )

Once you get this working how you like it,
you can use the mkmydsl system to create you own custom .iso
to burn to a CD that can include these boottime entries automatically.
Then running headless ( no monitor) will be no problem, just power-up.

73
ke4nt

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.