AstLinux FAQ

Business PBX Solutions
Provider Solution Details
Bicom VoIP Become an ITSP Now!
  • Become a serious competitor in VoIP Immediately
  • FULL Consultancy, Installation, Training & Support
  • Sell Hosted IP PBXs, Biz Lines, Call Centre
  • Turnkey Provisioning at your data center
Details
3CX Software PBX for Windows
  • Windows Software Solution
  • Easy to Install and Manage
  • Auto Configures Phones & Trunks
  • Android, iOS, Windows & Mac clients
Details
VoIP Hardware Solutions
Provider Solution Details
VoIP Hardware Zycoo UC Solutions
  • Modular Design IP PBX for SMB
  • Remote office Centralized Management solution
  • 3rd party app integration, Enterprise Billing, Android & iOS client
Details
20 January 2010
Astlinux has now reached version 0.7. These voip-info.org pages are therefore extremely out-of-date. Please refer to the official Astlinux site:

http://www.astlinux.org/

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


20 January 2010
Astlinux has now reached version 0.7. These voip-info.org pages are therefore extremely out-of-date. Please refer to the official Astlinux site:

http://www.astlinux.org/

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, Last modification: Wed 20 of Jan, 2010 (17:39 UTC) by tomchadwin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+