Hi,
here it follows my rc.conf and the "df -h" command output.
The opt packages are installed.

Any help would be appreciated.

Thanks,
Luciano


fwstat kd # df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/hdb1                28.6M     26.0M      2.6M  91% /
none                    200.0k         0    200.0k   0% /dev
none                      4.9M     88.0k      4.8M   2% /var
none                      9.8M    172.0k      9.6M   2% /tmp
/dev/hdb2                19.5M     11.8M      6.7M  64% /mnt/opt
/dev/hdb3               190.7M      1.1M    179.7M   1% /mnt/kd

fwstat kd # more /etc/rc.conf
## AstLinux config.  This file is sourced by every script that I use.
## It contains some reasonable defaults, but change it for your needs.

#### Interfaces #####
EXTIF=eth2

## If you have configured Sangoma hardware, I will start it automatically.
## THIS HAS CHANGED FROM PREVIOUS VERSIONS!!!
## You will still need to set EXTIF to your external interface (wp*).
## If EXTIF=hdlc0, I will start zaptel and run sethdlc.
## If EXTIF=pvc0. I will start zaptel and run sethdlc. You will also need to
## fill in HDLCLMI and HDLCDLCI
## See more options below.

#Use wancfg
#EXTIF=wp1chdlc

#Use cisco encapsulation and be done
#EXTIF=hdlc0
#EXTENC="cisco"

#Frame relay with LMI and DLCI (will use hdlc0)
#EXTIF=pvc0
#HDLCLMI=ansi
#HDLCDLCI=100

## If you do not define the INTIF, I will not try to start one.
## If you do not define the INTIF, I will also not start the following
services:
## dnsmasq iptables astshape
## PBX Only mode is enabled by default from 0.2.8.10
INTIF=eth0

## PPPoE support from Roaring Penguin.  If you define PPPOEUSER below,
AstLinux
## will run rp-pppoe on your $EXTIF from above.  This is not fully
integrated with
## the Sangoma support - i.e. it will not start your S518 before rp-pppoe,
you still
## have to hack at scripts for that, but if you have an ethernet connected
DSL modem
## that you need PPPoE for, define your username and passowrd here.  You
will also need
## to set EXTIF to "ppp0".
#PPPOEUSER="[EMAIL PROTECTED]"
#PPPOEPASS="mypassword"
#PPOEIF="w1ad"

## IPs ##

## Changed to resolve conflicts...
INTIP=myintip
INTNM=255.255.255.0

### If you have more than one IP on the EXTIF, here is where you configure
1:1 NAT maps ###
### These have to start at 10!!!!!!
#EXTMAP10="192.168.25.11=192.168.1.100"
#OPENMAP10="22"

#Default "deny action" - you want either DROP or REJECT (returns with icmp
filtered)
DENYACT="DROP"

## Misc ##
NTPSERV=pool.ntp.org

## System Domainname ##
DOMAIN=mydomain.dn
HOSTNAME=fwstat

# If EXTIP is set, the remaining STATIC config is read instead of the
# default, which is DHCP client on $EXTIF. If you are using a T1/E1
# EXTGW is also the PtP address. You can enter as many DNS servers as
# you wish.  They will be added in order.

EXTIP="myextip"
EXTNM="255.255.255.0"
EXTGW="myextgw"
DNS="myextdns"

#### Dynamic DNS Support ######
## Note: this section does not do anything if EXTIP is set above...
## For a list of valid DDSERVICE names, see the ouput of "inadyn".
#DDSERVICE=
#DDUSER=
#DDPASS=
#DDHOST=

#### AstShape Config ######

# This is typical for a lot of cable ISPs (at least for RR here in
Wisconsin...)
# Please change it after some testing, and make sure that it is %90 of your
tested
# link speed.  This prevents queing that destroys latency - very important
for VOIP.
# Disabled by default.  Uncomment EXTUP & EXTDOWN to enable...

#EXTUP=300
#EXTDOWN=2000

# Traffic from asterisk is moved into the top Q because I set tos=0x18
# which is automatically given highest priority by astshape. Perfect, huh?

# low priority OUTGOING traffic - you can leave this blank if you want
# low priority source netmasks
NOPRIOHOSTSRC=

# low priority destination netmasks
NOPRIOHOSTDST=

# low priority source ports
NOPRIOPORTSRC=

# low priority destination ports
NOPRIOPORTDST=

#### Upgrade Config #####
# This is a list of pathnames to exclude in an upgrade attempt. #
# The update script will not touch/replace/look in any directory
# specified below.  For help you should look at the rsync man pages
# or "rsync --help".

# This does not work and has been replaced by a static /etc/astup.ex (for
now)
#ASTUPEX="/dev/* /proc/* /mnt/kd/* /tmp/* /stat/* /var/*"

### SSMTP Config #####
## This is the SMTP server that all mail from cron, etc. on this
## system will be sent through.  This includes Asterisk VM notifications.

#SMTP_SERVER=""

#### SYSLOG Config ####
## The machine below will receive all logging messages from this machine via
## syslog's remote logging features.
#SYSLOGHOST=""

### ISDN Configuration ###
## If this variable exists I will try to load the proper modules, but you
## need to tell me how you want to setup your card.
## Documentation can be found at:
http://www.beronet.com/download/card_installation_guide_en.pdf
## More can be found at:
http://home.foni.net/~jolly1/download/PBX4Linux-2.5.html
## Don't forget to edit misdn.conf and modules.conf in /etc/asterisk.
##Examples:
#ISDN_MODPROBE="hfcpci protocol=0x2 layermask=0xf"
#ISDN_MODPROBE="hfcmulti type=0x08
protocol=0x12,0x12,0x12,0x12,0x2,0x2,0x2,0x2
layermask=0x3,0x3,0x3,0x3,0xf,0xf,0xf,0xf"
#ISDN_MODPROBE="hfcmulti type=0x04 protocol=0x12,0x12,0x2,0x2
layermask=0x3,0x3,0xf,0xf"
#ISDN_MODPROBE="avmfritz protocol=0x2 layermask=0xf debug=0x0"

### AstBack Configuration ###
ASTBACK_PATHS="/etc/asterisk/* /var/spool/asterisk/voicemail/*
/mnt/kd/rc.conf"
## If you use the web interface for backup you CANNOT change the following
##
ASTBACK_FILE="/tmp/backup.tar.gz"

### IDE Drive configuration ###
## From 0.2.5.6 onwards, DMA is disabled on the GRUB command line. ##
## I was having too many problems with motherboards detecting CF's ##
## as capable of DMA.  Now I turn DMA off for eveything except the ##
## devices listed below.
#DMA_DEV="/dev/hdc"

### AstLinux Extensions ###
## If you wish, you can enable some add-on extensions.  These may be ##
## commercial products that require a license.  You shouldn't touch ##
## this unless you know what you are doing, or have been told to. ##
#EXTENSIONS="pbxware"

### Asterisk Manager Proxy ###
## Here you can define the username and password used to connect to ##
## the Asterisk manager interface.  You will need to make sure that ##
## the manager is enabled and this username and password are the same. ##
#ASTMANPROXY_USER="admin"
#ASTMANPROXY_PASS="password"

### Custom tmpfs sizes ###
## here is where you can increase or decrease the size of the various ##
## tmpfs filesystems.  Unless you know what you are doing you should ##
## not tweak these!!! ##
#VAR_SIZE="25000k"
#TMP_SIZE="10000k"

### Basic VPN Support ###
## AstLinux currently supports two types of VPN - racoon/KAME and ##
## openvpn.  Set your type here, more to come... You need opt for this##
#VPN=racoon

### FTP support ###
## vsftpd no longer starts by default.  To start it from inetd, set ##
## inetd.  For standalone mode, set vsftpd ##
FTPD=inetd

### Configure TFTPD support ###
## Ditto above TFTPD ##
TFTPD=inetd

### Upgrade URL ###
## Make it easier to do your own build by specifying your own upgrade URL ##
## here.  Astup will use this server instead of the default. ##
## I'm making way for the build environment... :) ##
#RSYNC_URL="rsync://rsync.krisk.org"

### VLAN Support ###
## Configure vlans here. These will be created on boot BEFORE INTIF, etc are
## brought up.
#VLANS="eth1.110 eth1.120"

### Autoload Modules ###
## If /etc/rc.modules does not exist, then I will load these modules upon ##
## system startup. ##
AUTOMODS="rtc 3c59x typhoon tulip eepro100 natsemi forcedeth
8139cp 8139too via-rhine pcnet32 acenic e1000 ns83820 r8169 tg3"

### Use ISC-dhcpd ###
## Uncomment the following to use ISC dhcpd.  If you do this, you will be ##
## solely responsible for maintaining /etc/dhcpd.conf, and dnsmasq will be
##
## disabled.  Advanced users only! ##
## YOU WILL NEED ASTLINUX-OPT TO USE ISC-DHCPD! ##
DHCPDOPTS="-q eth0"

### Use Bind Named ###
## Uncomment the following to use BIND.  If you do this, you will be ##
## solely responsible for maintaining /etc/named.conf, and dnsmasq will be
##
## disabled.  Advanced users only! ##
## YOU WILL NEED ASTLINUX-OPT TO USE NAMED! ##
#NAMEDOPTS="-n1"

## DMZ Support ###
## Uncomment the following to utilize a DMZ network.  The DMZ network by ##
## default is only allowed to access the internet (via EXTIF).  It is not ##
## able to access services on the AstLinux machine, or any of the machines
##
## on INTIF. To allow access to services on the AstLinux machine ##
## (Asterisk, etc.) set DMZTYPE=extme ##
DMZTYPE=extonly
DMZIF="eth1"
DMZIP="mydmz"
DMZNM="255.255.255.0"

## Better Zaptel Support ###
## These are the modules that will get loaded\unloaded by the Zaptel ##
## Init script.  Please move the zaptel modules from /etc/rc.modules ##
## or AUTOMODS to here. If you don't have any zap hardware, leave ##
## this undefined and ztdummy will be loaded automatically. ##
#ZAPMODS="wctdm"

## Zaptel Data Support ###
## If you set EXTIF=hdlc0 above, you will probably need to set the ##
## protocol here.  See sethdlc for valid types, but you PROBABLY want ##
## "cisco".  DO NOT USE THIS WITH SANGOMA HARDWARE!!! Use wancfg!!!##
#EXTENC="cisco"

##Secondary HTTP only server
## If you set HTTPDIR, I will startup another instance of mini_httpd to ##
## serve files from that directory. HTTPUSER is the user the server will ##
## run as. ##
HTTPDIR="/tftpboot"
HTTPUSER="nobody"
HTTPCGI="no" # yes|no to enable CGI (just like for HTTPS)

##HTTPS Variables
HTTPSDIR="/stat/var/www" # Define the location to serve HTTPS from
HTTPSCGI="yes" # Whether to enable CGI in the above path
HTTPSCERT="/etc/ssl/mini_httpd.pem" # Path to the https certificate
HTTPSUSER="root" #user to run HTTPS under

##NTPD Variables
#NTPBROADCAST=no #enable NTP broadcasts to local LAN

##WANDELAY
# Sometimes it takes a while for the WAN interface to come up...  #
# This can happen with frame relay and PPPoE, for example. #
# Set this variable in seconds, and I will sleep on startup before #
# I attempt to bring up the WAN interface.
#WANDELAY=60

##EXTOPEN
# A list of ports (with protocol) that will be opened on the external #
# interface to the AstLinux machine.  Here you can add access to IAX #
# SIP, etc. #
# t= tcp u= udp
#EXTOPEN="t22 u4569"

##TIMEZONE
# You need ast-opt for the additional timezones.
# If you define this variable, AstLinux will copy this file from #
# /mnt/opt/zoneinfo/$TIMEZONE to /tmp/etc/localtime on startup #
#TIMEZONE=America/Chicago

##NFSROOTPATH
# For diskless clients, the path to use for a root filesystem.
#NFSROOTPATH="$INTIP:/mnt/kd/nfsroot"

##BOOTPFILE
# For diskless clients, the image to use for booting.
#BOOTPFILE="/pxelinux.0"

##SMTP_DOMAIN
##The from domain of SMTP messages from ssmtp.
#SMTP_DOMAIN="mysite.com"

##SMTP_HOSTNAME
##The from hostname of SMTP messages from ssmtp.
#SMTP_HOSTNAME="pbx"

##NFS Server support (read only exports)
#NFS_EXPORTS_RO="/tftpboot"

##Read/write
#NFS_EXPORTS_RW="/home"

##TFTP Server options (flags to pass to TFTP)
## This only works in standalone TFTP server mode
#TFTPDOPTIONS="-l -s /tftpboot"

##FTP Server options (flags to pass to vsftpd)
## This only works in standalone vsftpd server mode
#FTPDOPTIONS="/etc/vsftpd.conf"

##Static hosts for local resolver + DNSMasq
# This should be a space-seperated list of hostname and IP
# address pairs seperated by colons.  Configure as many
# as you wish
#STATHOSTS="server1:192.168.1.11 server2:192.168.1.12"

##INT2IF and INT3IF support
## By default they will be brought up identically to INTIF.
## They will be able to access the AstLinux machine and go
## out via EXTIF, but routing between them is not permitted.
#INT2IF=eth1
#INT2IP=192.168.102.1
#INT2NM=255.255.255.0

#INT3IF=eth2
#INT3IP=192.168.103.1
#INT3NM=192.168.103.1

## EXTIFMAC support
## Change EXTIF's MAC address here
#EXTIFMAC="01:02:03:04:05:06"

## Configure watchdog
## The first is the kernel module to load
## Next is the timeout period
#WDMODULE=scx200_wdt
#WDTIME=60

#ISSUE /etc/issue is now auto generated
ISSUE="This is \n\ (\s \m \r) \t"

#/etc/issue.net is used by SSHD, more to come
NETISSUE="WARNING!!!
This system is solely for the use of authorized users for official purposes.
You have no expectation of privacy in its use and to ensure that the system
is functioning properly, individuals using this computer system are subject
to having all of their activities monitored and recorded by system
personnel. Use of this system evidences an express consent to such
monitoring and agreement that if such monitoring reveals evidence of
possible abuse or criminal activity, system personnel may provide the
results of such monitoring to appropriate officials."


-----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Kristian
Kielhofner
Inviato: lunedì 23 gennaio 2006 6.53
A: Discussion of AstLinux - Asterisk on Compact Flash
Oggetto: Re: [Astlinux-users] DHCP server - AstLinux-0.3.0


Luciano La Delfa wrote:
> Hi,
> first of all, congratulations for the good job!
> I'm a linux newbie and I installed the AstLinux-0.3.0 on a 4801.
> I'd like to now how to enable the dchp server: I edited the rc.conf -
> DHCPDOPTS="-q eth0" - and made a dhcp.conf in my /etc/
>
> After a reboot the process did not start.
>
> Any hint?
>
> Thanks,
> Luciano

Luciano,

        Thanks!  You need AstLinux opt to use ISC-DHCPD.  Are you sure that
dnsmasq will not do the job for you?

        To enable dnsmasq you need to disable PBX-only mode.  Uncomment INTIF
in /etc/rc.conf and dnsmasq will be started on eth1.

--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to