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: Where is my autoexec.bat (or sort of)?, Newbie questions to start...< Next Oldest | Next Newest >
0bscure Offline





Group: Members
Posts: 1
Joined: Feb. 2006
Posted: Feb. 16 2006,16:51 QUOTE

Hey, first of all, sorry for my bad english (I'm Brazilian, and we do not speak much english here :P )
I've installed DSL on HD, and i'm totally linux newbie and have some questions...

What I need to auto-configure my network on reboot? Cause always when i reboot DSL, i've to execute netcardconfig again... where is the "autoexec.bat", the file that i need to edit do that?
(i know that ISN'T "autoexec.bat" :P  )

I also want to auto-start VNC server (i installed real vnc) and
EDNA mp3 server on reboot.

I think that for network is
"ifconfig eth1 192.168.0.197 netmask 255.255.255.0 broadcast 192.168.0.197 up route default gw 192.168.0.100"
for VNC the command is "vncserver :1" and for EDNA is "ednastart", but don't know WHERE to put this (and its all right?)

Please, understand that I really don't know nothing on linux, if someone can show me what file and what command (and under what USER) i have to change, would be nice :)

tnx
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 16 2006,20:09 QUOTE

Typically you'll want to add commands to /opt/bootlocal.sh to run them at the end of the boot process.

vncserver should probably be started by a regular user rather than by root, so you'd put it in /home/dsl/.bash_profile to have it run automaticlly when you log in.  I don't know anything about edna.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Feb. 16 2006,16:51 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Where is my autoexec.bat (or sort of)?

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