All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Frey <markfrey@sympatico.ca>
To: Rod <rod451@gmx.net>
Cc: linux-diald@vger.kernel.org
Subject: Re: Controlling diald remotely
Date: Mon, 23 Jun 2003 09:57:28 -0400	[thread overview]
Message-ID: <3EF70748.8040505@sympatico.ca> (raw)
In-Reply-To: <20030623123905.GA1238@pike.home>

Hi Rod,

Dctrl should work on any platform that has a TCL interpreter and 
networking.  You can find one for windows here:

http://aspn.activestate.com/ASPN/Tcl/Downloads/

Dctrl can use a fifo localy or a TCP socket for remote access.  You'll 
need something like this in your diald.conf:

linkname <connection name here>
linkdesc <some description of the connection>
tcpport 300
fifo /etc/diald/diald.ctl
authsimple /etc/diald/auth

You can specify the tcp host and port on the dctrl command line or in 
the <file><connect> menu, then you just give it an access name that 
matches an entry in the authsimple file.

The authsimple file maps access names in dctrl to allowed monitor 
functions.  Here's a sample auth file:

# format is:  name  allow,allow,allow..
#        or:  name  0x<hex allow bits>
#   where allow is one or more of: none, control, config, block, unblock,
#                                  force, unforce, down, up, delquit, quit,
#                                  reset, queue, debug, dynamic, monitor,
#                                  message, connect, demand, nodemand, auth.

# eg:
# thisuser up,down,message,connect
# totalaccess 0xFFFFFFFF

biguser        0xFFFFFFFF
joe	control,block,unblock,force,unforce,up,down,monitor,connect


You'll still have to figure out something to switch ISPs.

Hope this helps!

Mark.


Rod wrote:
> Greetings,
> 
> I'm looking for a better solution to control diald from a remote client.
> Something that works for Windows and Linux preferred but a Linux only
> solution would also be acceptable.  The ability to handle multiple ISP's
> would also be good.
> 
> I'm currently using dialmon but it's a Windows client only solution and
> I've been having trouble with multiple instances of diald being
> (intermittently) launched on the server.
> 
> I've seen references that dctrl can be used from a remote host but there
> doesn't appear to be much documentation on how to configure the
> client/server to do this.
> 
> Any help/directions would be appreciated.
> 
> Cheer's,
> Rod
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



      reply	other threads:[~2003-06-23 13:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17  9:45 connect issue Mirco Ellis
2003-06-17 10:10 ` Andy Hutchinson
2003-06-17 16:17   ` Mirco Ellis
2003-06-23 12:39     ` Controlling diald remotely Rod
2003-06-23 13:57       ` Mark Frey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF70748.8040505@sympatico.ca \
    --to=markfrey@sympatico.ca \
    --cc=linux-diald@vger.kernel.org \
    --cc=rod451@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.