Fabian.Braennstroem | 11 Nov 14:22 2003
Picon

Capi Isdn Connection in Status-Bar

Hello Everybody,

does anybody have an idea how I can   make a program for the
status-bar,  that shows me  if I am connected via Capi to the internet?

Thanks!
Fabian

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/0XFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

Edelhard Becker | 11 Nov 15:19 2003
Picon

Re: Capi Isdn Connection in Status-Bar

Hi Fabian,

On Tue, Nov 11, 2003 at 02:22:32PM +0100, Fabian.Braennstroem <at> t-online.de wrote:
> Hello Everybody,
> 
> does anybody have an idea how I can   make a program for the
> status-bar,  that shows me  if I am connected via Capi to the internet?

i use the following crude python hack to display some network and
online statistics from our fli4l router via X properties in the
statusbar. You may use this as a starting point on larswm's side, just
feed it with the info you need from /proc/capi/*.

HTH,
Edelhard
--

-- 
One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate sucessful termination of
their C programs.  - Robert Firth

#!/usr/bin/python
#
# $Id: pyimonc.py,v 1.7 2002/09/12 09:27:29 ebecker Exp $
#
# (fli4l) imonc client for larswm status line
#

import sys
import os
import telnetlib
(Continue reading)

Fabian.Braennstroem | 12 Nov 21:34 2003
Picon

Re: Capi Isdn Connection in Status-Bar

Hello Edelhard,
> i use the following crude python hack to display some network and
> online statistics from our fli4l router via X properties in the
> statusbar. You may use this as a starting point on larswm's side, just
> feed it with the info you need from /proc/capi/*.

Thanks for the quick answer! I will try it.

Greetings.
Fabian

P.S. Maybe it is not the right place, but I just started with Capi/isdn.
Do you know how I can connect and disconnect in an easy way? Right know
I do that with: "pppd call isdn/t-online" "killall pppd".

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/0XFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

Sven Guckes | 14 Nov 00:22 2003
Picon

Re: Capi Isdn Connection in Status-Bar

* <Fabian.Braennstroem <at> t-online.de> [2003-11-12 22:13]:
> P.S. Maybe it is not the right place, but I just started with Capi/isdn.
> Do you know how I can connect and disconnect in an easy way? Right
> know I do that with: "pppd call isdn/t-online" "killall pppd".

you are reight - this isn't the right place for it.
there are lots of newsgroups and mailinglists list
about other things, but this list certainly just
for things about larswm - and your problem is not.

hint:  groups.google.com  good luck!

Sven

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/0XFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Gmane