RE: Problem with Portslave

2001-11-27 Thread Javier Castillo Alcibar
Title: RE: Problem with Portslave





 Hi Russel,


 yes, as you can imagine, I have a Cyclades TS1000 and it works very fine, but I love linux too


 do you have a beta or some patch that enables that feature??


 Javier.



-Mensaje original-
De: Russell Coker [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 27 de noviembre de 2001 18:43
Para: Javier Castillo Alcibar; [EMAIL PROTECTED]
Asunto: Re: Problem with Portslave



On Tue, 27 Nov 2001 17:29, Javier Castillo Alcibar wrote:
  I am new with portslave, and I cannot resolv a problem :((

  I have a Cyclades PC400 pri isdn card. I want to telnet from my
 windows machine to my linux+portslave box, and get the prompt of my pc400
 like if I use cu -l /dev/ttyCM31, that is, configure portslave like a
 console server, is it?.


The functionality you are after is not yet in my Portslave tree (actually 
most of the code is there but it's not tested). Soon it should have that 
functionality (as is in the Cyclades TS family) and more.


-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page





Problem with Portslave

2001-11-27 Thread Javier Castillo Alcibar
Title: Problem with Portslave





 Hi there, 


 I am new with portslave, and I cannot resolv a problem :((


 I have a Cyclades PC400 pri isdn card. I want to telnet from my windows machine to my linux+portslave box, and get the prompt of my pc400 like if I use cu -l /dev/ttyCM31, that is, configure portslave like a console server, is it?.

 This is my config:


all.loc_host 10.213.1.18
all.locallogins yes
all.syslog
all.facility 2
all.filterdir /etc/portslave/filters


all.debug 1
all.authtype none
all.radnullpass yes
all.authhost1 localhost
all.accthost1 localhost
all.radtimeout 3
all.secret testing123


all.protocol socket_server


all.rem_host 192.168.42.65+
all.netmask 255.255.255.255
all.mtu 1500
all.socket_port 7001+


all.issue \n\
 Portslave Internet Services\n\
\n\
 Welcome to terminal server %h port S%p \n\
\n


all.syswtmp yes
all.porttype async
all.speed 9600
all.initchat TIMEOUT 10 \
 ABORT NO CARRIER \
 ABORT VOICE \
  \d\l\dATZ \
 OK\r\n-ATZ-OK\r\n \c \
 TIMEOUT 3600 \
 RING \c \
 STATUS Incoming %p:I.HANDSHAKE \
  ATA \
 TIMEOUT 75 \
 CONNECT@ \c \
 STATUS Connected %p:I.HANDSHAKE
all.flow none
all.dcd yes
all.autoppp proxyarp modem asyncmap 0 %i: \
 noipx noccp login auth require-pap refuse-chap \
 mtu %t mru %t \
 ms-dns 192.168.1.1 ms-dns 192.168.1.2 \
 plugin /usr/lib/libpsr.so
all.pppopt proxyarp modem asyncmap 0 %i:%j \
 noipx noccp \
 mtu %t mru %t \
 netmask %m idle %I maxconnect %T \
 ms-dns 192.168.1.1 ms-dns 192.168.1.2 \
 plugin /usr/lib/libpsr.so


s1.tty ttyCM31
s1.authtype none



 when I do a telnet, I get this message:


telnet localhost 7001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
portslave: standard input is not a tty
Connection closed by foreign host.



 Any ideas??


 thx in advance.
 Javier.




Javier Castillo Alcíbar - [EMAIL PROTECTED]
Alhambra Systems, S.A. - www.alhsys.com
c/Albasanz 14, 28037 Madrid
Tel.: +34 91 787 23 00
Fax.: +34 91 787 23 01







Re: Problem with Portslave

2001-11-27 Thread Russell Coker
On Tue, 27 Nov 2001 17:29, Javier Castillo Alcibar wrote:
   I am new with portslave, and I cannot resolv a problem :((

   I have a Cyclades PC400 pri isdn card. I want to telnet from my
 windows machine to my linux+portslave box, and get the prompt of my pc400
 like if I use cu -l /dev/ttyCM31, that is, configure portslave like a
 console server, is it?.

The functionality you are after is not yet in my Portslave tree (actually 
most of the code is there but it's not tested).  Soon it should have that 
functionality (as is in the Cyclades TS family) and more.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




RE: Problem with Portslave

2001-11-27 Thread Javier Castillo Alcibar
Title: RE: Problem with Portslave





 Hi Russel,


 yes, as you can imagine, I have a Cyclades TS1000 and it works very fine, but I love linux too


 do you have a beta or some patch that enables that feature??


 Javier.



-Mensaje original-
De: Russell Coker [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 27 de noviembre de 2001 18:43
Para: Javier Castillo Alcibar; debian-isp@lists.debian.org
Asunto: Re: Problem with Portslave



On Tue, 27 Nov 2001 17:29, Javier Castillo Alcibar wrote:
  I am new with portslave, and I cannot resolv a problem :((

  I have a Cyclades PC400 pri isdn card. I want to telnet from my
 windows machine to my linux+portslave box, and get the prompt of my pc400
 like if I use cu -l /dev/ttyCM31, that is, configure portslave like a
 console server, is it?.


The functionality you are after is not yet in my Portslave tree (actually 
most of the code is there but it's not tested). Soon it should have that 
functionality (as is in the Cyclades TS family) and more.


-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page





Re: portslave for potato

2001-10-28 Thread Russell Coker
On Fri, 12 Oct 2001 15:05, I. Forbes wrote:
 Hello Russell

 On 9 Oct 2001, at 21:13, Russell Coker wrote:
  I have put a copy of the latest portslave compiled for potato online at
  http://www.coker.com.au/portslave/ .  I don't have a potato system to
  test it though...  Also it is a new version...

 I think I have found a bug with this package.

 We had a major power outage and everything went down.  The
 portslave machine came back up before the radius server.

 It seems the pppd-radius on the portslave machine got into and
 endless loop trying to reach the radius server. I got the following
 errors scrolling very rapidly.

 t 12 13:42:37 nimbus port[S23]: [EMAIL PROTECTED]:1812 not
 responding
 Oct 12 13:42:37 nimbus last message repeated 15 times
 Oct 12 13:42:37 nimbus port[S26]: [EMAIL PROTECTED]:1812 not
 responding

This bug is fixed in version 2001.10.26 in unstable and there's a potato 
package at the same place.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave for potato

2001-10-27 Thread Russell Coker

On Fri, 12 Oct 2001 15:05, I. Forbes wrote:
 Hello Russell

 On 9 Oct 2001, at 21:13, Russell Coker wrote:
  I have put a copy of the latest portslave compiled for potato online at
  http://www.coker.com.au/portslave/ .  I don't have a potato system to
  test it though...  Also it is a new version...

 I think I have found a bug with this package.

 We had a major power outage and everything went down.  The
 portslave machine came back up before the radius server.

 It seems the pppd-radius on the portslave machine got into and
 endless loop trying to reach the radius server. I got the following
 errors scrolling very rapidly.

 t 12 13:42:37 nimbus port[S23]: [EMAIL PROTECTED]:1812 not
 responding
 Oct 12 13:42:37 nimbus last message repeated 15 times
 Oct 12 13:42:37 nimbus port[S26]: [EMAIL PROTECTED]:1812 not
 responding

This bug is fixed in version 2001.10.26 in unstable and there's a potato 
package at the same place.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-17 Thread Bob Billson

Quoting I. Forbes [EMAIL PROTECTED]:
 Hylafax has a faxgetty program that answers the modem.  It allows 
 dial-out like mgetty

On a slight tangent, I like both Hylafax and features of mgetty.  Can
both play together on the same port instead of using faxgetty?

bob
-- 
 bob billsonemail: [EMAIL PROTECTED] ham: kc2wz   /)
   [EMAIL PROTECTED]beekeeper -8|||}
 Níl aon tinteán mar do thinteán féin. --Dorothy   Linux geek   \)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-17 Thread Bob Billson
Quoting I. Forbes [EMAIL PROTECTED]:
 Hylafax has a faxgetty program that answers the modem.  It allows 
 dial-out like mgetty

On a slight tangent, I like both Hylafax and features of mgetty.  Can
both play together on the same port instead of using faxgetty?

bob
-- 
 bob billsonemail: [EMAIL PROTECTED] ham: kc2wz   /)
   [EMAIL PROTECTED]beekeeper -8|||}
 Níl aon tinteán mar do thinteán féin. --Dorothy   Linux geek   \)




Re: portslave

2001-10-16 Thread I. Forbes

Hello Russell 

On 15 Oct 2001, at 17:58, Russell Coker wrote:

 On Mon, 15 Oct 2001 11:18, I. Forbes wrote:

  Perhaps the same or a similar configuration file could tell portslave
  how to handle incoming calls detected by the modem as being
  voice or fax as opposed to data calls.
 
 Sure, I could add that.  Write a spec.

This is an opertunity I can't pass up.  Give me a week or so to have 
a good look through mgetty, faxgetty etc.

  Is there a documentation for the new options on the patched pppd?
 
 There is in the latest version which was uploaded to Debian and Sourceforge 
 last night.

Thanks, I will have a look.

 It shouldn't be that difficult to write some code that can recognise FAX as 
 well as PPP, they are very different...

The fax and data differentiation is handled by the modem - they 
have different handshake sequences. If the phone line is noisy 
and/or the modem firmware is a bit buggy, the modem does not 
correctly identify the handshake.  If the modem gets this wrong, then 
the getty program can't help.

This does not mean that we should not put the facility into portslave.

Regards

Ian



-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-16 Thread I. Forbes
Hello Russell 

On 15 Oct 2001, at 17:58, Russell Coker wrote:

 On Mon, 15 Oct 2001 11:18, I. Forbes wrote:

  Perhaps the same or a similar configuration file could tell portslave
  how to handle incoming calls detected by the modem as being
  voice or fax as opposed to data calls.
 
 Sure, I could add that.  Write a spec.

This is an opertunity I can't pass up.  Give me a week or so to have 
a good look through mgetty, faxgetty etc.

  Is there a documentation for the new options on the patched pppd?
 
 There is in the latest version which was uploaded to Debian and Sourceforge 
 last night.

Thanks, I will have a look.

 It shouldn't be that difficult to write some code that can recognise FAX as 
 well as PPP, they are very different...

The fax and data differentiation is handled by the modem - they 
have different handshake sequences. If the phone line is noisy 
and/or the modem firmware is a bit buggy, the modem does not 
correctly identify the handshake.  If the modem gets this wrong, then 
the getty program can't help.

This does not mean that we should not put the facility into portslave.

Regards

Ian



-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Re: portslave

2001-10-15 Thread I. Forbes

Hello Russell 

On 13 Oct 2001, at 19:14, Russell Coker wrote:

 I have been thinking of implementing a way of telling Portslave to pass the 
 port to another program to allow minicom or a FAX transmission to take the 
 port.

I think the answer lies in by-passing radius.  If we had a facility like 
mgetty's login.config file which could decide whether to run a 
radius based program, or a local one instead, the flexibility would 
go up by an order of magnitude.  It would also make hacks like my 
UUCP one work.

Perhaps the same or a similar configuration file could tell portslave 
how to handle incoming calls detected by the modem as being 
voice or fax as opposed to data calls.

  Is it possible to call up the patched pppd from mgetty and use
  radius authentication and accounting?

 Sure you could have the mgetty detect the PPP frames and run pppd with 
 appropriate parameters to load the Portslave library.

Is there a documentation for the new options on the patched pppd?

  It would be realy nice if the above were true.  It would also be nice if
  we could combine mgetty with features of faxgetty from the hylafax
  package.  Then we could have one answer the modem package
 
 I've been thinking of doing that.  However I have no fax hardware.  If 
 someone suggests which code I should use as a fax code base and is prepared 
 to test it for me then I'll add fax support to Portslave.

In my opinion Hylfax is by far the best fax package.  It allows Class 
1 or Class 2 modems to be used. Mgetty's fax facility only allows 
Class 2.  As over 90% of domestic quality 56k modems either have 
no Class 2 support, or Class 2 that is so buggy that it is not worth 
using this is a big plus factor.  (Almost all Windows faxing software 
uses Class 1 mode.)

Hylafax has a faxgetty program that answers the modem.  It allows 
dial-out like mgetty, but it also communicates with the hylafax 
daemon to report on the status of the modem.  It has facilities for 
calling alternate programs for voice and data calls.  I am not sure if 
it can detect ppp frames.

However the weak link is normally with the modems detection of the 
type of the incoming call (voice, fax or data), which is not very 
reliable.  I am not sure if Class 1 modems can do this at all.  On 
commercial sites, I normally lock modems taking incoming fax calls 
into fax only mode to guarantee satisfactory performance.  
Faxgetty has a few features to try and work around this limitation.

A few other issues to consider:

-   What about call-back, is there any provision for this in
portslave? 

-   Is anybody familiar with isdnutils?  How does that handle all
the options of incoming calls?  

-   Can isdnutils handle radius authentication, filters, assigned
IP's etc? (Maybe it could share the radius plug in?) 


Regards

Ian


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-15 Thread Russell Coker

On Mon, 15 Oct 2001 11:18, I. Forbes wrote:
  I have been thinking of implementing a way of telling Portslave to pass
  the port to another program to allow minicom or a FAX transmission to
  take the port.

 I think the answer lies in by-passing radius.  If we had a facility like
 mgetty's login.config file which could decide whether to run a
 radius based program, or a local one instead, the flexibility would
 go up by an order of magnitude.  It would also make hacks like my
 UUCP one work.

 Perhaps the same or a similar configuration file could tell portslave
 how to handle incoming calls detected by the modem as being
 voice or fax as opposed to data calls.

Sure, I could add that.  Write a spec.

   Is it possible to call up the patched pppd from mgetty and use
   radius authentication and accounting?
 
  Sure you could have the mgetty detect the PPP frames and run pppd with
  appropriate parameters to load the Portslave library.

 Is there a documentation for the new options on the patched pppd?

There is in the latest version which was uploaded to Debian and Sourceforge 
last night.

 In my opinion Hylfax is by far the best fax package.  It allows Class
 1 or Class 2 modems to be used. Mgetty's fax facility only allows
 Class 2.  As over 90% of domestic quality 56k modems either have
 no Class 2 support, or Class 2 that is so buggy that it is not worth
 using this is a big plus factor.  (Almost all Windows faxing software
 uses Class 1 mode.)

 Hylafax has a faxgetty program that answers the modem.  It allows
 dial-out like mgetty, but it also communicates with the hylafax
 daemon to report on the status of the modem.  It has facilities for
 calling alternate programs for voice and data calls.  I am not sure if
 it can detect ppp frames.

It shouldn't be that difficult to write some code that can recognise FAX as 
well as PPP, they are very different...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-15 Thread I. Forbes
Hello Russell 

On 13 Oct 2001, at 19:14, Russell Coker wrote:

 I have been thinking of implementing a way of telling Portslave to pass the 
 port to another program to allow minicom or a FAX transmission to take the 
 port.

I think the answer lies in by-passing radius.  If we had a facility like 
mgetty's login.config file which could decide whether to run a 
radius based program, or a local one instead, the flexibility would 
go up by an order of magnitude.  It would also make hacks like my 
UUCP one work.

Perhaps the same or a similar configuration file could tell portslave 
how to handle incoming calls detected by the modem as being 
voice or fax as opposed to data calls.

  Is it possible to call up the patched pppd from mgetty and use
  radius authentication and accounting?

 Sure you could have the mgetty detect the PPP frames and run pppd with 
 appropriate parameters to load the Portslave library.

Is there a documentation for the new options on the patched pppd?

  It would be realy nice if the above were true.  It would also be nice if
  we could combine mgetty with features of faxgetty from the hylafax
  package.  Then we could have one answer the modem package
 
 I've been thinking of doing that.  However I have no fax hardware.  If 
 someone suggests which code I should use as a fax code base and is prepared 
 to test it for me then I'll add fax support to Portslave.

In my opinion Hylfax is by far the best fax package.  It allows Class 
1 or Class 2 modems to be used. Mgetty's fax facility only allows 
Class 2.  As over 90% of domestic quality 56k modems either have 
no Class 2 support, or Class 2 that is so buggy that it is not worth 
using this is a big plus factor.  (Almost all Windows faxing software 
uses Class 1 mode.)

Hylafax has a faxgetty program that answers the modem.  It allows 
dial-out like mgetty, but it also communicates with the hylafax 
daemon to report on the status of the modem.  It has facilities for 
calling alternate programs for voice and data calls.  I am not sure if 
it can detect ppp frames.

However the weak link is normally with the modems detection of the 
type of the incoming call (voice, fax or data), which is not very 
reliable.  I am not sure if Class 1 modems can do this at all.  On 
commercial sites, I normally lock modems taking incoming fax calls 
into fax only mode to guarantee satisfactory performance.  
Faxgetty has a few features to try and work around this limitation.

A few other issues to consider:

-   What about call-back, is there any provision for this in
portslave? 

-   Is anybody familiar with isdnutils?  How does that handle all
the options of incoming calls?  

-   Can isdnutils handle radius authentication, filters, assigned
IP's etc? (Maybe it could share the radius plug in?) 


Regards

Ian


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Re: portslave

2001-10-15 Thread Russell Coker
On Mon, 15 Oct 2001 11:18, I. Forbes wrote:
  I have been thinking of implementing a way of telling Portslave to pass
  the port to another program to allow minicom or a FAX transmission to
  take the port.

 I think the answer lies in by-passing radius.  If we had a facility like
 mgetty's login.config file which could decide whether to run a
 radius based program, or a local one instead, the flexibility would
 go up by an order of magnitude.  It would also make hacks like my
 UUCP one work.

 Perhaps the same or a similar configuration file could tell portslave
 how to handle incoming calls detected by the modem as being
 voice or fax as opposed to data calls.

Sure, I could add that.  Write a spec.

   Is it possible to call up the patched pppd from mgetty and use
   radius authentication and accounting?
 
  Sure you could have the mgetty detect the PPP frames and run pppd with
  appropriate parameters to load the Portslave library.

 Is there a documentation for the new options on the patched pppd?

There is in the latest version which was uploaded to Debian and Sourceforge 
last night.

 In my opinion Hylfax is by far the best fax package.  It allows Class
 1 or Class 2 modems to be used. Mgetty's fax facility only allows
 Class 2.  As over 90% of domestic quality 56k modems either have
 no Class 2 support, or Class 2 that is so buggy that it is not worth
 using this is a big plus factor.  (Almost all Windows faxing software
 uses Class 1 mode.)

 Hylafax has a faxgetty program that answers the modem.  It allows
 dial-out like mgetty, but it also communicates with the hylafax
 daemon to report on the status of the modem.  It has facilities for
 calling alternate programs for voice and data calls.  I am not sure if
 it can detect ppp frames.

It shouldn't be that difficult to write some code that can recognise FAX as 
well as PPP, they are very different...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave for potato

2001-10-13 Thread Russell Coker

On Fri, 12 Oct 2001 15:05, I. Forbes wrote:
  I have put a copy of the latest portslave compiled for potato online at
  http://www.coker.com.au/portslave/ .  I don't have a potato system to
  test it though...  Also it is a new version...

 I think I have found a bug with this package.

 We had a major power outage and everything went down.  The
 portslave machine came back up before the radius server.

 It seems the pppd-radius on the portslave machine got into and
 endless loop trying to reach the radius server. I got the following
 errors scrolling very rapidly.

 t 12 13:42:37 nimbus port[S23]: [EMAIL PROTECTED]:1812 not
 responding

Thanks for the bug report, I know the likely cause.

As a work-around if you make the secondary RADIUS server the same as the 
primary it should all be fine.

I am going to change this anyway to allow for an arbitary number of RADIUS 
servers.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Portslave

2001-10-13 Thread Russell Coker

On Thu, 11 Oct 2001 17:14, Cathedral wrote:
 Where can i find documentation to configure portslave, i have installed a
 portslave from unstable and i`m not getting a way to configure that.

Run dpkg -L portslave | grep etc and you'll see a list of config files, 
you'll notice that the main config file is named pslave.conf.

Run man pslave.conf and you'll see all the documentation.

Also run man portslave for the documentation on the main program.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Fwd: Re: portslave

2001-10-13 Thread Russell Coker

On Thu, 6 Sep 2001 01:14, Rodrigo Cesar Herefeld wrote:
 1 - Where can i find documentation about configuring portslave? I`m
 some lost about it and can`t imagine how to do that( i`ve tried to work on
 the samples that came along with the program but didn`t get that to really
 work).

The usual ways:
man portslave
man pslave.conf
zless /usr/share/doc/portslave/*

 2 - This is not very important , i have downloaded the source of the
 program from sourcefourge but i can`t compile because of ppp , well where
 can i find the pppd source so i can compile it ???

It's on Sourceforge.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-13 Thread Russell Coker

On Tue, 9 Oct 2001 09:32, I. Forbes wrote:
  Hopefully I'll have one for you tomorrow.  I'll try and back-port the
  main ppp package at the same time.  Then you'll get the latest pppd along
  with the Portslave that uses the regular pppd (saves memory).

 Thanks, I am looking forward to that.

 How does portslave work with pppd, and which versions of pppd
 (patched or unpatched) do you need for kernel 2.2 (which I am still
 running) and kernel 2.4 (which will be the next upgrade)

Portslave is designed to work with pppd 2.4.0 or 2.4.1 (I recommend 2.4.1).  
With the latest package in unstable it uses the standard Debian pppd to save 
disk space.  In other situations it has it's own pppd binary.

  Tell me exactly what you were trying to do and how it failed, if the
  current version can't handle it easily then I'll add some new features.

 With mgetty I had a line in my mgetty (on one line):

 U*  uucp@   /usr/bin/ssh -t -e none [EMAIL PROTECTED]
 /usr/sbin/uucico -l -u @

 The uucp clients were not in the radius server at all.  This started a
 session on our uucp server which did the authentication.

 Now I have in pslave.conf

 conf.ssh/etc/portslave/scripts/ssh-script

 And the file referenced above looks like this (mind the line wrap):

 #! /bin/bash
 #
 su uucp -c /usr/bin/ssh -t -e none [EMAIL PROTECTED]
 /usr/sbin/uucico -x3 -u $LOGNAME

 I have now added all my uucp accounts to radius, with the following
 settings:

   User-Service-Type = Login-User,
   Login-Service = Ssh

A neat hack.  However if you can give me a detailed suggestion about a good 
generic way of doing this sort of thing then I'd be happy to implement it.

 Another comment.  Portslave locks the serial port.  With mgetty it is
 still posible to use the port for dialing out, and even for faxing.  So
 with the a small multipurpose installations, mgetty may have
 advantages over portslave.

I have been thinking of implementing a way of telling Portslave to pass the 
port to another program to allow minicom or a FAX transmission to take the 
port.

  Also the recent versions have many more features regarding logins other
  than PPP/SLIP, whatever your problem was I'm sure it's a lot easier to
  solve now than a year ago!

 Is it possible to call up the patched pppd from mgetty and use
 radius authentication and accounting?

Sure you could have the mgetty detect the PPP frames and run pppd with 
appropriate parameters to load the Portslave library.

 It would be realy nice if the above were true.  It would also be nice if
 we could combine mgetty with features of faxgetty from the hylafax
 package.  Then we could have one answer the modem package

I've been thinking of doing that.  However I have no fax hardware.  If 
someone suggests which code I should use as a fax code base and is prepared 
to test it for me then I'll add fax support to Portslave.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave for potato

2001-10-13 Thread Russell Coker
On Fri, 12 Oct 2001 15:05, I. Forbes wrote:
  I have put a copy of the latest portslave compiled for potato online at
  http://www.coker.com.au/portslave/ .  I don't have a potato system to
  test it though...  Also it is a new version...

 I think I have found a bug with this package.

 We had a major power outage and everything went down.  The
 portslave machine came back up before the radius server.

 It seems the pppd-radius on the portslave machine got into and
 endless loop trying to reach the radius server. I got the following
 errors scrolling very rapidly.

 t 12 13:42:37 nimbus port[S23]: [EMAIL PROTECTED]:1812 not
 responding

Thanks for the bug report, I know the likely cause.

As a work-around if you make the secondary RADIUS server the same as the 
primary it should all be fine.

I am going to change this anyway to allow for an arbitary number of RADIUS 
servers.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Portslave

2001-10-13 Thread Russell Coker
On Thu, 11 Oct 2001 17:14, Cathedral wrote:
 Where can i find documentation to configure portslave, i have installed a
 portslave from unstable and i`m not getting a way to configure that.

Run dpkg -L portslave | grep etc and you'll see a list of config files, 
you'll notice that the main config file is named pslave.conf.

Run man pslave.conf and you'll see all the documentation.

Also run man portslave for the documentation on the main program.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Fwd: Re: portslave

2001-10-13 Thread Russell Coker
On Thu, 6 Sep 2001 01:14, Rodrigo Cesar Herefeld wrote:
 1 - Where can i find documentation about configuring portslave? I`m
 some lost about it and can`t imagine how to do that( i`ve tried to work on
 the samples that came along with the program but didn`t get that to really
 work).

The usual ways:
man portslave
man pslave.conf
zless /usr/share/doc/portslave/*

 2 - This is not very important , i have downloaded the source of the
 program from sourcefourge but i can`t compile because of ppp , well where
 can i find the pppd source so i can compile it ???

It's on Sourceforge.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave

2001-10-13 Thread Russell Coker
On Tue, 9 Oct 2001 09:32, I. Forbes wrote:
  Hopefully I'll have one for you tomorrow.  I'll try and back-port the
  main ppp package at the same time.  Then you'll get the latest pppd along
  with the Portslave that uses the regular pppd (saves memory).

 Thanks, I am looking forward to that.

 How does portslave work with pppd, and which versions of pppd
 (patched or unpatched) do you need for kernel 2.2 (which I am still
 running) and kernel 2.4 (which will be the next upgrade)

Portslave is designed to work with pppd 2.4.0 or 2.4.1 (I recommend 2.4.1).  
With the latest package in unstable it uses the standard Debian pppd to save 
disk space.  In other situations it has it's own pppd binary.

  Tell me exactly what you were trying to do and how it failed, if the
  current version can't handle it easily then I'll add some new features.

 With mgetty I had a line in my mgetty (on one line):

 U*  uucp@   /usr/bin/ssh -t -e none [EMAIL PROTECTED]
 /usr/sbin/uucico -l -u @

 The uucp clients were not in the radius server at all.  This started a
 session on our uucp server which did the authentication.

 Now I have in pslave.conf

 conf.ssh/etc/portslave/scripts/ssh-script

 And the file referenced above looks like this (mind the line wrap):

 #! /bin/bash
 #
 su uucp -c /usr/bin/ssh -t -e none [EMAIL PROTECTED]
 /usr/sbin/uucico -x3 -u $LOGNAME

 I have now added all my uucp accounts to radius, with the following
 settings:

   User-Service-Type = Login-User,
   Login-Service = Ssh

A neat hack.  However if you can give me a detailed suggestion about a good 
generic way of doing this sort of thing then I'd be happy to implement it.

 Another comment.  Portslave locks the serial port.  With mgetty it is
 still posible to use the port for dialing out, and even for faxing.  So
 with the a small multipurpose installations, mgetty may have
 advantages over portslave.

I have been thinking of implementing a way of telling Portslave to pass the 
port to another program to allow minicom or a FAX transmission to take the 
port.

  Also the recent versions have many more features regarding logins other
  than PPP/SLIP, whatever your problem was I'm sure it's a lot easier to
  solve now than a year ago!

 Is it possible to call up the patched pppd from mgetty and use
 radius authentication and accounting?

Sure you could have the mgetty detect the PPP frames and run pppd with 
appropriate parameters to load the Portslave library.

 It would be realy nice if the above were true.  It would also be nice if
 we could combine mgetty with features of faxgetty from the hylafax
 package.  Then we could have one answer the modem package

I've been thinking of doing that.  However I have no fax hardware.  If 
someone suggests which code I should use as a fax code base and is prepared 
to test it for me then I'll add fax support to Portslave.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave for potato

2001-10-11 Thread I. Forbes

Hello Russell 

I have just tried this on my potato test system.  I installed the deb 
over my old version.  I let the install script update my existing 
plave.conf file but I did not change anything else.   The kernel is 
version 2.2.19

I works fine!

Thanks

Ian


On 9 Oct 2001, at 21:13, Russell Coker wrote:

 I have put a copy of the latest portslave compiled for potato online at 
 http://www.coker.com.au/portslave/ .  I don't have a potato system to test it 
 though...  Also it is a new version...
 
 -- 
 http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
 http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
 http://www.coker.com.au/projects.html Projects I am working on
 http://www.coker.com.au/~russell/ My home page
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Portslave

2001-10-11 Thread Cathedral

Where can i find documentation to configure portslave, i have installed a 
portslave from unstable and i`m not getting a way to configure that.

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave for potato

2001-10-11 Thread I. Forbes
Hello Russell 

I have just tried this on my potato test system.  I installed the deb 
over my old version.  I let the install script update my existing 
plave.conf file but I did not change anything else.   The kernel is 
version 2.2.19

I works fine!

Thanks

Ian


On 9 Oct 2001, at 21:13, Russell Coker wrote:

 I have put a copy of the latest portslave compiled for potato online at 
 http://www.coker.com.au/portslave/ .  I don't have a potato system to test it 
 though...  Also it is a new version...
 
 -- 
 http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
 http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
 http://www.coker.com.au/projects.html Projects I am working on
 http://www.coker.com.au/~russell/ My home page
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Portslave

2001-10-11 Thread Cathedral
	Where can i find documentation to configure portslave, i have installed a 
portslave from unstable and i`m not getting a way to configure that.

Thanks.



Fwd: Re: portslave

2001-10-10 Thread Rodrigo Cesar Herefeld
First off all thanks about the answer, i didn`t know about portslave, 
actuacly now that i have the program instaled(via apt) , well now i have 
two problems :

1 - Where can i find documentation about configuring portslave? I`m 
some lost about it and can`t imagine how to do that( i`ve tried to work on 
the samples that came along with the program but didn`t get that to really 
work).

2 - This is not very important , i have downloaded the source of the 
program from sourcefourge but i can`t compile because of ppp , well where 
can i find the pppd source so i can compile it ???

I thank about the answer. 




Re: portslave for potato

2001-10-10 Thread Jeff Waugh
quote who=Russell Coker

 I have put a copy of the latest portslave compiled for potato online at 
 http://www.coker.com.au/portslave/ .  I don't have a potato system to test it 
 though...  Also it is a new version...

Oh cool! I will test it for you! :)

Thanks heaps Russell,

- Jeff

-- 
  Anyway - I need something more James Bond than Banana Man, if you know   
   what I mean... - Tom Gilbert




Re: portslave

2001-10-09 Thread I. Forbes

Hello Russell 

On 9 Oct 2001, at 0:02, Russell Coker wrote:

 On Mon, 8 Oct 2001 16:36, I. Forbes wrote:

 The versions before 2001-06-20 all sucked in various ways.  It was only in 
 the 2001-06-20 version that I really got the source under control.
 
  Do you know of a potato deb for the latest version, or if you have
  suggestions on how to get it to compile on potato, please let me
  know.  I ran into problems with an unsupported debhelper version.
   Upgrading debhelper would require upgrading perl, by the time I
  have done that it wont look like a potato system any more.
 
 Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
 ppp package at the same time.  Then you'll get the latest pppd along with the 
 Portslave that uses the regular pppd (saves memory).

Thanks, I am looking forward to that.  

How does portslave work with pppd, and which versions of pppd 
(patched or unpatched) do you need for kernel 2.2 (which I am still 
running) and kernel 2.4 (which will be the next upgrade)

  I am also not too sure if I agree with your comments on portslave
  doing everything that mgetty can do.  I had a big battle to get
  portslave to work with my old modem to modem uucp clients.
 
 Tell me exactly what you were trying to do and how it failed, if the current 
 version can't handle it easily then I'll add some new features.

With mgetty I had a line in my mgetty (on one line):

U*  uucp@   /usr/bin/ssh -t -e none [EMAIL PROTECTED]  
/usr/sbin/uucico -l -u @

The uucp clients were not in the radius server at all.  This started a 
session on our uucp server which did the authentication.

Now I have in pslave.conf

conf.ssh/etc/portslave/scripts/ssh-script

And the file referenced above looks like this (mind the line wrap):

#! /bin/bash
#
su uucp -c /usr/bin/ssh -t -e none [EMAIL PROTECTED] 
/usr/sbin/uucico -x3 -u $LOGNAME

I have now added all my uucp accounts to radius, with the following 
settings:

User-Service-Type = Login-User,
Login-Service = Ssh

The uucp server still has a duplicate authentication list as it accepts 
lots of connections over tcp/ip.  

Fortunately we have not sold a uucp for modem to modem use for 
over 2 years (we still sell lots of uucp over tcp/ip - but that does not 
effect portslave), so these are legacy clients and we only have to 
fiddle with the radius stuff when they close.  

Another comment.  Portslave locks the serial port.  With mgetty it is 
still posible to use the port for dialing out, and even for faxing.  So 
with the a small multipurpose installations, mgetty may have 
advantages over portslave.

 Also the recent versions have many more features regarding logins other than 
 PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
 than a year ago!

Is it possible to call up the patched pppd from mgetty and use 
radius authentication and accounting?

dream mode

It would be realy nice if the above were true.  It would also be nice if  
we could combine mgetty with features of faxgetty from the hylafax 
package.  Then we could have one answer the modem package 
which could be configured to do everything anyone can expect a of 
a modem.  When we get that right, we can start all over again for 
ISDN ...

/dream mode

Thanks for the feedback


Regards

Ian

-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




portslave for potato

2001-10-09 Thread Russell Coker

I have put a copy of the latest portslave compiled for potato online at 
http://www.coker.com.au/portslave/ .  I don't have a potato system to test it 
though...  Also it is a new version...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Fwd: Re: portslave

2001-10-09 Thread Rodrigo Cesar Herefeld

First off all thanks about the answer, i didn`t know about portslave, 
actuacly now that i have the program instaled(via apt) , well now i have 
two problems :


1 - Where can i find documentation about configuring portslave? I`m 
some lost about it and can`t imagine how to do that( i`ve tried to work on 
the samples that came along with the program but didn`t get that to really 
work).

2 - This is not very important , i have downloaded the source of the 
program from sourcefourge but i can`t compile because of ppp , well where 
can i find the pppd source so i can compile it ???

I thank about the answer. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-09 Thread I. Forbes
Hello Russell 

On 9 Oct 2001, at 0:02, Russell Coker wrote:

 On Mon, 8 Oct 2001 16:36, I. Forbes wrote:

 The versions before 2001-06-20 all sucked in various ways.  It was only in 
 the 2001-06-20 version that I really got the source under control.
 
  Do you know of a potato deb for the latest version, or if you have
  suggestions on how to get it to compile on potato, please let me
  know.  I ran into problems with an unsupported debhelper version.
   Upgrading debhelper would require upgrading perl, by the time I
  have done that it wont look like a potato system any more.
 
 Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
 ppp package at the same time.  Then you'll get the latest pppd along with the 
 Portslave that uses the regular pppd (saves memory).

Thanks, I am looking forward to that.  

How does portslave work with pppd, and which versions of pppd 
(patched or unpatched) do you need for kernel 2.2 (which I am still 
running) and kernel 2.4 (which will be the next upgrade)

  I am also not too sure if I agree with your comments on portslave
  doing everything that mgetty can do.  I had a big battle to get
  portslave to work with my old modem to modem uucp clients.
 
 Tell me exactly what you were trying to do and how it failed, if the current 
 version can't handle it easily then I'll add some new features.

With mgetty I had a line in my mgetty (on one line):

U*  uucp@   /usr/bin/ssh -t -e none [EMAIL PROTECTED]  
/usr/sbin/uucico -l -u @

The uucp clients were not in the radius server at all.  This started a 
session on our uucp server which did the authentication.

Now I have in pslave.conf

conf.ssh/etc/portslave/scripts/ssh-script

And the file referenced above looks like this (mind the line wrap):

#! /bin/bash
#
su uucp -c /usr/bin/ssh -t -e none [EMAIL PROTECTED] 
/usr/sbin/uucico -x3 -u $LOGNAME

I have now added all my uucp accounts to radius, with the following 
settings:

User-Service-Type = Login-User,
Login-Service = Ssh

The uucp server still has a duplicate authentication list as it accepts 
lots of connections over tcp/ip.  

Fortunately we have not sold a uucp for modem to modem use for 
over 2 years (we still sell lots of uucp over tcp/ip - but that does not 
effect portslave), so these are legacy clients and we only have to 
fiddle with the radius stuff when they close.  

Another comment.  Portslave locks the serial port.  With mgetty it is 
still posible to use the port for dialing out, and even for faxing.  So 
with the a small multipurpose installations, mgetty may have 
advantages over portslave.

 Also the recent versions have many more features regarding logins other than 
 PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
 than a year ago!

Is it possible to call up the patched pppd from mgetty and use 
radius authentication and accounting?

dream mode

It would be realy nice if the above were true.  It would also be nice if  
we could combine mgetty with features of faxgetty from the hylafax 
package.  Then we could have one answer the modem package 
which could be configured to do everything anyone can expect a of 
a modem.  When we get that right, we can start all over again for 
ISDN ...

/dream mode

Thanks for the feedback


Regards

Ian

-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




portslave for potato

2001-10-09 Thread Russell Coker
I have put a copy of the latest portslave compiled for potato online at 
http://www.coker.com.au/portslave/ .  I don't have a potato system to test it 
though...  Also it is a new version...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave

2001-10-08 Thread Russell Coker

On Mon, 8 Oct 2001 16:36, I. Forbes wrote:
 The old one ran mgetty and a pppd patched for radius
 authentication via the radius client library.  The patches have not
 been updated since pppd version 2.2 and the old machine still has
 a 2.0 series kernel.

 I am using portslave 2000-12-24 which I built on potato from a deb
 source archive a while back and kernel 2.2.19. It seems to work
 and we will go live in a few days.

The versions before 2001-06-20 all sucked in various ways.  It was only in 
the 2001-06-20 version that I really got the source under control.

 Do you know of a potato deb for the latest version, or if you have
 suggestions on how to get it to compile on potato, please let me
 know.  I ran into problems with an unsupported debhelper version.
  Upgrading debhelper would require upgrading perl, by the time I
 have done that it wont look like a potato system any more.

Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
ppp package at the same time.  Then you'll get the latest pppd along with the 
Portslave that uses the regular pppd (saves memory).

 I am also not too sure if I agree with your comments on portslave
 doing everything than mgetty can do.  I had a big battle to get
 portslave to work with my old modem to modem uucp clients.

Tell me exactly what you were trying to do and how it failed, if the current 
version can't handle it easily then I'll add some new features.

Also the recent versions have many more features regarding logins other than 
PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
than a year ago!

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

 There's nothing stopping you from running Portslave with a single dial-in 
 line!

Is that like sending in the tanks? :)

 If your dial-in setup is serious enough to use a RADIUS server then it's big 
 enough for Portslave.
 
 Setting up the RADIUS server is likely to be the most difficult part of a 
 Portslave installation.

Can I authenticate with PAM, etc. somehow?

- Jeff

-- 
  Trying to get a PC to analyse one of the most abstract forms of  
   language - the poem - is like trying to drill for oil with a banana.
   - The Register   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Tony Green

* This one time, at band camp, Jeff Waugh said:
  Setting up the RADIUS server is likely to be the most difficult part of a 
  Portslave installation.
 
 Can I authenticate with PAM, etc. somehow?
 

Well, RADIUS isn't that hard.  A simple radius server can auth from a
number of different 'backends'.  If you can't do PAM with the Portslave
natively, then radius will provide the functionality.

If you need any help with getting RADIUS working, give me a shout.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker

On Tue, 9 Oct 2001 01:27, Jeff Waugh wrote:
 quote who=Russell Coker

  There's nothing stopping you from running Portslave with a single dial-in
  line!

 Is that like sending in the tanks? :)

I like tanks!  ;)

  If your dial-in setup is serious enough to use a RADIUS server then it's
  big enough for Portslave.
 
  Setting up the RADIUS server is likely to be the most difficult part of a
  Portslave installation.

 Can I authenticate with PAM, etc. somehow?

Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

I recommend FreeRadius, although last time I checked the Debian package was 
still in limbo.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

  Is that like sending in the tanks? :)
 
 I like tanks!  ;)

Not on my phoneline, thank you. ;)

 Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

Cool. I've never really looked at it, as I've always thought, oh no, that's
for like, *lots* of modems. :)

 I recommend FreeRadius, although last time I checked the Debian package was 
 still in limbo.  :(

I might pick it up if I get to like it.

- Jeff

-- 
  NASCAR is not race per se. It's just a contest about who can turn left   
the best. - Unknown


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker

On Tue, 9 Oct 2001 02:12, Jeff Waugh wrote:
 quote who=Russell Coker

   Is that like sending in the tanks? :)
 
  I like tanks!  ;)

 Not on my phoneline, thank you. ;)

Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
fast, etc.

  Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some
  way.

 Cool. I've never really looked at it, as I've always thought, oh no,
 that's for like, *lots* of modems. :)

Well the latest version of Portslave (the one that is too experimental for 
upload to Debian) has got some new code for direct authentication without 
RADIUS (which hasn't been properly tested yet)...

  I recommend FreeRadius, although last time I checked the Debian package
  was still in limbo.  :(

 I might pick it up if I get to like it.

Well the current maintainer isn't really looking for someone to take over the 
job, he just wants what he's done to be accepted and there was some hold-up 
last time I communicated with him.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

Is that like sending in the tanks? :)
  
   I like tanks!  ;)
 
  Not on my phoneline, thank you. ;)
 
 Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
 fast, etc.

I meant the tank. ;)

 Well the latest version of Portslave (the one that is too experimental for 
 upload to Debian) has got some new code for direct authentication without 
 RADIUS (which hasn't been properly tested yet)...

Very cool - I'm just getting my hands dirty with the current version as we
speak.

- Jeff

-- 
 The GPL is good. Use it. Don't be silly. - Michael Meeks 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-08 Thread I. Forbes
Hello Russell 

I am busy testing a portslave server to replace my old ancient 
Cyclades-Y based terminal server.  

The old one ran mgetty and a pppd patched for radius 
authentication via the radius client library.  The patches have not 
been updated since pppd version 2.2 and the old machine still has 
a 2.0 series kernel.

I am using portslave 2000-12-24 which I built on potato from a deb 
source archive a while back and kernel 2.2.19. It seems to work 
and we will go live in a few days.

Do you know of a potato deb for the latest version, or if you have 
suggestions on how to get it to compile on potato, please let me 
know.  I ran into problems with an unsupported debhelper version. 
 Upgrading debhelper would require upgrading perl, by the time I 
have done that it wont look like a potato system any more.

I am also not too sure if I agree with your comments on portslave 
doing everything than mgetty can do.  I had a big battle to get 
portslave to work with my old modem to modem uucp clients.

Regards

Ian



On 5 Oct 2001, at 16:02, Russell Coker wrote:

 On Thu, 4 Oct 2001 17:34, Cathedral wrote:
  I`m configuring one board cylades cyclom-y and got all the board configured
  but now i can`t set the modens to work, i`ve configured the radius-client
  to authenticat on my radius-server and start pppd automaticaly.
  I have put a line like that on inittab
 
 
  C0:23:respawn:/sbin/getty -I ' AT OK ATW0' ttyC0 (also with /dev/)
  9600 -l path_to_radlogin/radlogin
  The modem answers the line but my win98 clients doesn`t connect do nybody
  can help me about that,i`m getting really desperated.
 
 That will only work for terminal authentication (the default for Windows is 
 AutoPPP).  Also are you sure that your -I parameter is correct?  The 
 documentation for the version of getty that I use doesn't indicate support 
 for chat scripts.
 
 Why not use Portslave?  It answers the phone and supports full chatscript 
 functionality for modem configuration etc.  Portslave presents a login: 
 prompt and authenticates with a RADIUS server.  It also recognises AutoPPP 
 sequences and runs pppd with a special module so that the pppd will talk to 
 the RADIUS server for authentication.  When the connection is finished the 
 details of bytes and packets transferred will be logged to the RADIUS server.
 
 Also Portslave supports a variety of options for running ssh, telnet, or 
 rlogin connections based on what the RADIUS server specifies.
 
 
 Anything that can be done by getty, mgetty, radius-client, etc can be done 
 better by Portslave.
 
 Another thing, currently there are two active Portslave developers, me and a 
 Cyclades employee (the Cyclades TS4000 type boxes run a derivative of my 
 2000-12-25 release).  Run the latest Portslave from unstable and you get most 
 of the features of the high-end Cyclades terminal server boxes, plus some 
 features that haven't yet been copied into the Cyclades tree.
 
 -- 
 http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
 http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
 http://www.coker.com.au/projects.html Projects I am working on
 http://www.coker.com.au/~russell/ My home page
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Re: portslave

2001-10-08 Thread Russell Coker
On Mon, 8 Oct 2001 16:36, I. Forbes wrote:
 The old one ran mgetty and a pppd patched for radius
 authentication via the radius client library.  The patches have not
 been updated since pppd version 2.2 and the old machine still has
 a 2.0 series kernel.

 I am using portslave 2000-12-24 which I built on potato from a deb
 source archive a while back and kernel 2.2.19. It seems to work
 and we will go live in a few days.

The versions before 2001-06-20 all sucked in various ways.  It was only in 
the 2001-06-20 version that I really got the source under control.

 Do you know of a potato deb for the latest version, or if you have
 suggestions on how to get it to compile on potato, please let me
 know.  I ran into problems with an unsupported debhelper version.
  Upgrading debhelper would require upgrading perl, by the time I
 have done that it wont look like a potato system any more.

Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
ppp package at the same time.  Then you'll get the latest pppd along with the 
Portslave that uses the regular pppd (saves memory).

 I am also not too sure if I agree with your comments on portslave
 doing everything than mgetty can do.  I had a big battle to get
 portslave to work with my old modem to modem uucp clients.

Tell me exactly what you were trying to do and how it failed, if the current 
version can't handle it easily then I'll add some new features.

Also the recent versions have many more features regarding logins other than 
PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
than a year ago!

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

 There's nothing stopping you from running Portslave with a single dial-in 
 line!

Is that like sending in the tanks? :)

 If your dial-in setup is serious enough to use a RADIUS server then it's big 
 enough for Portslave.
 
 Setting up the RADIUS server is likely to be the most difficult part of a 
 Portslave installation.

Can I authenticate with PAM, etc. somehow?

- Jeff

-- 
  Trying to get a PC to analyse one of the most abstract forms of  
   language - the poem - is like trying to drill for oil with a banana.
   - The Register   




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Tony Green
* This one time, at band camp, Jeff Waugh said:
  Setting up the RADIUS server is likely to be the most difficult part of a 
  Portslave installation.
 
 Can I authenticate with PAM, etc. somehow?
 

Well, RADIUS isn't that hard.  A simple radius server can auth from a
number of different 'backends'.  If you can't do PAM with the Portslave
natively, then radius will provide the functionality.

If you need any help with getting RADIUS working, give me a shout.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker
On Tue, 9 Oct 2001 01:27, Jeff Waugh wrote:
 quote who=Russell Coker

  There's nothing stopping you from running Portslave with a single dial-in
  line!

 Is that like sending in the tanks? :)

I like tanks!  ;)

  If your dial-in setup is serious enough to use a RADIUS server then it's
  big enough for Portslave.
 
  Setting up the RADIUS server is likely to be the most difficult part of a
  Portslave installation.

 Can I authenticate with PAM, etc. somehow?

Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

I recommend FreeRadius, although last time I checked the Debian package was 
still in limbo.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

  Is that like sending in the tanks? :)
 
 I like tanks!  ;)

Not on my phoneline, thank you. ;)

 Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

Cool. I've never really looked at it, as I've always thought, oh no, that's
for like, *lots* of modems. :)

 I recommend FreeRadius, although last time I checked the Debian package was 
 still in limbo.  :(

I might pick it up if I get to like it.

- Jeff

-- 
  NASCAR is not race per se. It's just a contest about who can turn left   
the best. - Unknown




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker
On Tue, 9 Oct 2001 02:12, Jeff Waugh wrote:
 quote who=Russell Coker

   Is that like sending in the tanks? :)
 
  I like tanks!  ;)

 Not on my phoneline, thank you. ;)

Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
fast, etc.

  Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some
  way.

 Cool. I've never really looked at it, as I've always thought, oh no,
 that's for like, *lots* of modems. :)

Well the latest version of Portslave (the one that is too experimental for 
upload to Debian) has got some new code for direct authentication without 
RADIUS (which hasn't been properly tested yet)...

  I recommend FreeRadius, although last time I checked the Debian package
  was still in limbo.  :(

 I might pick it up if I get to like it.

Well the current maintainer isn't really looking for someone to take over the 
job, he just wants what he's done to be accepted and there was some hold-up 
last time I communicated with him.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

Is that like sending in the tanks? :)
  
   I like tanks!  ;)
 
  Not on my phoneline, thank you. ;)
 
 Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
 fast, etc.

I meant the tank. ;)

 Well the latest version of Portslave (the one that is too experimental for 
 upload to Debian) has got some new code for direct authentication without 
 RADIUS (which hasn't been properly tested yet)...

Very cool - I'm just getting my hands dirty with the current version as we
speak.

- Jeff

-- 
 The GPL is good. Use it. Don't be silly. - Michael Meeks 




Smaller dial-in systems [was: portslave]

2001-10-06 Thread Jeff Waugh

quote who=Russell Coker

 Anything that can be done by getty, mgetty, radius-client, etc can be done 
 better by Portslave.

Is portslave appropriate for a smaller system, say with only three dial-in
ports? mgetty is not exactly the most polite software to administer, and
there are lots of times I'd like a simple, easy to install, sub-10-port
dial-in system.

Thoughts or pointers?

- Jeff

-- 
 jwz? no way man, he's my idle - James Wilkinson  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-06 Thread Russell Coker

On Sat, 6 Oct 2001 11:53, Jeff Waugh wrote:
  Anything that can be done by getty, mgetty, radius-client, etc can be
  done better by Portslave.

 Is portslave appropriate for a smaller system, say with only three dial-in
 ports? mgetty is not exactly the most polite software to administer, and
 there are lots of times I'd like a simple, easy to install, sub-10-port
 dial-in system.

There's nothing stopping you from running Portslave with a single dial-in 
line!

If your dial-in setup is serious enough to use a RADIUS server then it's big 
enough for Portslave.

Setting up the RADIUS server is likely to be the most difficult part of a 
Portslave installation.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




portslave

2001-10-05 Thread Russell Coker

On Thu, 4 Oct 2001 17:34, Cathedral wrote:
 I`m configuring one board cylades cyclom-y and got all the board configured
 but now i can`t set the modens to work, i`ve configured the radius-client
 to authenticat on my radius-server and start pppd automaticaly.
 I have put a line like that on inittab


 C0:23:respawn:/sbin/getty -I ' AT OK ATW0' ttyC0 (also with /dev/)
 9600 -l path_to_radlogin/radlogin
 The modem answers the line but my win98 clients doesn`t connect do nybody
 can help me about that,i`m getting really desperated.

That will only work for terminal authentication (the default for Windows is 
AutoPPP).  Also are you sure that your -I parameter is correct?  The 
documentation for the version of getty that I use doesn't indicate support 
for chat scripts.

Why not use Portslave?  It answers the phone and supports full chatscript 
functionality for modem configuration etc.  Portslave presents a login: 
prompt and authenticates with a RADIUS server.  It also recognises AutoPPP 
sequences and runs pppd with a special module so that the pppd will talk to 
the RADIUS server for authentication.  When the connection is finished the 
details of bytes and packets transferred will be logged to the RADIUS server.

Also Portslave supports a variety of options for running ssh, telnet, or 
rlogin connections based on what the RADIUS server specifies.


Anything that can be done by getty, mgetty, radius-client, etc can be done 
better by Portslave.

Another thing, currently there are two active Portslave developers, me and a 
Cyclades employee (the Cyclades TS4000 type boxes run a derivative of my 
2000-12-25 release).  Run the latest Portslave from unstable and you get most 
of the features of the high-end Cyclades terminal server boxes, plus some 
features that haven't yet been copied into the Cyclades tree.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]