Re: Error on harddrive when booting
Sorry, no help on the Compaq, just an idea on how to bypass pressing the "F1". Maybe you can set your BIOS to boot ignoring all errors or whatever. I had a similar problem on an older 486 but it had the ability to boot through selectable errors in the BIOS, like no keyboard, whatever. It didn't "fix" the problem but it would just report the error to the console and boot right up. You may be able to do something similar on the CompaQ. Tom >I've got a problem. I need to fix a error with my hard >drive. When I boot I get a 1791 error. To by pass it I >have to hit F1 after that it boots just fine. I have a >8702 Compaq Presario. I added a 20 gig hard drive and >that's when the problem started. The system doesn't seem to >be able to handle any partitions greater than 2 gig so >that's what is set at. All the partitions on the new and >old hard drive work fine it just the error occurs during >boot. What I'm trying to do is clean up some other errors >by restoring the configuration to the original settings but >can't because of the error. The restore program chokes on >the hard drive error. I've disconnected the slave 20 gig >drive but that doesn't help. I still get the error. I've >looked on a number of web sites for help but haven't found >an answer. Can anyone help? Let me know, Thanks > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Error on harddrive when booting
Sorry, no help on the Compaq, just an idea on how to bypass pressing the "F1". Maybe you can set your BIOS to boot ignoring all errors or whatever. I had a similar problem on an older 486 but it had the ability to boot through selectable errors in the BIOS, like no keyboard, whatever. It didn't "fix" the problem but it would just report the error to the console and boot right up. You may be able to do something similar on the CompaQ. Tom >I've got a problem. I need to fix a error with my hard >drive. When I boot I get a 1791 error. To by pass it I >have to hit F1 after that it boots just fine. I have a >8702 Compaq Presario. I added a 20 gig hard drive and >that's when the problem started. The system doesn't seem to >be able to handle any partitions greater than 2 gig so >that's what is set at. All the partitions on the new and >old hard drive work fine it just the error occurs during >boot. What I'm trying to do is clean up some other errors >by restoring the configuration to the original settings but >can't because of the error. The restore program chokes on >the hard drive error. I've disconnected the slave 20 gig >drive but that doesn't help. I still get the error. I've >looked on a number of web sites for help but haven't found >an answer. Can anyone help? Let me know, Thanks > > >-- >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: cron perl script won't sendmail
crond likes full pathnames is my first thought. Thats likely why it works from the command line and not crond. Tom >Any ideas why the following won't actually send email when run from cron: > >#!/usr/bin/perl ># > >open(SENDMAIL,"|sendmail $recipient"); >print SENDMAIL "From: WVFD EMS Dispatch <[EMAIL PROTECTED]>\n"; >print SENDMAIL "To: WVFD EMT <$recipient>\n"; >print SENDMAIL "Subject: Possible EMS call\n"; >print SENDMAIL "\n"; >print SENDMAIL "SAEMS case $case at $address for $desc.\n"; >print SENDMAIL "SAEMS is sending $units units\n"; >close(SENDMAIL); > > >I'm trying to tie pager notification to a website, and it runs fine on the >command line, but not from cron. Assume that all variables are properly >populated. > >Thanks, > >Pete > >-- >Peter J. Templin, Jr., CCNA, CCDA >VP Networking > >On-Line Internet Services - URDirect.net >A division of Global On-Line Computers >5606 Randolph Blvd [EMAIL PROTECTED] >San Antonio, TX 78233 (210)692-9911 > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cron perl script won't sendmail
crond likes full pathnames is my first thought. Thats likely why it works from the command line and not crond. Tom >Any ideas why the following won't actually send email when run from cron: > >#!/usr/bin/perl ># > >open(SENDMAIL,"|sendmail $recipient"); >print SENDMAIL "From: WVFD EMS Dispatch \n"; >print SENDMAIL "To: WVFD EMT <$recipient>\n"; >print SENDMAIL "Subject: Possible EMS call\n"; >print SENDMAIL "\n"; >print SENDMAIL "SAEMS case $case at $address for $desc.\n"; >print SENDMAIL "SAEMS is sending $units units\n"; >close(SENDMAIL); > > >I'm trying to tie pager notification to a website, and it runs fine on the >command line, but not from cron. Assume that all variables are properly >populated. > >Thanks, > >Pete > >-- >Peter J. Templin, Jr., CCNA, CCDA >VP Networking > >On-Line Internet Services - URDirect.net >A division of Global On-Line Computers >5606 Randolph Blvd [EMAIL PROTECTED] >San Antonio, TX 78233 (210)692-9911 > > >-- >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: Hubless network?
>Hubs go "poof" far less often than PCs running Linux. I have to whole heartedly agree with Russell on this. I have been running a handful of el cheapo 4 and 8 port hubs here for years and the only failure in thousands of hours of use was loseing a BNC port on 2 from a lightning strike on the thinnet connecting 2 buildings. Plus there are a LOT less components to fail in a hub than a PC running anything for an OS. It never pays to overthink the plumbing. The simple solution general is the best. Just my $.02 Tom
Re: Hubless network?
>Hubs go "poof" far less often than PCs running Linux. I have to whole heartedly agree with Russell on this. I have been running a handful of el cheapo 4 and 8 port hubs here for years and the only failure in thousands of hours of use was loseing a BNC port on 2 from a lightning strike on the thinnet connecting 2 buildings. Plus there are a LOT less components to fail in a hub than a PC running anything for an OS. It never pays to overthink the plumbing. The simple solution general is the best. Just my $.02 Tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inittab weirdness?
Jeremy and Russell; Thanks for more pieces of the puzzle. The offending code is actually in /etc/pcmcia/serial. the chattr +i /etc/inittab command nuked the behaviour but I'll edit that script to fix it when I get to the console on the laptop The relevant lines in /etc/pcmcia/serial: echo "S$NR:12345:respawn:$INITTAB $DEVICE" >> /etc/inittab fgrep -v $DEVICE /etc/inittab > /etc/inittab.new mv /etc/inittab.new /etc/inittab Big thanks to everyone for the suggestions, tips and pointers. And in case no one realized it the command in an earlier post "for i in `find /dir`; do ls -l &&cat $i|grep string;done" was a tongue in cheek joke, but it would find the string and the file its in. Thats the coolest thing about the Linux command line tools. Being able to obtain the same results by varying methods. Thanks again. Tom > >I haven't looked at Debian's pcmcia startup script. > >But I think you could comment out any lines that update the inittab and >restart it. Something like: > >#echo "S$NR:12345:respawn:$INITTAB $DEVICE" >> /etc/inittab >#telinit q > >Or is there some variable (maybe $INITTAB) that is checked? If so, maybe >comment out the lines that define it. > >Hope this helps... > > Jeremy C. Reed > > BSD software, documentation, resources, news... > http://bsd.reedmedia.net/
Re: inittab weirdness?
Jeremy and Russell; Thanks for more pieces of the puzzle. The offending code is actually in /etc/pcmcia/serial. the chattr +i /etc/inittab command nuked the behaviour but I'll edit that script to fix it when I get to the console on the laptop The relevant lines in /etc/pcmcia/serial: echo "S$NR:12345:respawn:$INITTAB $DEVICE" >> /etc/inittab fgrep -v $DEVICE /etc/inittab > /etc/inittab.new mv /etc/inittab.new /etc/inittab Big thanks to everyone for the suggestions, tips and pointers. And in case no one realized it the command in an earlier post "for i in `find /dir`; do ls -l &&cat $i|grep string;done" was a tongue in cheek joke, but it would find the string and the file its in. Thats the coolest thing about the Linux command line tools. Being able to obtain the same results by varying methods. Thanks again. Tom > >I haven't looked at Debian's pcmcia startup script. > >But I think you could comment out any lines that update the inittab and >restart it. Something like: > >#echo "S$NR:12345:respawn:$INITTAB $DEVICE" >> /etc/inittab >#telinit q > >Or is there some variable (maybe $INITTAB) that is checked? If so, maybe >comment out the lines that define it. > >Hope this helps... > > Jeremy C. Reed > > BSD software, documentation, resources, news... > http://bsd.reedmedia.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inittab weirdness?
List; Well, I have not totally figured out how this is happening. What I do know is that /etc/inittab gets altered when the /etc/init.d/pcmcia script is run. After a bit of looking around in that file, I realized my skill is not refined enough to see what mechanism actually alters it. But it definitely happens at that point. Just FYI Thanks Tom
Re: inittab weirdness?
List; Well, I have not totally figured out how this is happening. What I do know is that /etc/inittab gets altered when the /etc/init.d/pcmcia script is run. After a bit of looking around in that file, I realized my skill is not refined enough to see what mechanism actually alters it. But it definitely happens at that point. Just FYI Thanks Tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
followup: inittab weirdness?
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:inittab weirdness?
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
followup: inittab weirdness?
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]
inittab weirdness?
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?
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]
inittab weirdness?
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: whois *server*?
.. >A search around failed to turn up an obvious whois server, either as part >of Debian or even just source code - did I miss something? .. Neale; I am not sure if this is what you are looking for, but I modified the finger gateway cgi script to do a web based whois from cgi-bin on the webserver. The finger gateway script came in the cgi scripts with Debian. I just changed finger to whois. seems to work well. Here it is: <---begin script--> #!/bin/sh # I don't know who wrote the "finger gateway" script I hacked this from WHOIS=/usr/bin/whois echo Content-type: text/html echo if [ -x $WHOIS ]; then if [ $# = 0 ]; then cat << EOM WHOIS Gateway Whois Gateway This is a gateway to "whois". Type a domain name in your browser's search dialog. EOM else echo \ $WHOIS "$*" echo \ fi else echo Cannot find whois on this system. fi cat << EOM EOM <--end script-->
Re: Upgrade failed
>Hi all, >attempting to do dist-upgradem, afte downloading 130mb I get the >following error > >Need to get 0B/130MB of archives. After unpacking 100MB will be used. >Do you want to continue? [Y/n] >E: Internal Error, Couldn't configure a pre-depend > >Can someone shed some light on this?? > >Thanks in advance > >Bill Bill; I had this awhile ago and if I recall correctly an apt-get -f install did the trick. Although it may have been more than just that. Maybe I used the dist-upgrade again, can't remember. I would suggest running: apt-get update apt-get -f install Maybe someone else can give better detailed advice, but I do know I got it fixed somehow and didn't have to reget all the archives. Tom
Re: System clock
Is this what you need? mail:~# /usr/sbin/rdate time.nist.gov Sat Apr 8 16:02:16 2000 is how I sync my clock(s). Actually I sync one that way and the rest sync off of that one. I am in the Midwest in the USA and system time gets synced with that command. I just realized noone else tossed this out as a solution. Be aware that a drastic change in system time might cause some strange crond activity following a sync. $.02 Tom
Re: Webserver stats for customers
I use webalizer with crond and a script that calls seperate config files for each domain. Like this: webalizer -c domain.a.conf webalizer -c domain.b.conf webalizer -c domain.c.conf and so on. Then use custom configs for each domain. I will note each domain needs its own logfile but you should be doing that anyway. Maybe not the best or most elegant method but it works for me. I am doing it this way with about a dozen domains. Tom
Re: INCREDIBLE EARNINGS $$$$$$$$$$$$$$$$$$
Orhan C; Just a note to say you should take this message and stick it where it will cause the most discomfort. This list is not here for you to use as a SPAM conduit. List; My apologies for the extra bandwidth and chunk of your time this takes but this is not what we need on this list, IMHO. Unresearched questions are one thing but this is outright SPAM. Somehow I thought this was a moderated list. 'Nuff said Tom Yahoo no less ;=<
Re: pppd
>I've recently got my modem to dial into my ISP using minicom, but when >I try to use pppd all I can do is dial in and send my username and >password, which is accepted but then I get disconnected. I get the >following error message on my xconsole: >pppd[xxx] error: Receive serial link is not 8-bit clean >pppd[xxx] error: Problem: all had bit-7 set to 0. > Sounds like pppd is not starting on the isp end, I think. But it has been so long since I set up for dialing out I could be wrong. >I don't think this is a problem on my ISPs end as minicom connects fine, >but I want to use ppp so that I can do more than just check my email. Any >suggests or help would be greatly appreciated! (ISP knows nothing about >dialing in using linux, so they are no help) > >Thanks, >Jason > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
?? about tcpdump output..
Greetings, list; I have been seeing this output from tcpdump on eth0 on one of my machines. 2.0.37 kernel,eth0:(ISA) NE2000, Debian 2.1 (Slink) current with upgrades. 21:57:07.372776 0:50:54:98:e1:36 0:50:54:98:e1:36 loopback 60: 0100 21:57:17.292800 0:50:54:98:e1:36 0:50:54:98:e1:36 loopback 60: 0100 21:57:27.379243 0:50:54:98:e1:36 0:50:54:98:e1:36 loopback 60: 0100 and on and on every 10 seconds or so. I never noticed this before now it concerns me. I have another, very much the same box (HW & OS) that does not show this output. Is this normal or is something amiss? TIA Tom
Re: SPAM
Robert: Using exim with RBL enabled to just quietly drop inbound SPAM pretty well eliminated SPAM here. The RBL is at: http://maps.vix.com/rbl/ The Internet Junkbuster http://junkbuster.com/ is also a source of much info. SPAM control is addressed on both these sites. I still see the occasional "this is not spam because " mail, though. New and improved non-spam spam. Heh. Tom >My customers keep getting hit with spam messages addressed to my domain. >Here is a example message: > >Received: from sdv-ca4b-122.rasserver.net (sdv-ca4b-122.rasserver.net >[204.30.199.122]) > by mail.abcdef.com (8.9.3/8.9.3/Debian/GNU) with SMTP id LAA03981; > Mon, 28 Feb 2000 11:37:56 -0800 >X-Authentication-Warning: mail.abcdef.com: sdv-ca4b-122.rasserver.net >[204.30.199.122] didn't use HELO protocol >X-Mailer: ÐÏࡱá >Subject: ~ EveryBody Loves Chocolate! ~ >Date: Mon, 28 Feb 2000 11:36:42 -0800 >To: @abcdef.com >From: [EMAIL PROTECTED] >Message-Id: <[EMAIL PROTECTED]@dabsol.co.uk> >Content-Type: text/html; > charset="iso-8859-1" >Content-Transfer-Encoding: 7BIT >X-UIDL: 98d6626f2abd5c62a5262f7f63236527 > > What can I do to stop these messages from coming in. Is there >anything to >help stop the flow of unsolicited commercial e-mails? > > >Robert H. Clugston >E-mail: [EMAIL PROTECTED] > >Systems Administrator >Comstock Net, www.comstocknet.com >Phone: (909)877-6407 > > > > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Idle Time (ssh, or telnet)
> That sounds very possible, the network at home is masqueraded by a >little 486 router I have setup, (ipchains). and the workstation at work has >a real IP. It'd be great if you could dig out that info and let me know. > Nick; Here is my /etc/ppp/ip-up.d/00ipmasq which I use on my ppp connected gateway: ##Begin #!/bin/sh # # ipmasq.ip-up Reinitializes the ipmasq settings when PPP comes up # # v1.0 19 July 1998 # test -x /sbin/ipmasq || exit 0 if [ -e /etc/ipmasq/ppp ]; then /sbin/modprobe ip_masq_ftp.o /sbin/modprobe ip_masq_raudio.o /sbin/modprobe ip_masq_irc.o /sbin/modprobe ip_masq_cuseeme.o /sbin/modprobe ip_masq_vdolive.o /sbin/modprobe ip_masq_quake.o /sbin/ipfwadm -F -a masquerade -P all -S 192.168.1.95/24 -D 0.0.0.0/0 /sbin/ipfwadm -F -p deny /sbin/ipfwadm -M -s 10 10 10 /sbin/ipmasq fi ##END I believe that the /sbin/ipfwadm -M -s 10 10 10 is the pertinent line. Note: this machine is a 2.0.37 kernel on Debian 2.1. I am not sure of the equivalent ipchains incantation. Maybe someone else on the list can toss it out here. I am no masqquerading or Linux guru. I have used Linux since '95 and seem to have forgotten more than I remember. Hope it helps... Tom