Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dsl blues, making eth0 start automatically< Next Oldest | Next Newest >
realpc Offline





Group: Members
Posts: 6
Joined: Oct. 2004
Posted: Jan. 09 2005,13:50 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 09 2005,14:57 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
realpc Offline





Group: Members
Posts: 6
Joined: Oct. 2004
Posted: Jan. 09 2005,16:25 QUOTE

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.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Jan. 09 2005,22:13 QUOTE

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
Back to top
Profile PM 
3 replies since Jan. 09 2005,13:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: dsl blues

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code