Addition ideas:

Diald can bring up the link and keep it up when ever you want.  Check out
"diald.example" there options to force the link down "down" and force
the link up "up" despite traffic.


=====================================================
** Glynn S. Condez                                   PHONE: +63 2 754 8096
** Systems Engineer                                 CELL: 0919-2721390
** TechSquare Philippines Incorporated   EMAIL: [EMAIL PROTECTED]
** Makati City 1227, Philippines                 WEBSITE: www.techsquare.com
----------------------------------------------------------------------------
----
----------------------- SysAd favorite commands -------------------

"cd /pub | more beer ; who | grep -i blonde ;talk; cd ~ ; wine; talk;
touch; unzip; touch; strip; gasp; finger; gasp; mouth; fsck; more; yes;
gasp;
umount; make clean; sleep)"



From: "Jimmy Lim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 11:52 AM
Subject: Re: [plug] SCHEDULED CUT-OFF FOR DIAL-INS


>
> >
> >> to all pluggers,
> >>                      good day to all!
> >> i have two modems attach to my server, one for dial-out and the other
> >> is for my dial-ins(ppp0-dialout/ppp1-dial-ins). is it possible to make
> >> a crontab schedule in every two hours my dial-in clients will be
> >> disconnected. i'm find it hard what command should i issue and
> >> services to be turn off or to be cut-off. i tried the command "killall
> >> pppd" but all are cut off from my dial-out connections to my dial-ins.
> >> please advice on what to do.
> >>
> >> p.s. im using mgetty
> >>
> >> thanks,
> >> arvin
> >
> > Try greping the username of the remote user
> >
> > %killall pppd | grep -v -e grep | grep <remoteuser> | awk '{print $1}'
> >
> > or try remove the user you dial-out
> >
> > %killall pppd | grep -v -e grep | grep -v -e <dial-out username> | awk
> > '{print $1}'
> >
> > HTH
> >
> >
> >
> > --
> > Jimmy Lim
> > Operation & Support Team Leader
> > Tricom
> >
> >
> Opps! I made a wrong command
>
> Try this...
>
> kill -9 `ps aux | grep -v -e grep | grep pppd | grep <user of dial-in> |
> awk '{print $2}}'`
>
> kill -9 `ps aux | grep -v -e grep | grep pppd | grep -v -e <user of
> dial-out> | awk '{print $2}'`
>
> HTH
>
>
> --
> Jimmy Lim
> Operation & Support Team Leader
> Tricom
>
>
> _
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> Fully Searchable Archives With Friendly Web Interface at
http://marc.free.net.ph
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]
>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to