From: Niksa B. <nik...@lu...> - 2007-05-21 16:51:46
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello,<br> <br> what is the purpose of ISDN_MODPROBE variable? I mean, why not simply use something like this:<br> <br> if [ -f /etc/init.d/misdn-init ]<br> then<br> echo "Starting mISDN"<br> ...<br> <br> <br> Just a thought.<br> <br> <pre class="moz-signature" cols="72">Niksa Baldun </pre> <br> <br> Ingmar Schraub wrote: <blockquote cite="mid...@es..." type="cite"> <pre wrap="">Hello Jonathan, I just noticed that the asterisk startup file in the 0.4 branch does not contain the logic for mISDN to store/retrieve the configuration from the keydisk. It has been implemented already in the trunk. So do the following (well, won't work on the liveCD... but on a RW media): 1.) create the keydisk 2.) mount / with 'mount -o rw,remount /' 3.) edit /etc/rc.conf and put the following line in ISDN_MODPROBE="MISDN" 4.) edit /etc/init.d/asterisk, search for the line 'if [ "$ISDN_MODPROBE" -o "$MISDN" ]". Replace the 'if' section and delete the /etc/init.d/misdn-init config line with the following code: if [ "$ISDN_MODPROBE" -o "$MISDN" ] then echo "Starting mISDN" if [ -d /mnt/kd ] then ln -s /mnt/kd/misdn-init.conf /tmp/etc/misdn-init.conf fi if [ -r /mnt/kd/misdn-init.conf ] then echo "misdn-init.conf already exists on /mnt/kd, skipping config." else /usr/sbin/misdn-init scan /usr/sbin/misdn-init config fi /usr/sbin/misdn-init start 5.) remount RO with mount -o ro,remount / 6.) start Asterisk with "service asterisk start" The asterisk init file recognizes that you want to run mISDN and does the rest for you. If there is no mISDN config file on the key disk, it will create one for you. The next time you start Asterisk, it will check for the config file and if it exists, it won't overwrite it. I will commit a fix for this to the 0.4 branch. Hope this helps, regards, Ingmar Jonathan SEMCZYK wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi Ingmar, I used the Qemu for my first tests, it is easier to boot, modify the livecd content as needed and re-boot. And no, it does not see the PCI devices, I burnt the iso to try with my pci card ;) So I got the issue with the drivers within qemu and the misdn within my physical computer. I am using the latest livecd from sourceforge 0.4.5 . The keydisk works just fine but I did not find any misdn-init.conf on my keydisk, I modified the one in /etc/misdn-init.conf (which is a symlink to a file in /tmp/misdn-init.conf) but after a reboot it does not keep any changes. Here is where I am : If you look in the file /etc/init.d/asterisk line 86, you have this : echo "Starting mISDN" /etc/init.d/misdn-init config /etc/init.d/misdn-init start the config target for the misdn-init script rebuild the file /etc/misdn-init.conf, which is done for every reboot. I may be missing something ? Jonathan. Ingmar Schraub a écrit : </pre> <blockquote type="cite"> <pre wrap="">Hello Jonathan, I am not familiar with qemu, but does it grant you full access to PCI devices? I think, in VMware this is not possible. What version of Astlinux are you running? This information also helps others here to provide feedback. Did you create already the USB keydisk? The mISDN config file is stored on the keydisk - if the keydisk exists. regards, Ingmar Jonathan SEMCZYK wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, I already built an Asterisk box with an Ubuntu Linux and now I am trying to use AstLinux instead. I like very much the idea of using a livecd and a usbkey to save the configuration. Any of you were able to use the AstLinux LiveCD in a Qemu VM ? I cannot load the ne2k-pci driver at startup, I had to modifiy the /etc/rc script to enable the use of the AUTOMODS var. The AUTOMODS var is not read if the file /etc/rc.modules exists (which does in the livecd). I will also be unable to use my HFC-PCI card in TE mode as the configuration file is re-generated at startup. How do you use AstLinux ? Do you build your own with the build environment or use an already built LibeCD ? Thanks, Jonathan. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a> _______________________________________________ Astlinux-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ast...@li...">Ast...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/astlinux-users">https://lists.sourceforge.net/lists/listinfo/astlinux-users</a> Donations to support AstLinux are graciously accepted via PayPal to <a class="moz-txt-link-abbreviated" href="mailto:pa...@kr...">pa...@kr...</a>. </pre> </blockquote> <pre wrap=""> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a> _______________________________________________ Astlinux-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ast...@li...">Ast...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/astlinux-users">https://lists.sourceforge.net/lists/listinfo/astlinux-users</a> Donations to support AstLinux are graciously accepted via PayPal to <a class="moz-txt-link-abbreviated" href="mailto:pa...@kr...">pa...@kr...</a>. </pre> </blockquote> <pre wrap="">-- *Jonathan SEMCZYK * <a class="moz-txt-link-abbreviated" href="mailto:jse...@ac...">jse...@ac...</a> <a class="moz-txt-link-rfc2396E" href="mailto:jse...@ac..."><mailto:jse...@ac...></a> Tel: (0)3 20 28 61 65 Fax: (0)3 20 70 57 11 Acipia 50 av. Jean Lebas 59100 Roubaix Visitez notre site Web <a class="moz-txt-link-freetext" href="http://www.acipia.fr">http://www.acipia.fr</a> <a class="moz-txt-link-rfc2396E" href="http://www.acipia.fr/"><http://www.acipia.fr/></a> ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a> ------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ast...@li...">Ast...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/astlinux-users">https://lists.sourceforge.net/lists/listinfo/astlinux-users</a> Donations to support AstLinux are graciously accepted via PayPal to <a class="moz-txt-link-abbreviated" href="mailto:pa...@kr...">pa...@kr...</a>. </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a> _______________________________________________ Astlinux-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ast...@li...">Ast...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/astlinux-users">https://lists.sourceforge.net/lists/listinfo/astlinux-users</a> Donations to support AstLinux are graciously accepted via PayPal to <a class="moz-txt-link-abbreviated" href="mailto:pa...@kr...">pa...@kr...</a>. </pre> </blockquote> </body> </html> |