Re: ISDN Support

1997-04-23 Thread Richard Sharman
Dave Cinege writes:
  On 21 Apr 1997 03:58:51 -, Richard Sharman wrote:
  Dave Cinege writes:
...
Aaaa! And you are using this with linux? Are you sure it is opening 
the 
16650 at 230K?

  Well, I *think* so.  How can I tell?  I use setserial with spd_cust
  and a divisor of 1 with the card jumpered to a base of 3.6864 Mhz;
  this is supposed to produce 230.4K.  Before doing that, using spd_vhi
  giving 115000 bps I tell the Bitsurf the speed is now 230400.  I then
  switch speeds and the bitsrfr responds.  It no longer talks to me if I
  talk to it at 115000.  In fact, it often resets when I do.
  
  Hmmm, this doesn't sound right. Sorry but this is getting beyond my 
  knowledge. I've never even used spd optionsmy file looks like this:
  
  STD_FLAGS=session_lockout ^fourport
  SETSERIAL=/bin/setserial
  
  echo -n Configuring serial ports
  
  ${SETSERIAL} -b  /dev/ttyS0 uart 16550A port 0x3F8 irq 4 ${STD_FLAGS}
  ${SETSERIAL} -b  /dev/ttyS1 uart 16550A port 0x2F8 irq 3 ${STD_FLAGS}
  
  ${SETSERIAL} -bg /dev/ttyS*
  
  In ppp.options_out I just set a rate of 115200 and everything seems to work 
  fine with my modem. I assumed all you would have to do is change the rate in
  this file to 230400.
  
  Anybody know whats going on here? 
  
  I'm certainly interested because I intend to be getting a byte runner 16650 
  card and ISDN TA in a about a week.
  

I didn't think that the speed parameter actually did anything in pppd.
A quick look at the code shows that it seems to actually set the speed.
I tried changing it to 23.  It didn't produce any error (nor log),
but the ip-up script was now called with $3 (the speed) of 0, prevoiusly
it was 38400.  Actually, it's not that simple.  I'm using diald, so
the speed is specified as a diald option not a pppd option.

The documentation from Byte Runner is a bit skimpy on details (but at
least they did have a Linux directory on their disk,  containing a
recent version of setserial).

This is what I found from experimenting,  in case it helps.  If anyone
knows anything different, plesae let me know.  Assuming you have the
card jumped to the middle base frequency (3.6874 MHz), then:

- if you DON'T set the baud_base parameter on setserial
  - setting the speed with stty of N gives you 2*N,  e.g. an
stty 9600  /dev/ttyS2 gives a speed of 19200.

- if you DO set baud_base to 230400 with setsetserial, then
   what you set with stty is what you get.

So one method of getting the card to be 230400 is to leave baud_base
at its default of 115200,  do a setserail spd_vhi and use 38400 as the
speed.

However,  if you want any other speed you have to remember to half the
value!

Alternatively,  if you set baud_base to 230400 then speed up to 38400
are ok as is,  spd_vhi give you 115200.   To get 230400,  you have to
(I think!) use spd_cust and set the divisor to 1.

It seemed to me that if you want to go lower and use something other
than spd_cust you must also set divisor to 0.  It seems that if the
divisor is non zero this overrides everything else.

Richard


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-21 Thread Richard Sharman
Dave Cinege writes:
  
  Until recently I just used the built-in serial ports, which are 16650a
  limited to 115000 bps.  I have recently bought a Byte Runner card and
  am talking to the Bitsurfr at 230400 bps.  Have I noticed a big
  
  Aaaa! And you are using this with linux? Are you sure it is opening the 
  16650 at 230K?
  
  difference?  No.  I've started trying some tests, and will switch back
  to 115000 and see if it I can measure any difference.  There are
  typically delays at so many points its hard to get consistent results.
  Subjectively (very!) 2 channels are faster than 1, but not twice as
  fast.
  
  They sure aremaybe the serial ISN'T opening past 115K.
  

Well, I *think* so.  How can I tell?  I use setserial with spd_cust
and a divisor of 1 with the card jumpered to a base of 3.6864 Mhz;
this is supposed to produce 230.4K.  Before doing that, using spd_vhi
giving 115000 bps I tell the Bitsurf the speed is now 230400.  I then
switch speeds and the bitsrfr responds.  It no longer talks to me if I
talk to it at 115000.  In fact, it often resets when I do.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-21 Thread Dave Cinege
On 21 Apr 1997 03:58:51 -, Richard Sharman wrote:

Dave Cinege writes:
  
  Until recently I just used the built-in serial ports, which are 16650a
  limited to 115000 bps.  I have recently bought a Byte Runner card and
  am talking to the Bitsurfr at 230400 bps.  Have I noticed a big
  
  Aaaa! And you are using this with linux? Are you sure it is opening the 
  16650 at 230K?
  
  difference?  No.  I've started trying some tests, and will switch back
  to 115000 and see if it I can measure any difference.  There are
  typically delays at so many points its hard to get consistent results.
  Subjectively (very!) 2 channels are faster than 1, but not twice as
  fast.
  
  They sure aremaybe the serial ISN'T opening past 115K.
  

Well, I *think* so.  How can I tell?  I use setserial with spd_cust
and a divisor of 1 with the card jumpered to a base of 3.6864 Mhz;
this is supposed to produce 230.4K.  Before doing that, using spd_vhi
giving 115000 bps I tell the Bitsurf the speed is now 230400.  I then
switch speeds and the bitsrfr responds.  It no longer talks to me if I
talk to it at 115000.  In fact, it often resets when I do.

Hmmm, this doesn't sound right. Sorry but this is getting beyond my 
knowledge. I've never even used spd optionsmy file looks like this:

STD_FLAGS=session_lockout ^fourport
SETSERIAL=/bin/setserial

echo -n Configuring serial ports

${SETSERIAL} -b  /dev/ttyS0 uart 16550A port 0x3F8 irq 4 ${STD_FLAGS}
${SETSERIAL} -b  /dev/ttyS1 uart 16550A port 0x2F8 irq 3 ${STD_FLAGS}

${SETSERIAL} -bg /dev/ttyS*

In ppp.options_out I just set a rate of 115200 and everything seems to work 
fine with my modem. I assumed all you would have to do is change the rate in
this file to 230400.

Anybody know whats going on here? 

I'm certainly interested because I intend to be getting a byte runner 16650 
card and ISDN TA in a about a week.



Dave 'Kill a Cop' Cinege  (aka Psychopath #3)  ---  Super Genius at Large
The Oklahoma City Federal building bombing - 
Americas first response to government abuse 

http://www.psychosis.com/

Libertarian Party 1-800-682-1776http://www.lp.org/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-20 Thread Richard Sharman
Kevin Traas writes:
   I have a Motorola Bitsurfr Pro (external).  It works fine under Linux;
   it looks like a modem.  (It has a zillion AT commands.)
   
  Thanks for the info.  Just a couple of questions grin
  
  What type of serial port do you have?  16550?  How fast are you running the
  serial connection?   Higher than 115,200bps?  Do you connect at 64K or 128K
  or either?
  
(Apologies if I should have replied privately rather than following up.
I'm not sure if anyone else on this list is interested...)

Until recently I just used the built-in serial ports, which are 16650a
limited to 115000 bps.  I have recently bought a Byte Runner card and
am talking to the Bitsurfr at 230400 bps.  Have I noticed a big
difference?  No.  I've started trying some tests, and will switch back
to 115000 and see if it I can measure any difference.  There are
typically delays at so many points its hard to get consistent results.
Subjectively (very!) 2 channels are faster than 1, but not twice as
fast.

When I connect to work I always use 2 channels (if I can, sometimes it
only connects with 1; I'm not sure why).  Since when connecting to my
ISP I have to pay per-channel per-time I often connect with just 1
channel.  Since I have a static address and ISDN connect time is quite
fast compared with an analog I can disconnect and reconnect
differently (e.g. to download a large file I might switch to 2-channel
operation).  My connect file sees if a specific file exists, and based
on that connects with 1 or 2 channels.

From what I have read, an ISDN router is a much nicer route to go,
but costs more;  at least 50% more and up (way up).

The Linux Journal usually has an ad for an internal ISDN board
with drivers for Linux;  Spellcaster -  http://spellcast.com .

 Canada probably has a National ISDN protocol of it's own
No, I don't think so.  I live in Canada and my Bitsurfr is working!
Actually,  there is one model of Bitsurfr for Canada/US,  and another
for elsewhere (or is it just Europe?  I'm not sure).


 One thing I'm interested in is configuring things so that I can
 establish a 1 or 2 B channel connection on demand.  My ISP supports
 Multilink PPP; therefore, I'd like to set things up so that if I
 know I'm going to be needing all the bandwidth I can get, I'll
 establish the connection using the two B channels. 


I think many routers can change 1 or 2 operations on the fly, but I'm
not sure.  An ISDN-card might let you (especially if you had the
source to the driver!!!).   


 (It would be great if the Linux box could be set to timeout after a
 period of bandwidth saturation, drop the single B channel
 connection, and then reconnect using both B channels)

You might be able to hack diald to do this.  However, if your ISP
assigns you a dynamic IP address you might run into problems.  With a
static IP address you can drop the connection and call back (within a
limited time) and still talk to the telnet or ftp session.  With a
dynamic address the other end would think you were a different person
and so you'd lose your connection.  I think.

Richard.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-20 Thread Richard Sharman
Oops!  I wrote
  
  The Linux Journal usually has an ad for an internal ISDN board
  with drivers for Linux;  Spellcaster -  http://spellcast.com .

That should have been http://www.spellcast.com/

I don't know anything about the card,  but they do support Linux:

From their web page:

  November 6/96 -- SpellCaster ISDN adapter drivers to be added to Linux
  2.1.X kernel release. SpellCaster Telecommunications Inc. is today
  announcing that it's ISDN4Linux based driver is being added to the growing
  list of drivers shipping with the Linux 2.1.X development kernel release. We
  are proud to support and participate in the Linux project and are excited
  about this event.

  November 4


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-20 Thread Dave Cinege


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-20 Thread Dave Cinege
On 20 Apr 1997 04:49:53 -, Richard Sharman wrote:

Kevin Traas writes:
   I have a Motorola Bitsurfr Pro (external).  It works fine under Linux;
   it looks like a modem.  (It has a zillion AT commands.)
   
  Thanks for the info.  Just a couple of questions grin
  
  What type of serial port do you have?  16550?  How fast are you running the
  serial connection?   Higher than 115,200bps?  Do you connect at 64K or 128K
  or either?
  
(Apologies if I should have replied privately rather than following up.
I'm not sure if anyone else on this list is interested...)

Until recently I just used the built-in serial ports, which are 16650a
limited to 115000 bps.  I have recently bought a Byte Runner card and
am talking to the Bitsurfr at 230400 bps.  Have I noticed a big

Aaaa! And you are using this with linux? Are you sure it is opening the 
16650 at 230K?

difference?  No.  I've started trying some tests, and will switch back
to 115000 and see if it I can measure any difference.  There are
typically delays at so many points its hard to get consistent results.
Subjectively (very!) 2 channels are faster than 1, but not twice as
fast.

They sure aremaybe the serial ISN'T opening past 115K.


--
Elite MicroComputers   908-541-4214  http://www.psychosis.com/emc/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-20 Thread Dave Cinege
On Sat, 19 Apr 1997 13:03:21 -0700, Kevin Traas wrote:

 We ended
 up getting a Zyxel TA128U. It's an external and we're only using one
 channel and it works just fine. Any external should work as long as
 it supports PPP Sync-to-Async conversion. You just set up a dial
 script and once you get CONNECT you return from the chat script
 and off it goes. It works flawlessly for us here and I see up to
 6.5KB/sec transfer rates (one B channel, not two). 

Thanks for the info.  One thing I'm interested in is configuring things so
that I can establish a 1 or 2 B channel connection on demand.  My ISP
supports Multilink PPP; therefore, I'd like to set things up so that if I
know I'm going to be needing all the bandwidth I can get, I'll establish
the connection using the two B channels.  (It would be great if the Linux
box could be set to timeout after a period of bandwidth saturation, drop
the single B channel connection, and then reconnect using both B
channels)

This is handled by the TA. www.zyxel.com

The other problem I've got is in using an external ISDN TA and both B
channels is that I'm going to have to have a high-end serial port that
supports 230,400bps or more if possible  Right now, the Linux box I'm
using to connect to my ISP is only using a 16450 UART.  I'll have to
upgrade that, too.  I wonder if I can drive a 16550 beyond 115,200

No but a 16650 can got to 460K.
www.byterunner.com

I'm just not sure there is a linux driver for them




Dave 'Kill a Cop' Cinege  (aka Psychopath #3)  ---  Super Genius at Large
The Oklahoma City Federal building bombing - 
Americas first response to government abuse 

http://www.psychosis.com/

Libertarian Party 1-800-682-1776http://www.lp.org/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-19 Thread Jens B. Jorgensen
Kevin Traas wrote:
 
 After doing some Web browsing and reading docs, Howto's, etc. I haven't
 found too much information (at least that I was hoping for) on using ISDN
 on Linux.
 
 Specifically, I currently have a USR Sportster 128K sitting here in the
 box.  I'd like to use it in my Debian Linux system.  (Running 1.2.8)
 
 From what I've found, only a few ISDN TA's seem to be supported under Linux
 and they're all European brands that I've never heard of before (in my
 limited existance... grin...) and that don't seem to be readily available
 here in Canada.
 
 Are other ISDN TA's supported by Linux?  i.e. USR Sportster ISDN, Motorola
 Bitsurfer Pro, etc.
 
 TIA for your help,
 

Does the Sportster 128K come in external variety? I went round and
round with USR trying to get them to give me specs so that I could
write a Linux driver for this card. They eventually told me that an
outside company had written the SCO software driver and that I should
talk to them. That company ignored my emails consistently. We ended
up getting a Zyxel TA128U. It's an external and we're only using one
channel and it works just fine. Any external should work as long as
it supports PPP Sync-to-Async conversion. You just set up a dial
script and once you get CONNECT you return from the chat script
and off it goes. It works flawlessly for us here and I see up to
6.5KB/sec transfer rates (one B channel, not two). Ascend Communications
is rumored to be writing a NetBSD driver for their ISDN card, so
maybe they'll do one for Linux?! 

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-19 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Fri, 18 Apr 1997, Kevin Traas wrote:
Specifically, I currently have a USR Sportster 128K sitting here in the
box.  I'd like to use it in my Debian Linux system.  (Running 1.2.8)
Is it an external box that you need to connect to a serial port.
In this case use it like a normal modem with AT commands.

If it's an ISA card it won't be supported. The problem is the D-channel
protocol. They are not very much standardized. Europe has a few national
ones and DSSS1 aka Euro ISDN, the USA have two one of which is NI-1.

There is work underway to integrate NI-1 in isdn4linux. This would make
many passive cards work with Linux in the USA too.

It's a bit different with active cards that manage the D-channel protocol
by themselves, but there are only two supported, ICN (also a European
brand, and I suppose they only talk the German national protocol and the
European one) and Spellcaster.

From what I've found, only a few ISDN TA's seem to be supported under Linux
and they're all European brands that I've never heard of before (in my
limited existance... grin...) and that don't seem to be readily available
here in Canada.
Canada probably has a National ISDN protocol of it's own

Nils

- -- 
 \  /| Nils Rennebarth
--* WINDOWS 42 *--   | Schillerstr. 61 
 /  \| 37083 Göttingen
 | ++49-551-71626
   Micro$oft's final answer  | http://www.nus.de/~nils

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM1jXd1ptA0IhBm0NAQHuQAMAomkHsr53eTQaODJZms8IlsEUeqzzusTQ
R2eWmGUPoN3QVI8udyFzoHSdUwxKAIvViUWC6Gva4vq3y2lIsIlxok4c9doMUnDh
ty8bZpHETPdOCfaG3nI0BeRvPpehaiTM
=Ikmt
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-19 Thread Kevin Traas
 I have a Motorola Bitsurfr Pro (external).  It works fine under Linux;
 it looks like a modem.  (It has a zillion AT commands.)
 
Thanks for the info.  Just a couple of questions grin

What type of serial port do you have?  16550?  How fast are you running the
serial connection?   Higher than 115,200bps?  Do you connect at 64K or 128K
or either?

TIA,

Kevin Traas
Systems Analyst
Edmondson Roper CA
http://www.eroper.bc.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-19 Thread Kevin Traas
  After doing some Web browsing and reading docs, Howto's, etc. I haven't
  found too much information (at least that I was hoping for) on using
ISDN
  on Linux.
  
  Specifically, I currently have a USR Sportster 128K sitting here in the
  box.  I'd like to use it in my Debian Linux system.  (Running 1.2.8)

 Does the Sportster 128K come in external variety? I went round and
 round with USR trying to get them to give me specs so that I could
 write a Linux driver for this card. They eventually told me that an
 outside company had written the SCO software driver and that I should
 talk to them. That company ignored my emails consistently. 

Right now, I'm pretty sure USR only provides the Sportster as internal.

 We ended
 up getting a Zyxel TA128U. It's an external and we're only using one
 channel and it works just fine. Any external should work as long as
 it supports PPP Sync-to-Async conversion. You just set up a dial
 script and once you get CONNECT you return from the chat script
 and off it goes. It works flawlessly for us here and I see up to
 6.5KB/sec transfer rates (one B channel, not two). 

Thanks for the info.  One thing I'm interested in is configuring things so
that I can establish a 1 or 2 B channel connection on demand.  My ISP
supports Multilink PPP; therefore, I'd like to set things up so that if I
know I'm going to be needing all the bandwidth I can get, I'll establish
the connection using the two B channels.  (It would be great if the Linux
box could be set to timeout after a period of bandwidth saturation, drop
the single B channel connection, and then reconnect using both B
channels)

The other problem I've got is in using an external ISDN TA and both B
channels is that I'm going to have to have a high-end serial port that
supports 230,400bps or more if possible  Right now, the Linux box I'm
using to connect to my ISP is only using a 16450 UART.  I'll have to
upgrade that, too.  I wonder if I can drive a 16550 beyond 115,200

 Ascend Communications
 is rumored to be writing a NetBSD driver for their ISDN card, so
 maybe they'll do one for Linux?! 

Wouldn't it be nice?  And much easier on all of us... grin  Maybe a
little pressure (i.e. read demand from the Linux community) would
entice them to do so.

Thanks alot for the info, Jens

Kevin Traas
Systems Analyst
Edmondson Roper CA
http://www.eroper.bc.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ISDN Support

1997-04-19 Thread Kevin Traas
snip
 The problem is the D-channel
 protocol. They are not very much standardized. Europe has a few national
 ones and DSSS1 aka Euro ISDN, the USA have two one of which is NI-1.
 
 There is work underway to integrate NI-1 in isdn4linux. This would make
 many passive cards work with Linux in the USA too.
 
 It's a bit different with active cards that manage the D-channel protocol
 by themselves, but there are only two supported, ICN (also a European
 brand, and I suppose they only talk the German national protocol and the
 European one) and Spellcaster.
 
 Canada probably has a National ISDN protocol of it's own

A. Don't you just love standards?  

Thanks for the info.

Kevin Traas
Systems Analyst
Edmondson Roper CA
http://www.eroper.bc.ca


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .