Linux-Setup Digest #702, Volume #19 Tue, 26 Sep 00 12:13:08 EDT
Contents:
help: configuring fetchmail (David. E. Goble)
MySQL problem (Terence Chan)
Re: help: configuring fetchmail (Andreas K�h�ri)
Restricting speed in IP masquerading ("FEEB")
modem hangs up in 2.4 (2.2ok) (Antoine Martin)
Re: honeypot + syslogd (Mike O'Connor)
Re: Restricting speed in IP masquerading (John)
Debian + PHP4 + Sybase (Jari Kohvakka)
Re: how to unzip the file *.tar.bz2 ("Gene Heskett")
How do I install new software? (Valentin Saca)
Re: Sharing Packages Among Multiple Distributions on One PC (Eric Laffoon)
Re: VPN client software ("Dan Hensley")
Second display (John Janmaat)
Re: Second display (Antoine Martin)
Re: Number of groups associated with one user id ... (Tajendra Vir Singh)
Network card (Ian)
Re: Restricting speed in IP masquerading ("FEEB")
looking for howto or any help docs on Automount (Jason Hong)
Re: Linux 6.2 ([EMAIL PROTECTED])
Re: VPN client software (Scott Twitchell - EWB Support)
how to setup chinese font for RH6.2+netscape4.72 ("Jimmy HSIEH")
----------------------------------------------------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: alt.linux,alt.os.linux,aus.computers.linux
Subject: help: configuring fetchmail
Date: Tue, 26 Sep 2000 12:13:35 GMT
Reply-To: goble@gtech
Hi all;
I can not seem to get fetchmailconf to work. A problem with python not
configured for Tk.
And I can not seem to make head or tails out of the fetchmail docs.
Can anyone help?
--Regards David. E. Goble
goble [AT] kin.net.au
http://www.kin.net.au/goble
Po Box 648 Kingscote, Kangaroo Island, SA 5223
------------------------------
From: Terence Chan <[EMAIL PROTECTED]>
Subject: MySQL problem
Date: Tue, 26 Sep 2000 20:28:22 +0800
I Install MySQL 3.23.22. by RPMS in the Red Hat 6.2 server. root got the
following message everyday.
Errors occured while rotating /var/lib/mysql/mysqld.log
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
error running postrotate script
The follow is the mysql script in /etc/logrotate.d
#=====================================
# This logname is set in mysql.server.sh that ends up in
/etc/rc.d/init.d/mysql
#
# If the root user has a password you have to create a
# /root/.my.cnf configuration file with the following
# content:
#
# [mysqladmin]
# password = <secret>
# user= root
#
# where "<secret>" is the password.
#
# ATTENTION: This /root/.my.cnf should be readable ONLY
# for root !
/var/lib/mysql/mysqld.log {
# create 600 mysql mysql
notifempty
daily
rotate 3
missingok
compress
postrotate
# just if mysqld is really running
if test -n "`ps acx|grep mysqld`"; then
/usr/bin/mysqladmin flush-logs
fi
endscript
}
#====================================================
I have followed the instruction to create a .my.cnf in /root directory
and I have test the command as root user.
/usr/bin/mysqladmin flush-logs
it works!
So what's wrong?
--
-(^)-(^)- ! Terence Chan
b ! mailto:[EMAIL PROTECTED]
--- !
------------------------------
Crossposted-To: alt.linux,alt.os.linux,aus.computers.linux
Subject: Re: help: configuring fetchmail
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 26 Sep 2000 14:25:51 +0100
In article <[EMAIL PROTECTED]>,
David. E. Goble <goble@gtech> wrote:
>Hi all;
>
>I can not seem to get fetchmailconf to work. A problem with python not
>configured for Tk.
>
>And I can not seem to make head or tails out of the fetchmail docs.
>
>Can anyone help?
What kind of problems do your have with Python? What distribution do
you run?
/A
--
Andreas K�h�ri, <URL:http://hello.to/andkaha/>. Junk mail, no.
========================================================================
What part of "GNU" did you not understand? <URL:http://www.gnu.org/>
------------------------------
From: "FEEB" <[EMAIL PROTECTED]>
Subject: Restricting speed in IP masquerading
Date: Tue, 26 Sep 2000 08:37:52 -0400 (EDT)
Reply-To: "FEEB" <[EMAIL PROTECTED]>
I am running an IP masquerading server with about a hundred machines
connected to the local Ethernet I/F.
I would like to restrict transfer speed to particular local machines, that
tend to hog the network.
Is there any way how to do that?
Thanks
Frank Bures, <grandial at softex.cz>
------------------------------
From: Antoine Martin <[EMAIL PROTECTED]>
Subject: modem hangs up in 2.4 (2.2ok)
Date: Tue, 26 Sep 2000 14:01:35 +0100
Setup:
k6-3 400
X 4.0.1x
pppd versions 2.3 and 2.4betas
I use gnome-ppp to setup my connection.
Everything works fine will all 2.2 kernels tested (14 through 18)
But when I use 2.3 or 2.4test kernels,
the modem dials, connects and immediately hangs up...
gnome-ppp: [pppd daemon died unexpectedly]
syslog: [pppd closing connection]
modem is a Sportster 56K
ideas?
------------------------------
Date: Tue, 26 Sep 2000 13:05:01 GMT
Crossposted-To:
alt.computer.security,alt.linux,alt.os.security,comp.os.linux.x,comp.security.firewalls,comp.security.misc,comp.security.unix,linux.redhat.install,linux.redhat.misc
From: Mike O'Connor <[EMAIL PROTECTED]>
Subject: Re: honeypot + syslogd
Reply-To: Mike O'Connor <[EMAIL PROTECTED]>
In article <8qpal5$9mn$[EMAIL PROTECTED]>,
Amit Muthu <[EMAIL PROTECTED]> wrote:
:In comp.security.unix jhuman <[EMAIL PROTECTED]> wrote:
:> I was reading the article by lance spitzner on builing a honeypot and he
:> mentioned something about "recompiling syslogd" to read from a different
:> configuration file other than syslog.conf like /var/tmp/conf. I was
:> wondering how that is done? Any help would be great.
:
:Changing this line in the syslog sources (syslog.c)
:
:#define _PATH_LOGCONF "/etc/syslog.conf"
:
:and then compiling ought to do the trick.
If you don't feel like recompiling some vendor's syslogd, another option
may be to use a binary editor like emacs and patch the syslogd binary.
Replace "/etc/syslog.conf" with some other 16-character pathname.
--
Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: [EMAIL PROTECTED]
Royal Oak, Michigan | (has my PGP & Geek Code info) | Phone: +1 248-848-4481
------------------------------
From: John <[EMAIL PROTECTED]>
Subject: Re: Restricting speed in IP masquerading
Date: 26 Sep 2000 20:28:30 +0800
FEEB <[EMAIL PROTECTED]> wrote:
> I am running an IP masquerading server with about a hundred machines
> connected to the local Ethernet I/F.
> I would like to restrict transfer speed to particular local machines, that
> tend to hog the network.
> Is there any way how to do that?
This is from Configure.help in the kernel source:
Traffic Shaper (EXPERIMENTAL)
CONFIG_SHAPER
The traffic shaper is a virtual network device that allows you to
limit the rate of outgoing data flow over some other network
device. See Documentation/networking/shaper.txt for more
information. To set up and configure shaper devices, you need the
shapecfg program, available via FTP (user: anonymous) from
ftp://shadow.cabi.net/pub/Linux in the shaper package.
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module will be called shaper.o. If you want to compile it as a
module, say M here and read Documentation/modules.txt. If unsure,
say N.
So, build your kernel, get the software and play with it.
--
------------------------------
From: [EMAIL PROTECTED] (Jari Kohvakka)
Subject: Debian + PHP4 + Sybase
Date: 26 Sep 2000 13:18:51 GMT
All right. I got the php4 with apt-get source. Then I run ./configure
--with-sybase=/opt/sybase-11.9.2 --with-odbc
Now it doesn't work with Apache (no, I'm not going to install Apache by
hand), and the php-binary still doesn't know the
sybase_connect()-function... Any ideas?
K
--
/"\ / Jari Kohvakka
\ / ASCII Ribbon Campaign / CS-major / University of Helsinki
X Against HTML Mail / [EMAIL PROTECTED]
/ \ / +358 50 567 2587
------------------------------
Date: 26 Sep 2000 8:47:47 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: how to unzip the file *.tar.bz2
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to Stephen Kennedy;
SK> "Scott Nolde" <[EMAIL PROTECTED]> wrote in message
SK> news:[EMAIL PROTECTED]...
>> qiuyang wrote:
>> >
>> > hi,everyone
>> > I don't know how to unzip the file with tar.bz2 ?
SK> You can do it all in one too:
SK> tar xvfz file.tar.gz
SK> tar xvfI file.tar.bz2
I don't think this is correct since the f has to be the last option
given. Well, actually, the next option after the f is the filename.
tar xzvf filename.tar.gz
tar xIvf filename.tar.bz2
Should be the correct syntax.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 400mhz
email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again. Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
� 2000 by Gene Heskett, all rights reserved.
--
------------------------------
From: Valentin Saca <[EMAIL PROTECTED]>
Subject: How do I install new software?
Date: Tue, 26 Sep 2000 15:46:33 +0200
Hi ,
I have a software for Linux in three *.bin files . How can i install now
the software on my computer?
Thank you ,
Valentin
------------------------------
From: Eric Laffoon <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.misc
Subject: Re: Sharing Packages Among Multiple Distributions on One PC
Date: Tue, 26 Sep 2000 07:22:58 -0700
Felix Miata wrote:
> I'm too new to Linux to choose "the best" distribution for my needs, so
> I've installed the following on a spare system with P55C 233 CPU and 96
> Mb RAM:
>
> common data /dev/sdc6 0.5 Gb
> swap /dev/sdc7 125 Mb
> RedHat 6.1 /dev/sdc8 1.1 Gb
> Corel Linux 1.1 /dev/sdc9 1.1 Gb
> Mandrake 7.1 /dev/sdc10 1.1 Gb
>
> FWIW, I also have the 1.2 CLOS CD and the 6.2 RedHat CD and anticipate
> moving to a larger HD to provide more space so that all packages I might
> ever need can be installed up front instead of trying to save space by
> leaving some out before knowing how to choose what's unnecessary, and
> replacing the above with the newer versions. On the bigger disk I should
> think an extra partition for shared packages would also make good sense.
>
> The point of the exercise is to gain some familiarity with the different
> distros and their default VWMs in order to choose one to possibly use to
> eventually take over my daily chores currently performed by OS/2. Most
> of what I do is either web related and run in native OS/2 apps, or not,
> and handled by DOS apps.
>
> Netscape is the one app I'm already familiar with which is available in
> native versions for windoze and OS/2 and Linux, so that is where I'd
> like to begin my investigation into some of the workings of Linux that
> differ from what I'm used to. Right now I have three separate Netscapes
> for Linux: RH 6.1 has 4.08, CLOS has 4.7, and ML has 4.73. I've
> downloaded the i386 gz of 4.75, so I'd like to upgrade the other three
> by removing them and installing 4.75 only once, and the main question I
> believe is more of a philosophical one than a practical one: Where
> should I install it?, followed by: How?
>
> I've yet to find a suitable HOWTO or FAQ that addresses making such
> choices, nor one that explains the significance and practical aspects of
> shared libraries. Suggestions and/or doc pointers would be much
> appreciated.
>
> Part 2: I think DOSEMU would be a good next step following the Netscape
> exercise. Attempting to execute dos in RH 6.1 gives me error messages,
> in ML 7.1 "bad command or file name", and CLOS 1.1 a DOS prompt
> indicating version 3.31 compatibility, and I need at least v5.0
> compatibility for my apps. So logically, I should remove whatever DOSEMU
> is currently installed and install a shared newer version, assuming one
> exists. Suggestions and/or doc pointers would also be much appreciated
> on this subject.
Man you are insane! ;-) Being a recent convert from OS/2 myself I have
gravitated to Mandrake but since I really have taken a shine to KDE I ended
up compiling the KDE 2 packages myself to get the unvarnished stuff...
Classically you would get the RPM 4 pcakcage for RH, RPM 3.05 package for
Mandrake and the apt-get for CLOS. (yeesh)
In OS/2 you could make shadows in PM shell. In linux you can make links all
the way down in the files system. Frankly that is cooler. What you need to
do (I think) is (besides choose something ;) pick a directory you can share
like /usr/local and put your shared apps there. Here is how it works.
1) pick a place to be home to your shared programs (as well as one for
shared data)
2) from each of your distros this need to have an empty directory (or just
choose a directory to dump it in) to house your shared programs. Link to
your shared directory.
3) where ever you are running your files from like /usr/bin in Mandrake
create a link to the executable in your linked directory.
Now your programs will run from the same executable in all distros. There
is still the configurations. Linux does not have extended attributes but
uses dot files. For Netscape it is $HOME/.netscape and here is what would
be in EAs and ini files. You can copy it and nsmail and you are good to go,
but you will not have identical data and bookmarks. I have tried to do this
with links and for some reason Netscape didn't like it. You could try
mounting your alternate home directories and using a shell script to update.
For my part Ihave come to find KDE 2 knoqueror much less of a hog than
Netscape and prefer it for browsing. On the page that explains running both
at the KDE site is the clue on how to really make identical desktops. Just
add this to your start up....
export KDEHOME=$HOME/.kde2 -> this can be any directory... then again once
you've done that what difference is all the distros? ;-)
BTW if you do web work check out our web editor. it's in my signature line
at the bottom.
--
Eric Laffoon
A member of the Quanta+ Web development team
http://quanta.sourceforge.net
------------------------------
From: "Dan Hensley" <[EMAIL PROTECTED]>
Subject: Re: VPN client software
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Date: Tue, 26 Sep 2000 14:27:50 GMT
In article <[EMAIL PROTECTED]>, "Scott Twitchell -
EWB Support" <[EMAIL PROTECTED]> wrote:
> My work has a VPN switch. I Have to start the VPN client software
> (currently in W 98) and log in with a username and password (to get
> access
> through the gateway).
>
> Scott
Yes, but what protocol? My guess is that it's either IPSec or PPTP.
Dan
>
>
> SCHeckler wrote:
>
>> Define 'VPN' Are you talking about PPTP? SSH tunnels? ISAKMP?
>>
>> In <[EMAIL PROTECTED]>, Scott Twitchell - EWB
>> Support wrote:
>> >Does anyone know of any VPN client software for linux (I'm running Red
>> >Hat
>> >6.1). I access my work network through VPN in windows but want to try
>> >it through linux.
>> >
>> >Thanks,
>> >
>> >Scott
>> >
>> >
>>
>> --
>> Gregory Spath [EMAIL PROTECTED], [EMAIL PROTECTED]
>> SCHeckler in #mtbike on EFNet, fr33f411 on AIM
>> http://freefall.homeip.net/
------------------------------
From: John Janmaat <[EMAIL PROTECTED]>
Subject: Second display
Date: Tue, 26 Sep 2000 11:34:58 -0300
Hello,
I have a thinkpad A20m, and need to connect to an external monitor.
Ideally, I would use the Fn-F7 combination to switch to the external
monitor. I need some pointers on how to configure XFree86 for two
monitors, and switching between them.
Thanks,
John.
--
_________________________________________________________________
John Janmaat, Department of Economics, Acadia University,
Wolfville, Nova Scotia, Canada. B0P-1X0
------------------------------
From: Antoine Martin <[EMAIL PROTECTED]>
Subject: Re: Second display
Date: Tue, 26 Sep 2000 16:02:24 +0100
> I have a thinkpad A20m, and need to connect to an external monitor.
> Ideally, I would use the Fn-F7 combination to switch to the external
> monitor. I need some pointers on how to configure XFree86 for two
> monitors, and switching between them.
I believe this should be handled by the laptop itself (bios?) and not
XFree.
------------------------------
From: Tajendra Vir Singh <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,alt.os.linux,linux.redhat.misc,linux.redhat.rpm
Subject: Re: Number of groups associated with one user id ...
Date: Tue, 26 Sep 2000 11:11:46 -0400
Hello Linux gurus !!
I hope many of you guys should be able to answer this question.
Please help me out at this.
we have a system running Redhat 6.2 ersion. There are many around 50 user
group added to the system. The situation is that one user has to be in all
user groups in order to do some special task. I saw that one can't have
more then 32 groups associated with a userid. Wanted to modify it to 64.
Please suggest me the solution. Your help will be highly appreciated.
Thanks in advance,
tvs
Tajendra Vir Singh wrote:
> Hello there,
>
> It seems the number of groups to which any userid could belong is set to
>
> 32 by default in Red Had 6.2.
>
> I need to modify it to 64, Is it possible ?
>
> If yes please let me know the procedure,
>
> Thanks in advance,
>
> tvs
------------------------------
From: Ian <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,linux.help,comp.os.linux.hardware
Subject: Network card
Date: Tue, 26 Sep 2000 16:20:20 +0100
I am trying to setup a network card on a 486 running Linux.
I edited the conf.module file and on boot up my network card is
detected, hardware address and every thing.
I tried modprobe | tail and recieved message saying:
Tx timed out, excess collisions, TSR=0x1e, ISR=0x8, t=1000.
I noticed also that the little green light on the card is no longer lit.
I am new to this stuff so please go easy.
I have read FAQ but can't find mention of this prob.
Anyone any ideas?
Ta.
------------------------------
From: "FEEB" <[EMAIL PROTECTED]>
Subject: Re: Restricting speed in IP masquerading
Date: Tue, 26 Sep 2000 10:52:15 -0400 (EDT)
Reply-To: "FEEB" <[EMAIL PROTECTED]>
On 26 Sep 2000 20:28:30 +0800, John wrote:
>FEEB <[EMAIL PROTECTED]> wrote:
>> I am running an IP masquerading server with about a hundred machines
>> connected to the local Ethernet I/F.
>> I would like to restrict transfer speed to particular local machines,
that
>> tend to hog the network.
>
>> Is there any way how to do that?
>
>
>This is from Configure.help in the kernel source:
>
>Traffic Shaper (EXPERIMENTAL)
>CONFIG_SHAPER
> The traffic shaper is a virtual network device that allows you to
> limit the rate of outgoing data flow over some other network
> device. See Documentation/networking/shaper.txt for more
> information. To set up and configure shaper devices, you need the
> shapecfg program, available via FTP (user: anonymous) from
> ftp://shadow.cabi.net/pub/Linux in the shaper package.
>
> This driver is also available as a module ( = code which can be
> inserted in and removed from the running kernel whenever you want).
> The module will be called shaper.o. If you want to compile it as a
> module, say M here and read Documentation/modules.txt. If unsure,
> say N.
>
>
>So, build your kernel, get the software and play with it.
That unfortunately does not solve my problem. I am aware of the shaper
module, but it does not do what I need. What it does AFAIK is, that it
restricts traffic through a network device. So, for instance, you can
configure a virtual host for an httpd as a separate network device and
then define its bandwidth. The virtual host and its relevant virtual
network device reside on the same machine - host.
In my case, the actual machines are remote and access the same network
device on the host. What I want is to define the bandwidth of separate
remote machines accessing the same network device - local net NIC.
Does anyone know, if it is possible?
Frank Bures, <grandial at softex.cz>
------------------------------
From: [EMAIL PROTECTED] (Jason Hong)
Subject: looking for howto or any help docs on Automount
Date: 26 Sep 2000 15:47:48 GMT
I am looking for any documentation or howtos describing automount on Linux.
Is there any howto for Linux automounting?
Thank you,
Jason
Please reply to [EMAIL PROTECTED] if you want to reply.
======================================================================
Jason Hong, [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Linux 6.2
Date: Tue, 26 Sep 2000 15:50:48 GMT
Screwface <[EMAIL PROTECTED]> wrote:
: Ok i installed and logged in now what what are the command somebody help
There is no such thing as "Linux 6.2" ...
Most distributions will have you running, at best, "Linux 2.2.16"
--
Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED]
"You're one of those condescending UNIX users! ...."
"Here's a nickel kid ... get yourself a real computer."
------------------------------
Date: Tue, 26 Sep 2000 11:55:36 -0400
From: Scott Twitchell - EWB Support <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: Re: VPN client software
Dan Hensley wrote:
> In article <[EMAIL PROTECTED]>, "Scott Twitchell -
> EWB Support" <[EMAIL PROTECTED]> wrote:
>
> > My work has a VPN switch. I Have to start the VPN client software
> > (currently in W 98) and log in with a username and password (to get
> > access
> > through the gateway).
> >
> > Scott
>
> Yes, but what protocol? My guess is that it's either IPSec or PPTP.
>
> Dan
It is an IPSec protocol. I've installed VTUN, but I'm not sure how to set it
up. I'm brand new to Linux, so please bear with me.
Scott
------------------------------
From: "Jimmy HSIEH" <[EMAIL PROTECTED]>
Subject: how to setup chinese font for RH6.2+netscape4.72
Date: Wed, 27 Sep 2000 00:00:27 +0800
Hi,
Is there any one can tell me a simple way to install chinese font (BIG5) in
RH6.2, so that I can see chinese font on netscape4.72 ?
I had search some HOWTO documents but no good answer there for me (because I
can not understand, too many ways there),
I think copy some font files to the X11 dir and then modify some files is a
simple way. I just want to display the font no need to input chinese fonts.
thanks!!
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************