Clara,
I've attached my working config files. I created these /after/ a wipe/rebuild. I hope this helps.

- Justin

Clara Chan wrote:
Unfortunately for me, I tried that and it didn't work.

I am currently using unionfs instead of the kd option. I've change the setting in /mnt/kd/rc.conf As I had a /etc/rc.modules, it was not possible to simply put that line in my /mnt/kd/rc.conf, I had to add a line into the /etc/rc.modules.

Clara

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Lonnie Abelbeck
Sent: Fri 9/5/2008 12:29 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] digium tdm410p
On Sep 4, 2008, at 9:08 AM, Justin Coffi wrote:

ZAPMODS=wctdm24xxp

That is the line I have in my /mnt/kd/rc.conf. I've tried it with ir without quotes. After the reboot I ran lsmod and I have nothing to show for it.

If (and only if) the directory /mnt/kd/rc.conf.d/ exists, you will want to put the ZAPMODS line in /mnt/kd/rc.conf.d/user.conf, create user.conf if it doesn't already exist.

Lonnie


Darrick Hartman wrote:
Edit your rc.conf file and set ZAPMODS=wctdm24xxp

Then reboot.

Justin Coffi wrote:

I moved the file from /etc/zaptel.conf to /mnt/kd/zaptel.conf and
reboot. Now the file information is stored in /mnt/kd/zaptel.conf but ztcfg won't read it. Even if I use "ztcfg -vv -c /mnt/kd/ zaptel.conf"

Another challenge I'm facing:
I believe that I shouldn't have to run "modprobe wctdm24xxp" after every
reboot. What am I doing wrong?

Justin Coffi wrote:

Thank you. You're a lifesaver.

Lonnie Abelbeck wrote:

Justin,

move your /etc/zaptel.conf to /mnt/kd/zaptel.conf and reboot.

Lonnie

On Sep 3, 2008, at 3:13 PM, Justin Coffi wrote:



I've managed to get my TDM410P configured but my /etc/zaptel.conf
settings aren't sticking after a reboot. Any suggestions? I have both
unionfs and a keydisk configured.

On Mon, Sep 1, 2008 at 11:41 PM, Darrick Hartman (lists)
<[EMAIL PROTECTED]> wrote:


No problem.  Looks like everything will work once you get the
zaptel.conf and zapata.conf files configured properly.  The fxs
modules
are green.  Do you have green or red modules?

Clara Chan wrote:


My zaptel.conf consists of two lines

loadzone=au
fxoks=1-2

as I am using a TDM410P with 2 fxs modules in ports 1 and 2.

I initiated the ztcfg -vv command again and received the following
error

Zaptel Version: 1.4.10.1
Echo Canceller: MG2
Configuration
======================


Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)

2 channels to configure.

Changing signalling on channel 1 from Unused to FXO Kewlstart
ZT_CHANCONFIG failed on channel 1: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO
signalling
and that FXO interfaces use FXS signalling?

The LEDs for the two activated ports on the Digium card is now lit.
Will look into configuring zapata.conf

Thanks heaps, Darrick.


--
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
http://www.djhsolutions.com/wiki

-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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



-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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



-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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



------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]
;
; Zapata telephony interface
;
; Configuration file
;
; You need to restart Asterisk to re-configure the Zap channel
; CLI> reload chan_zap.so 
;               will reload the configuration file,
;               but not all configuration options are 
;               re-configured during a reload.
[trunkgroups]

[channels]
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=no
callwaitingcallerid=no
threewaycalling=no
transfer=no
canpark=no
cancallforward=no
callreturn=no
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
;relaxdtmf=yes
immediate=no
busydetect=yes
busycount=8
;ringtimeout=8000
faxdetect=both

;define channels
context=internal
signalling=fxo_ks
callerid="Line 1"<1000>
channel => 1
callerid="Line 2"<1001>
channel => 2
defaultzone=us
loadzone=us
fxoks=1-2
## AstLinux Main Configuration file
##
## Web: http://www.astlinux.org
## Support: http://lists.kriscompanies.com
## Donate: Paypal [EMAIL PROTECTED]
##
## Don't uncomment any line with more than one #!
##
##
## Begin rc.conf ##

###Basic Stuff

##Hostname
DOMAIN=astlinux
HOSTNAME=pbx

##Timezone
##If you define this variable, AstLinux will link this file from
##/usr/share/zoneinfo/$TIMEZONE to /tmp/etc/localtime on startup
##GMT (UTC) is the default
#TIMEZONE=America/Chicago

##uClibc Timezone
##See http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
#TZ_TIMEZONE=CST6CDT

###Interfaces

##IFRENAME Support
##If for some reason you need to move your interfaces around before
##they are configured, you can do that here if you built your system
##with wireless-tools enabled (it's included by default.
#IFRENAME="eth0:8139too:i10 eth1:8139too:i12 eth2:8139too:i11"

##Physical Ethernet Configuration
##If you need to manually specify any speed and duplex settings, you can 
##do that here NOTE: This will disable auto-negotiation for any devices 
##you enable it for. You CANNOT use variables like $EXTIF, $INTIF, etc.
##Note that this code runs AFTER the ifrename support above.
## INTERFACE:speed:duplex
#PHYETH="eth0:10:half eth1:100:half"

##VLANS
##Configure vlans here. These will be created on boot BEFORE INTIF, etc are
##brought up. You can then use these values for INTIF, EXTIF, etc.
#VLANS="eth1.110 eth1.120"

##Set 802.1p CoS on VLAN
#VLANCOS="yes"

##BRIDGES
##If configured with bridge-utils AstLinux can setup layer 2 bridges for you
##Very useful for access points, small "switches" etc. You can define up to
##three total (BRIDGE0, BRIDGE1, BRIDGE2).  This example creates device "br0"
##and adds the interfaces (seperated by spaces) to the bridge. Bridges can
##include vlans as defined above.
#BRIDGE0="eth1 ap0"
#BRIDGE1="ap1 eth0"
#BRIDGE2="ath0 eth1"

##MTU Changes
##If you need to specifically set the MTU for a given interface, do that here.
##You can try to set the MTU for any valid type of interface. With ethernet it
##works most of the time. Everything else, caveat emptor...
##If you are using PPPoE don't worry. We automatically handle those MTU issues
#IFMTU="eth2.41:1496 eth0:1492"

##WIFI
##Wireless configuration.  Currently only Atheros chipsets (via madwifi-ng)
##are supported if built with madwifi.  You can define up to three AP's and
##three stations.  WIFIMODS are the modules to load in order before trying to
##configure the wireless devices.
#WIFI_ENABLE="yes"
#WIFIMODS="ath_pci"
#WPA_ENABLE="yes"
##You can generate a key as:
##  dd if=/dev/random count=32 bs=1 | xxd -ps -c64
##or else some random (ascii) passphrase of 8-63 characters
#WPA_KEY="<64 hex digits here>"

##Access points
#AP0="wifi0:ap0:1"
#AP1="wifi0:ap1:1"
#AP2="wifi0:ap2:1"

##Client support
#ATH0="wifi0:sta"
#ATH1="wifi1:sta"
#ATH2="wifi2:sta"

# Note: If you're putting your external interfaces into a bridge, such
# as br0 being eth0 and w1ad, then keep in mind that a bridge seems to
# want to use the address of the first Ethernet controller added to it
# (and never the address of the ADSL interface).
# In such a case, you'll probably want:
# EXTIF=br0
# BRIDGE0="eth0 w1ad"
# and not the reverse.

##Change EXTIF's MAC address here (for some cable connections)
#EXTIFMAC="01:02:03:04:05:06"

##Change EXT2IF's MAC address here (for some cable connections)
#EXT2IFMAC="01:02:03:04:05:06"

##External Interface
##The external interface has a fairly restrictive firewall when not in PBX
##only mode.  See the Firewall section in this file for more details.
EXTIF=eth0

##Backup External Interface
##The backup external interface will be used as a backup default route
##in case the primary becomes unavailable.  The firewall rules, routing, etc
##apply identically to both interfaces.  THIS CURRENTLY ONLY WORKS IF BOTH
##EXTIF AND EXT2IF HAVE STATIC IP ADDRESSES.
#EXT2IF=eth1

##Fancy External interface support
##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 first!
#EXTIF=wp1chdlc

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

##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"

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

##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

##IPV6 Support. AstLinux supports IPv6 but the kernel autoloader is
##disabled. If you would like to use IPv6, enable it here.
## NOTE - you will have to setup ip6tables, etc yourself!
#IPV6="YES"

##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="192.168.25.2"
#EXTNM="255.255.255.0"
#EXTGW="192.168.25.1"
#DNS="192.168.1.1 192.168.1.2 192.168.1.3"

##These variables are required for internet failover.  They will do nothing
##if either EXTIF or EXT2IF are set to dhcp. They will use the same DNS 
##servers as above.
#EXT2IP="192.168.25.2"
#EXT2NM="255.255.255.0"
#EXT2GW="192.168.25.1"

##Internet failover timeout.  How long to wait before switching default routes.
##If failover is otherwise setup - EXTIP, EXT2IP, EXT2IF, EXT2GW the default 
##will be 10 seconds.  You can change that here.
#FAILTIME=10

##Use local dnsmasq
##This setting controls whether or not we will use the local dnsmasq instance
##for DNS resolution on THIS machine.
#LOCALDNS=yes

##You don't have to use DHCP + DNS with all of your internal interfaces.
##Here you can specify a list of interfaces that will not have a DHCP range
##associated with them. You can use real interface names or variables.
##I recommend variables. Seperate multiple IFs with spaces.                     
                                                                                
                              
#NODHCP="$INT2IF"

##DHCP Range
##Here you can define the range of IP addresses for your local networks.
##This value will apply to all of your INTIFs. We will automatically calculate
##the first three octets. Just tell me which range I should give out leases for.
##In this example, if INTIP=192.168.0.1, we will give out leases for
##192.168.0.100 - 192.168.0.252
#DHCPRANGE="100:252"

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

##Internal IP address and netmask
INTIP=192.168.101.1
INTNM=255.255.255.0

##Additional "Internal" interfaces
##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

##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="eth2"
#DMZIP="192.168.102.1"
#DMZNM="255.255.255.0"

##IP DMZ Support
##Uncomment the following lines to support more traditional DMZ setups.
##If you define DMZIP astfw will automatically forward any new/unknown
##tcp and udp connections coming in on EXTIF to the IP address that you
##specify. If you say "auto", AstLinux will use the first DHCP lease from
##the instance of dnsmasq running on INTIF.
#DMZIP="auto"

##You can also specify a IP/hostname/netblock of IPs that should still have
##access to the AstLinux system, i.e. not be forwarded to the DMZ host.
##Define that here.  These are examples of what is possible, only define one.
#DMZSRC="www.astlinux.org"
##-or
#DMZSRC="169.207.1.3"
##-or
#DMZSRC="10.17.69.0/255.255.255.0"

##If your DMZIP is not on INTIF, define the other interface here.  You can use
##a real name or another variable from this file.
#DMZIPIF="$INT2IF"

##You can also specify a list of ports to bypass your DMZSRC exclusion.
##Use this if you need to connect to a specific service on DMZIP from DMZSRC
#NODMZPORTS="t25 t110 t143"

##PPPoE support from Roaring Penguin.  If you define PPPOEUSER below, AstLinux
##will run rp-pppoe on your $PPPOEIF. You will also need to set EXTIF to "ppp0".
##PPPoE kernel support
##Experimental, but kernel mode PPPoE cuts down on CPU usage DRASTICALLY and
##improves throughput.  Give it a try first, disable if you have problems (and
##make sure to let me know about it.
#PPPOEUSER="[EMAIL PROTECTED]"
#PPPOEPASS="mypassword"
#PPPOEIF="w1ad"
##PPPOEKERNEL and PPPOEDEBUG are mutually exclusive
PPPOEKERNEL="yes"
#PPPOEDEBUG="yes"

### Firewall support.  Two firewall scripts are now available.  Set that 
variable
### here.  Values are astfw or arno.  If not set, defaults to astfw.
### Settings for Arno's firewall should be made by copying the config file from 
### /stat/etc/arno-iptables-firewall.conf to /mnt/kd.  REBOOT or restart 
iptables
### If using Arno's firewall, the firewall settings in rc.conf are presently 
ignored.
FWVERS="astfw"

### astfw Firewall (iptables)

##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!!!!!! (DEPRECATED)
#EXTMAP10="192.168.25.11=192.168.1.100"
#OPENMAP10="22"

##If you would like to open some ports on your external interface to internal 
machines
##do that here.  As usualy multiple entries can be seperated with spaces.
##In the example - forward external TCP port 222 to 192.168.111.17 port 22
##and UDP 4569 to 192.168.111.12
#EXTPORTMAP="t222:192.168.111.17:22 u4569:192.168.111.12:4569"

##If you have multiple IP addresses on your external interface and you want 1:1 
NAT
##sometimes called binat (bidirectional NAT), define that here. Use spaces for
##multiple address maps. There is no filtering for these, beware!
#EXTIPMAP="4.2.2.1:192.168.111.20"

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

##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"

##EXTOPENSRC
##We will allow any traffic from these IP addresses.  As usual, multiple entries
##can be specified using spaces.  Standard iptables netmask and CIDR notation is
##accepted.
#EXTOPENSRC="4.2.2.1 4.2.2.2"

##MASQPORTS
##By default the Linux kernel will attempt to use the same source and 
destination port
##for a MASQUERADED connection as long as it is above 1023.  This option allows 
you to
##force TCP and UDP connections to always be natted within the range of ports 
defined.
#MASQPORTS="30000-60000"

##NONAT
##By default we do NAT/PAT on all of the internal interfaces.  If you don't 
want to,
##define that here.  As usual, multiple arguments can be seperated by spaces.
#NONAT="$INT2IF"

##Master NTP server(s). This is the NTP server that AstLinux will sync against
##upon bootup. It is also the server that the running ntpd process will use
##to maintain that time sync.  
NTPSERVS="us.pool.ntp.org"
#NTPSERVS="europe.pool.ntp.org"
#NTPSERVS="north-america.pool.ntp.org"
#NTPSERVS="south-america.pool.ntp.org"
#NTPSERVS="asia.pool.ntp.org"
#NTPSERVS="oceania.pool.ntp.org"
#NTPSERVS="africa.pool.ntp.org"

##If you would like to specify several servers to be used at the same time,
##you can specify them in NTPSERVS seperated by spaces.
#NTPSERVS="ntp1.cs.wisc.edu us.pool.ntp.org"

##Dynamic DNS Support
##For a list of valid DDSERVICE names, see the ouput of "inadyn".
#DDSERVICE=
#DDUSER=
#DDPASS=
#DDHOST=

##Netmon Support
##Netmon is a daemon that runs to monitor your internet connection.  By default,
##it will try to ping the default gateway of the system.  If the gateway cannot
##be reached, netmon will take the action you have defined in your action 
script.
##/etc/netmon.script and /mnt/kd/netmon.script - if they are executable.
##AND attempt to restart the connection, based on the connection type.
##You can also set the destination address manually, if you wish.
#NETMON=YES
#CHKHOST="www.google.com"
#CHKMETH="ICMP" # ICMP ping
#CHKMETH="ARP" #arping (remember uses ARP - layer 2)

##WAN Simulator
##AstLinux is built with nistnet, a great WAN simulator.
##It is supported in the web interface, but you can also use the cnistnet
##command line application.  It does interfere with Asterisk operation, so it
##is not loaded by default.  Uncomment this variable to enable it.
#NISTNET=yes

###Traffic Shaping (AstShape)

##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

##VoIP Ports
##Traffic in this port range will automatically be mapped into the VoIP queue.
##Only UDP traffic is marked. Standard iptables syntax is allowed.
#VOIPPORTS="5060 18000:20000"

##Interactive Ports
##Traffic in this port range will automatically be mapped into the interactive
##queue. TCP and UDP traffic is marked.
#INTPORTS="110"

##Shapetype.  This defines the qdisc type.  AstShape currently supports htb
##(default and well tested) or the new HFSC version (untested). You can
##select which one you'd like here
#SHAPETYPE="hfsc"

##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/*"

###Service Advertisement
##If you define ADNAME, I will advertise all of the available services on
##your AstLinux machine in a way that is compatible with bonjour/rendezvous.
##THIS IS VERY INSECURE, THIS SHOULD BE THE FIRST THING YOU DISABLE
ADNAME="AstPBX"

###Hardware

##Module options
##If you define this variable, we will automatically generate modprobe.conf
##for you.  modprobe reads this file before loading any modules in the OS.
##Format is modulename:option
##As always, you can pass multiple options and modules with spaces.
#MODOPTS="wctdm:opermode=UK"

##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"

##LMSensors Modules
##List your hardware modules, seperated by spaces
##You will also need to create a sensors.conf
#SENSEMODS="vt1211"

##Zaptel hardware support (NOT Sangoma - use "wancfg")
##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.
##Take a look at the MODOPTS variable if you need to pass any options.
ZAPMODS="wctdm24xxp"

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

##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"

##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"

##I/O Scheduler configuration
##The Linux kernel has several I/O schedulers available.
##It is important to optimize everything you can in an embedded system
##AstLinux lets you use this variable to change the I/O scheduler per device
##IOSCHED="hda:noop"

##Blinkenlights
##I have a simple script to make the lights on Soekris/WRAP boards blink.
##It supports a few options. LED_NUM is the number to blink.
##WRAP supports 2 (error), or 3 (extra) - default
##Soekris supports 2 (error)
##LED_TIME is the number of seconds to wait between blinking cycles.  1 is the 
default.
#LED_NUM=3
#LED_TIME=1

##APC UPS Support via apcupsd
##If you have built AstLinux with apcupsd support, you can monitor and safely 
shut down
##the system (as well as perform other actions) upon the loss of power when 
connected to
##a UPS that monitors this.  Here you can specify the UPS type and UPS cable.  
I like
##usb because it is very simple to configure.
##If you are using something OTHER than usb, you can specify the device node to
##communicate with the device using UPSDEVICE.  IF YOU ARE USING USB, LEAVE 
THIS BLANK!!
#UPSTYPE="usb"
#UPSCABLE="usb"
#UPSDEVICE=""

###Misc. AstLinux

##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"

##Custom tmpfs sizes
##here is where you can increase or decrease the size of the various
##tmpfs filesystems.  If you set these too large, it is possible for
##the system to use all available RAM, in which case the Linux kernel
##will start randomly killing processes to free up memory. You have 
##been warned!
#VAR_SIZE="25000k"
#TMP_SIZE="10000k"

###Daemons

##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"

##Asterisk Verbose Logging Support
##This will automatically set the verbosity level after Asterisk
##starts up.
#ASTVERBOSE="15"

##Asterisk G729 Support
##I added code to the init script to support auto detection and loading
##of different G729 modules based on CPU type.  If you don't define this
##variable, Asterisk will just use modules.conf.  If you define this
##variable, Asterisk will load the module you specify shortly after
##startup.  If you say "auto", the init script will try to detect the
##best module for you and load it automatically.
#ASTG729="auto"

##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
##If you would like to use the built in dnsmasq tftp server, set
##dnsmasq.
##If you want to use the standalone tftpd server and have it run in the
##background, set tftpd.
##If you want to use the standalone tftpd server, but have it started
##on-demand by inetd, set inetd.
##
##NOTE: This seems to have some problems and you will need to be
##in router mode for dnsmasq to even start.
##Works the same as FTPD above.
TFTPD=inetd

##TFTPOPTIONS - has been removed

##FTPDOPTIONS - has been removed

##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="eth1"

##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"

##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
#Enable NTP broadcasts to local LAN(s). Use with something like
#Tardis (win32) or ntpd (listen mode).
#NTPBROADCAST=yes

##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"

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

##Persistent Logs
##If this variable is defined, logs are saved to the keydisk instead of RAM
#PERSISTLOG=yes

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

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

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

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

##OpenSER Support
##If your build was compiled with OpenSER, you can configure that here
##OpenSER will not start until you define a user and group to run under
#OPENSERUSER="openser"
#OPENSERGROUP="openser"

##rtpproxy support
##If your build was built with rtpproxy support, you can configure the 
##listen IP here. This is really only useful if you have OpenSER too
##You can use other variables from this file
#RTPPROXY_IP="$EXTIP"
#RTPPROXY_SOCKET="udp:127.0.0.1:7890"
#RTPPROXY_TOS="0x18"

###Mail 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=""

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

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

##If SMTP_TLS is defined, we will use TLS.  You should have a trusted cert list 
and define its location with SMTP_CA. Optionally, you can turn off the 
certificate verification. This is a security risk!
##to the location of a trusted cert list.
#SMTP_TLS=YES
#SMTP_CA=/stat/etc/ca.crt # some file
#SMTP_CERTCHECK=off

##The username and password for communicating with the SMTP server.
#SMTP_USER=username
#SMTP_PASS=password

##The SMTP login method (plain or login are supported)
#SMTP_AUTH=plain

##SMTP port to connect to SMTP_SERVER on. Defaults to 25
#SMTP_PORT="25"

##SSHD Config
#SSHDPORT=22

##Allow sshd root logins? Yes or no are acceptable.
#SSHDROOT=yes

###VPN Support

##AstLinux currently supports two types of VPN - racoon/KAME and
##openvpn.  Set your type here, more to come...
#VPN=openvpn

##OpenVPN specific options
##All certs must be created manually.
##Suggest using the "easy-rsa" scripts that come with OpenVPN
##Perhaps on different machine, then copy the appropriate files
##Hopefully these can be created with a web interface in the future.
## NOTE:  if you are using astlinux in pbx only mode, you must enable 
ip_forwarding
## Both astfw and arno's firewall do this for you.
##VPN above must be openvpn
#OVPN_DEV="tun"
#OVPN_PORT="1194" 
#OVPN_PROTOCOL="udp"
#OVPN_CA="/etc/openvpn/easy-rsa/keys/ca.crt"
#OVPN_CERT="/etc/openvpn/easy-rsa/keys/server.crt"
#OVPN_KEY="/etc/openvpn/easy-rsa/keys/server.key"
#OVPN_DH="/etc/openvpn/easy-rsa/keys/dh1024.pem"
#OVPN_SERVER="192.168.15.0 255.255.255.0"
#OVPN_VERBOSITY="1"
#OVPN_PUSH1="route 192.168.0.0 255.255.255.0"
#OVPN_PUSH2=""
#OVPN_PUSH3=""
#OVPN_PUSH4=""
#OVPN_OTHER1=""
#OVPN_OTHER2=""
## Enable LZO compression on thevpn yes|no
## Requires additional cpu resources
#OVPN_LZO="yes"

##Racoon support.  For now, just ESP tunnels with a choice of
##two profiles (3DES/MD5 or AES/SHA2).
##
##Keys may be generated randomly as:
##
## dd if=/dev/random count=$(($bits / 8)) bs=1 | (echo -n "0x" ; xxd -ps -c64)
##
#IPSEC_LOGLEVEL="info"
#IPSEC_NAT_TRAVERSAL="off"
#IPSEC_PSK_ASSOCIATIONS="
#$EXTIP:172.16.1.0/24:192.168.2.100:172.16.2.0/24,10.0.0/8:this is a test:normal
#$EXTIP:172.16.1.0/24:192.168.3.100:172.16.3.0/24:0xdeadbeef:strong
#"

##Stunnel support.  If your AstLinux build has been built with
##Stunnel, you can setup local stunnel connections here like so:
## "astlinux listening port:remote server:remote port"
##Seperate multiple tunnels with spaces
##Don't forget to open the external port with EXTOPEN!
#STUNNELSERVS="8443:192.168.111.11:80 993:mailserver:143"

##Custom stunnel cert.  By default we use the same cert as
##mini_httpd.
#STUNNELCERT="/mnt/kd/stunnel.pem"

##Stunnel user/group id.  By default we will run stunnel as nobody
##this is fine unless you need to run as some other user because
##you need to bind to a port > 1023, etc.  You will also need to
##have a group by the same name.
#STUNNELUSER="nobody"

###Vendor Tweaks

##ISSUE is what is presented on running gettys (console)
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."

##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.
#ASTUPURL="http://mirror.astlinux.org/runnix";

##Auto upgrade?
##If you specify AUTOUP, astup will not ask for confirmation when you run
##it.
#AUTOUP=yes

##Runnix Device
##For now, you need to specify the flash device that runnix is installed on
#RUNDEV=/dev/hda1


##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"


## End rc.conf ##

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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

Reply via email to