From: Darrick H. <dha...@dj...> - 2007-02-06 03:39:20
|
Alexander Topolanek wrote: > Hi, > > sorry to ask that, but my hair's getting grey... > > I'd like to change to te_ptp=1 in misd-init.conf, but this file in the > running system is created a new at boot. How do I find the original file > and edit it? > > thanks > Please post this on the sourceforge mailing lists. Kristian is discontinuing the old list. As far as the change, is this a typo or a configuration change? If it's a typo, we can fix it in the development environment and it will be fixed permanently when 0.4.5 is released (soon). You can manually change the init script by mounting your root system rw, editing the init script for misdn, remounting the system ro. Please clarify if this is a typo or not as isdn is not common in the US. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Ingmar S. <is...@es...> - 2007-02-06 09:11:48
|
Dear Alexander, depending on your ISDN card, mISDN can only create a default template for your configuration, when you the misdn-init script is executed. I.e. if you run one of the cheap HFC-PCI cards (about 30 Euros), this happens. If you have a Beronet 2,4,8 port card, you can at least specify nt oder te mode by setting a hardware jumper. In typical environments (te_ptmp) is is fine. That's why we made life easy for the majority of users. In your case do the following: mount -t ext2 -o rw,remount / vi /etc/init.d/asterisk search for 'misdn-init config' and comment this line out mount -t ext2 -o ro,remount / Now misdn-init config is not executed when asterisk starts and your edited misdn-init.conf file remains untouched. Note: this assumes you start your mISDN with ISDN_MODPROBE="MISDN" in rc.conf. If you have further questions, please write to ast...@li.... Darrick already explained why. Hope this helps, Ingmar Alexander Topolanek wrote: > Hi, > > sorry to ask that, but my hair's getting grey... > > I'd like to change to te_ptp=1 in misd-init.conf, but this file in the > running system is created a new at boot. How do I find the original file > and edit it? > > thanks |
From: Peter R. <pe...@ne...> - 2007-02-06 10:23:01
|
Ingmar, Darrick, Alexander, I can confirm that HFC-PCI works great also in "te_ptp" mode unfortunately I could not use soekris/astlinux because it was impossible to change it in this mode permanently via rc.conf I have to do a basic asterisk installation on another pc. I hope this problem will solved in the next release because astlinux is to good and practical especially in combination with the soekris. Kind regards, Peter Roelandts ----- Original Message ----- From: "Ingmar Schraub" <is...@es...> To: <at...@oc...> Cc: <ast...@li...> Sent: Tuesday, February 06, 2007 10:11 AM Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? > Dear Alexander, > > depending on your ISDN card, mISDN can only create a default template > for your configuration, when you the misdn-init script is executed. > > I.e. if you run one of the cheap HFC-PCI cards (about 30 Euros), this > happens. If you have a Beronet 2,4,8 port card, you can at least specify > nt oder te mode by setting a hardware jumper. > > In typical environments (te_ptmp) is is fine. That's why we made life > easy for the majority of users. > > In your case do the following: > > mount -t ext2 -o rw,remount / > vi /etc/init.d/asterisk > search for 'misdn-init config' and comment this line out > mount -t ext2 -o ro,remount / > > Now misdn-init config is not executed when asterisk starts and your > edited misdn-init.conf file remains untouched. > > Note: this assumes you start your mISDN with ISDN_MODPROBE="MISDN" in > rc.conf. > > If you have further questions, please write to > ast...@li.... Darrick already explained why. > > Hope this helps, > > Ingmar > > Alexander Topolanek wrote: > > Hi, > > > > sorry to ask that, but my hair's getting grey... > > > > I'd like to change to te_ptp=1 in misd-init.conf, but this file in the > > running system is created a new at boot. How do I find the original file > > and edit it? > > > > thanks > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > |
From: Ingmar S. <is...@es...> - 2007-02-06 11:14:22
|
Hello Peter, what is your issue that you cannot make the change for mISDN permanent? All you have to do is to modify the startup scripts. That's all easy. If you require to change a file on a ro filesystem ( / ), you just remount the filesystem to rw, make the change and go back to ro. I don't see any issue here. Many people have done this already, so you should be able to do this as well :) Only standard linux/unix knowledge is required. cheers, Ingmar Peter Roelandts wrote: > Ingmar, Darrick, Alexander, > > I can confirm that HFC-PCI works great also in "te_ptp" mode > > unfortunately I could not use soekris/astlinux because it was impossible to > change it in this mode permanently via rc.conf > > I have to do a basic asterisk installation on another pc. > > I hope this problem will solved in the next release because astlinux is to > good and practical especially in combination with the soekris. > > Kind regards, > > Peter Roelandts > > > ----- Original Message ----- > From: "Ingmar Schraub" <is...@es...> > To: <at...@oc...> > Cc: <ast...@li...> > Sent: Tuesday, February 06, 2007 10:11 AM > Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? > > >> Dear Alexander, >> >> depending on your ISDN card, mISDN can only create a default template >> for your configuration, when you the misdn-init script is executed. >> >> I.e. if you run one of the cheap HFC-PCI cards (about 30 Euros), this >> happens. If you have a Beronet 2,4,8 port card, you can at least specify >> nt oder te mode by setting a hardware jumper. >> >> In typical environments (te_ptmp) is is fine. That's why we made life >> easy for the majority of users. >> >> In your case do the following: >> >> mount -t ext2 -o rw,remount / >> vi /etc/init.d/asterisk >> search for 'misdn-init config' and comment this line out >> mount -t ext2 -o ro,remount / >> >> Now misdn-init config is not executed when asterisk starts and your >> edited misdn-init.conf file remains untouched. >> >> Note: this assumes you start your mISDN with ISDN_MODPROBE="MISDN" in >> rc.conf. >> >> If you have further questions, please write to >> ast...@li.... Darrick already explained why. >> >> Hope this helps, >> >> Ingmar >> >> Alexander Topolanek wrote: >>> Hi, >>> >>> sorry to ask that, but my hair's getting grey... >>> >>> I'd like to change to te_ptp=1 in misd-init.conf, but this file in the >>> running system is created a new at boot. How do I find the original file >>> and edit it? >>> >>> thanks >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job > easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Astlinux-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to > pa...@kr.... > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |
From: Peter R. <pe...@ne...> - 2007-02-06 11:27:54
|
Ingmar, yes, you are right but you post that solution one day to late :( in the mean time the installations is up and running :-) and maybe it is better to wait for the next release, then this value can be set the proper way ;-) For the moment my time is very limited to many projects to do heeelp :-((( anyway thanks for help, appreciate that very much ! Regards, Peter ----- Original Message ----- From: "Ingmar Schraub" <is...@es...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Tuesday, February 06, 2007 12:14 PM Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? > Hello Peter, > > what is your issue that you cannot make the change for mISDN permanent? > > All you have to do is to modify the startup scripts. That's all easy. If > you require to change a file on a ro filesystem ( / ), you just remount > the filesystem to rw, make the change and go back to ro. > > I don't see any issue here. > > Many people have done this already, so you should be able to do this as > well :) Only standard linux/unix knowledge is required. > > cheers, Ingmar > > Peter Roelandts wrote: > > Ingmar, Darrick, Alexander, > > > > I can confirm that HFC-PCI works great also in "te_ptp" mode > > > > unfortunately I could not use soekris/astlinux because it was impossible to > > change it in this mode permanently via rc.conf > > > > I have to do a basic asterisk installation on another pc. > > > > I hope this problem will solved in the next release because astlinux is to > > good and practical especially in combination with the soekris. > > > > Kind regards, > > > > Peter Roelandts > > > > > > ----- Original Message ----- > > From: "Ingmar Schraub" <is...@es...> > > To: <at...@oc...> > > Cc: <ast...@li...> > > Sent: Tuesday, February 06, 2007 10:11 AM > > Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? > > > > > >> Dear Alexander, > >> > >> depending on your ISDN card, mISDN can only create a default template > >> for your configuration, when you the misdn-init script is executed. > >> > >> I.e. if you run one of the cheap HFC-PCI cards (about 30 Euros), this > >> happens. If you have a Beronet 2,4,8 port card, you can at least specify > >> nt oder te mode by setting a hardware jumper. > >> > >> In typical environments (te_ptmp) is is fine. That's why we made life > >> easy for the majority of users. > >> > >> In your case do the following: > >> > >> mount -t ext2 -o rw,remount / > >> vi /etc/init.d/asterisk > >> search for 'misdn-init config' and comment this line out > >> mount -t ext2 -o ro,remount / > >> > >> Now misdn-init config is not executed when asterisk starts and your > >> edited misdn-init.conf file remains untouched. > >> > >> Note: this assumes you start your mISDN with ISDN_MODPROBE="MISDN" in > >> rc.conf. > >> > >> If you have further questions, please write to > >> ast...@li.... Darrick already explained why. > >> > >> Hope this helps, > >> > >> Ingmar > >> > >> Alexander Topolanek wrote: > >>> Hi, > >>> > >>> sorry to ask that, but my hair's getting grey... > >>> > >>> I'd like to change to te_ptp=1 in misd-init.conf, but this file in the > >>> running system is created a new at boot. How do I find the original file > >>> and edit it? > >>> > >>> thanks > >> ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job > > easier. > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Astlinux-users mailing list > >> Ast...@li... > >> https://lists.sourceforge.net/lists/listinfo/astlinux-users > >> > >> Donations to support AstLinux are graciously accepted via PayPal to > > pa...@kr.... > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Astlinux-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > |
From: Ingmar S. <is...@es...> - 2007-02-06 11:43:13
|
Hello Peter, we have two options for starting the mISDN subsystem: 1.) the way we do it today pro: works out of the box for most common te_ptmp installations, no knowledge about the misdn-init.conf file is required, no editing is required con: if you require a different mode, you have to edit the startup script yourself in order that the config file does not get overwritten after a reboot. 2.) we do not run misdn-init scan/config at the beginning, but put instead a misdn-init.conf template on the rw partition and users can adjust it to their needs. pro: reboot-safe, no config file editing required con: you must run 'misdn-init scan' manually before firsttime usage in order to retrieve the proper settings for your card (all cards are different...). The values of the output of the scan command must be applied properly by hand to the misdn-init.conf file. If we switch to 2.), I could imagine that other poeple complain that the template misdn-init.conf does not reflect the proper settings of their individual ISDN card(s) and they ask "what do I have to do to get it running??" (note: some people run more than one card per system or have 2+ card running with different modes applied to different ports). I still prefer the current way because all you have to do is to enable it in rc.conf and it works just great for te_ptmp scenarios. If you need advanced configuration, you should do the advanced configuration by yourself. This assume you know what you are doing and then it's an easy task. We may want to put this information on the astlinux wiki. If people can get information about how to make those changes, it would be fine. The wiki would be a great place for that. So, who wants to write it up? ;) It would be a summary of our recent few e-mails about mISDN. cheers, Ingmar Peter Roelandts wrote: > Ingmar, > > yes, you are right but you post that solution one day to late :( > > in the mean time the installations is up and running :-) > > and maybe it is better to wait for the next release, then this value can be > set the proper way ;-) > > For the moment my time is very limited to many projects to do heeelp :-((( > > anyway thanks for help, appreciate that very much ! > > Regards, > > Peter > > > > ----- Original Message ----- > From: "Ingmar Schraub" <is...@es...> > To: "AstLinux Users Mailing List" <ast...@li...> > Sent: Tuesday, February 06, 2007 12:14 PM > Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? > > >> Hello Peter, >> >> what is your issue that you cannot make the change for mISDN permanent? >> >> All you have to do is to modify the startup scripts. That's all easy. If >> you require to change a file on a ro filesystem ( / ), you just remount >> the filesystem to rw, make the change and go back to ro. >> >> I don't see any issue here. >> >> Many people have done this already, so you should be able to do this as >> well :) Only standard linux/unix knowledge is required. >> >> cheers, Ingmar >> >> Peter Roelandts wrote: >>> Ingmar, Darrick, Alexander, >>> >>> I can confirm that HFC-PCI works great also in "te_ptp" mode >>> >>> unfortunately I could not use soekris/astlinux because it was impossible > to >>> change it in this mode permanently via rc.conf >>> >>> I have to do a basic asterisk installation on another pc. >>> >>> I hope this problem will solved in the next release because astlinux is > to >>> good and practical especially in combination with the soekris. >>> >>> Kind regards, >>> >>> Peter Roelandts >>> >>> >>> ----- Original Message ----- >>> From: "Ingmar Schraub" <is...@es...> >>> To: <at...@oc...> >>> Cc: <ast...@li...> >>> Sent: Tuesday, February 06, 2007 10:11 AM >>> Subject: Re: [Astlinux-users] How do I edit a permanent misdn-init.conf? >>> >>> >>>> Dear Alexander, >>>> >>>> depending on your ISDN card, mISDN can only create a default template >>>> for your configuration, when you the misdn-init script is executed. >>>> >>>> I.e. if you run one of the cheap HFC-PCI cards (about 30 Euros), this >>>> happens. If you have a Beronet 2,4,8 port card, you can at least > specify >>>> nt oder te mode by setting a hardware jumper. >>>> >>>> In typical environments (te_ptmp) is is fine. That's why we made life >>>> easy for the majority of users. >>>> >>>> In your case do the following: >>>> >>>> mount -t ext2 -o rw,remount / >>>> vi /etc/init.d/asterisk >>>> search for 'misdn-init config' and comment this line out >>>> mount -t ext2 -o ro,remount / >>>> >>>> Now misdn-init config is not executed when asterisk starts and your >>>> edited misdn-init.conf file remains untouched. >>>> >>>> Note: this assumes you start your mISDN with ISDN_MODPROBE="MISDN" in >>>> rc.conf. >>>> >>>> If you have further questions, please write to >>>> ast...@li.... Darrick already explained why. >>>> >>>> Hope this helps, >>>> >>>> Ingmar >>>> >>>> Alexander Topolanek wrote: >>>>> Hi, >>>>> >>>>> sorry to ask that, but my hair's getting grey... >>>>> >>>>> I'd like to change to te_ptp=1 in misd-init.conf, but this file in the >>>>> running system is created a new at boot. How do I find the original > file >>>>> and edit it? >>>>> >>>>> thanks >>> ------------------------------------------------------------------------- >>>> Using Tomcat but need to do more? Need to support web services, > security? >>>> Get stuff done quickly with pre-integrated technology to make your job >>> easier. >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> Astlinux-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users >>>> >>>> Donations to support AstLinux are graciously accepted via PayPal to >>> pa...@kr.... >>> >>> >> ------------------------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, > security? >>> Get stuff done quickly with pre-integrated technology to make your job > easier. >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Astlinux-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/astlinux-users >>> >>> Donations to support AstLinux are graciously accepted via PayPal to > pa...@kr.... >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job > easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Astlinux-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to > pa...@kr.... > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |
From: Ingmar S. <is...@es...> - 2007-02-06 10:13:05
|
Hi Alexander, nice to hear that it is working now for you. Regarding the autoguessing init script: complain to Beronet ;) They developed it, it's part of mISDN. However, I think, it is useful to get started. Once someone is more familiar, he can poke around in the config files/scripts and adjust them as needed. That's what you have done just now ;) regards Ingmar > Personally I do not like autoguessing init scripts :) > > thanks anyway > > |