login | register
Sat 05 of Jul, 2008 [02:51 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.37s
  • Memory usage: 2.59MB
  • Database queries: 30
  • GZIP: Disabled
  • Server load: 0.30

AstLinux FAQ

Here are answers to Frequently Asked Questions from the astlinux-users mailing list.

General questions

Q.1 Where are the astLinux-users mailing list archives?
Here. There seems to be no way of searching them, not even with Google.

Q.2 Where is the documentation?
Try here

AstLinux installation and configuration

Q.3 I make changes to AstLinux rc.conf but then they disappear with the next reboot! What gives?
Some files that appear to belong to the / partition are actually symbolic links to copies, on RAMdisk-based partitions, of other files under /stat . Editing the latter (after temporarily remounting / read/write with "mount -o rw,remount /") will allow the change survive the reboot. Unfortunately, as it happens with most other files, the change will still be wiped away at the next update with Astlinux astup (unless you list the filename in /etc/astup.ex , together with /etc/astup.ex itself, but then you may miss some updates through astup!). The best solution for configuration changes is to leave the original rc.conf alone, and create another one in the top directory of the keydisk. If such a file exists, it will be used in place of /stat/etc/rc.conf , and won't be touched by astup, and it will be able to include /stat/etc/rc.conf before overriding some of its settings to perform the desired customization. For other files, the less changes you make, the better...

Q.4 Without the changes I want to make I can't get Astlinux up and running on my system. How can I edit AstLinux rc.conf (or any other system component) before even booting up Astlinux?
If you have access to another Linux box, you can mount the filesystem inside the disk image, make your changes, umount the filesystem, and burn the flash card with the (now modified) image. For example, if the latter is named geni586.img, you may execute the following commands:


mkdir -p img
mount -t ext2 -o loop,offset=32256 geni586.img img
vi img/stat/etc/rc.conf # edit e.g. rc.conf (the "static" copy)
umount img


The offset skips the partition table and lets "mount" access the first partition.

As usual when modifying files, don't forget that an update procedure started through the command "astup" will wipe out any changes you make to the standard distribution, unless you protect the modified files by listing them in /etc/astup.ex (together with /etc/astup.ex itself!). In rc.conf's case, you'll have to protect its "static" copy, by listing "/stat/etc/rc.conf" (see question Q.3).

Q.5 How do I make Sangoma cards work?
According to Kris:

1) Copy /stat/etc/zaptel.conf.sample to /mnt/kd/zaptel.conf (or /stat/etc/zaptel.conf).

2) Edit as necessary (just like any other distro).

3) Run "wancfg" to configure the TDM voice span with Sangoma's utils. Make sure that the config option for the span number is ! = 0, otherwise you could have problems...

4) After you create the various Sangoma wanpipe configuration files, you'll need to move them to somewhere "safe" that will be remembered across reboots,since the default location is /tmp/etc/wanpipe.

 cp -r /tmp/etc/wanpipe/* /mnt/kd/wanpipe/  (alt. destination for CF users: /stat/etc/wanpipe/)

5) Edit /etc/asterisk/zapata.conf (as you normally would).

Reboot (recommended) -or-

/etc/init.d/asterisk stop
/etc/init.d/zaptel stop
/etc/init.d/wanrouter start
/etc/init.d/zaptel start
/etc/init.d/asterisk start

The key for Sangoma cards is #3. If you have Digium cards (FYI), do 1 + 2, but then also define ZAPMODS in rc.conf.



Q.6 What are all the passwords, and how do I change them?

All passwords in astlinux are "astlinux".
To change the passwords loggin onto https://{the ip address of that box} (notice the https part) and choosing the configure menu on the left, then choose "READ/WRITE" (because you'll be changing some settings)
The web password can NOW be changed in that link just above called "Change password" - This will only change the HTTPS password, and not the SSH Command line password.
Once you're in "READ/WRITE" mode you can change this by loggin on and using the "passwd" command.

Q.7 My sip.conf and extensions.conf changes don't stay even though I'm using the "READ/WRITE" mode?

This may just be me but i've noticed that even if I change the system to "READ/WRITE", (which will now let me change the permanent part of the CF image) I still would save changes to /etc/asterisk/sip.conf and have them not be there when I rebooted.
I got around this by making changes and not ONLY saving it in /etc/asterisk (so I could just reload asterisk and have them work) but also in /stat/etc/asterisk which seems to permanently save it for reboots.
This may be incorrect but it seem to do the job.


Q.7 How do I setup a static IP for my astLinux box?

Unfortunately I'm going to have to re-edit this answer because I don't have all the details, but it's all in the rc.conf file.

  • Boot the AstLinux box and log in as root.
  • Remount the root filesystem as read/write:

mount -o rw,remount /

Edit the relevant section of the /stat/etc/rc.conf file You will find a section that has the familiar IP, Subnet mask, gateway and DNS server. Once you find that uncomment all 4 lines, and put in your required info.

  • Remount the root filesystem as read only:

mount -o ro,remount /

  • Reboot the system
  

Created by Enzo Michelangeli, Last modification by rport on Wed 25 of Apr, 2007 [10:20 UTC]

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver