gateway to dial-up connections

2004-11-07 Thread Nathan Levy

  Hi all,

  I'm in trouble on setting up a gateway to diul-up
users. I'm using iptables with mstate module to
masquerade the clients' ip addresses.
  I have a RAS Server (Ikon 4400) that receives PPP
and PPPoE connections. The RAS's gateway is pointing
to the server i'm setting up.
  Now araises the question. When I connect using a
PPPoE connection, every website I try to connect works
fine, but when a user does a normal dial-up, some
sites simply don't open. Just seems to be openning.
  I thought it was a MTU problem. I changed the mtu at
the client side, for test purposes, but it failed
again.
  I Also ckecked the mtu values at the RAS for ppp and
pppoe connections. and both were 576
  I changed the RAS gateway to another machine with
slackware using ipfwadm and kernel 2.0. I didn't
setted up this machine. It is the old gateway of the
ras.
  So, After this change, all the clients (ppp + pppoe)
could browse the any website.
  Is that any tip or crick i'm missing to settup my
new gateway?
  Thanks in advance,

  Nathan Levy.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! 
http://br.acesso.yahoo.com/


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



gateway to dial-up connections

2004-11-07 Thread Nathan Levy

  Hi all,

  I'm in trouble on setting up a gateway to diul-up
users. I'm using iptables with mstate module to
masquerade the clients' ip addresses.
  I have a RAS Server (Ikon 4400) that receives PPP
and PPPoE connections. The RAS's gateway is pointing
to the server i'm setting up.
  Now araises the question. When I connect using a
PPPoE connection, every website I try to connect works
fine, but when a user does a normal dial-up, some
sites simply don't open. Just seems to be openning.
  I thought it was a MTU problem. I changed the mtu at
the client side, for test purposes, but it failed
again.
  I Also ckecked the mtu values at the RAS for ppp and
pppoe connections. and both were 576
  I changed the RAS gateway to another machine with
slackware using ipfwadm and kernel 2.0. I didn't
setted up this machine. It is the old gateway of the
ras.
  So, After this change, all the clients (ppp + pppoe)
could browse the any website.
  Is that any tip or crick i'm missing to settup my
new gateway?
  Thanks in advance,

  Nathan Levy.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! 
http://br.acesso.yahoo.com/


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



new dial in server - pppd hangs on connect

2003-08-14 Thread Korey Renner
I'm setting up a server for modem dial using debian woody + security.  
This is meant to replace a debian 2.2 server which works fine, except
that Windows XP wont connect to it.

My new server is having problems, however.  I am hoping someone can get
me going in the right direction.

I have tried mgetty/pppd  portslave/pppd/radiusd-cistron and I'm having
similar problems with pppd in both situations.

For the mgetty situation, when the client connects, mgetty spawns pppd,
which hangs until 'kill'ed.  The client PC gives up in a reasonable
amount of time.  

Even though I have quite a bit of pppd logging options enabled, pppd is
only logging that it started, and that it was terminated (when I kill
it).

'ps ux' shows this before I kill the process.

root  4058  0.0  2.9  2000  892 ttyS0S10:37   0:00 pppd auth -chap +pap 
login debug kdebug 1


NOTE: For testing, I'm using a Windows 98 client.  The configuration is the
same for both the debian 2.2 server (working) and the debian woody server 
(not working), so this should be a valid configuration.


Here are the relevant files  logs of my mgetty/pppd configuration:


ppp_2.4.1.uus-4_i386.deb
mgetty_1.1.27-4.1_i386.deb
kernel-image-2.4.18-1-586tsc_2.4.18-10_i386.deb





/etc/mgetty/login.config

/AutoPPP/ - a_ppp   /usr/sbin/pppd auth -chap +pap login debug kdebug 1
*   -   -   /bin/login @





/etc/syslog.conf (added lines only)
--
local2.*-/var/log/ppp.log





/etc/ppp/options

asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx





/etc/ppp/pap-secrets

*   dialin*
guest   dialin  * -
master  dialin  * -
rootdialin  * -
support dialin  * -
stats   dialin  * -
dialin  *   password





/etc/ppp/options.ttyS0
--
ip.of.server:ip.for.client





/var/log/ppp.log (after killing pppd process)
-
Aug 11 10:28:41 dialin pppd[4035]: pppd 2.4.1 started by a_ppp, uid 0
Aug 11 10:37:01 dialin pppd[4035]: Terminating on signal 15.
Aug 11 10:37:01 dialin pppd[4035]: Exit.





/var/log/mgetty/mg_ttyS0.log

--
08/11 10:27:49 yS0  mgetty: experimental test release 1.1.27-Oct21
08/11 10:27:49 yS0  check for lockfiles
08/11 10:27:49 yS0  locking the line
08/11 10:27:49 yS0  lowering DTR to reset Modem
08/11 10:27:50 yS0  send: \dATQ0V1H0[0d]
08/11 10:27:50 yS0  waiting for ``OK'' ** found **
08/11 10:27:50 yS0  send: AT[0d]
08/11 10:27:50 yS0  waiting for ``OK'' ** found **
08/11 10:27:51 yS0  waiting...
08/11 10:28:22 yS0  wfr: waiting for ``RING''
08/11 10:28:22 yS0  send: ATA[0d]
08/11 10:28:22 yS0  waiting for ``CONNECT'' ** found **
08/11 10:28:38 yS0  send:
08/11 10:28:38 yS0  waiting for ``_'' ** found **
08/11 10:28:41 yS0  WARNING: starting login while DCD is low!
08/11 10:28:41 # data dev=ttyS0, pid=4035, caller='none', conn='24000 V42bis', 
name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

--
08/11 10:37:01 yS0  mgetty: experimental test release 1.1.27-Oct21
08/11 10:37:01 yS0  check for lockfiles
08/11 10:37:01 yS0  locking the line
08/11 10:37:01 yS0  lowering DTR to reset Modem
08/11 10:37:02 yS0  send: \dATQ0V1H0[0d]
08/11 10:37:02 yS0  waiting for ``OK'' ** found **
08/11 10:37:03 yS0  send: AT[0d]
08/11 10:37:03 yS0  waiting for ``OK'' ** found **


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



Re: new dial in server - pppd hangs on connec

2003-08-14 Thread Korey Renner
Well, that problem was solved, but here is my original problem which I
alluded to briefly in my first email.

Thus far, we have been unsuccessful in getting several Windows XP PCs to
connect to either Debian dial up system.  We have no problem with
Windows 2000 or Windows 98.  When a Windows XP system tries to connect,
the LCP messages negotiate back and forth for a while, and then it gives
up.

Here is the most recent log of a Windows XP connection attempt:
---
Aug 11 16:33:28 dialin port[S1]: pppd 2.4.1 started by AutoPPP, uid 0
Aug 11 16:33:28 dialin port[S1]: using channel 10
Aug 11 16:33:28 dialin port[S1]: Using interface ppp0
Aug 11 16:33:28 dialin port[S1]: Connect: ppp0 -- /dev/ttyS1
Aug 11 16:33:28 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:31 dialin port[S1]: rcvd [LCP ConfReq id=0x2 asyncmap 0x0 magic 
0x31651b47 pcomp accomp callback CBCP]
Aug 11 16:33:31 dialin port[S1]: sent [LCP ConfRej id=0x2 callback CBCP]
Aug 11 16:33:31 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:34 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:35 dialin port[S1]: rcvd [LCP ConfReq id=0x3 asyncmap 0x0 magic 
0x31651b47 pcomp accomp callback CBCP]
Aug 11 16:33:35 dialin port[S1]: sent [LCP ConfRej id=0x3 callback CBCP]
Aug 11 16:33:35 dialin port[S1]: rcvd [LCP ConfReq id=0x4 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:35 dialin port[S1]: sent [LCP ConfAck id=0x4 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:37 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:39 dialin port[S1]: rcvd [LCP ConfReq id=0x5 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:39 dialin port[S1]: sent [LCP ConfAck id=0x5 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:40 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:43 dialin port[S1]: rcvd [LCP ConfReq id=0x6 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:43 dialin port[S1]: sent [LCP ConfAck id=0x6 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:43 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:46 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:47 dialin port[S1]: rcvd [LCP ConfReq id=0x7 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:47 dialin port[S1]: sent [LCP ConfAck id=0x7 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:49 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:51 dialin port[S1]: rcvd [LCP ConfReq id=0x8 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:51 dialin port[S1]: sent [LCP ConfAck id=0x8 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:52 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:55 dialin port[S1]: rcvd [LCP ConfReq id=0x9 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:55 dialin port[S1]: sent [LCP ConfAck id=0x9 asyncmap 0x0 magic 
0x31651b47 pcomp accomp]
Aug 11 16:33:55 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x1a22bc7a pcomp accomp]
Aug 11 16:33:58 dialin port[S1]: LCP: timeout sending Config-Requests
Aug 11 16:33:58 dialin port[S1]: Connection terminated.
Aug 11 16:33:58 dialin port[S1]: Exit.



To compare, here is a successful connection with Windows 2000:
--
Aug 11 15:42:34 dialin port[S1]: pppd 2.4.1 started by AutoPPP, uid 0
Aug 11 15:42:34 dialin port[S1]: using channel 8
Aug 11 15:42:34 dialin port[S1]: Using interface ppp0
Aug 11 15:42:34 dialin port[S1]: Connect: ppp0 -- /dev/ttyS1
Aug 11 15:42:34 dialin port[S1]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth pap 
magic 0x7f64ac3f pcomp accomp]
Aug 11 15:42:34 dialin port[S1]: rcvd [LCP ConfAck id=0x1 asyncmap 0x0 auth pap 
magic 0x7f64ac3f pcomp accomp]
Aug 11 15:42:37 dialin port[S1]: rcvd [LCP ConfReq id=0x2 asyncmap 0x0 magic 
0x195b02a9 pcomp accomp callback CBCP mrru 1614 endpoint
[local:64.af.36.ef.78.62.4e.e4.94.08.6d.e4.3b.c2.b3.fd.00.00.00.00]]
Aug 11 15:42:37 dialin port[S1]: sent [LCP ConfRej id=0x2 callback CBCP mrru 1614]
Aug 11 15:42:37 dialin port[S1]: rcvd [LCP ConfReq id=0x3 asyncmap 0x0 magic 
0x195b02a9 pcomp accomp endpoint [local:64.af.36.ef.78.62.4e.
e4.94.08.6d.e4.3b.c2.b3.fd.00.00.00.00]]
Aug 11 15:42:37 dialin port[S1]: sent [LCP ConfAck id=0x3 asyncmap 0x0 magic 
0x195b02a9 pcomp accomp endpoint [local:64.af.36.ef.78.62.4e.
e4.94.08.6d.e4.3b.c2.b3.fd.00.00.00.00]]
Aug 11 15:42:37 dialin port[S1]: sent [LCP EchoReq id=0x0 magic=0x7f64ac3f]
Aug 11 15:42:37 dialin

dial on demand and masquerade

2003-06-06 Thread Marciu Liviu
Hello,
 I nead  to set up a machine that works as a gateway for the local
 network and when sens that somebody wants to connect to the
 internet to dial out and establish a connection.
 Then after a latency time to disconect.

 Can somebody give my some points or point me a tutorial ?

 Thanks.
  

-- 
Best regards,
 Liviu. mailto:[EMAIL PROTECTED]


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



RE: dial on demand and masquerade

2003-06-06 Thread Jones, Steven
yes, I did the same thing, includes iptables firewall, dial on demand, squid
and DNS.

http://www.thing.dyndns.org/debian/dialup.htm

Steven

-Original Message-
From: Marciu Liviu [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: dial on demand and masquerade


Hello,
 I nead  to set up a machine that works as a gateway for the local
 network and when sens that somebody wants to connect to the
 internet to dial out and establish a connection.
 Then after a latency time to disconect.

 Can somebody give my some points or point me a tutorial ?

 Thanks.
  

-- 
Best regards,
 Liviu. mailto:[EMAIL PROTECTED]


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


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



dial on demand and masquerade

2003-06-05 Thread Marciu Liviu
Hello,
 I nead  to set up a machine that works as a gateway for the local
 network and when sens that somebody wants to connect to the
 internet to dial out and establish a connection.
 Then after a latency time to disconect.

 Can somebody give my some points or point me a tutorial ?

 Thanks.
  

-- 
Best regards,
 Liviu. mailto:[EMAIL PROTECTED]




RE: dial on demand and masquerade

2003-06-05 Thread Jones, Steven
yes, I did the same thing, includes iptables firewall, dial on demand, squid
and DNS.

http://www.thing.dyndns.org/debian/dialup.htm

Steven

-Original Message-
From: Marciu Liviu [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 9:30 AM
To: debian-isp@lists.debian.org
Subject: dial on demand and masquerade


Hello,
 I nead  to set up a machine that works as a gateway for the local
 network and when sens that somebody wants to connect to the
 internet to dial out and establish a connection.
 Then after a latency time to disconect.

 Can somebody give my some points or point me a tutorial ?

 Thanks.
  

-- 
Best regards,
 Liviu. mailto:[EMAIL PROTECTED]


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




Re: Dial Up Server Problems

2003-01-11 Thread Georg Lehner
Hello!

El vie, 10-01-2003 a las 13:27, Jody Grafals escribió:
...
 /var/log/auth.log
 Jan  9 01:15:16 stich-vpn mgetty[1566]: data dev=ttyS0, pid=1566,
 caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='',
 cmd='/usr/sbin/pppd', user='/AutoPPP/'
 Jan  9 01:15:20 stich-vpn PAM_unix[1566]: (ppp) session opened for user
 techquest by a_ppp(uid=0)
 Jan  9 01:15:21 stich-vpn PAM_unix[1566]: (ppp) session closed for user
 techquest


Try the kdebug and debug option for pppd and watch also at the other
ppp-logs, not only authentication.

tail -f /var/log/syslog|grep ppp

or similar.


  /var/log/mgetty/mg_ttyS0.log
 01/08 17:51:15 yS0   tss: set speed to 57600 (10001)
 01/08 17:51:15 yS0   tio_set_flow_control( HARD )
 01/08 17:51:15 yS0   waiting for line to clear (VTIME), read: 
 01/08 17:51:15 yS0  send: \dATQ0V1H0[0d]
 01/08 18:41:15 yS0  timeout in chat script, waiting for `OK'
 01/08 18:41:15 yS0  init chat timed out, trying force-init-chat
 01/08 18:41:15 yS0  send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
 01/08 18:51:15 yS0  waiting for ``OK''
 01/08 18:51:15 yS0   got: 
 01/08 19:41:15 yS0  send: \dATQ0V1H0[0d]
 01/08 19:41:15 yS0  waiting for ``OK''
 01/08 19:41:15 yS0   got: 
 01/08 21:15:10 yS0  timeout in chat script, waiting for `OK'
 01/08 21:15:10 yS0  init chat failed, exiting...: Interrupted system
 call

Why is that?  Do your problems behave correctly?

Some weeks ago I had a problem with auto-answering modems.  One has to
shut this feature off with mgetty.  But I guess this is not your problem
- just in case...

Best Regards,

Jorge-León


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




Dial Up Server Problems

2003-01-10 Thread Jody Grafals
 
I have a server  set up for dial in users. 
when you dial into the server is authenticates then 
drops the call. 

I have been working on this for a solid  week. I tried every how-to I
could find on the internet and ended up making the problem worse by not
even getting authenticated.So I yanked (dpkg -P) the mgetty and
ppp packages deleted the config directorys for them under etc then
reinstalled with deselct. I  did the most basic configuration
that I thought should work for dialing in on ttyS0 and now I'm right
back at square one. The server picks up authenticates then drops the
call.  

ANY Help would be *greatly* appreciated
 below you will find my config and log files. 


System Setup
Kernel Ver. 2.4.20 
two US Robotics Ext. 56k V.92 Modems on ttyS0  ttyS1


/etc/ppp/pap-secrets
AUTO_PPP.

*   stich-vpn 192.168.1.222

guest   stich-vpn   * -
master  stich-vpn   * -
rootstich-vpn   * -
support stich-vpn   * -
stats   stich-vpn   * -

stich-vpn   *   password



# login.config
/AutoPPP/ - a_ppp   /usr/sbin/pppd auth -chap +pap login debug
*   -   -   /bin/login @


/etc/inittab
T1:23:respawn:/sbin/mgetty  -x8 -D -s 57600 ttyS1
T0:23:respawn:/sbin/mgetty  -x8 -D -s 57600 ttyS0


/var/log/auth.log
Jan  9 01:15:16 stich-vpn mgetty[1566]: data dev=ttyS0, pid=1566,
caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='',
cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jan  9 01:15:20 stich-vpn PAM_unix[1566]: (ppp) session opened for user
techquest by a_ppp(uid=0)
Jan  9 01:15:21 stich-vpn PAM_unix[1566]: (ppp) session closed for user
techquest

 /var/log/mgetty/mg_ttyS0.log
01/08 17:51:15 yS0   tss: set speed to 57600 (10001)
01/08 17:51:15 yS0   tio_set_flow_control( HARD )
01/08 17:51:15 yS0   waiting for line to clear (VTIME), read: 
01/08 17:51:15 yS0  send: \dATQ0V1H0[0d]
01/08 18:41:15 yS0  timeout in chat script, waiting for `OK'
01/08 18:41:15 yS0  init chat timed out, trying force-init-chat
01/08 18:41:15 yS0  send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
01/08 18:51:15 yS0  waiting for ``OK''
01/08 18:51:15 yS0   got: 
01/08 19:41:15 yS0  send: \dATQ0V1H0[0d]
01/08 19:41:15 yS0  waiting for ``OK''
01/08 19:41:15 yS0   got: 
01/08 21:15:10 yS0  timeout in chat script, waiting for `OK'
01/08 21:15:10 yS0  init chat failed, exiting...: Interrupted system
call
01/08 21:15:10 # failed in mg_init_data, dev=ttyS0, pid=883
01/08 21:15:10 yS0   removing lock file
01/08 21:15:10 yS0  mgetty: experimental test release 1.1.27-Oct21
01/08 21:15:10 yS0   mgetty.c compiled at Apr  5 2002, 21:42:08
01/08 21:15:10 yS0   user id: 0, parent pid: 1
01/08 21:15:10 yS0   reading configuration data for port 'ttyS0'
01/08 21:15:10 yS0   reading /etc/mgetty/mgetty.config...
01/08 21:15:10 yS0   conf lib: read: 'debug 4'
01/08 21:15:10 yS0   conf lib: read: 'fax-id '
01/08 21:15:10 yS0   conf lib: read: 'speed 38400'
01/08 21:15:10 yS0   conf lib: read: 'issue-file /etc/issue.mgetty'
01/08 21:15:10 yS0   key: 'speed', type=0, flags=2, data=57600
01/08 21:15:10 yS0   key: 'switchbd', type=0, flags=1, data=0
01/08 21:15:10 yS0   key: 'direct', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'blocking', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'port-owner', type=1, flags=1, data=root
01/08 21:15:10 yS0   key: 'port-group', type=1, flags=1, data=dialout
01/08 21:15:10 yS0   key: 'port-mode', type=0, flags=1, data=432
01/08 21:15:10 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
01/08 21:15:10 yS0   key: 'toggle-dtr-waittime', type=0, flags=1,
data=500
01/08 21:15:10 yS0   key: 'need-dsr', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'data-only', type=3, flags=2, data=TRUE
01/08 21:15:10 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'modem-type', type=1, flags=1, data=auto
01/08 21:15:10 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK AT OK 
01/08 21:15:10 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK 
01/08 21:15:10 yS0   key: 'post-init-chat', type=2, flags=0,
data=(empty)
01/08 21:15:10 yS0   key: 'data-flow', type=4, flags=1, data=1
01/08 21:15:10 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
01/08 21:15:10 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
01/08 21:15:10 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
01/08 21:15:10 yS0   key: 'rings', type=0, flags=1, data=1
01/08 21:15:10 yS0   key: 'msn-list', type=2, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'cnd-program', type=1, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c 
01/08 21:15:10 yS0   key: 'answer-chat-timeout', type=0, flags=1,
data=80
01/08 21:15:10 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
01/08 21:15:10

Configuring ISDN Dial-In

2002-09-05 Thread Torsten Schlabach








Dear list,



I have a Debian
box with and an ISDN card and would like to allow other people to dial into my Debian PC in order to use services (i.e. Telnet, whatever).



Does anyone have a hint where
I can find some documentation? All I could find was tutorials about how to
dial-out to some ISP using ISDN.



Actually, I got ISDN set up
to the point that I can dial out; I also believe I have configured dial-in;
just it does not work an I dont know why. When clients try to dial the
box picks up and hangs up again immediately. In the /var/log/syslog
I can see a message like Cannot bind to free ipppd
connection or so.



Any hints are welcome. Is
there some type of checklist I want to go through? Is it an issue to use the thow channels of an ISDN card one to dial out and the other
to allow dial-in?



Regards,

Torsten








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: 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]




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Tech Support

 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine  the IP address of my machine after I 
have a dialup connection established.

run ifconfig

It will show all interfaces and their associated info (i.e. IP, gateway,
netmask, etc.)


Pete
-- 
To err is human, to moo bovine
http://www.elbnet.com
ELB Internet Service, Inc.
Web Design, Computer Consulting, Internet Hosting


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




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Bob Billson

Quoting Tech Support [EMAIL PROTECTED]:
 run ifconfig

That is one way.  Another is: look at the /etc/ppp/ip-up shell script.
When ppp starts up, it runs this script passing various bits of info
too it.  One of those being your assigned IP.  This script also runs
anything it finds in /etc/ppp/ip-up.d/ (passing the same info).

I wrote a quickie script which saves the info somewhere.  (/var/run seems
like a good place.)

When ppp shuts down, it runs the script /etc/ppp/ip-down and anything it
finds in /etc/ppp/ip-down.d/. 

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


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




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Christophe TROESTLER

On Thu, 24 May 2001, Antonio Rodriguez [EMAIL PROTECTED] wrote:
 
 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine the IP address of my
 machine after I have a dialup connection established. Will the first
 ip given by mtr be mine, or first machine connected to in network?

Type (as root)

tail -f -n50 /var/log/messages

before you launch the dialup connection.  You will see the entire
process, including all the info your provider is sending to you.
After that, you can decide the best way to go depending on the use you
want to make of that IP address...

ChriS


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




Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Antonio Rodriguez

I know this must be a very stupid question (+/+)  flaming myself
Any way: I am not sure how I can determine  the IP address of my machine after I have 
a dialup connection established. Will the first ip given by mtr be mine, or first 
machine connected to in network?
How does it work in the case of cable-modem connection? Since I have noticed that what 
we get is adapter address, instead of ip address.
Please send a copy of reply to [EMAIL PROTECTED]  (trying to connect with my home 
machine from work with putty) Lost.
Thanks a lot.


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




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Sanjeev Gupta

On Thu, 24 May 2001, Antonio Rodriguez wrote:

 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine  the IP address of my machine after I 
have a dialup connection established. Will the first ip given by mtr be mine, or 
first machine connected to in network?
 How does it work in the case of cable-modem connection? Since I have noticed that 
what we get is adapter address, instead of ip address.

ifconfig 

The first IP in mtr will be that of your ISP's gateway towards you.

--
Sanjeev ghane GuptaMob: +65 98551208
dotXtra Pte Ltd  Fax: +65 5470260
Singaporeemail: [EMAIL PROTECTED]
~~


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




Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Antonio Rodriguez
I know this must be a very stupid question (+/+)  flaming myself
Any way: I am not sure how I can determine  the IP address of my machine after 
I have a dialup connection established. Will the first ip given by mtr be mine, 
or first machine connected to in network?
How does it work in the case of cable-modem connection? Since I have noticed 
that what we get is adapter address, instead of ip address.
Please send a copy of reply to [EMAIL PROTECTED]  (trying to connect with my 
home machine from work with putty) Lost.
Thanks a lot.




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Tech Support
 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine  the IP address of my machine 
 after I have a dialup connection established.

run ifconfig

It will show all interfaces and their associated info (i.e. IP, gateway,
netmask, etc.)


Pete
-- 
To err is human, to moo bovine
http://www.elbnet.com
ELB Internet Service, Inc.
Web Design, Computer Consulting, Internet Hosting




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Christophe TROESTLER
On Thu, 24 May 2001, Antonio Rodriguez [EMAIL PROTECTED] wrote:
 
 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine the IP address of my
 machine after I have a dialup connection established. Will the first
 ip given by mtr be mine, or first machine connected to in network?

Type (as root)

tail -f -n50 /var/log/messages

before you launch the dialup connection.  You will see the entire
process, including all the info your provider is sending to you.
After that, you can decide the best way to go depending on the use you
want to make of that IP address...

ChriS




Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Bob Billson
Quoting Tech Support [EMAIL PROTECTED]:
 run ifconfig

That is one way.  Another is: look at the /etc/ppp/ip-up shell script.
When ppp starts up, it runs this script passing various bits of info
too it.  One of those being your assigned IP.  This script also runs
anything it finds in /etc/ppp/ip-up.d/ (passing the same info).

I wrote a quickie script which saves the info somewhere.  (/var/run seems
like a good place.)

When ppp shuts down, it runs the script /etc/ppp/ip-down and anything it
finds in /etc/ppp/ip-down.d/. 

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




Dial-In Server with ONLY ONE USER-ID/PASSOWRD

2001-05-23 Thread Michelle Konzack
Hello, 

I have tried since month to get my Dial-In Server running with 
only one USER-ID and PASSWORD or nothing but without success. 

I have 8 lines with external ISDN-Modems and I use pppd and 
mgetty. If I setup regular accounts it works fine but I like to 
have only one USER-ID/PASSWORD combination for all eight lines. 

How can I do it. 

The better idea is, if the users can use any USER-ID/PASSWORD 
combination. 

Can anyone help me because it is urgently NOW. - Time flys.

Many Thanks in advance

Michelle
FunkLAN-Providerin




Re: Dial-on-demand only works once for a client of the linux-PC

2000-12-04 Thread I. Forbes

Hello Piet 

On 1 Dec 2000, at 13:29, Piet Knoester wrote:

 A reboot of the linux router gives the windows98-pc again exactly
 one possible activation of the dial-on-demand function on it. 
 
 I have struggled for a week now and also taken another Compaq and
 thus a new install but   same problem. Can anyone give me a
 hint 

I have had a similar problem using "isdn-utils" and "diald" in 
combination.  My problem was some scripts that the isdn-utils 
package installed in the /etc/ppp/ip-up/ and /etc/ppp/ip-down/ 
directories.  These messed up the routes after the first call had 
been placed.

Have fun!

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]




Betr.: Re: Dial-on-demand only works once for a client of thelinux-PC

2000-12-04 Thread Piet Knoester

Hello Ian,


I have seen them. And you removed these scripts, in both directories? And it helped ?!

 "I. Forbes" [EMAIL PROTECTED] 4-12-2000 11:56:09 
Hello Piet 

On 1 Dec 2000, at 13:29, Piet Knoester wrote:

 A reboot of the linux router gives the windows98-pc again exactly
 one possible activation of the dial-on-demand function on it. 
 
 I have struggled for a week now and also taken another Compaq and
 thus a new install but   same problem. Can anyone give me a
 hint 

I have had a similar problem using "isdn-utils" and "diald" in 
combination.  My problem was some scripts that the isdn-utils 
package installed in the /etc/ppp/ip-up/ and /etc/ppp/ip-down/ 
directories.  These messed up the routes after the first call had 
been placed.

Have fun!

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]




Dial-on-demand only works once for a client of the linux-PC

2000-12-01 Thread Piet Knoester

Compaq Deskrpo 2000 - 32 MB - Eicon Diva PCI - Intel Ethernet 100 Pro
Debian 2.2 - Ipchains - Isdnutils

In at test now, with dynamic ip.

After the boot of both the linux router and a connected windows98-pc a start of 
Netscape on the windows98-pc causes a dial-on-demand to my isp. Ipchains -L -n  shows 
an activated "chain" . After the idle time the connection is terminated and the 
"chain" is gone. Everything fine up till now.

A new start of Netscape on the windows98-pc (!) now doesn't bring up the line on the 
linux router to the isp anymore. I can however ping the linux router from the 
windows98-pc, and reverse. 
If I then on the linux router itself bring up the line to the isp by for instance a 
ping, the windows98-pc can travel along to the internet.

A reboot of the linux router gives the windows98-pc again exactly one possible 
activation of the dial-on-demand function on it.


I have struggled for a week now and also taken another Compaq and thus a new install 
but   same problem. Can anyone give me a hint 


This router is supposed to be our new Lan router (with static ip) to the internet.




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




Re: Dial-on-demand only works once for a client of the linux-PC

2000-12-01 Thread Kasatenko Ivan Alex.


 A reboot of the linux router gives the windows98-pc again exactly one
 possible activation of the dial-on-demand function on it.


Just try to restart PPPD. It dies, supposingly. Maybe, you should put it into 
inittab with "nodetach" option, it's up to you.

-- 
Ivan A. Kasatenko


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




dial out problem

2000-11-08 Thread Peter Fedichev


Hello,

Please tell me if somebody knows how to make sendfax working from
behind the office telephone station. The problem is that in order to
place a call I have to dial "*0" and my pin code first. Only after that
the dial tone shows up. Instead, sendfax quits with "NO DIAL TONE"
complain. I did try to set up the dial-prefix in the
/etc/mgetty/sendfax.conf, but this made the sendfax hung without
bothering the modem (no modem sounds or lamps were on)

I have a similar problem when calling my ISP from home (there I have to
place "0" before the number to get the dial tone). I would also
appreciate if any of you know the solution for Windows 98 (sorry :)),
since by far I have no Internet access from home in any way due to this
stupid problem

thanks in advance



--
Peter O. Fedichev (Ph.D.)
ITP, Innsbruck




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




Re: dial out problem

2000-11-08 Thread Robert Davidson

On Wed, Nov 08, 2000 at 10:54:51AM +0100, Peter Fedichev wrote:
 
 Hello,
 
 Please tell me if somebody knows how to make sendfax working from
 behind the office telephone station. The problem is that in order to
 place a call I have to dial "*0" and my pin code first. Only after that
 the dial tone shows up. Instead, sendfax quits with "NO DIAL TONE"
 complain.

Stick X0 in your init string for your modem.  That should fix that 
issue.   You could even open minicom or something and do it manually

ATX0

if you want to save it to the modems config profile, then type:

ATX0W

That will save it in there, even after you turn off the modem.

 I did try to set up the dial-prefix in the
 /etc/mgetty/sendfax.conf, but this made the sendfax hung without
 bothering the modem (no modem sounds or lamps were on)
 
 I have a similar problem when calling my ISP from home (there I have to
 place "0" before the number to get the dial tone). I would also
 appreciate if any of you know the solution for Windows 98 (sorry :)),

Yeah.. um, go to control panel  modems  select your modem, click 
properties, somewhere there there should be a "connection" tab, click 
on it, then click on advanced, the in the "extra settings" box put in 
X0

Regards,
Robert Davidson.


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




dial-in session disconnected while sending large file

2000-10-16 Thread Andika Triwidada

Hello,

My machine acted strangely: dial-in users got disconnected while
sending large-sized emails. Troubleshooting is rather difficult, for I do
not have physical access to the server nor capability to test dialin 
connection myself. (The server is in the other side of Pacific).

A quick info on the system:
Intel CPU, Potato, kernel-2.2.17 (recompiled to support SMP),
Cyclades multiport serial card, ppp as module, mgetty.

Could you tell me how to start troubleshoot?
Maybe ppp configuration should be modified?

TIA,

-- andika


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




Configuring KDE- Dial Up PPP

2000-09-20 Thread Jacob Hunter
When i run Dial Up Networking on KDE a box comes up saying pppd died 
unexpectedly...  I have my connection configured properly to work with my ISP, 
but it still says that... i even tried a different ISP...
anyone have any ideas?
jacob




Re: Configuring KDE- Dial Up PPP

2000-09-20 Thread Christopher W. Aiken
On Wed, Sep 20, 2000 at 12:39:40AM -0700, Jacob Hunter wrote:
-|When i run Dial Up Networking on KDE a box comes up saying pppd died 
unexpectedly...  I have my connection configured properly to work with my ISP, 
but it still says that... i even tried a different ISP...
-|anyone have any ideas?
-|jacob
-|

Do an ls -l on your pppd and see what group it belongs too.
Add yourself to that group.  Then logout/login to reset your
group list.  Also look in /etc/ppp for an options file.  If there
is no options file then touch options to create an empty one.

---   
Christopher W. Aiken, Scenery Hill, Pa, USA
chris at cwaiken dot com,   www.cwaiken.com
Preferred O/S: Debian Linux 2.2




Re: Configuring KDE- Dial Up PPP

2000-09-20 Thread Thomas Halahan

I asked had this problem a week ago.  Many people kindly replied, and
I sorted it out.  It is the 'auth' option in /etc/ppp/options.  

I have forwarded the emails to your email address so as not to
clutter here.

Tom

On Wed, 20 Sep 2000, Christopher W. Aiken wrote:
 On Wed, Sep 20, 2000 at 12:39:40AM -0700, Jacob Hunter wrote:
 -|When i run Dial Up Networking on KDE a box comes up saying pppd died 
 unexpectedly...  I have my connection configured properly to work with my 
 ISP, but it still says that... i even tried a different ISP...
 -|anyone have any ideas?
 -|jacob
 -|
 
 Do an ls -l on your pppd and see what group it belongs too.
 Add yourself to that group.  Then logout/login to reset your
 group list.  Also look in /etc/ppp for an options file.  If there
 is no options file then touch options to create an empty one.
 
 ---   
 Christopher W. Aiken, Scenery Hill, Pa, USA
 chris at cwaiken dot com,   www.cwaiken.com
 Preferred O/S: Debian Linux 2.2
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null




Debian Dial-up Server

2000-09-05 Thread Adrian Nims
 I want to install a Debian dial-up server. What packages from debian do I
need ?

Adrian Nims




Re: Debian Dial-up Server

2000-09-05 Thread Keith G. Murphy
Adrian Nims wrote:
 
  I want to install a Debian dial-up server. What packages from debian do I
 need ?
 
 
I believe that 'ppp' and 'mgetty', with their dependencies, should be
sufficient.




Re: PPP dial on demand

2000-08-16 Thread Luca Filipozzi

On Wed, Aug 16, 2000 at 04:55:02PM +1000, ridgey wrote:
 I have just setup a debian server to dialup a PPP connection and then supply
 internet to a 192.x.x.x network.  Im currently using wvdial that works fine
 but has little control.  Is there a way or program to use that will allow
 for dial on demand connections and also disconnect if idle.
 Any help appreciated.

Look at diald.

-- 
Luca Filipozzi
[dpkg] We are the apt. Resistance is futile. You will be packaged.


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




Re: PPP dial on demand

2000-08-16 Thread Daniel Free

umm lets se there is the default debian confurator which does all of the 
stuff you need incredibly ezsily, using pppd

just type pppconfig in a console

At 16:55 16/08/2000 +1000, ridgey wrote:
I have just setup a debian server to dialup a PPP connection and then supply
internet to a 192.x.x.x network.  Im currently using wvdial that works fine
but has little control.  Is there a way or program to use that will allow
for dial on demand connections and also disconnect if idle.
Any help appreciated.

Regards


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

-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-
-=|  Daniel Free Earthlight Communications LTD|=-
-=|  [EMAIL PROTECTED]ICQ#15707938 |=-
-=|  Cellular # 021 258 3389 HTTP://quake.earthlight.co.nz/   |=-
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-


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




PPP dial on demand

2000-08-16 Thread ridgey
I have just setup a debian server to dialup a PPP connection and then supply
internet to a 192.x.x.x network.  Im currently using wvdial that works fine
but has little control.  Is there a way or program to use that will allow
for dial on demand connections and also disconnect if idle.
Any help appreciated.

Regards




Re: PPP dial on demand

2000-08-16 Thread Luca Filipozzi
On Wed, Aug 16, 2000 at 04:55:02PM +1000, ridgey wrote:
 I have just setup a debian server to dialup a PPP connection and then supply
 internet to a 192.x.x.x network.  Im currently using wvdial that works fine
 but has little control.  Is there a way or program to use that will allow
 for dial on demand connections and also disconnect if idle.
 Any help appreciated.

Look at diald.

-- 
Luca Filipozzi
[dpkg] We are the apt. Resistance is futile. You will be packaged.




Re: PPP dial on demand

2000-08-16 Thread Klemen Vodopivec
On Wed, 16 Aug 2000 16:55:02 +1000, ridgey wrote:
I have just setup a debian server to dialup a PPP connection and
then supply
internet to a 192.x.x.x network.  Im currently using wvdial that
works fine
but has little control.  Is there a way or program to use that will
allow
for dial on demand connections and also disconnect if idle.
Any help appreciated.

Regards


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

If you're looking for some nice Windows interface there's a program
called WinLux I think.


-- Klemen Vodopivec, [EMAIL PROTECTED] on 08.16.2000




Re: PPP dial on demand

2000-08-16 Thread Daniel Free
umm lets se there is the default debian confurator which does all of the 
stuff you need incredibly ezsily, using pppd

just type pppconfig in a console
At 16:55 16/08/2000 +1000, ridgey wrote:
I have just setup a debian server to dialup a PPP connection and then supply
internet to a 192.x.x.x network.  Im currently using wvdial that works fine
but has little control.  Is there a way or program to use that will allow
for dial on demand connections and also disconnect if idle.
Any help appreciated.
Regards
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-
-=|  Daniel Free Earthlight Communications LTD|=-
-=|  [EMAIL PROTECTED]ICQ#15707938 |=-
-=|  Cellular # 021 258 3389 HTTP://quake.earthlight.co.nz/   |=-
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-



Dial in

2000-06-26 Thread Bill
Hi all,
How do you configure Debian to authenticate an
incoming call. or  where to find info on doing this.

Thanks in advance
Bill

   *
The Mind is like a parachute;
   it works much better when it's open.
   *


[EMAIL PROTECTED]





Re: Dial in

2000-06-26 Thread Tim

The package 'mgetty' does the trick nicely.

It has a debian package but you can read up on it at:
http://alpha.greenie.net/mgetty/

Tim.

 How do you configure Debian to authenticate an
 incoming call. or  where to find info on doing this.





Re: Dial in

2000-06-26 Thread Tim

You were probably looking for RADIUS or something.
mgetty is for tty handling.

I use cistron based radius daemon.

Sorry about the confusion,
Tim.
 
 The package 'mgetty' does the trick nicely.
 
 It has a debian package but you can read up on it at:
 http://alpha.greenie.net/mgetty/
 
 Tim.
 
  How do you configure Debian to authenticate an
  incoming call. or  where to find info on doing this.
 
 
 




PPP dial-up server w/ multiple eth adapters: operation not permitted

2000-05-23 Thread Andreas Abach
Hi there,

I have a strange problem getting a PPP dial-up working.

The machine is running Debian 2.1 and kernel 2.2.13.

I use mgetty which properly transfers the call to pppd. The clients
gets its 
correct IP address, but it can't ping the p-t-p address, nor can I ping
the 
client from the server. If I try to do so I get a operation not
permitted.

It seems that pppd on the server is confused which ip address to assign
to 
the ppp0 interface. The machine has two network interfaces, eth0 which 
connects it to the rest of the world, and eth1 which connects it to a
LAN.

Since the dial-in machine is being assigned an internal (LAN) address I
need 
proxy-arp. However due to my understanding this can't work if the ppp0 
interface on the server is being assigned the external if address
instead of 
the internal one.

Let me try to draw a simple map of the setup:
   ___
 _/   \___
/ \internet
|_/
 \__/
|
|
O  eth0 with external IP
  +---+
  M---|   |router w/ modem attached
  +---+
O  eth1 w/ internal IP
|
|
+---+---+---+---+---+
|   |   |   |   |   |
   +-+ +-+ +-+ +-+ +-+ +-+
   | | | | | | | | | | | |   LAN machines
   +-+ +-+ +-+ +-+ +-+ +-+


The router's eth1 interface as well as all the LAN machines have
official ip 
addresses from out of the same class C network.

The router's eth0 interface is the router's default gateway.

Questions:

1) Do I need to assign the ppp0 interface a unique IP address? Or can I

leave the default address that pppd assigns (namely the address of the 
external(!) if eth0)? How do I force pppd to assign a specified ip
address? 
Entering an address into options.modem (for serial line /dev/modem)
does NOT 
work for me.

2) What about proxy arp. I had the proxyarp entry in options but it

wouldn't work this way, so I tried to manually set up a proxy arp entry
that 
connects the client's IP to the router's eth1(!) MAC/ethernet address.
But 
this didn't ehlp either. :-(

Any other gotchas I should watch for?

Thanks,

Ralf, Andreas



-- 
Dipl.-Ing. Andreas Abach * Lehrstuhl fuer Kunststofftechnik Uni Erlangen
 Tel.: +49-9131-85297-06 * Fax.: -09 * email: [EMAIL PROTECTED]
Am Weichselgarten 9 * D-91058 Erlangen * www.keramikspritzgiessen.de
PGPID 0x5672B1F8 F-Print FD50 85C0 7580 5467 65E7 3BE8 58BC 65F4 5672 B1F8





Re: PPP dial-up server w/ multiple eth adapters: operation not permitted

2000-05-23 Thread Kasparavicius Andrius
On Tue, 23 May 2000, Andreas Abach wrote:

 Hi there,
 
 I have a strange problem getting a PPP dial-up working.
 
 The machine is running Debian 2.1 and kernel 2.2.13.
 
 I use mgetty which properly transfers the call to pppd. The clients
 gets its 
 correct IP address, but it can't ping the p-t-p address, nor can I ping
 the 
 client from the server. If I try to do so I get a operation not
 permitted.

 I think u need to check ipchains permissions. See ppp.up ppp.down..

  -
Kasparavicius Andrius

http://www.andrius.org  ICQ:17701001  tel.: +370 87 25630 nick: Casper
AK2858-RIPE 




Re: PPP dial-up server w/ multiple eth adapters: operation not permitted

2000-05-23 Thread Ralf G. R. Bergs
On Tue, 23 May 2000 09:12:04 -0200 (GMT+2), Kasparavicius Andrius wrote:

[...]
 I use mgetty which properly transfers the call to pppd. The clients
 gets its 
 correct IP address, but it can't ping the p-t-p address, nor can I ping
 the 
 client from the server. If I try to do so I get a operation not
 permitted.

 I think u need to check ipchains permissions. See ppp.up ppp.down..

I guess you mean ip-up (ip-up.d/*) resp. ip-down (ip-down.d/*)?

Thanks for suggesting this, but I don't think this is the reason.

There aren't any rules that pertain to ppp0. Also, the client machine that 
dials in gets an IP address from out of the LAN. The LAN machines have 
unrestricted access to each other and thru the internal interfaces of the 
router.


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^





Re: PPP dial-up server w/

2000-05-23 Thread Chris Wagner
Each tty has an options file.  The server side and client side ips are
assigned in there.

+---+
|-=I T ' S  P R I N C I P L E  T H A T  C O U N T S=-   |
|=-  -=ALAN KEYES FOR PRESIDENT=- -=|
| Balanced Budgets Personal Freedoms Morality Lower Tax |
|=--  http://www.Keyes2000.com.  --=|
+———+




forcing pppd to dial even on a different tone

2000-03-15 Thread t s a d i
hello Everyone,

Anybody know of a way to force a pppd script (created by pppconfig)
to dial and execute ATDT9,1234567 even if there is no dial tone ?
The reason is that, I am behind a PABX system, and traditional
ATDT9,1234567 or ATDT9w1234567 wont work because in our PABX, unless
you dial local 9 first, you wont get a dial tone (just a low freq
humming sound).  This causes the script to just stop w/o even trying to
dial and then give a NO DIALTONE error to ppp.log.

 Any help greatly appreciated.

Thanks in advance,
Chad A. Adlawan

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



RE: forcing pppd to dial even on a different tone

2000-03-15 Thread Jerzy Miszczyk
Usually ATX3 does the trick :)))... so it would be atx3dt9,1234567

Best regards
Jersey
--
From:   t s a d i[SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, March 15, 2000 11:38 AM
To: debian-isp@lists.debian.org
Subject:forcing pppd to dial even on a different tone

hello Everyone,

Anybody know of a way to force a pppd script (created by pppconfig)
to dial and execute ATDT9,1234567 even if there is no dial tone ?
The reason is that, I am behind a PABX system, and traditional
ATDT9,1234567 or ATDT9w1234567 wont work because in our PABX, unless
you dial local 9 first, you wont get a dial tone (just a low freq
humming sound).  This causes the script to just stop w/o even trying to
dial and then give a NO DIALTONE error to ppp.log.

 Any help greatly appreciated.

Thanks in advance,
Chad A. Adlawan

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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



Re: forcing pppd to dial even on a different tone

2000-03-15 Thread Gupta
This is not a ppp issue, but a modem config parameter.  Most modems, try

ATX0 or ATX1

See the modem manual, check for either blind dial, or a table which lists
the various values that ATX can take.  You want the value that does _not_
report NO DIAL TONE.


Anybody know of a way to force a pppd script (created by pppconfig)
to dial and execute ATDT9,1234567 even if there is no dial tone ?
The reason is that, I am behind a PABX system, and traditional
ATDT9,1234567 or ATDT9w1234567 wont work because in our PABX, unless
you dial local 9 first, you wont get a dial tone (just a low freq
humming sound).  This causes the script to just stop w/o even trying to
dial and then give a NO DIALTONE error to ppp.log.

 Any help greatly appreciated.

Thanks in advance,
Chad A. Adlawan

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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