Linux Fedora


This page has moved


Please make Asterisk specific updates to Asterisk Linux Fedora instead.

This page will contain general Fedora Linux information


For packages see ATrpms


Asterisk on Fedora


Some users on the mailing list asterisk-users have reported successful installation.
According to Greg Boehnlein <damin@nacs.net> to properly build Asterisk on Fedora Core 1, you must make sure that you install the "m4", "bison" and "yacc" RPMS.

RPMS for Fedora Core 1 can be downloaded from: ftp://ftp.nacs.net/asterisk

These packages don't seem to be enough. export LD_ASSUME_KERNEL=2.4.1 is said to be needed.
But, sadly enough, not here. So any fedora + asterisk info is appreciated..
Kernel panic is occuring right after starting asterisk.


Asterisk works perfectly on Fedora Core 1 using the SERVER installation. No other packages are necessary.


How about the ZAPTEL driivers ? I seem to have major problems trying to compile.
rpm -U --oldpackage bison-1.35-6.i386.rpm seemed to fix all of my problems


Scott Stingel http://www.evtmedia.com writes:
Asterisk seems to run fine under Fedora 1. No additional packages are needed. Just make sure to specify a "custom" installation and select the following packages from the list presented, and you'll be covered:

  • Editors
  • Development Tools
  • Kernel Development
  • Administration Tools
  • System Tools

Also, LD_ASSUME_KERNEL=2.4.1, needed under Redhat 9 for AGI's to work properly, does not seem to be needed under Fedora Core 1


Fedora Core 2


RPMS for Fedora Core 2 can be downloaded from: http://atrpms.net/dist/fc2/asterisk/ and http://apt.kspei.com/fedora/2/i386/RPMS.kspei/

Compiling Zaptel with the FC2 2.6.5 kernel requires a few files that are auto generated by the Makefile.
The complete directions to set up your source tree are thus:

cd /usr/src (or make sure you are in your source directory)
cp configs/config-for-my-kernel .config
make oldconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts

A pain in the butt but at least you only have to do this once after installing a new kernel-source RPM.

A posting by Dan Davis (asterisk-dev@lists.digium.com) on the Asterisk Developers Mailing List:
"Fedora Core Two will work if you update with the new Fedora . = Simply follow the instructions in README.Linux26"

Fedora 2 worked for me: running "yum update all" post installation currently updates to Fedora Core 2, 2.6.8-1.521.
Installing the latest version of bri-stuff from the junghanns download page (not linked to currently from the front page) runs smoothly if you are using ISDN2/basic rate ISDN. It then downloads the latest asterisk version, and has been updated to use a stable release not CVS. I kept getting type errors whilst using the bri-stuff installation scripts and zaphfc wouldn't install: then I realised that I hadn't included the patch package within my installation, and bri-stuff was looking for a definition which hadn't been patched in to the code. My advice is don't cut back on the packages you install, but make sure the services you don't need are turned off via chkconfig.

Instructions for getting zaptel to work with Fedora Core 2 using 2.6.7 kernel:
Getting asterisk to work on fedora core 2 is no problem. But getting zaptel to work is another issue.
The kernel (2.6.5) source code provided with Fedora Core 2 is missing some auto-generated components. I found that the easiest way to get around all those issues was to download a new kernel source code like 2.6.7 from http://www.kernel.org.

Here is the procedure:
  • 1-Grab the 2.6.7 kernel source code and untar it (do not untar it in /usr/src, this is a very bad practice)
  • 2-Copy the .config file from the default /usr/src/linux-2.6.5-1.358 into the 2.6.7 source code directory.
  • 3-type; make menuconfig and make the necessary change for your hardware configuration. You could just leave it as it is as the default Fedora Core 2 contains everything. But having so much stuff in means much longer compilation time! Quit and save the .config file
  • 4-Compile and install your kernel as describe there: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
  • 5-Create a link linux-2.6 to your 2.6.7 linux kernel directory in /usr/src; something like:
ln -s /data/work/src/linux-2.6.7 /usr/src/linux-2.6
  • 6-Reboot with the new kernel
  • 7-Get the latest asterisk, libpri and zaptel source code from the digium CVS directory
  • 8-Go into the zaptel directory and type:
>make clean
>make linux26
>make install
>make config
  • 9-Edit the file /etc/init.d/zaptel and replace all:
insmod with modprobe
and rmmod with modprobe -r

That's it. Make sure it works by starting the script
/etc/init.d/zaptel start
doing lsmod should show the wcfxs and zaptel module being installed. then install and run asterisk as usual.

Hope all of this help, Jean-Yves

addon:
If you get errors after modprobe zaptel before compiling zaptel try with this (symbolic link to /lib/...):
cd /usr/src/
ln -s /lib/modules/2.6.5-1.358/build linux-2.6

then:
cd zaptel
make clean
make linux26

After that i had working zaptel on fedora core 2
Goran.skular(at)slsolucije.hr or goran.skular(at)migo-systems.com

See also: Zatptel Installation Instructions

Fedora II Package requirement


I suceessully install asterisk on Fedora core II (no zap hardware) using the following options

Using a custom option, I selected the following

  • Editors : (just to get vim)
  • Text based internet : selected Lynx (web browser) from the list
  • sound and vision : no options selected, just selected the category to add sox
  • mail server : no option selected, just wanted Sendmail
  • SQL-Database : Just selected MySQL server
  • Development tools : added cvs
  • Kernel Development : no option selected, just wanted kernel-source

with these options I was able to make, and install asterisk but it failed with MySQL options

I downloaded and installed MySQL-devel and this allowed me to compile with MySQL options.


  • Asterisk | (asterisk FAQ|FAQ)) | Asterisk lOS Platforms


This page has moved


Please make Asterisk specific updates to Asterisk Linux Fedora instead.

This page will contain general Fedora Linux information


For packages see ATrpms


Asterisk on Fedora


Some users on the mailing list asterisk-users have reported successful installation.
According to Greg Boehnlein <damin@nacs.net> to properly build Asterisk on Fedora Core 1, you must make sure that you install the "m4", "bison" and "yacc" RPMS.

RPMS for Fedora Core 1 can be downloaded from: ftp://ftp.nacs.net/asterisk

These packages don't seem to be enough. export LD_ASSUME_KERNEL=2.4.1 is said to be needed.
But, sadly enough, not here. So any fedora + asterisk info is appreciated..
Kernel panic is occuring right after starting asterisk.


Asterisk works perfectly on Fedora Core 1 using the SERVER installation. No other packages are necessary.


How about the ZAPTEL driivers ? I seem to have major problems trying to compile.
rpm -U --oldpackage bison-1.35-6.i386.rpm seemed to fix all of my problems


Scott Stingel http://www.evtmedia.com writes:
Asterisk seems to run fine under Fedora 1. No additional packages are needed. Just make sure to specify a "custom" installation and select the following packages from the list presented, and you'll be covered:

  • Editors
  • Development Tools
  • Kernel Development
  • Administration Tools
  • System Tools

Also, LD_ASSUME_KERNEL=2.4.1, needed under Redhat 9 for AGI's to work properly, does not seem to be needed under Fedora Core 1


Fedora Core 2


RPMS for Fedora Core 2 can be downloaded from: http://atrpms.net/dist/fc2/asterisk/ and http://apt.kspei.com/fedora/2/i386/RPMS.kspei/

Compiling Zaptel with the FC2 2.6.5 kernel requires a few files that are auto generated by the Makefile.
The complete directions to set up your source tree are thus:

cd /usr/src (or make sure you are in your source directory)
cp configs/config-for-my-kernel .config
make oldconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts

A pain in the butt but at least you only have to do this once after installing a new kernel-source RPM.

A posting by Dan Davis (asterisk-dev@lists.digium.com) on the Asterisk Developers Mailing List:
"Fedora Core Two will work if you update with the new Fedora . = Simply follow the instructions in README.Linux26"

Fedora 2 worked for me: running "yum update all" post installation currently updates to Fedora Core 2, 2.6.8-1.521.
Installing the latest version of bri-stuff from the junghanns download page (not linked to currently from the front page) runs smoothly if you are using ISDN2/basic rate ISDN. It then downloads the latest asterisk version, and has been updated to use a stable release not CVS. I kept getting type errors whilst using the bri-stuff installation scripts and zaphfc wouldn't install: then I realised that I hadn't included the patch package within my installation, and bri-stuff was looking for a definition which hadn't been patched in to the code. My advice is don't cut back on the packages you install, but make sure the services you don't need are turned off via chkconfig.

Instructions for getting zaptel to work with Fedora Core 2 using 2.6.7 kernel:
Getting asterisk to work on fedora core 2 is no problem. But getting zaptel to work is another issue.
The kernel (2.6.5) source code provided with Fedora Core 2 is missing some auto-generated components. I found that the easiest way to get around all those issues was to download a new kernel source code like 2.6.7 from http://www.kernel.org.

Here is the procedure:
  • 1-Grab the 2.6.7 kernel source code and untar it (do not untar it in /usr/src, this is a very bad practice)
  • 2-Copy the .config file from the default /usr/src/linux-2.6.5-1.358 into the 2.6.7 source code directory.
  • 3-type; make menuconfig and make the necessary change for your hardware configuration. You could just leave it as it is as the default Fedora Core 2 contains everything. But having so much stuff in means much longer compilation time! Quit and save the .config file
  • 4-Compile and install your kernel as describe there: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
  • 5-Create a link linux-2.6 to your 2.6.7 linux kernel directory in /usr/src; something like:
ln -s /data/work/src/linux-2.6.7 /usr/src/linux-2.6
  • 6-Reboot with the new kernel
  • 7-Get the latest asterisk, libpri and zaptel source code from the digium CVS directory
  • 8-Go into the zaptel directory and type:
>make clean
>make linux26
>make install
>make config
  • 9-Edit the file /etc/init.d/zaptel and replace all:
insmod with modprobe
and rmmod with modprobe -r

That's it. Make sure it works by starting the script
/etc/init.d/zaptel start
doing lsmod should show the wcfxs and zaptel module being installed. then install and run asterisk as usual.

Hope all of this help, Jean-Yves

addon:
If you get errors after modprobe zaptel before compiling zaptel try with this (symbolic link to /lib/...):
cd /usr/src/
ln -s /lib/modules/2.6.5-1.358/build linux-2.6

then:
cd zaptel
make clean
make linux26

After that i had working zaptel on fedora core 2
Goran.skular(at)slsolucije.hr or goran.skular(at)migo-systems.com

See also: Zatptel Installation Instructions

Fedora II Package requirement


I suceessully install asterisk on Fedora core II (no zap hardware) using the following options

Using a custom option, I selected the following

  • Editors : (just to get vim)
  • Text based internet : selected Lynx (web browser) from the list
  • sound and vision : no options selected, just selected the category to add sox
  • mail server : no option selected, just wanted Sendmail
  • SQL-Database : Just selected MySQL server
  • Development tools : added cvs
  • Kernel Development : no option selected, just wanted kernel-source

with these options I was able to make, and install asterisk but it failed with MySQL options

I downloaded and installed MySQL-devel and this allowed me to compile with MySQL options.


  • Asterisk | (asterisk FAQ|FAQ)) | Asterisk lOS Platforms

Created by: JustRumours, Last modification: Fri 01 of Jun, 2012 (04:30 UTC) by admin
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+