Where is my autoexec.bat (or sort of)?Forum: HD Install Topic: Where is my autoexec.bat (or sort of)? started by: 0bscure Posted by 0bscure on Feb. 16 2006,16:51
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 Posted by mikshaw on Feb. 16 2006,20:09
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. |