Re: [expert] route

2001-06-07 Thread Pierre Fortin

Felix Miata wrote:
 
 Ian Cottrell wrote:
 
  /etc/ppp/options (if it's there) and post that too.
 
 The only thing in it is the work lock.

Then you have to manually establish the link.  If you want to use
dial-on-demand, here's a starting point...

Here's mine from when I used to run ppp...

/etc/ppp/options:
lock#ensure exclusive access to the device
defaultroute#use the peer as the gateway
#mtu 300
#mru 300
modem   #Use the modem control lines (default)
/dev/ttyS0  #
115200  #speed
crtscts #hardware  flow  control
passive #LCP option
asyncmap 0  #map of LCP chars to escape
demand  #Initiate the link only on demand
#:192.168.255.254   #use if remote fails to tell us its IP address
###Note!!! not sure if this was for debugging sessions (ISP had router problems)
207.144.175.61:206.74.14.59  
ipcp-accept-remote  #accept the peer's idea of its (remote) IP address
ipcp-accept-local   #accept the peer's idea of  our  local  IP  address
idle 1800   #disconnect after N seconds of idle
debug   #
#kdebug 7# 0|7 additional debugging (output into syslog  messages)
connect /usr/sbin/chat -v -f /etc/ppp/ppp.chatscript

and the chatscript...
/etc/ppp/ppp.chatscript:
TIMEOUT 10
ABORT ERROR
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO ANSWER'
ABORT 'NO DIALTONE'
REPORT CONNECT
'' ATZ
# kill the modem speaker
OK ATM0
# ISP phone number
OK ATDT5551212
TIMEOUT 75
CONNECT ''
sername:--sername: mrmazda
ssword: foobar
# Forget the reason for \076... 
\076 ppp


Pierre




Re: [expert] route

2001-06-07 Thread Bryan D Howard

Pierre Fortin [EMAIL PROTECTED] writes:
 ...
 This is minimal NAT...  you probably want to firewall your
 network...  There are probably many different ways to do it; but
 here's what I used to have...
 
 /etc/rc.d/rc.local:
   #rc.firewall script - Start IPMASQ and the firewall
   /etc/rc.d/rc.firewall
 
 /etc/rc.d/rc.firewall:
 See http://rob.acol.com/~wlug/files/ipchains-firewall/ipchains-firewall.htm
 and http://www.linux-firewall-tools.com/

Felix and Pierre,

rc.local is, unfortunately, not a good place to start up your
firewall.  It runs much too late in the boot process.  It's important
to configure ipchains *before* you enable your network interfaces so
that there won't be an interval during which you're not protected.

The startup script /etc/rc.d/init.d/ipchains which is part of
ipchains-1.3.9-6mdk.rpm is set up correctly to be started *before* the
network startup script runs.  And, of course, it doesn't shut ipchains
down until after shutting down the network interfaces.

{Bryan}
-- 
Bryan D Howard [EMAIL PROTECTED]




Re: [expert] Terminal screen unusable

2001-06-07 Thread Nathan Callahan

Don't really know what could cause it, I do know a workaround for a 
similar problem that I hat under MD7.2

If you log in blind to the virtual terminal and reset is (by typing 
reset) it may fix the problem.

Regards,
Nathan Callahan

On Thursday, June 7, 2001, at 03:02  PM, M L Cates wrote:

 I am running LM8.0, XFree3.3.6, with an Alliance AT3D video card.
 My problem is this:
 After starting X (KDE) if I do a CTRL-ALT-F1 or F2,etc. I cannot read 
 the screen.
 Also even after I shutdown X the problem remains. The screen is out of 
 sync
 basically with about 8 - 10 vertical frames displayed each about 1 inch 
 high
 stair stepped down my screen.

 I previously was running RH7.0 with no problem and have run Mandrake 
 7.1 on
 this machine with no problem.

 Does anybody out there have any idea what could cause this?

 Thanks
 Mike Cates






Re: [expert] Oracle 8.1.7 on LM7.2 PMON didn't start solved

2001-06-07 Thread A V Flinsch

On Thursday 07 June 2001 01:05, Istvan Bereti wrote:
 Hi all,

 Finally I found the solution. I had to do the install in safe mode and
 all went fine. I don't know why this was not documented or I skipped
 it??? Anyway next time I will know...
 Do I have to do all the installations in safe mode or this is just
 Oracle specific..??


Never heard of it. Exactly what is safe mode (WRT Linux  Oracle)?


-- 
Alex
Kernel Panic is General Failure's second in command




[expert] gcc-2.96 problem...

2001-06-07 Thread Steve Kieu

Hi,

I got error when trying to compile the kernel using
gcc 2.96; just wonder if I can install
gcc-2.95.2-12mdk.i586.rpm and use it instead.

Thank in advance !

=
S.KIEU

_
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!




RE: [expert] Oracle 8.1.7 on LM7.2 PMON didn't start solved

2001-06-07 Thread Istvan Bereti

Well the safe mode is how I boot in my linux machine.
After installation I go 3 different booting methodes.
1, linux - vmlinuzsecure
2, linux-up
3, failsafe.

If I boot in in the failsafe mode install and running oracle works fine. I
don't know yet what is the difference amongs the booting methods exactly but
it's sure that in linux mode the install is stocked. Also I can't start
Oracel in this mode. Always the same PMON error. In failsafe it works
perfectly.

BR,
kapi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of A V Flinsch
Sent: Thursday, June 07, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Oracle 8.1.7 on LM7.2 PMON didn't start solved


On Thursday 07 June 2001 01:05, Istvan Bereti wrote:
 Hi all,

 Finally I found the solution. I had to do the install in safe mode and
 all went fine. I don't know why this was not documented or I skipped
 it??? Anyway next time I will know...
 Do I have to do all the installations in safe mode or this is just
 Oracle specific..??


Never heard of it. Exactly what is safe mode (WRT Linux  Oracle)?


--
Alex
Kernel Panic is General Failure's second in command





[expert] LM8 and Quake3

2001-06-07 Thread John J. LeMay Jr.

Now that I've managed to install LM8 - at least the first CD's worth - I'm
having a problem running Quake3. I can only seem to run at the default res of
800x600. Changing to 1024x768 causes the game to fail after trying to reload the
library. I'm using the libGL-so.1 symlinked to libGL.so, the lib quake3 wants to
use. Any ideas? BTW, I'm running with a VooDoo 3 card,

thanks!

John LeMay Jr.
Senior Enterprise Consultant
NJMC, LLC.





Re: [expert] gcc-2.96 problem...

2001-06-07 Thread Dan Swartzendruber

On Thu, 7 Jun 2001, Steve Kieu wrote:

 Hi,

 I got error when trying to compile the kernel using
 gcc 2.96; just wonder if I can install
 gcc-2.95.2-12mdk.i586.rpm and use it instead.

2.91.66 is recommended for kernel building.







Re: [expert] route

2001-06-07 Thread Felix Miata

Pierre Fortin wrote:
 
 Felix Miata wrote:

  Pierre Fortin wrote:

   Felix Miata wrote:

My other machines still can't see the internet when st21s has active ppp.
netstat -arp on OS/2 shows the following first line:

Destination Router  Netmask Flags Metric RefUse Iface
default 192.168.0.54  0.0.0.0   UG0  0   28 lan0

   This will work for internal communication...  this machine has only one way out
   and everything can go via a single default route.

  If st21s (.54) isn't up, none of the other local machines can ping any
  others. Seems like this should not be so. Also, the IP Masquerade mini
  HOWTO says:
 
 If the above OS/2 output is typical, then st21s is required for local
 communication.  You should have an entry like this in those machines:
   Destination Router  Netmask Flags Metric RefUse Iface
   default 192.168.0.54  0.0.0.0   UG0  0   28 lan0
   192.168.0.0 0.0.0.0 255.255.255.0   U 0  0   NN lan0
   ^^^...
 which will let these hosts communicate directly. No idea where to set this up in
 half-OS.

Is this not a functional equivalent to the following output from netstat -arp
(line 3. I see the flags difference) (issued without active ppp)?:

  destination routernetmask metric flags intrf
***
default192.168.0.54   0.0.0.0   0   UGP   lan0
127.0.0.1  127.0.0.1  255.255.255.255   0UH lo
192.168192.168.0.51   255.255.255.0 0UC   lan0

addr 127.0.0.1 Interface 9 mask 0xff00 broadcast 127.0.0.1
Multicast addrs:
 224.0.0.1

addr 192.168.0.51 Interface 0 mask 0xff00 broadcast 192.168.0.255
Multicast addrs:
 224.0.0.1

no ARP table entries present
**

Where does the multicast of 224.0.0.1 come from?

BTW, the setup is probably from \MPTN\BIN\setup.cmd:

route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan0 192.168.0.51 netmask 255.255.255.0 metric 1 mtu 1500
REM ifconfig sl0
route add default 192.168.0.54 -hopcount 1
ipgate off
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.Proverbs 29:11 NKJV

 Team OS/2

Felix Miata  ***  http://mrmazda.members.atlantic.net/





[expert] Font Wierdness in Mandrake 8.0

2001-06-07 Thread Arnab_Ganguly

Hi!

I installed the Mandrake inst.iso CD image yesterday as an experiment and
was pleasantly surprised with the install and the supermount feature working
flawlessly. 

I have a major problem however with the fonts that I see when I use the
Advanced Editor or The Text Editor under KDE 2.1.1. The fonts are such that
I CANNOT see the letters clearly. Something is very wrong with them, they
are fuzzy and indistinct. Interestingly other applications like kword have
no problem and have distinct and clear fonts. It is only with advanced
editor and text editor that this seems to occur. Am I missing some fonts
because I did not install the packages from Mandrake ext.iso or is it a
bug??

I would like to change from SuSE to Mandrake 8.0, but without this fuzzy
fonts in advanced editor and text editor. Any suggestions or help would be
great. I am using:

Intel 810 mainboard
Celeron 433 processor
128 MB RAM
8.3 GB Hard Disk

I repeat again that I have not installed anything from inst.iso as I was
unable to download that, if this problem has a solution, it would be great.

Thanks,
Arnab




Re: [expert] Font Wierdness in Mandrake 8.0

2001-06-07 Thread Civileme

On Thursday 07 June 2001 15:24, Arnab_Ganguly wrote:
 Hi!

 I installed the Mandrake inst.iso CD image yesterday as an experiment and
 was pleasantly surprised with the install and the supermount feature
 working flawlessly.

 I have a major problem however with the fonts that I see when I use the
 Advanced Editor or The Text Editor under KDE 2.1.1. The fonts are such that
 I CANNOT see the letters clearly. Something is very wrong with them, they
 are fuzzy and indistinct. Interestingly other applications like kword have
 no problem and have distinct and clear fonts. It is only with advanced
 editor and text editor that this seems to occur. Am I missing some fonts
 because I did not install the packages from Mandrake ext.iso or is it a
 bug??

 I would like to change from SuSE to Mandrake 8.0, but without this fuzzy
 fonts in advanced editor and text editor. Any suggestions or help would be
 great. I am using:

 Intel 810 mainboard
 Celeron 433 processor
 128 MB RAM
 8.3 GB Hard Disk

 I repeat again that I have not installed anything from inst.iso as I was
 unable to download that, if this problem has a solution, it would be great.

 Thanks,
 Arnab

First, go to the control center and turn off anti-aliasing--that's KDE 
control center--LookNFeel--Style

Next visit LookNFeel fonts and change General to something like adventure 12 
default  and fixed width to dec-terminal 9 default

Then apply, then OK then restart KDE

You should like what you see.

Civileme







[expert] compile errors for plex86 on Mabdrake 8.0

2001-06-07 Thread Hoyt

I am far from being any kind of compiling guru.

In attempting to compile plex86 on my Mandrake 8.0 machine, I get the 
following errors:

x.cc:21:22: X11/Xlib.h: No such file or directory
x.cc:22:23: X11/Xutil.h: No such file or directory
x.cc:23:21: X11/Xos.h: No such file or directory
x.cc:24:23: X11/Xatom.h: No such file or directory
x.cc:25:24: X11/keysym.h: No such file or directory
make[4]: *** [x.o] Error 1
make[4]: Leaving directory 
`/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins/bochs/gui'
make[3]: *** [gui/libgui.a] Error 2
make[3]: Leaving directory 
`/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins/bochs'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins'
make[1]: *** [ALL] Error 2
make[1]: Leaving directory `/home/hoyt/Downloads/plex86/plex86-kevin/user'
make: *** [all] Error 2


Obviously, I need some headers for X.. What file contains these?

Thanks,





Re: [expert] compile errors for plex86 on Mabdrake 8.0

2001-06-07 Thread Andrew George

On Thu,  7 Jun 2001 23:52, you wrote:
 I am far from being any kind of compiling guru.

 In attempting to compile plex86 on my Mandrake 8.0 machine, I get the
 following errors:

 x.cc:21:22: X11/Xlib.h: No such file or directory
 x.cc:22:23: X11/Xutil.h: No such file or directory
 x.cc:23:21: X11/Xos.h: No such file or directory
 x.cc:24:23: X11/Xatom.h: No such file or directory
 x.cc:25:24: X11/keysym.h: No such file or directory
 make[4]: *** [x.o] Error 1
 make[4]: Leaving directory
 `/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins/bochs/gui'
 make[3]: *** [gui/libgui.a] Error 2
 make[3]: Leaving directory
 `/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins/bochs'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/home/hoyt/Downloads/plex86/plex86-kevin/user/plugins'
 make[1]: *** [ALL] Error 2
 make[1]: Leaving directory `/home/hoyt/Downloads/plex86/plex86-kevin/user'
 make: *** [all] Error 2


 Obviously, I need some headers for X.. What file contains these?

 Thanks,

XFree86-devel-4.0.3-7mdk  on my 8.0 box




Re: [expert] DB2 problem

2001-06-07 Thread Paul Cox

On Wednesday, Jun 06, 2001, Scott Taylor wrote:

   If I remember right, this is from the htdig cron job.  If memory serves,
   after I setup htdig (/etc/htdig/htdig.conf) to scan what I wanted, I
   didn't get that message anymore.  I could be wrong, though.
  
   That wasn't it either.  htdig runs fine without any errors.
   Thanks for the suggestion.
 
 I was sure that was it... oh well, sorry I couldn't help you.  I know I
 fixed that somehow.  Have you looked at the contents of all the scripts 
 in cron.daily?  Maybe one of them mentions something about DB2?
 
 Sorry, I was wrong.  I removed the su - out of that line and it runs 
 fine, just out of curiosity I tried it with the su - in and the error 
 occurred right away.
 
 So, why was su - in there in the first place?
 Oops, sorry again, let me clarify that -- removed the su - from the line 
 in the file /etc/cron.daily/htdig-dbgen

This is how mine looks on 8.0:

#!/bin/bash
# cron.daily script to run htdig db generation
su - htdig -c /usr/sbin/rundig -a

That basically says to run this one command (the '-c /usr/sbin/rundig
-a' part) as user htdig (the 'su - htdig' part).  It works just fine on
my 8.0 system.  I still say that I remember it going away on 7.2 after I
configured htdig. *shrug*

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4 2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 6 days 12 hours 47 minutes.




[expert] What package provides libX11.a?

2001-06-07 Thread Hoyt



--  Forwarded Message  --
Subject: Re: [plex86] Compile problem -- cannot find -lX11


On Thu, Jun 07, 2001 at 10:55:30AM -0400, Hoyt wrote:

 /usr/bin/ld: cannot find -lX11

[snip]

 I've lookd in the mail archives without success. Any advice on how
 to fix it?

You need to have the X development libs installed.  e.g. on a
RedHat box these will be in the XFree86-devel package.  You
should have a libX11.a file somewhere (e.g.
/usr/X11R6/lib/libX11.a)  ld is complaining it can't find it.

-

What package provides libX11.a? It doesn't appear to be in the XFree86-devel 
package.

Hoyt




[expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread David Rankin

Sorry if this is a little off topic:

I had my LM7.2 server go down for the 4th time due to a power
outage. I had to manually fsck /dev/hda7 to bring the system back up. I
am convinced that this is not a good way to treat the server and I am
going to buy an APC UPS to keep it from happening again.

What I need to know is if anyone has any advice on how to configure
the APC box to send a shutdown signal over the serial port to nicely
shut the server down. I don't have any experience with UPS's and just
want to make sure I'll be able to accomplish getting the UPS to talk to
my server and shut it down before I go spend the money on a UPS.

All of the APC UPSs come with software to shut windows down, but
don't say a thing about Linux. How do I get it to work with my server?
Advise would be great, but if you can just point me to the right docs, I
don't have a problem reading.

Thanks

--
David C. Rankin
Nacogdoches, Texas






Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Julia A. Case

I don't know if this helps, but I wrote a perl script that can be called from whats 
up gold to go in and reset a server when it goes down...

Julia

Quoting David Rankin ([EMAIL PROTECTED]):
 Sorry if this is a little off topic:
 
 I had my LM7.2 server go down for the 4th time due to a power
 outage. I had to manually fsck /dev/hda7 to bring the system back up. I
 am convinced that this is not a good way to treat the server and I am
 going to buy an APC UPS to keep it from happening again.
 
 What I need to know is if anyone has any advice on how to configure
 the APC box to send a shutdown signal over the serial port to nicely
 shut the server down. I don't have any experience with UPS's and just
 want to make sure I'll be able to accomplish getting the UPS to talk to
 my server and shut it down before I go spend the money on a UPS.
 
 All of the APC UPSs come with software to shut windows down, but
 don't say a thing about Linux. How do I get it to work with my server?
 Advise would be great, but if you can just point me to the right docs, I
 don't have a problem reading.
 
 Thanks
 
 --
 David C. Rankin
 Nacogdoches, Texas
 
 

-- 
[  Julia Anne Case  ] [Ships are safe inside the harbor,   ]
[Programmer at large] [  but is that what ships are really for.]  
[   Admining Linux  ] [   To thine own self be true.   ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
  




[expert] cambio de fecha

2001-06-07 Thread Acnel Morelos Facundo

Hola buenos dias...

tengo el siguiente problema, tengo un servidor con mandrake 7. ,cuando
recibo mis correos  el servidor me los entrega con otra fecha de recibido,
por ejemplo si me envian un correo hoy y lo recibo, me aparece con fecha de
1999.

Pueden decirme a que se pudiera deber???

Saludos!!!





Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Pierre Fortin

Rusty Carruth wrote:
 
 Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
 say just avoid them.  (Sorry for yelling, but their supposedly
 RS232-C 'signaling' scheme is not RS232 compliant, and if your
 serial port requires valid RS232 signal levels you wont' be able
 to detect low battery (as it only goes to zero VOLTS - some (most?)
 pc hardware is really sloppy and will take a zero volt as a valid
 level, but that's not according to spec - and some hardware (like,
 say, Sun) actually meets spec and will NOT see LB from the UPS
 without a fair amount of hassle.  why do I say all this, and
 where do I get my knowledge?  I'm trying to get 4 stupid APC
 BackUPS' to work with our Sun Ultra5s - and if there was any
 way I could SEND THE RETARDED THINGS back and get something
 else I would do it in a nanosecond!)

Not sure if this will help; but since I have several APC UPS which I haven't
setup to monitor (will do when I move my office) I did a quick search for RS232
1488 chips and came across this link:

http://www.kpumis.gdansk.tpnet.pl/etrad/upsd.htm

HTH,
Pierre




Re[2]: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Rusty Carruth

David Rankin [EMAIL PROTECTED] wrote:
 Rusty Carruth wrote:
 
  First, go get nut, and join the NUT mailing list.
 ...
 Need your help finding the url. Sorceforge has the following:
 
  EXACT MATCH:
   nut
   A program to record and analyze meals
   according to the USDA Nutrient Database.

Hmm.  Well, lets see.

Ah, here it is:

http://www.exploits.org/

click on 'Network UPS Tools'

 I don't think this is what you were referring to. But it did remind me that it's
 lunchtime. Thanks for your help.

Oh, man, is it lunchtime yet???  I'm ready to go!

(And its only 10:30 here - yikes.  We're headed to Chuckbox (Tempe) for lunch today!)

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44N   111 53' 47W




[expert]

2001-06-07 Thread Garini Juan Pablo






[expert] Postscript printers

2001-06-07 Thread rjp

I'm using (what was originally) a Mandrake 7.
It still uses lpd, but ghostscript has been replaced with 7.0 to handle
later .pdf formats.

I'm thinking of finally pensioning off my trusty Epson LQ400 and
replacing it with a laser.

Most printers that I have looked at have Postscript 3 emulation,
which I would expect to work at least partially using the 
printtool to specify a generic postscript driver.

This seems to me to be the simplest strategy for side-stepping
the problem of finding a suitable driver. Although quite a few GS
.PDD drivers do exist.

In particular, I have looked at brother  HL-1850/LT , HL-1670/LT

Question is, what solid  experience of using these (or other)
postscript printers do list members have?  What are the snags (Font name 
conflicts is one that I have run into before for ex.) that I am likely to
hit? - I know! I won't miss them all , but i have to try  ;-)

all useful comment gratefully received!

Regards, RJP

-- 
RJP - [EMAIL PROTECTED] http://www.sedric.demon.co.uk.





Re: [expert]

2001-06-07 Thread Craig Sprout

This crystallized my thoughts eloquently!  Twice.  :)  

(Sorry for the OT...back to my cave...)

Garini Juan Pablo wrote:

-- 
Craig Sprout
Network Administrator
Crown Parts and Machine, Inc.
http://www.crownpartsandmachine.com





Re: [expert] Artsd

2001-06-07 Thread Larry Sword

ninetysix wrote:
 
 Just wondering if anyone in the mandrake team is going to fix the artsd
 packages soon?  Seems that a lot people are also having the same problem with
 the 2.1.2-2 artsd packages.  Should I downgrade to 2.1.1-7 for now?  Thanks
 :)

Yes, Please fix these update packages.

Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587




Re: [expert] What package provides libX11.a?

2001-06-07 Thread Paul Cox

On Thursday, Jun 07, 2001, Hoyt wrote:

 What package provides libX11.a? It doesn't appear to be in the XFree86-devel 
 package.

On my Mandrake 8.0 system with XFree86 4.0.3, it's in:

XFree86-static-libs-4.0.3-7mdk

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4 2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 6 days 16 hours 9 minutes.




Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Walter Luffman

On Thursday 07 June 2001 10:59 am, Rusty Carruth wrote:
 David Rankin [EMAIL PROTECTED] wrote:

  I had my LM7.2 server go down for the 4th time due to a power
  outage. I had to manually fsck /dev/hda7 to bring the system back up. I
  am convinced that this is not a good way to treat the server and I am
  going to buy an APC UPS to keep it from happening again.

 First, go get nut, and join the NUT mailing list.

Just what is nut, and why do we need it?  Please explain.

 Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
 say just avoid them.  (Sorry for yelling, but their supposedly
 RS232-C 'signaling' scheme is not RS232 compliant, and if your
 serial port requires valid RS232 signal levels you wont' be able
 to detect low battery (as it only goes to zero VOLTS - some (most?)
 pc hardware is really sloppy and will take a zero volt as a valid
 level, but that's not according to spec - and some hardware (like,
 say, Sun) actually meets spec and will NOT see LB from the UPS
 without a fair amount of hassle.  why do I say all this, and
 where do I get my knowledge?  I'm trying to get 4 stupid APC
 BackUPS' to work with our Sun Ultra5s - and if there was any
 way I could SEND THE RETARDED THINGS back and get something
 else I would do it in a nanosecond!)

Assuming the Ultra5s are being used for business purposes (I don't know 
anyone who has four Sun machines in their homes), I'm a bit surprised you 
didn't buy your UPSes from the same vendor who provided the Suns, or at least 
get Sun's recommendation before buying anyone's UPSes.  (The Sun website 
recommends the APC SmartUPS, BTW -- I checked.)  After all, Suns aren't 
exactly commodity IBM-clones; I'd expect them to have somewhat different 
requirements.

I suppose you can always use the BakcUPSes to provide backup power for items 
that don't require automatic shutdown, or even use them with cheaper IBM 
clones if their serial ports are more compatible with the BackUPS units.  
Telephone equipment, audiovisual devices in the conference room, a 
secretarial/wordprocessing PC -- there must be plenty of places they can be 
useful even if they don't work in their originally intended application.  If 
nothing else, they make great surge protectors for sensitive (but 
noncritical) electronic devices.

If not APC, which brand(s) do you recommend?  I'm a home user with limited 
funds, so my choices are pretty much limited to those available from 
retailers.  At the same time, because I'm a home user it isn't really a major 
catastrophe if a UPS doesn't shut down my computer automatically before the 
battery runs down.

I currently use an APC BackUPS on my computer, but only to clean up the 
incoming power and provide a little time to complete a task and manually 
shutdown -- both serial ports are already being used, so I've never tried 
setting it up for automatic shutdown.  Might be worth doing, though -- in 
which case I'm wiling to get another UPS for the 'puter and use this one to 
power something else.

 The APC BackUPS are mostly worthless, in my mind.  Most of the really
 cheap ones are, really, as they use the 'simple signalling' method
 which means you get the following signals: on battery (or on AC mains),
 low battery (if you're lucky); and your control signal is shut down.

Even this limited capability should be more than adequate for most home users 
and some small business users.  (But maybe not on Sun equipment?)  A UPS that 
does a graceful shutdown as soon as it goes onto battery power could be a 
good thing.  One that waits until the battery charge is low would be better, 
although most of us would probably be happy enough if it offered a few 
seconds' delay before it begins shutdown, so a system could ride through 
transient events.

I went to the APC website (www.apcc.com) and searched through the download 
area.  APC offers both a simple shutdown daemon and various versions of its 
PowerChute software for Linux. -- none specifically for Mandrake, but perhaps 
one of the Red Hat downloads is generic enough to work.  APC also offers a 
Sparc version of PowerChute, if that's what you need.

 The better way to go is to get a 'smart' ups (again, I stronly advise
 against APC, but if you get the APC SmartUPS at LEAST it usually works
 with serial ports), which can give you all kinds of cool info, like
 loading, battery health (I think), temperature, and stuff like that.

No argument here that a smart UPS is bound to be superior to a more simple 
UPS -- when comparing similar items, You get what you pay for is true more 
often than not.  But a home user may not need that much functionality.

Note to anyone still running without a UPS: My area is blessed with 
reasonably reliable power, mainly because thunderstorms and tornadoes over 
the years forced the utilities to upgrade their infrastructure.  But I still 
get the occasional spike or brownout..  Before I installed my UPS I just took 
my chances and accepted the 

[expert] font display problems

2001-06-07 Thread Ken Hawkins

I am having a font problem that reared it's ugly head a couple of weeks
ago. Below I have a copy of what displays on some  web pages when I
access them, but not at others. As you can see, character code, rather
than the character desired is displayed. This applies to apostrophies,
colons, and semi-colons. It doesn't appear to affect commas or periods.
It doesn't affect any text I type in docs or email. Any ideas?
THX
K.


The entry yoursquo;re looking for is ip_fwchains. If this entry is
listed, you are
 ^^^
  in luck, and ipchains will be your friend. If ip_fwchains
doesnrsquo;t appear,

^^^
  yoursquo;ll have to remake your kernel and add in support (or upgrade
to a
 
  newer distribution).




begin:vcard 
n:Jurkic;Ken
tel;work:(250)635-6511x5365
x-mozilla-html:TRUE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Network Adminstrator
org;quoted-printable:NWCC;Microsoft is not the answer, it is the question.=0D=0AThe answer is NO!
x-mozilla-cpt:;24704
fn:Ken Jurkic
end:vcard



Re: [expert] Font Wierdness in Mandrake 8.0

2001-06-07 Thread Oscar

There are a lot of fix for this issue in www.mandrakeforum.com and 
www.mandrakeuser.org, but none of this works for me, including the commented 
by civileme in RE:[expert] Font Wierdness in Mandrake 8.0

After try and try, I seen the problem was in:
- abiword fonts
- default Type1 fonts.

It's my fix (and it REALLY WORKS in my PC):
(as root)
- Uninstall abisuite.
- Edit /etc/X11/fs/config
- Change this line:
/usr/share/fonts/default/Type1,
for this:
/usr/share/fonts/default/Type1:unscaled,

And because you are here, you can put the 100dpi fonts path before the 75dpi.

But sincerely, I don't know the origin of the problem (I'm not an expert :) 
Perhaps this is because I have an ATI Xpert XL... (?)
I hope this helps you.
Salu2!
Óscar.
ps. excuse my bad english... :P
ps2. Installing windows fonts helps too (please, first update drakfont)

El Jue 07 Jun 2001 09:24, escribiste:
 Hi!

 I installed the Mandrake inst.iso CD image yesterday as an experiment and
 was pleasantly surprised with the install and the supermount feature
 working flawlessly.

 I have a major problem however with the fonts that I see when I use the
 Advanced Editor or The Text Editor under KDE 2.1.1. The fonts are such that
 I CANNOT see the letters clearly. Something is very wrong with them, they
 are fuzzy and indistinct. Interestingly other applications like kword have
 no problem and have distinct and clear fonts. It is only with advanced
 editor and text editor that this seems to occur. Am I missing some fonts
 because I did not install the packages from Mandrake ext.iso or is it a
 bug??

 I would like to change from SuSE to Mandrake 8.0, but without this fuzzy
 fonts in advanced editor and text editor. Any suggestions or help would be
 great. I am using:

 Intel 810 mainboard
 Celeron 433 processor
 128 MB RAM
 8.3 GB Hard Disk

 I repeat again that I have not installed anything from inst.iso as I was
 unable to download that, if this problem has a solution, it would be great.

 Thanks,
 Arnab




Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Dan Swartzendruber

On Thu, 7 Jun 2001, Walter Luffman wrote:

 I went to the APC website (www.apcc.com) and searched through the download
 area.  APC offers both a simple shutdown daemon and various versions of its
 PowerChute software for Linux. -- none specifically for Mandrake, but perhaps
 one of the Red Hat downloads is generic enough to work.  APC also offers a
 Sparc version of PowerChute, if that's what you need.

  The better way to go is to get a 'smart' ups (again, I stronly advise
  against APC, but if you get the APC SmartUPS at LEAST it usually works
  with serial ports), which can give you all kinds of cool info, like
  loading, battery health (I think), temperature, and stuff like that.

 No argument here that a smart UPS is bound to be superior to a more simple
 UPS -- when comparing similar items, You get what you pay for is true more
 often than not.  But a home user may not need that much functionality.

 Note to anyone still running without a UPS: My area is blessed with
 reasonably reliable power, mainly because thunderstorms and tornadoes over
 the years forced the utilities to upgrade their infrastructure.  But I still
 get the occasional spike or brownout..  Before I installed my UPS I just took
 my chances and accepted the occasional fried hardware as an opportunity to
 upgrade.  Now the power entering my computer and peripherals is clean and
 rock-solid, as long as the interruption isn't too long.  Even without
 unattended shutdowns I consider my UPS a very worthwhile investment.  (I
 still upgrade my hardware now and then, but now the old hardware is
 usually in working condition so I can use it to upgrade even older equipment.)






Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Dan Swartzendruber

On Thu, 7 Jun 2001, Dan Swartzendruber wrote:

damn mail software.  didn't mean to send an empty message, sorry.
anyway, i've used a smartups with mandrake 7.2 for over a year
with no problems.







Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Brandon Caudle

I had a APC BackUps 650 and it work flawlessly.  Can say any thing better.
Have no clue what this wako is talking about..

brandon caudle
- Original Message -
From: Pierre Fortin [EMAIL PROTECTED]
To: Rusty Carruth [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 12:42 PM
Subject: Re: [expert] APC UPS shutdown script? How does it work?


 Rusty Carruth wrote:
 
  Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
  say just avoid them.  (Sorry for yelling, but their supposedly
  RS232-C 'signaling' scheme is not RS232 compliant, and if your
  serial port requires valid RS232 signal levels you wont' be able
  to detect low battery (as it only goes to zero VOLTS - some (most?)
  pc hardware is really sloppy and will take a zero volt as a valid
  level, but that's not according to spec - and some hardware (like,
  say, Sun) actually meets spec and will NOT see LB from the UPS
  without a fair amount of hassle.  why do I say all this, and
  where do I get my knowledge?  I'm trying to get 4 stupid APC
  BackUPS' to work with our Sun Ultra5s - and if there was any
  way I could SEND THE RETARDED THINGS back and get something
  else I would do it in a nanosecond!)

 Not sure if this will help; but since I have several APC UPS which I
haven't
 setup to monitor (will do when I move my office) I did a quick search for
RS232
 1488 chips and came across this link:

 http://www.kpumis.gdansk.tpnet.pl/etrad/upsd.htm

 HTH,
 Pierre






Re: [expert] 8.0 Power Pack shipping date?

2001-06-07 Thread Gary

On Wed, Jun 06, 2001 at 06:06:39AM -0400 or thereabouts, Jay DeKing wrote:
 I guess this is directed primarily at Civileme, but anybody directly
 connected with Madnrake will do - any idea when the 8.0 Power Pack is
 going to ship? The Mandrake web site is ambiguous about it, in one place
 it says mid-May, on the MandrakeStore page it says the end of May; I
 know those are only target dates, but I'm antsy to get it installed.
 Always wanting that shiny new toy, y'know ...
Jay,
It has been out for 2-3 weeks already.  I picked mine up on 5-18 at Best
Buy, if you are in the States. 

-- 
Best regards,
Gary 

Today's thought:  It is easier to get forgiveness than permission.





[expert] ati radeon ve problems

2001-06-07 Thread David Savolainen

Hello everyone,

I have recently aquired an ati radeon ve video card and don't know how
to get it working.  I decided to reinstall lm 8.0 for various reasons so
I used the DrakeX XFree setup routine to configure it.  I was able to
select Radeon from the video card list, and tried a couple different
resolutions.  Every time I tried to test it though, it would display the
following error messages:

/tmp/imm.o init_module: no such device
/tmp/ppa.o init_module: no such device

Then it would dump me badk to DrakeX and give a message saying there
were errors.  What should I do?  I would grately appreciate any help!

David




Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Brandon Caudle

I will say this @ school we have a Apc BackUPS 650 on  a sun to and it
works.. I know because we tested it just a few weeks ago...

Brandon
- Original Message -
From: Tom Schutter [EMAIL PROTECTED]
To: Brandon Caudle [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 6:49 PM
Subject: Re: [expert] APC UPS shutdown script? How does it work?


 He is talking about the issues that I have run into as well.  On my
 Gateway PC box, I can get a signal from my APC BackUPS 650 that it
 has gone to battery power, but I can not get the low battery signal.
 After much testing, swapping of cables, etc, I agree 100% with Rusty.
 The APC BackUPS series is not RS232 compliant, and will not work with
 all serial cards.  It may work with yours, but that is no reason to
 label Rusty as a wako.  Speaking of which, it is whacko not wako.
 If you are going to flame, you may as well learn to spell, so you only
 look half as stupid.

Half as stupid  we'll for a 15 year old thats making 33.95 and hour as
a network administrator for a HUGE country club i'n not as stupid as you
think.. GPA: 4.25  and i speek 5 languages FLUENTLY



 Brandon Caudle wrote:
 
  I had a APC BackUps 650 and it work flawlessly.  Can say any thing
better.
  Have no clue what this wako is talking about..
 
  brandon caudle
  - Original Message -
  From: Pierre Fortin [EMAIL PROTECTED]
  To: Rusty Carruth [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Thursday, June 07, 2001 12:42 PM
  Subject: Re: [expert] APC UPS shutdown script? How does it work?
 
   Rusty Carruth wrote:
   
Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
say just avoid them.  (Sorry for yelling, but their supposedly
RS232-C 'signaling' scheme is not RS232 compliant, and if your
serial port requires valid RS232 signal levels you wont' be able
to detect low battery (as it only goes to zero VOLTS - some (most?)
pc hardware is really sloppy and will take a zero volt as a valid
level, but that's not according to spec - and some hardware (like,
say, Sun) actually meets spec and will NOT see LB from the UPS
without a fair amount of hassle.  why do I say all this, and
where do I get my knowledge?  I'm trying to get 4 stupid APC
BackUPS' to work with our Sun Ultra5s - and if there was any
way I could SEND THE RETARDED THINGS back and get something
else I would do it in a nanosecond!)
  
   Not sure if this will help; but since I have several APC UPS which I
  haven't
   setup to monitor (will do when I move my office) I did a quick search
for
  RS232
   1488 chips and came across this link:
  
   http://www.kpumis.gdansk.tpnet.pl/etrad/upsd.htm
  
   HTH,
   Pierre
  
  

 --
 Tom Schutter (mailto:[EMAIL PROTECTED])
 Platte River Associates, Inc. (http://www.platte.com)





[expert] IPmasq

2001-06-07 Thread Pierre Fortin

Felix Miata wrote:

OK...  let's move on to the IPmasq stuff...  (changed subject line). 

Bryan D Howard [EMAIL PROTECTED] wrote:
 rc.local is, unfortunately, not a good place to start up your
 firewall.  It runs much too late in the boot process.  It's important
 to configure ipchains *before* you enable your network interfaces so
 that there won't be an interval during which you're not protected.
 
 The startup script /etc/rc.d/init.d/ipchains which is part of
 ipchains-1.3.9-6mdk.rpm is set up correctly to be started *before* the
 network startup script runs.  And, of course, it doesn't shut ipchains
 down until after shutting down the network interfaces.

Bryan, Felix is using an older distro...  I'm not even sure it has rpm...

   /sbin/ipchains -P forward DENY
   /sbin/ipchains -A forward -s 192.168.0.0/16  -j MASQ
 
  This is minimal NAT...  you probably want to firewall your network...  There are
  probably many different ways to do it; but here's what I used to have...
 
  /etc/rc.d/rc.local:
#rc.firewall script - Start IPMASQ and the firewall
/etc/rc.d/rc.firewall
 
 So do I put the two ipchains statements into /etc/rc.d/rc.firewall and
 then discover what else belongs in there by reading the links below?
 
  /etc/rc.d/rc.firewall:
  See http://rob.acol.com/~wlug/files/ipchains-firewall/ipchains-firewall.htm
  and http://www.linux-firewall-tools.com/
 
 What I've read above so far is like reading command reference manual.
 Yuck!

Well... you can use the two ipchains statements which profide no protection, or
you can use the tools to build a firewall (which can contain over 500 lines_... 
I'll send you an old example privately...

Pierre




Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread David Rankin

WHOA, WHOA, WHOA  easy Flicker... Put your arrows back in thier quiver, and
each one of you go stand in the corner for 5 FULL minutes, no talking, and NO
turning around.

There, that's better.

Brandon, Tom, Rusty, Jeanette, Pierre, and the rest that contributed -- Thanks!

I learned a lot -- it has been a positive experience.

First, I learned that there may be an RS232 issue with the APC backup line that
I should take into consideration for my purchase;

Second, I learned that there are many alternatives available to APC. To wit:

UIS ABLER USA IN
Belkin Components
Best Power Technology, Inc.
Compaq Computer Corp. (you bet I'll run out and get this one ;-)
OPTI UPS CORPORATION
Tripp Lite Power Protection

All companies offer various backup time/models with different feature and
different price points.

Third, I learned that there are several Linux solutions for communicating with
these beasts:

o  APC - PowerChutePlus-4_5_3-1_RedHat_i386.rpm (Which is huge and not GPL)

o  Mandrake - smartupstools-0_41_2-4mdk_i586.rpm (Which is much smaller and
has since been rolled into NUT http://www.exploits.org/nut/; it's worth a look
and claims to be APC compliant)

o  nut-0_44_3_tar.gz whch is the latest releast from
http://www.exploits.org/nut/; which claims to do in 240k what it takes
powerchute to do in 2.5M (the proposed next release of NUT is
nut-0_45_0-pre6_tar.gz (available at the site) - so it should be fairly stable)


Lastly, I learned that we have some awesome, intellegent and spirited folks on
the list that have a great deal to offer, especially to an idiot like myself
that new nothing about UPS this morning except that my server had gone down for
the 4th time and I had to manually fsck /dev/hda7 to get the thing to boot and,
that being so, it was time to learn about UPSs.

Now, I know enough to know what I am looking for, and know enough to know what
to look out for (the important part). I have got to say -- I'm amazed.  This
open source concept, and its supporting contributors, really does work.

Now, the 5 FULL minutes is up. You can pull your arrows back out of your
quivers. Just use them wisely.

Many thanks

Brandon Caudle wrote:

 I will say this @ school we have a Apc BackUPS 650 on  a sun to and it
 works.. I know because we tested it just a few weeks ago...

 Brandon
 - Original Message -
 From: Tom Schutter [EMAIL PROTECTED]
 To: Brandon Caudle [EMAIL PROTECTED]
 Sent: Thursday, June 07, 2001 6:49 PM
 Subject: Re: [expert] APC UPS shutdown script? How does it work?

  He is talking about the issues that I have run into as well.  On my
  Gateway PC box, I can get a signal from my APC BackUPS 650 that it
  has gone to battery power, but I can not get the low battery signal.
  After much testing, swapping of cables, etc, I agree 100% with Rusty.
  The APC BackUPS series is not RS232 compliant, and will not work with
  all serial cards.  It may work with yours, but that is no reason to
  label Rusty as a wako.  Speaking of which, it is whacko not wako.
  If you are going to flame, you may as well learn to spell, so you only
  look half as stupid.

 Half as stupid  we'll for a 15 year old thats making 33.95 and hour as
 a network administrator for a HUGE country club i'n not as stupid as you
 think.. GPA: 4.25  and i speek 5 languages FLUENTLY

 
  Brandon Caudle wrote:
  
   I had a APC BackUps 650 and it work flawlessly.  Can say any thing
 better.
   Have no clue what this wako is talking about..
  
   brandon caudle
   - Original Message -
   From: Pierre Fortin [EMAIL PROTECTED]
   To: Rusty Carruth [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
   [EMAIL PROTECTED]
   Sent: Thursday, June 07, 2001 12:42 PM
   Subject: Re: [expert] APC UPS shutdown script? How does it work?
  
Rusty Carruth wrote:

 Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
 say just avoid them.  (Sorry for yelling, but their supposedly
 RS232-C 'signaling' scheme is not RS232 compliant, and if your
 serial port requires valid RS232 signal levels you wont' be able
 to detect low battery (as it only goes to zero VOLTS - some (most?)
 pc hardware is really sloppy and will take a zero volt as a valid
 level, but that's not according to spec - and some hardware (like,
 say, Sun) actually meets spec and will NOT see LB from the UPS
 without a fair amount of hassle.  why do I say all this, and
 where do I get my knowledge?  I'm trying to get 4 stupid APC
 BackUPS' to work with our Sun Ultra5s - and if there was any
 way I could SEND THE RETARDED THINGS back and get something
 else I would do it in a nanosecond!)
   
Not sure if this will help; but since I have several APC UPS which I
   haven't
setup to monitor (will do when I move my office) I did a quick search
 for
   RS232
1488 chips and came across this link:
   

Re: [expert] IPmasq

2001-06-07 Thread Felix Miata

Pierre Fortin wrote:
 
 Felix Miata wrote:
 
 OK...  let's move on to the IPmasq stuff...  (changed subject line).
 
 Bryan D Howard [EMAIL PROTECTED] wrote:

  rc.local is, unfortunately, not a good place to start up your
  firewall.  It runs much too late in the boot process.  It's important
  to configure ipchains *before* you enable your network interfaces so
  that there won't be an interval during which you're not protected.

  The startup script /etc/rc.d/init.d/ipchains which is part of
  ipchains-1.3.9-6mdk.rpm is set up correctly to be started *before* the
  network startup script runs.  And, of course, it doesn't shut ipchains
  down until after shutting down the network interfaces.
 
 Bryan, Felix is using an older distro...  I'm not even sure it has rpm...

Turns out it isn't that old. Kernel date is 15 months ago, v 2.2.14, RHL
6.2. I forgot all about installing it nearly a year ago. Since then I
was using the machine for little more than a DOS EPROM burner.
 
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/16  -j MASQ

   This is minimal NAT...  you probably want to firewall your network...  There are

   probably many different ways to do it; but here's what I used to have...

   /etc/rc.d/rc.local:
 #rc.firewall script - Start IPMASQ and the firewall
 /etc/rc.d/rc.firewall

  So do I put the two ipchains statements into /etc/rc.d/rc.firewall and
  then discover what else belongs in there by reading the links below?

   /etc/rc.d/rc.firewall:
   See http://rob.acol.com/~wlug/files/ipchains-firewall/ipchains-firewall.htm
   and http://www.linux-firewall-tools.com/

  What I've read above so far is like reading command reference manual.
  Yuck!
 
 Well... you can use the two ipchains statements which profide no protection, or
 you can use the tools to build a firewall (which can contain over 500 lines_...
 I'll send you an old example privately...

So the answer is a qualified yes? IOW, the two statements get me
connected, but with mere NAT for protection until I institute further
precautions based upon your example and the provided links?

As it turns out, I tried what I supposed. It works, with one (two?)
kink(s). Right before boot completes to a prompt, I get an extra prompt
for a root password. Before it got to be that good, preceeding the
password prompt was another prompt suggesting I needed to run echo 1 
/proc/sys/net/ipv4/ip_forward, and giving me a chance to do it. This I
added to /etc/rc.d/rc.firewall.
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.Proverbs 29:11 NKJV

Felix Miata  ***  http://mrmazda.members.atlantic.net/





Re: [expert] IPmasq

2001-06-07 Thread Felix Miata

Bryan D Howard wrote:
 
 Pierre Fortin [EMAIL PROTECTED] writes:

  This is minimal NAT...  you probably want to firewall your
  network...  There are probably many different ways to do it; but
  here's what I used to have...

  /etc/rc.d/rc.local:
#rc.firewall script - Start IPMASQ and the firewall
/etc/rc.d/rc.firewall

  /etc/rc.d/rc.firewall:
  See http://rob.acol.com/~wlug/files/ipchains-firewall/ipchains-firewall.htm
  and http://www.linux-firewall-tools.com/
 
 Felix and Pierre,
 
 rc.local is, unfortunately, not a good place to start up your
 firewall.  It runs much too late in the boot process.  It's important
 to configure ipchains *before* you enable your network interfaces so
 that there won't be an interval during which you're not protected.
 
 The startup script /etc/rc.d/init.d/ipchains which is part of
 ipchains-1.3.9-6mdk.rpm is set up correctly to be started *before* the
 network startup script runs.  And, of course, it doesn't shut ipchains
 down until after shutting down the network interfaces.

This script exits if /etc/sysconfig/ipchains doesn't exist (it doesn't).
What you're saying is the right way to do what I'm trying to do (set up
IPmasq/firewall) is build this file?
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.Proverbs 29:11 NKJV

Felix Miata  ***  http://mrmazda.members.atlantic.net/





[expert] Re: IPmasq

2001-06-07 Thread Felix Miata

Pierre Fortin wrote:
 
 Here's the IPmasq I used to use when I ran ppp...

Looks pretty much like the example at
http://www.linux-firewall-tools.com/linux/faq/index3-6.html#ss6.5 that I
found after my earlier comments.
 
 Don't use it as is!  It was created with the firewall tool you yucked... :^)

The yuck was the effort to find it and needing to spend more time trying
to understand what to me is a difficult subject. The way I've heard
people say just set up a Linux firewall made me think there ought to
be an easier way to get there. The subject is covered by several howtos
that keep referring to each other, making me feel like I'm reading in
circles. *-p
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.Proverbs 29:11 NKJV

Felix Miata  ***  http://mrmazda.members.atlantic.net/





[expert] Test PLEASE IGNORE

2001-06-07 Thread Arnab_Ganguly

Test Mail 




Re: [expert] gcc-2.96 problem...

2001-06-07 Thread Civileme

On Thursday 07 June 2001 12:52, Steve Kieu wrote:
 Hi,

 I got error when trying to compile the kernel using
 gcc 2.96; just wonder if I can install
 gcc-2.95.2-12mdk.i586.rpm and use it instead.

 Thank in advance !

 =
 S.KIEU


This is unsurprising.  2.96 is much stricter.  You cannot assume standard 
headers will be loaded by default.  Your C code really has to be much closer 
to specificatons.

We had a reason for abandoning 2.95.3 and making essentially our own compiler 
from the gcc 3.0 development tree, and giving it the (officially unused) 2.96 
label.  Perl and Python compiled with it pass all of their regression tests, 
and the other code made with it can be inspected for bugs directly rather 
than worrying if we have stumbled over another compiler bug.  In other words, 
after several months of tests, a technical decision was made.

You are free to use 2.95.3, of course.  Make sure you have the glibc2.1 
compatibility lib loaded, and realize that your code probably won't compile 
under gcc 3.0 (particularly c++ code).

Civileme


 ___
__ http://messenger.yahoo.com.au - Yahoo! Messenger
 - Voice chat, mail alerts, stock quotes and favourite news and lots more!




Re: [expert] (resolved) Terminal screen unusable

2001-06-07 Thread M L Cates

I found that if I booted up 'linux-nonfb' that I no longer had this 
problem. I had previously
disabled aurora to no effect. I went to /boot/GRUB/menu.lst and removed 
'quiet vga=788'
which makes makes the 'linux' boot the same as the 'linux-nonfb'. I know 
this has something
to do with the frame buffer but not real clear about it. Maybe somebody 
could enlighten me.

Mike Cates




I am running LM8.0, XFree3.3.6, with an Alliance AT3D video card.
My problem is this:
After starting X (KDE) if I do a CTRL-ALT-F1 or F2,etc. I cannot read the 
screen.
Also even after I shutdown X the problem remains. The screen is out of sync
basically with about 8 - 10 vertical frames displayed each about 1 inch high
stair stepped down my screen.

I previously was running RH7.0 with no problem and have run Mandrake 7.1 on
this machine with no problem.

Does anybody out there have any idea what could cause this?

Thanks
Mike Cates






Re: [expert] Introduce myself

2001-06-07 Thread Civileme

On Wednesday 06 June 2001 18:38, Shane D'Arcy wrote:
 Hi All,

 My name is Shane and I have just joined this list. I don't know if this
 list is exactly what I am looking for. I have some questions regarding
 developing apps for Linux, is this an appropriate list? if not could
 anyone suggest one?

 Kind regards
 Shane

Well, start here and perhaps some others will become obvious.   If it is a 
free software application, then you should take a look at www.sourceforge.net 
where host space for your project and other interested parties may 
collaborate.

Civileme




Re: [expert] Font Wierdness in Mandrake 8.0

2001-06-07 Thread Oscar


Ups!
And, of course, restart xfs and X   

:)

Salu2,
Óscar.

--  Mensaje Reenviado  --
Subject: Re: [expert] Font Wierdness in Mandrake 8.0
Date: Thu, 7 Jun 2001 21:22:53 -0400
From: Oscar [EMAIL PROTECTED]
To: Arnab_Ganguly [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]


There are a lot of fix for this issue in www.mandrakeforum.com and
www.mandrakeuser.org, but none of this works for me, including the commented
by civileme in RE:[expert] Font Wierdness in Mandrake 8.0

After try and try, I seen the problem was in:
- abiword fonts
- default Type1 fonts.

It's my fix (and it REALLY WORKS in my PC):
(as root)
- Uninstall abisuite.
- Edit /etc/X11/fs/config
- Change this line:
/usr/share/fonts/default/Type1,
for this:
/usr/share/fonts/default/Type1:unscaled,

And because you are here, you can put the 100dpi fonts path before the 75dpi.

But sincerely, I don't know the origin of the problem (I'm not an expert :)
Perhaps this is because I have an ATI Xpert XL... (?)
I hope this helps you.
Salu2!
Óscar.
ps. excuse my bad english... :P
ps2. Installing windows fonts helps too (please, first update drakfont)

El Jue 07 Jun 2001 09:24, escribiste:
 Hi!

 I installed the Mandrake inst.iso CD image yesterday as an experiment and
 was pleasantly surprised with the install and the supermount feature
 working flawlessly.

 I have a major problem however with the fonts that I see when I use the
 Advanced Editor or The Text Editor under KDE 2.1.1. The fonts are such that
 I CANNOT see the letters clearly. Something is very wrong with them, they
 are fuzzy and indistinct. Interestingly other applications like kword have
 no problem and have distinct and clear fonts. It is only with advanced
 editor and text editor that this seems to occur. Am I missing some fonts
 because I did not install the packages from Mandrake ext.iso or is it a
 bug??

 I would like to change from SuSE to Mandrake 8.0, but without this fuzzy
 fonts in advanced editor and text editor. Any suggestions or help would be
 great. I am using:

 Intel 810 mainboard
 Celeron 433 processor
 128 MB RAM
 8.3 GB Hard Disk

 I repeat again that I have not installed anything from inst.iso as I was
 unable to download that, if this problem has a solution, it would be great.

 Thanks,
 Arnab

---




Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Dan Swartzendruber

On Thu, 7 Jun 2001, David Rankin wrote:

 Sorry if this is a little off topic:

 I had my LM7.2 server go down for the 4th time due to a power
 outage. I had to manually fsck /dev/hda7 to bring the system back up. I
 am convinced that this is not a good way to treat the server and I am
 going to buy an APC UPS to keep it from happening again.

 What I need to know is if anyone has any advice on how to configure
 the APC box to send a shutdown signal over the serial port to nicely
 shut the server down. I don't have any experience with UPS's and just
 want to make sure I'll be able to accomplish getting the UPS to talk to
 my server and shut it down before I go spend the money on a UPS.

 All of the APC UPSs come with software to shut windows down, but
 don't say a thing about Linux. How do I get it to work with my server?
 Advise would be great, but if you can just point me to the right docs, I
 don't have a problem reading.

i have an apc smartups.  it has a daemon you can install under linux
that will do what you want.  it even has an X app that lets you connect
to the daemon and see what's up...







Re: [expert] APC UPS shutdown script? How does it work?

2001-06-07 Thread Rusty Carruth

David Rankin [EMAIL PROTECTED] wrote:
 Sorry if this is a little off topic:
 
 I had my LM7.2 server go down for the 4th time due to a power
 outage. I had to manually fsck /dev/hda7 to bring the system back up. I
 am convinced that this is not a good way to treat the server and I am
 going to buy an APC UPS to keep it from happening again.


First, go get nut, and join the NUT mailing list.

Second, DO NOT BUY APC!  ESPECIALLY DO NOT BUY a BackUps!  But I'd
say just avoid them.  (Sorry for yelling, but their supposedly
RS232-C 'signaling' scheme is not RS232 compliant, and if your
serial port requires valid RS232 signal levels you wont' be able
to detect low battery (as it only goes to zero VOLTS - some (most?)
pc hardware is really sloppy and will take a zero volt as a valid
level, but that's not according to spec - and some hardware (like,
say, Sun) actually meets spec and will NOT see LB from the UPS
without a fair amount of hassle.  why do I say all this, and
where do I get my knowledge?  I'm trying to get 4 stupid APC
BackUPS' to work with our Sun Ultra5s - and if there was any
way I could SEND THE RETARDED THINGS back and get something
else I would do it in a nanosecond!)

Um, lets see, where was I?  Sorry...

Oh - yeah.  Starting again:

Go buy something besides an APC (or get a SmartUPS). Get and
install NUT (look on freshmeat or sourceforge, and if you cannot
find it there email me and I'll go look up the correct url),
install it, configure it for your UPS and for the shutdown mode
you want, test it by pulling the plug.  And you're done.

 What I need to know is if anyone has any advice on how to configure
 the APC box to send a shutdown signal over the serial port to nicely
 shut the server down. I don't have any experience with UPS's and just
 want to make sure I'll be able to accomplish getting the UPS to talk to
 my server and shut it down before I go spend the money on a UPS.

The APC BackUPS are mostly worthless, in my mind.  Most of the really
cheap ones are, really, as they use the 'simple signalling' method
which means you get the following signals: on battery (or on AC mains),
low battery (if you're lucky); and your control signal is shut down.

The better way to go is to get a 'smart' ups (again, I stronly advise
against APC, but if you get the APC SmartUPS at LEAST it usually works
with serial ports), which can give you all kinds of cool info, like
loading, battery health (I think), temperature, and stuff like that.

They also (as I said) use rs232 to transmit DATA (ascii, usually,
but not always) about themselves (and usually accept commands that
way also, including shutdown).  Definately worth the price if you
want your machine to be able to shut down well AND keep track of
the health of the UPS.

 All of the APC UPSs come with software to shut windows down, but
 don't say a thing about Linux. How do I get it to work with my server?
 Advise would be great, but if you can just point me to the right docs, I
 don't have a problem reading.

Again, look for UPS (or simply NUT) on freshmeat, they've got lots of good
info.  (Warning - a google search will turn up LOTS of info - some of it will
say you can get a backUPS to give you LB signal - which turns out depends
upon your monitoring computer!).

And, finally, a word about NUT - you can do some really amazing stuff with
NUT, like have more than one ups powering something, have more than one
computer powered by the same ups and shutdown when the shutdown time
(usually low battery) comes around, stuff like that.

(Sorry to flame APC so much, but I've got 4 mostly useless APC UPS's
here that I'm really frustrated with...)

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44N   111 53' 47W