RADIUS support for caller ID and call-back

2000-08-23 Thread Erik Peter P. Abella
Hello All,

Has anyone managed to log the phone numbers of dial-ups with radius? If
so, a sample .conf will be really helpful. Also, being the NT fan that
my boss is, he's asking if radius can call back a specific user to make
sure that the account is being used from a specific telephone line.

Thanks,

Erik Peter P. Abella




inittab weirdness?

2000-08-23 Thread Security
List;

Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
harmless, etc but it is annoying. I get these respawning too fast errors to
the console. They go away when I comment out the
S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
is.

Truncated for brevity:

or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
login_host] line baud_rate,... [termtype]
INIT: Id "S" respawning too fast: disabled for 5 minutes

I edit my inittab file to look like this in the last lines:


# Example how to put a getty on a modem line.
#

#S:12345:respawn:/sbin/getty ttyS3

After a reboot it looks like this:

# how to put a getty on a modem line.


S:12345:respawn:/sbin/getty ttyS3

I did all kinds of things like make the file read only but it still
happens. I have absolutely no need for a getty on a modem line, I am on a
LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
Laptop with a brand spanking new potato installed yesterday. It connects
through a Xircom PC card and 10baseT. Perhaps I have a package installed I
don't need or somesuch.

Personal replies appreciated, but responding to the list helps everyone.

Your time and any ideas appreciated.


Thanks

Tom





Re:inittab weirdness?

2000-08-23 Thread Security
Well, as I stated down a ways in the original post inittab gets overwritten
on every reboot.

Therein lies the rub.

Tried that... Been there..

Thanks anyway and sorry for the confusion.

Tom

>the inittab entry you are looking at is attempting to take control of
>the modem. From what I read here, there is no modem. getty dies. init
>respawns getty (because of teh respawn). There is no modem, getty dies.
>etc...
>
>if you don't have a modem, comment out the line. Generally, this is a
>call to mgetty, not getty, so I don't understand that. but, unless you
>have a serial terminal or something on ttyS3, this line is useless and,
>worse, takes up processing time, etc... by respawning.
>
>Rod
>
>> List;
>>
>> Here is a weird one I can't seem to find the cause of. Perhaps it is
>inane,
>> harmless, etc but it is annoying. I get these respawning too fast
>errors to
>> the console. They go away when I comment out the
>> S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot
>that
>> is.
>>
>> Truncated for brevity:
>>
>> or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
>> login_host] line baud_rate,... [termtype]
>> INIT: Id "S" respawning too fast: disabled for 5 minutes
>>
>> I edit my inittab file to look like this in the last lines:
>>
>>
>> # Example how to put a getty on a modem line.
>> #
>>
>> #S:12345:respawn:/sbin/getty ttyS3
>>
>> After a reboot it looks like this:
>>
>> # how to put a getty on a modem line.
>>
>>
>> S:12345:respawn:/sbin/getty ttyS3
>>
>> I did all kinds of things like make the file read only but it still
>> happens. I have absolutely no need for a getty on a modem line, I am
>on a
>> LAN and no phone line ever connects to this box. It is a IBM Thinkpad
>701C
>> Laptop with a brand spanking new potato installed yesterday. It
>connects
>> through a Xircom PC card and 10baseT. Perhaps I have a package
>installed I
>> don't need or somesuch.
>>
>> Personal replies appreciated, but responding to the list helps
>everyone.
>>
>> Your time and any ideas appreciated.
>>
>>
>> Thanks
>>
>> Tom
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
>[EMAIL PROTECTED]
>>
>>
>>
>
>R. W. Rodolico
>Daily Data, Inc.
>POB 140465
>Dallas  TX  75214-0465
>214.827.2170
>
>It appears I could be pursuing an untamed ornithoid to no purpose.
>--Brent Spiner as Data, Star Trek: The Next Generation






Re: inittab weirdness?

2000-08-23 Thread Todd Troxell
Hello,
I have had the exact same problem with a DEC PC 425se laptop.  Its an 
older machine (486) and I have tried the same things as you with the same 
results.  I am not all too famillar with the inner workings of init, but I 
still can not figure out why the lines are reset on a reboot.
Anyone have an idea?

-Todd

List;
Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
harmless, etc but it is annoying. I get these respawning too fast errors to
the console. They go away when I comment out the
S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
is.
Truncated for brevity:
or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
login_host] line baud_rate,... [termtype]
INIT: Id "S" respawning too fast: disabled for 5 minutes
I edit my inittab file to look like this in the last lines:
# Example how to put a getty on a modem line.
#
#S:12345:respawn:/sbin/getty ttyS3
After a reboot it looks like this:
# how to put a getty on a modem line.
S:12345:respawn:/sbin/getty ttyS3
I did all kinds of things like make the file read only but it still
happens. I have absolutely no need for a getty on a modem line, I am on a
LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
Laptop with a brand spanking new potato installed yesterday. It connects
through a Xircom PC card and 10baseT. Perhaps I have a package installed I
don't need or somesuch.
Personal replies appreciated, but responding to the list helps everyone.
Your time and any ideas appreciated.
Thanks
Tom

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


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Re: inittab weirdness?

2000-08-23 Thread Chester Hosey
Try something like egrep -r ttyS3 /etc or similar to see what files
reference this. If some script is running at boot and adding this line to
inittab (or rebuilding inittab entirely), you can find out where this line
is coming from by grepping around /etc.

If a line in a script adds this line, comment out that part of the script.
It's possible that inittab is created from other files upon boot (like
/etc/modules.conf). If that is the case, you can modify whatever base file
the line comes from.

Grep wisely.

-chet

-
yet he has sorcery

On Wed, 23 Aug 2000, Security wrote:

> List;
> 
> Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
> harmless, etc but it is annoying. I get these respawning too fast errors to
> the console. They go away when I comment out the
> S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
> is.
> 
> Truncated for brevity:
> 
> or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
> login_host] line baud_rate,... [termtype]
> INIT: Id "S" respawning too fast: disabled for 5 minutes
> 
> I edit my inittab file to look like this in the last lines:
> 
> 
> # Example how to put a getty on a modem line.
> #
> 
> #S:12345:respawn:/sbin/getty ttyS3
> 
> After a reboot it looks like this:
> 
> # how to put a getty on a modem line.
> 
> 
> S:12345:respawn:/sbin/getty ttyS3
> 
> I did all kinds of things like make the file read only but it still
> happens. I have absolutely no need for a getty on a modem line, I am on a
> LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
> Laptop with a brand spanking new potato installed yesterday. It connects
> through a Xircom PC card and 10baseT. Perhaps I have a package installed I
> don't need or somesuch.
> 
> Personal replies appreciated, but responding to the list helps everyone.
> 
> Your time and any ideas appreciated.
> 
> 
> Thanks
> 
> Tom
> 
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 




followup: inittab weirdness?

2000-08-23 Thread Security
List;

In regards to /etc/inittab being altered to spawn a getty on ttyS3  on
reboot.


Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
/dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
docs,/usr/include/asm/serial.h and in the logs.

Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
&&cat $i|grep ttyS0;done"

I am leaning towards it being PCMCIA related as one other person on the
list noted the same thing on a laptop.

Slowly eliminating what it is not, although I prefer those quantum leaps of
intuition!

Thanks

Tom





Re: followup: inittab weirdness?

2000-08-23 Thread Andy Gardner
List;
In regards to /etc/inittab being altered to spawn a getty on ttyS3  on
reboot.

Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
/dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
docs,/usr/include/asm/serial.h and in the logs.
Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
&&cat $i|grep ttyS0;done"
I am leaning towards it being PCMCIA related as one other person on the
list noted the same thing on a laptop.
Slowly eliminating what it is not, although I prefer those quantum leaps of
intuition!
I wouldn't search for ttyS3 specifically.
My bet (at this stage) would be the pcmcia script in /etc/init.d 
trying to be smart and finding your active serial ports and enabling 
them.

--
Andrew P. Gardner
Never underestimate the power of stupid people in large groups.



Re: followup: inittab weirdness?

2000-08-23 Thread Nathan E Norman
On Wed, Aug 23, 2000 at 02:48:57PM -0500, Security wrote:
> Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
> /dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
> docs,/usr/include/asm/serial.h and in the logs.
> 
> Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
> &&cat $i|grep ttyS0;done"

Yuck.  That's not how to use find!

The simple way to write what you're doing above is

  find /dir -exec grep ttyS0 {} \;

though I myself would eliminate all the forking and search only files

  find /dir -type f | xargs grep inittab

I agree with the other poster that searching for ttyS0 is probably a
waste of time.

HTH,

-- 
Nathan Norman "Eschew Obfuscation"  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgpARvfiuYR65.pgp
Description: PGP signature


sort of a load balancing question

2000-08-23 Thread Shao Zhang
Hi,
This is not a really load balancing question, but similar sort
of thing.

We are an isp here and we would like to set up two webservers
that are completely tranparent(rsync daily).

We will only be using one webserver to server all the pages, but
if it goes down, we would like the second webserver to take over
without any downtime.

Is there any programs out there that does this?

Thanks.

Shao.

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_




Re: sort of a load balancing question

2000-08-23 Thread Robert Davidson

Shao,

We are also a small ISP and do exactly that with one of our vital servers.

We used rsync for this.

Regards,
Robert Davidson.


On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
> Hi,
>   This is not a really load balancing question, but similar sort
>   of thing.
> 
>   We are an isp here and we would like to set up two webservers
>   that are completely tranparent(rsync daily).
> 
>   We will only be using one webserver to server all the pages, but
>   if it goes down, we would like the second webserver to take over
>   without any downtime.
> 
>   Is there any programs out there that does this?
> 
>   Thanks.
> 
> Shao.
> 
> -- 
> 
> Shao Zhang - Running Debian 2.1  ___ _   _
> Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
> University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> Email: [EMAIL PROTECTED]  
> |___/ 
> _
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: sort of a load balancing question

2000-08-23 Thread Luca Filipozzi
On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
>   Is there any programs out there that does this?

Take a look at:

http://www.linux-ha.org/
http://www.linuxvirtualserver.org/
http://ultramonkey.sourceforge.net/
http://www.eddieware.org/

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




Re: sort of a load balancing question

2000-08-23 Thread Shao Zhang
Hi,
Yes. But I would like to know a way to let the backup server
automatically take over when the primary web server is down.

Thanks.

Shao.

Robert Davidson [EMAIL PROTECTED] wrote:
> We are also a small ISP and do exactly that with one of our vital servers.
> We used rsync for this.

> 
> Regards,
> Robert Davidson.
> 
> 
> On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
> > Hi,
> > This is not a really load balancing question, but similar sort
> > of thing.
> > 
> > We are an isp here and we would like to set up two webservers
> > that are completely tranparent(rsync daily).
> > 
> > We will only be using one webserver to server all the pages, but
> > if it goes down, we would like the second webserver to take over
> > without any downtime.
> > 
> > Is there any programs out there that does this?
> > 
> > Thanks.
> > 
> > Shao.
> > 
> > -- 
> > 
> > Shao Zhang - Running Debian 2.1  ___ _   _
> > Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ 
> > _ 
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` 
> > |
> > Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, 
> > |
> > Email: [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]
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_




Re: sort of a load balancing question

2000-08-23 Thread Shao Zhang
Hi,

ridgey [EMAIL PROTECTED] wrote:
> you could put the primary name record on the primary webserver and have the
> www pointing to itself, then put the secondary name record on the secondary
> sever and have its www pointing to itself, so when the primary goes down,
> the secondary will kick in, it may take a little while to filter through but
> would be good for like over night or on a weekend. i dont know if this is a
> by the book way but its works for us.

This is an interesting idea. But there are some problems with this
approach.

1. need to reduct TTL to minimise the take over time
2. secondary named server is supposed to maintain exactly the same information 
as the primary name server
3. it will not work if only webserver died, but not the dns server.

Thanks.

Shao.
> 
> Ridgey
> 
> > From: Shao Zhang <[EMAIL PROTECTED]>
> > Date: Thu, 24 Aug 2000 12:30:12 +1000
> > To: debian-isp@lists.debian.org
> > Subject: sort of a load balancing question
> > Resent-From: debian-isp@lists.debian.org
> > Resent-Date: Thu, 24 Aug 2000 12:26:59 +1000
> > 
> > Hi,
> > This is not a really load balancing question, but similar sort
> > of thing.
> > 
> > We are an isp here and we would like to set up two webservers
> > that are completely tranparent(rsync daily).
> > 
> > We will only be using one webserver to server all the pages, but
> > if it goes down, we would like the second webserver to take over
> > without any downtime.
> > 
> > Is there any programs out there that does this?
> > 
> > Thanks.
> > 
> > Shao.
> > 
> > -- 
> > 
> > Shao Zhang - Running Debian 2.1  ___ _   _
> > Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` 
> > |
> > Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, 
> > |
> > Email: [EMAIL PROTECTED]  
> > |___/
> > _
> > 
> > 
> > --  
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> > 
> 
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_




RADIUS support for caller ID and call-back

2000-08-23 Thread Erik Peter P. Abella

Hello All,

Has anyone managed to log the phone numbers of dial-ups with radius? If
so, a sample .conf will be really helpful. Also, being the NT fan that
my boss is, he's asking if radius can call back a specific user to make
sure that the account is being used from a specific telephone line.

Thanks,

Erik Peter P. Abella


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




inittab weirdness?

2000-08-23 Thread Security

List;

Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
harmless, etc but it is annoying. I get these respawning too fast errors to
the console. They go away when I comment out the
S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
is.

Truncated for brevity:

or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
login_host] line baud_rate,... [termtype]
INIT: Id "S" respawning too fast: disabled for 5 minutes

I edit my inittab file to look like this in the last lines:


# Example how to put a getty on a modem line.
#

#S:12345:respawn:/sbin/getty ttyS3

After a reboot it looks like this:

# how to put a getty on a modem line.


S:12345:respawn:/sbin/getty ttyS3

I did all kinds of things like make the file read only but it still
happens. I have absolutely no need for a getty on a modem line, I am on a
LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
Laptop with a brand spanking new potato installed yesterday. It connects
through a Xircom PC card and 10baseT. Perhaps I have a package installed I
don't need or somesuch.

Personal replies appreciated, but responding to the list helps everyone.

Your time and any ideas appreciated.


Thanks

Tom



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




Re:inittab weirdness?

2000-08-23 Thread Security

Well, as I stated down a ways in the original post inittab gets overwritten
on every reboot.

Therein lies the rub.

Tried that... Been there..

Thanks anyway and sorry for the confusion.

Tom

>the inittab entry you are looking at is attempting to take control of
>the modem. From what I read here, there is no modem. getty dies. init
>respawns getty (because of teh respawn). There is no modem, getty dies.
>etc...
>
>if you don't have a modem, comment out the line. Generally, this is a
>call to mgetty, not getty, so I don't understand that. but, unless you
>have a serial terminal or something on ttyS3, this line is useless and,
>worse, takes up processing time, etc... by respawning.
>
>Rod
>
>> List;
>>
>> Here is a weird one I can't seem to find the cause of. Perhaps it is
>inane,
>> harmless, etc but it is annoying. I get these respawning too fast
>errors to
>> the console. They go away when I comment out the
>> S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot
>that
>> is.
>>
>> Truncated for brevity:
>>
>> or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
>> login_host] line baud_rate,... [termtype]
>> INIT: Id "S" respawning too fast: disabled for 5 minutes
>>
>> I edit my inittab file to look like this in the last lines:
>>
>>
>> # Example how to put a getty on a modem line.
>> #
>>
>> #S:12345:respawn:/sbin/getty ttyS3
>>
>> After a reboot it looks like this:
>>
>> # how to put a getty on a modem line.
>>
>>
>> S:12345:respawn:/sbin/getty ttyS3
>>
>> I did all kinds of things like make the file read only but it still
>> happens. I have absolutely no need for a getty on a modem line, I am
>on a
>> LAN and no phone line ever connects to this box. It is a IBM Thinkpad
>701C
>> Laptop with a brand spanking new potato installed yesterday. It
>connects
>> through a Xircom PC card and 10baseT. Perhaps I have a package
>installed I
>> don't need or somesuch.
>>
>> Personal replies appreciated, but responding to the list helps
>everyone.
>>
>> Your time and any ideas appreciated.
>>
>>
>> Thanks
>>
>> Tom
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
>[EMAIL PROTECTED]
>>
>>
>>
>
>R. W. Rodolico
>Daily Data, Inc.
>POB 140465
>Dallas  TX  75214-0465
>214.827.2170
>
>It appears I could be pursuing an untamed ornithoid to no purpose.
>--Brent Spiner as Data, Star Trek: The Next Generation




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




Re: inittab weirdness?

2000-08-23 Thread Todd Troxell

Hello,
 I have had the exact same problem with a DEC PC 425se laptop.  Its an 
older machine (486) and I have tried the same things as you with the same 
results.  I am not all too famillar with the inner workings of init, but I 
still can not figure out why the lines are reset on a reboot.
Anyone have an idea?

-Todd


>List;
>
>Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
>harmless, etc but it is annoying. I get these respawning too fast errors to
>the console. They go away when I comment out the
>S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
>is.
>
>Truncated for brevity:
>
>or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
>login_host] line baud_rate,... [termtype]
>INIT: Id "S" respawning too fast: disabled for 5 minutes
>
>I edit my inittab file to look like this in the last lines:
>
>
># Example how to put a getty on a modem line.
>#
>
>#S:12345:respawn:/sbin/getty ttyS3
>
>After a reboot it looks like this:
>
># how to put a getty on a modem line.
>
>
>S:12345:respawn:/sbin/getty ttyS3
>
>I did all kinds of things like make the file read only but it still
>happens. I have absolutely no need for a getty on a modem line, I am on a
>LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
>Laptop with a brand spanking new potato installed yesterday. It connects
>through a Xircom PC card and 10baseT. Perhaps I have a package installed I
>don't need or somesuch.
>
>Personal replies appreciated, but responding to the list helps everyone.
>
>Your time and any ideas appreciated.
>
>
>Thanks
>
>Tom
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact 
>[EMAIL PROTECTED]
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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




Re: inittab weirdness?

2000-08-23 Thread Chester Hosey

Try something like egrep -r ttyS3 /etc or similar to see what files
reference this. If some script is running at boot and adding this line to
inittab (or rebuilding inittab entirely), you can find out where this line
is coming from by grepping around /etc.

If a line in a script adds this line, comment out that part of the script.
It's possible that inittab is created from other files upon boot (like
/etc/modules.conf). If that is the case, you can modify whatever base file
the line comes from.

Grep wisely.

-chet

-
yet he has sorcery

On Wed, 23 Aug 2000, Security wrote:

> List;
> 
> Here is a weird one I can't seem to find the cause of. Perhaps it is inane,
> harmless, etc but it is annoying. I get these respawning too fast errors to
> the console. They go away when I comment out the
> S:12345:respawn:/sbin/getty ttyS3 line and init q it. Until a reboot that
> is.
> 
> Truncated for brevity:
> 
> or   [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H
> login_host] line baud_rate,... [termtype]
> INIT: Id "S" respawning too fast: disabled for 5 minutes
> 
> I edit my inittab file to look like this in the last lines:
> 
> 
> # Example how to put a getty on a modem line.
> #
> 
> #S:12345:respawn:/sbin/getty ttyS3
> 
> After a reboot it looks like this:
> 
> # how to put a getty on a modem line.
> 
> 
> S:12345:respawn:/sbin/getty ttyS3
> 
> I did all kinds of things like make the file read only but it still
> happens. I have absolutely no need for a getty on a modem line, I am on a
> LAN and no phone line ever connects to this box. It is a IBM Thinkpad 701C
> Laptop with a brand spanking new potato installed yesterday. It connects
> through a Xircom PC card and 10baseT. Perhaps I have a package installed I
> don't need or somesuch.
> 
> Personal replies appreciated, but responding to the list helps everyone.
> 
> Your time and any ideas appreciated.
> 
> 
> Thanks
> 
> Tom
> 
> 
> 
> --  
> 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]




followup: inittab weirdness?

2000-08-23 Thread Security

List;

In regards to /etc/inittab being altered to spawn a getty on ttyS3  on
reboot.


Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
/dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
docs,/usr/include/asm/serial.h and in the logs.

Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
&&cat $i|grep ttyS0;done"

I am leaning towards it being PCMCIA related as one other person on the
list noted the same thing on a laptop.

Slowly eliminating what it is not, although I prefer those quantum leaps of
intuition!

Thanks

Tom



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




Re: followup: inittab weirdness?

2000-08-23 Thread Andy Gardner

>List;
>
>In regards to /etc/inittab being altered to spawn a getty on ttyS3  on
>reboot.
>
>
>Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
>/dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
>docs,/usr/include/asm/serial.h and in the logs.
>
>Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
>&&cat $i|grep ttyS0;done"
>
>I am leaning towards it being PCMCIA related as one other person on the
>list noted the same thing on a laptop.
>
>Slowly eliminating what it is not, although I prefer those quantum leaps of
>intuition!

I wouldn't search for ttyS3 specifically.

My bet (at this stage) would be the pcmcia script in /etc/init.d 
trying to be smart and finding your active serial ports and enabling 
them.

-- 
Andrew P. Gardner

Never underestimate the power of stupid people in large groups.


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




Re: followup: inittab weirdness?

2000-08-23 Thread Nathan E Norman

On Wed, Aug 23, 2000 at 02:48:57PM -0500, Security wrote:
> Tried the egrep -r (through the entire filesystem) and ttyS3  shows up in
> /dev/mem, /dev/core, /dev/kmem/, /etc/inittab and in /var/run/stab, some
> docs,/usr/include/asm/serial.h and in the logs.
> 
> Thanks for the tip, Chet! Much cleaner than "for i in `find /dir`; do ls -l
> &&cat $i|grep ttyS0;done"

Yuck.  That's not how to use find!

The simple way to write what you're doing above is

  find /dir -exec grep ttyS0 {} \;

though I myself would eliminate all the forking and search only files

  find /dir -type f | xargs grep inittab

I agree with the other poster that searching for ttyS0 is probably a
waste of time.

HTH,

-- 
Nathan Norman "Eschew Obfuscation"  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7

 PGP signature


sort of a load balancing question

2000-08-23 Thread Shao Zhang

Hi,
This is not a really load balancing question, but similar sort
of thing.

We are an isp here and we would like to set up two webservers
that are completely tranparent(rsync daily).

We will only be using one webserver to server all the pages, but
if it goes down, we would like the second webserver to take over
without any downtime.

Is there any programs out there that does this?

Thanks.

Shao.

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


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




Re: sort of a load balancing question

2000-08-23 Thread Robert Davidson


Shao,

We are also a small ISP and do exactly that with one of our vital servers.

We used rsync for this.

Regards,
Robert Davidson.


On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
> Hi,
>   This is not a really load balancing question, but similar sort
>   of thing.
> 
>   We are an isp here and we would like to set up two webservers
>   that are completely tranparent(rsync daily).
> 
>   We will only be using one webserver to server all the pages, but
>   if it goes down, we would like the second webserver to take over
>   without any downtime.
> 
>   Is there any programs out there that does this?
> 
>   Thanks.
> 
> Shao.
> 
> -- 
> 
> Shao Zhang - Running Debian 2.1  ___ _   _
> Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
> University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> Email: [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]




Re: sort of a load balancing question

2000-08-23 Thread Luca Filipozzi

On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
>   Is there any programs out there that does this?

Take a look at:

http://www.linux-ha.org/
http://www.linuxvirtualserver.org/
http://ultramonkey.sourceforge.net/
http://www.eddieware.org/

-- 
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: sort of a load balancing question

2000-08-23 Thread Shao Zhang

Hi,
Yes. But I would like to know a way to let the backup server
automatically take over when the primary web server is down.

Thanks.

Shao.

Robert Davidson [[EMAIL PROTECTED]] wrote:
> We are also a small ISP and do exactly that with one of our vital servers.
> We used rsync for this.

> 
> Regards,
> Robert Davidson.
> 
> 
> On Thu, Aug 24, 2000 at 12:30:12PM +1000, Shao Zhang wrote:
> > Hi,
> > This is not a really load balancing question, but similar sort
> > of thing.
> > 
> > We are an isp here and we would like to set up two webservers
> > that are completely tranparent(rsync daily).
> > 
> > We will only be using one webserver to server all the pages, but
> > if it goes down, we would like the second webserver to take over
> > without any downtime.
> > 
> > Is there any programs out there that does this?
> > 
> > Thanks.
> > 
> > Shao.
> > 
> > -- 
> > 
> > Shao Zhang - Running Debian 2.1  ___ _   _
> > Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> > Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> > Email: [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]
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


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




Re: sort of a load balancing question

2000-08-23 Thread Shao Zhang

Hi,

ridgey [[EMAIL PROTECTED]] wrote:
> you could put the primary name record on the primary webserver and have the
> www pointing to itself, then put the secondary name record on the secondary
> sever and have its www pointing to itself, so when the primary goes down,
> the secondary will kick in, it may take a little while to filter through but
> would be good for like over night or on a weekend. i dont know if this is a
> by the book way but its works for us.

This is an interesting idea. But there are some problems with this
approach.

1. need to reduct TTL to minimise the take over time
2. secondary named server is supposed to maintain exactly the same information as the 
primary name server
3. it will not work if only webserver died, but not the dns server.

Thanks.

Shao.
> 
> Ridgey
> 
> > From: Shao Zhang <[EMAIL PROTECTED]>
> > Date: Thu, 24 Aug 2000 12:30:12 +1000
> > To: [EMAIL PROTECTED]
> > Subject: sort of a load balancing question
> > Resent-From: [EMAIL PROTECTED]
> > Resent-Date: Thu, 24 Aug 2000 12:26:59 +1000
> > 
> > Hi,
> > This is not a really load balancing question, but similar sort
> > of thing.
> > 
> > We are an isp here and we would like to set up two webservers
> > that are completely tranparent(rsync daily).
> > 
> > We will only be using one webserver to server all the pages, but
> > if it goes down, we would like the second webserver to take over
> > without any downtime.
> > 
> > Is there any programs out there that does this?
> > 
> > Thanks.
> > 
> > Shao.
> > 
> > -- 
> > 
> > Shao Zhang - Running Debian 2.1  ___ _   _
> > Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> > Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> > Email: [EMAIL PROTECTED]  |___/
> > _
> > 
> > 
> > --  
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> > 
> 
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


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