spacerspacerspacerspacerspacerspace ENGLISH site spanish site otros idiomas

easylivecd.com
Software LiveCD
Software Linux LiveCD Router para Banda Ancha y WiFi new!
Download gratis!
Router PRO
LiveCD HotSpot
Samba File Server
Firewall PRO
VoIP Server
E-Mail Server
Documentación
Libro Admin
Soluciones a Medida
Order now
Noticias
WiFi Blog
VoIP
Seguridad y Firewall
Virus Alert
Foros Linux y WiFi
Tutorials new
easylivecd.com
Hardware
Access Points
Tarjetas WiFi
Firewall
VoIP


Sites
English Site
Spanish Site
Other Languages

Escríbanos a info@easylivecd.com

Indice de la Documentación
Linux LiveCD Router - ConfigSave HowTo


As of cdrouter 2.0.26 config files are not restored from 
floppy by default. instead cdrouter checks for the following 
rc.local startup scripts

/mnt/hda2/startup/rc.local
/mnt/hdb2/startup/rc.local
/mnt/hdc2/startup/rc.local
/mnt/sda1/startup/rc.local
/mnt/sdb1/startup/rc.local

an example rc.local script is


#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local setup commands in here:


#
# refresh base config
#

cp /mnt/hda2/startup/hosts /etc/hosts
cp /mnt/hda2/startup/HOSTNAME /etc/HOSTNAME
cp /mnt/hda2/startup/rc.inet1 /etc/rc.d/rc.inet1
cp /mnt/hda2/startup/resolv.conf /etc/resolv.conf
cp /mnt/hda2/startup/passwd /etc/passwd
cp /mnt/hda2/startup/shadow /etc/shadow
cp /mnt/hda2/startup/shorewall /etc/



# IMPORTANT INITIAL CONFIG
#
# copy sesame runtime scripts to your hard disk
# mv /usr/local/* /mnt/hda2/usr/local

 cd /usr/local; rm -fr *
 ln -s /mnt/hda2/usr/local/sesame /usr/local/sesame


#
#startup shorewall firewall
#

shorewall start

#
# Web server httpd (needed for MRTG)
#

/usr/sbin/apachectl start



#
# Webmin Start (WEB Administrator)
#

/etc/webmin/start >/dev/null 2>&1 Indice de la Documentación




Productos y Servicios | Software Linux LiveCD Router | Download | Firewall PRO | HotSpot WIFI | E-Mail Server | File Server | E-Mail Server | Documentación | Personalización | Distribuidores | Pedidos
Hardware Access Points | Tarjetas PCMCIA | Firewall
Foros Soporte Linux Noticias WIFI | Tecnologia | Internet | Telecom | Software | Seguridad y Firewall new | Virus Alert new |
Idiomas English Site | Spanish Site Google German Site | Italian Site | French Site | Portuguese Site




Escríbanos a info@wifi.com.ar
© WiFi.com.ar, EasyLiveCD.com, Brujula.Net

>