All, I'm having a heck of a time getting hdlc to work on kernel 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the kernel (note into, and not 'modules'). System comes up, I configured zaptel.conf span=1,0,0,esf,b8zs nethdlc=1-24 modprobe wct4xxp ztcfg sethdlc hdlc0 cisco ifconfig hdlc0 up All of this works fine, believe it or not. I have a T1 cross plugged into a cisco 2600 using out of the box configuration. I cannot get line protocol to come up on the cisco. Suggestions? Also, doing a ifconfig hdlc0 down does a core dump of the kernel, lol. Is this normal? I'm using sethdlc 1.15 as mentioned in the wiki instructions.
Matt Schulte wrote:> All, > > I'm having a heck of a time getting hdlc to work on kernel > 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the > kernel (note into, and not 'modules'). > > System comes up, I configured zaptel.conf > > span=1,0,0,esf,b8zs > nethdlc=1-24 > > modprobe wct4xxp > ztcfg > > sethdlc hdlc0 cisco > ifconfig hdlc0 up > > All of this works fine, believe it or not. I have a T1 cross plugged > into a cisco 2600 using out of the box configuration. I cannot get line > protocol to come up on the cisco. Suggestions? Also, doing a ifconfig > hdlc0 down does a core dump of the kernel, lol. Is this normal? > > I'm using sethdlc 1.15 as mentioned in the wiki instructions.Matt, Normal, yes, good, no. I have experienced the exact same behavior on a number of machines, and so have many others. The certainly seems to be in zaptel (zt_net_stop, if I recall), but I don't know if it is "priority" or not... -- Kristian Kielhofner
Ok, thanks for the info.. What about the other problem(s) I'm having? Any thoughts? Matt -----Original Message----- From: Kristian Kielhofner [mailto:kris@krisk.org] Sent: Tuesday, August 23, 2005 1:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) Matt Schulte wrote:> All, > > I'm having a heck of a time getting hdlc to work on kernel > 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the > kernel (note into, and not 'modules'). > > System comes up, I configured zaptel.conf > > span=1,0,0,esf,b8zs > nethdlc=1-24 > > modprobe wct4xxp > ztcfg > > sethdlc hdlc0 cisco > ifconfig hdlc0 up > > All of this works fine, believe it or not. I have a T1 cross plugged > into a cisco 2600 using out of the box configuration. I cannot get > line protocol to come up on the cisco. Suggestions? Also, doing a > ifconfig hdlc0 down does a core dump of the kernel, lol. Is thisnormal?> > I'm using sethdlc 1.15 as mentioned in the wiki instructions.Matt, Normal, yes, good, no. I have experienced the exact same behavior on a number of machines, and so have many others. The certainly seems to be in zaptel (zt_net_stop, if I recall), but I don't know if it is "priority" or not... -- Kristian Kielhofner _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Tue, Aug 23, 2005 at 11:47:19AM -0500, Matt Schulte wrote:> I'm having a heck of a time getting hdlc to work on kernel > 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the > kernel (note into, and not 'modules').Kevin can correct me if I got this wrong, but IIRC, he noticed this problem and traced something similar to this back to the cisco hdlc encapsulation layer in the kernel. For some reason, his version of the kernel (I think it was 2.6.12) had problems with the cisco encapsulation. Try a different version of the kernel and see if that works. -- Matthew Fredrickson
I see, any suggestions if he went up or down in version? Matt -----Original Message----- From: Matt Fredrickson [mailto:creslin@digium.com] Sent: Tuesday, August 23, 2005 4:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) On Tue, Aug 23, 2005 at 11:47:19AM -0500, Matt Schulte wrote:> I'm having a heck of a time getting hdlc to work on kernel > 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the > kernel (note into, and not 'modules').Kevin can correct me if I got this wrong, but IIRC, he noticed this problem and traced something similar to this back to the cisco hdlc encapsulation layer in the kernel. For some reason, his version of the kernel (I think it was 2.6.12) had problems with the cisco encapsulation. Try a different version of the kernel and see if that works. -- Matthew Fredrickson _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
I am running Kernal 2.4.21-27.0.1.EL shafqat -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Schulte Sent: Wednesday, August 24, 2005 6:20 AM To: Asterisk Users Mailing List - Non-Commercial Discussion; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) I see, any suggestions if he went up or down in version? Matt -----Original Message----- From: Matt Fredrickson [mailto:creslin@digium.com] Sent: Tuesday, August 23, 2005 4:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) On Tue, Aug 23, 2005 at 11:47:19AM -0500, Matt Schulte wrote:> I'm having a heck of a time getting hdlc to work on kernel > 2.6.11.9 .. I compiled hdlc, hdlc_gen, hdlc_cisco, hdlc_raw, into the > kernel (note into, and not 'modules').Kevin can correct me if I got this wrong, but IIRC, he noticed this problem and traced something similar to this back to the cisco hdlc encapsulation layer in the kernel. For some reason, his version of the kernel (I think it was 2.6.12) had problems with the cisco encapsulation. Try a different version of the kernel and see if that works. -- Matthew Fredrickson _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Forgive my ignorance, what encapsulation would you use on the ISP end of the T1? This is for data also, correct? -----Original Message----- From: Kevin P. Fleming [mailto:kpfleming@digium.com] Sent: Wednesday, August 24, 2005 2:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) Matt Schulte wrote:> I see, any suggestions if he went up or down in version?I could not make it work with 2.6.12.3/4/5, so I switched to 'raw' (no encapsulation) and it's worked beautifully since then. This is not an option for you if you need to run protocols other than IP or if you need to connect to another device that demands Cisco encapsulation, but if you control both ends it's a better choice since it's more efficient as well. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Matt Schulte wrote:> Forgive my ignorance, what encapsulation would you use on the ISP end of > the T1? This is for data also, correct?This is only relevant for data. The ISP end is no different from the client end; the same encapsulation has to be used on both ends.
Oh meaning it won't work w/ a Cisco? :-) -----Original Message----- From: Kevin P. Fleming [mailto:kpfleming@digium.com] Sent: Thursday, August 25, 2005 11:28 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] HDLC/Zaptel/Kernel 2.6.11(.9) Matt Schulte wrote:> Forgive my ignorance, what encapsulation would you use on the ISP end > of the T1? This is for data also, correct?This is only relevant for data. The ISP end is no different from the client end; the same encapsulation has to be used on both ends. _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users