Dual Channel ISDN on Linux? 14
Dionysus asks:
"I have a 3ComImpact IQ connected to my
serial port. Right now I'm only using 1
channel. How can I make it use both channels?
I looked at isdn4linux, and it seems that
one channel is all I can get. I don't have
this problem in Win98 nor in OS/2. Please
help."
background on ISDN support (Score:1)
Now, there seems to be a little confusion as to what is what in the ISDN support for Linux and FreeBSD.
isdn4Linux/isdn4bsd are drivers for passive ISDN devices. These are adapter cards that just pass bits to the telco switch over your ISDN line. The driver must support the switch's protocol. The code at this point only supports euro-ISDN compliant switches. Most US telcos have Nortel or AT&T 5ESS. The FCC forbids you to crash your telco's switch by using incompatible (unapproved/nonconforming) protocol. If AT&T or Nortel release protocol specs without nondisclosure, then we can have open source passive ISDN drivers. Until then, we are SOL.
ISDN "modems" are drop-in replacements for analog modems. They have firmware to handle call setup and other D-channel protocol, and they emulate asynchronous modem operation over one (or more if it has MP PPP support) B channels. If you have an external unit, you will not be able to use the full dual-channel BRI bandwidth without a special serial port adapter that supports 230Kbps. Some internal ISDN modems support 230Kbps DTE speeds. You will need the same kind of software setup as you would need for a modem.
ISDN bridges and routers are external boxes that usually have one or more ethernet interfaces and an ISDN interface. They will usually do DHCP/bootp, NAT, protocol (IPX/SPX) tunnelling and some rudimentary firewalling. They will usually support multiple ethernet hosts connecting to a gateway machine across the ISDN. Setting these up requires an ethernet and maybe a crossover cable. The device itself requires a serial console device like a null-modem cable and a terminal emulator program to configure it. After that, these can usually be administered remotely via telnet or web browser.
firmware (Score:1)
I run MacOS and mkLinux - I set up the modem with the modem setup program (tollsaver, 2 channel) under MacOS. It seems to set the defaults in the firmware, thus no need for a special init string.
In my case, I never had to specify an init string...
-Josh
Dual channel is quite possible. (Score:1)
I currently have a ZyXEL omni.net plus using both channels under linux. But when I first got it I had a little trouble figuring it out.
Here is what I had to do. First you have to use the modem's built in capability to communicate by MPP, or multi-point PPP. Set the second channel call on the isdn TA real low so it will try to make the second channel bond with very little traffic.
In pppd land use PAP or CHAP to authenticate with your ISP. Then you should be off to the races.
Doing all this will require you to spend some quality time with your isdn TA's manual since you will have to figure out the initialization string to get it to work. And there is no standard for isdn TA's so my string may mean nothing to your isdn TA.
But just so you can get an idea of what I mean I will include it and break it down for you.
AT&E1S83.7=1&K44BP1&J3
The AT you should already be familiar with. &E1 tells the modem to operate at 56k (because my telco doesn't provide a d channel). S83.7=1 sets the isdn's "Speech Bearer service" this is handy for getting a lower rate on calls if your telco operatest this way. &K44 sets compression on, I personally don't get much out of this, YMMV. BP1 is very important, make sure you find the equivalent for your TA, it enables bandwidth allocation protocol which is what your TA is going to use with your ISP's equivalent to get two channels to bond. &J3 enables multilink PPP.
So to summarize, make sure you are using multilink PPP and that your TA is able to use the Bandwidth Allocation Protocol. Do not use v.120 to connect, use PPP. v.120 is a very loose standard and many ISP dial-in boxes will not support channel bonding in this protocol. Then finally use PAP/CHAP to authenticate in pppd scripts. Read the PPP Howto on how to do that.
This is no gauranteed fix for you but I wanted to let you know it is very possible to bond both channels of ISDN using linux to achieve 115kbps or more.
MLPPP under Linux (Score:1)
using the older version of the TA that you have - the 3com Impact.
It turned out that I wasn't using PAP authentication. I've heard that PAP is part of the MLPPP spec, and unless you authenticate using PAP, the modem won't know that you want MLPPP, hence, only one channel. All I had to do was make sure I
had pppd doing PAP, and bingo...
However, I had a helluva time getting pppd to authenticate using PAP. Enable debugging so you can see all the LCP negotiation.
Dream
It ain't software (Score:1)
If it's not the init string, it may well be your ISP's end. I know that the PortMaster 3 (and probably most work-alikes) will dump the second channel until you get authorized, and won't pick it back up unless the ISP's RADIUS record says you're allowed multiple simultaneous ports.
I spent a good 24 hours staring at pppd, isdn4linux, and the associated kernel stuff a few months ago trying to figure out why I couldn't get both channels of my ISDN line connected, at the urging of my ISP's "technical staff". Once I read up a little on the equipment they were using, I figured the problem out. It only took another couple of days to convince them that it really was their problem.
Just 'cuz they do it for a living doesn't mean they don't make mistakes, no matter how hard they protest otherwise.
Init string for Impact IQ (Score:1)
ATS60=56S61=1S70=0S71=1S80=1
S71 is the key here, so if I want single channel, I use this:
ATS60=56S61=1S70=0S71=0S80=1
Note that this is for a 56/112Kbps ISP, if you've got 64/128Kbps some of your settings may be different.
init string (Score:1)
Re:Init string for Impact IQ (Score:1)
3com impact iq (Score:1)
3com impact iq (Score:1)
"" "AT E0 V1 &D=2 &C=1 S0=0" OK "ATS84=0" OK
change the ATS84 to equal 1 for PAP.
Thats all.
Diamond Supra NetCommander? (Score:1)
Pointer
Hints (Score:1)
And it works for me for 128k ISDN.