Linux-Setup Digest #985, Volume #20 Wed, 4 Apr 01 15:13:13 EDT
Contents:
Redirect requests from a gateway to internal PCs (Ninja IX)
openldap-2.0.7-14 : Where are ldapadd and ldif2ldbm? (Frederic Faure)
Re: more info: eth0 initialization fail (root)
Re: more info: eth0 initialization fail (root)
Upgrading RH 6.2 to 7.0 ([EMAIL PROTECTED])
Re: Can't get Sound Blaster Live! Value to work, but it seems to be (Lai Shu King)
httpd.conf and web log files (ImaLuzer)
Re: Boot up scripts (Gregory Davis)
Re: How do you set hostname in linux box that gets ip via DHCP? ([EMAIL PROTECTED])
Changing SHMMAX for redhat 6.1 (Abhijit Bhattacharya)
How to implement user disk space quotas? ([EMAIL PROTECTED])
Re: invalid / corrupt partition table.. help! ("Eric en Jolanda")
Re: PTBL ("Eric en Jolanda")
Re: I would like to register a complaint ... (John Thompson)
Re: Red Hat 7.0 & Lilo (John Thompson)
Re: Unkown users made by RedHat (John Thompson)
Re: Multiproxy on linux? (John Thompson)
Rotating Logs (ImaLuzer)
----------------------------------------------------------------------------
From: Ninja IX <[EMAIL PROTECTED]>
Subject: Redirect requests from a gateway to internal PCs
Crossposted-To: comp.os.linux.networking,comp.protocols.tcp-ip,linux.net.masquerade
Date: Wed, 04 Apr 2001 16:24:05 GMT
Hi
Is there anyone knowing Howto redirect http or ftp (or any other) made to a
gateway FROM INTERNET to a machine on a LAN (linux 2.2.17 ip masqued)
Example : My Gateway is known as "mylan.homeip.net" by internet users.
When a user type "mygateway.homeip.net" on his browser (port 80), then the
packet are redirected to port 80 on pc1.mylan.homeip.net. The purpose is to
delegate each service to a different machine (a FTP server, a HTTP server,
a GAME server, etc..), without allowing internet users to ping them (except
the port concerned by type of service).
I see two ways :
- Creating virtual hosts on Apache ??
- Using ipfwadm (what's the syntax ?)
Thx a lot if you made it.
------------------------------
From: [EMAIL PROTECTED] (Frederic Faure)
Subject: openldap-2.0.7-14 : Where are ldapadd and ldif2ldbm?
Date: Wed, 04 Apr 2001 16:29:24 GMT
Hi
I just installed openldap-2.0.7-14.i386.rpm on a RH 7.0, but the RPM
doesn't include any of the utilities to add entries to LDAP, such as
ldif2ldbm or ldapadd. Those used to be there in openldap-1.2.x.rpm.
Is there sthing like openldap-utilities.rpm that I should install?
Thx
FF.
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Re: more info: eth0 initialization fail
Date: Wed, 04 Apr 2001 11:08:52 -0400
I am using the 3c59x module. I have two ethernet interfaces in the computer. The
3c59x and the eepro100. I'm trying even to get just the eepro100 working. Both
would be even better.
Another note, the dmesg below shows eepro100 using "Intel Corporation 82557", but
the EtherExpress Pro that I have uses a 82559 chip. Could this also produce
issues?
Marc
Craig Kelley wrote:
> "Marc Ulrich" <[EMAIL PROTECTED]> writes:
>
> > I returned to linux to get the dmesg & see what info I could get. Here it
> > is:
> > ...
> > eepro100.c:v1.09j-t 9/29/99 Donald Becker
> > http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
> > eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> > <[EMAIL PROTECTED]> and others
> > eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:D0:B7:E2:C6:CF, IRQ 19.
> > Receiver lock-up bug exists -- enabling work-around.
> > Board assembly 540775-040, Physical connectors present: RJ45
> > Primary interface chip i82555 PHY #1.
> > General self-test: passed.
> > Serial sub-system self-test: passed.
> > Internal registers self-test: passed.
> > ROM checksum self-test: passed (0x04f4518b).
> > Receiver lock-up workaround activated.
> > ...
> >
> > Perhaps that will shed light on something, but I'm rather clueless about
> > this problem.
> > eth1, which should be the 3com card, is not detected at all. It is a PCI
> > card, so that is bad -- right?
>
> A 3C905b is not even made by Intel, and it isn't an Ethernet Pro 100
> at all.
>
> The module you're looking for is 3c59x
>
> --
> It won't be long before the CPU is a card in a slot on your ATX videoboard
> Craig Kelley -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Re: more info: eth0 initialization fail
Date: Wed, 04 Apr 2001 11:09:38 -0400
Yes, the aliases mentioned are in the modules.conf file. I am currently using
static IP's.
Marc
Colin wrote:
> (You may have done this already but I just don't know)
>
> Have you aliased your card in the /etc/modules.conf or /etc/conf.modules
> (whichever file exists):
>
> alias eth0 eepro100
> alias eth1 3c59x
>
> Do these network cards use static or dynamic IPs? This
> makes a difference on what you have to do.
>
> "Marc Ulrich" <[EMAIL PROTECTED]> writes:
>
> > I returned to linux to get the dmesg & see what info I could get. Here it
> > is:
> > ...
> > eepro100.c:v1.09j-t 9/29/99 Donald Becker
> > http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
> > eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> > <[EMAIL PROTECTED]> and others
> > eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:D0:B7:E2:C6:CF, IRQ 19.
> > Receiver lock-up bug exists -- enabling work-around.
> > Board assembly 540775-040, Physical connectors present: RJ45
> > Primary interface chip i82555 PHY #1.
> > General self-test: passed.
> > Serial sub-system self-test: passed.
> > Internal registers self-test: passed.
> > ROM checksum self-test: passed (0x04f4518b).
> > Receiver lock-up workaround activated.
> > ...
> >
> > Perhaps that will shed light on something, but I'm rather clueless about
> > this problem.
> > eth1, which should be the 3com card, is not detected at all. It is a PCI
> > card, so that is bad -- right?
> >
> > Marc
> >
> > > I am using a 3com 3C905c and an intel EtherExpress Pro adapter. When the
> > > system boots up, eth0 takes about 5 minutes before it fails and gives me
> > the
> > > red [FAILED] signal. I've checked and I know that the drivers that I am
> > > using are the correct drivers. I also know that both interfaces are good
> > > because I am in Win2000 now and sending this email using one of them. I've
> > > also tried the other. Any ideas what causes this and what I can do to fix
> > > it? I am using kernel 2.4.2, but I also noticed that if I boot up using
> > the
> > > standard RH7's 2.2.16 kernel, the same thing happens.
> > >
> > > Thanks,
> > > Marc
> > >
> > >
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.install;
Subject: Upgrading RH 6.2 to 7.0
Date: Wed, 04 Apr 2001 17:04:36 GMT
Hi all.
I screwed up my RH 6.2 and I would like to fix my mess by upgrading to
RH 7.0.
Is there anything in particular that I should beware of/ be aware of?
I would prefer to upgrade rather than do a clean install. This is a
syslog server running no really mission critical apps. but there are
things on there that I am not sure about.
Help of course greatly appreciated.
Olafur
[EMAIL PROTECTED]
------------------------------
From: Lai Shu King <[EMAIL PROTECTED]>
Subject: Re: Can't get Sound Blaster Live! Value to work, but it seems to be
Date: Thu, 05 Apr 2001 00:55:59 +0800
Reply-To: [EMAIL PROTECTED]
I am using 2.2.17 (Mandrake 7.2) it works without any problem.
[EMAIL PROTECTED] wrote:
> I've been having all sorts of problems getting my linux box to work
> with a Sound Blaster Live! Value card. I finally went and got the
> 2.2.19 kernel and compiled that and included support for the SB
> emu10k1 in it. When I boot up, I don't seem to get any error messages
> related to that, and if I look at the interupts used by the system, I
> see that the emu10k1 is using 5, as it should, along with the pci usb.
> If cat /dev/sound it says it is compiled into kernel. (All of the
> options below that are blank, but I think that is ok.)
>
> But, if I try to play a cd, or whatever, no sound comes out from the
> speaker. (If I attach headphones to the cdrom, all is ok.)
>
> Does anyone know what the problem might be, or what to do next?
>
> TIA,
> Ed
------------------------------
From: ImaLuzer <[EMAIL PROTECTED]>
Subject: httpd.conf and web log files
Date: Wed, 04 Apr 2001 13:11:16 -0400
I've been working with a Linux box where the httpd access logs are separated
by domain. Each virtual domain has it's own access-log and I could set up
logrotate to handle each log differently.
The Cobalt Raq3i machines that I have all have a combined access log. I'd
like to adjust how logrotate handles log for individual domains, but I can't
since the log is combined.
Is there a way to change the httpd.conf so that it doesn't combine the logs?
Is it possible to just add:
"CustomLog /var/log/httpd/some.domain-access_log"
to each virtual directory and those without it would be logged in the
default directory?
------------------------------
From: Gregory Davis <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: Boot up scripts
Date: Wed, 4 Apr 2001 13:18:57 -0400
> There is a program that checks every # seconds if there is a cd or
> floppy in the drive, and if there is it mounts the thing, but I find that
> really annoying.
Some distros have something or other like that. Research "automount(er)"
in your man files or documentation. Automounting and mounting on bootup
are two entirely different things (don't forget).
Greg
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How do you set hostname in linux box that gets ip via DHCP?
Date: Wed, 04 Apr 2001 17:15:31 GMT
THANKS!! That did it.
FWIW, I just put the line
127.0.0.1 localhost. localhost.domain chinook
into my /etc/hosts file. In fact, that is the whole file. Now, I don't
get sendmail or other startup errors, and when I start samba, my win2k
boxes see chinook. I don't know if chinook can see the other machines,
yet, or if I can print from chinook to my printers that are attached
to the ethernet and driven by one of my win2k machines, or connected
directly to my win2k machines, but that will be my next job.
Ed
On Wed, 04 Apr 2001 10:53:27 -0500, "KW"
<[EMAIL PROTECTED]> wrote:
>Hmmm.... Will the DHCP box let you assign IP's to certain MAC addresses?
> If so force you linux box to be reserved as 192.168.0.2 and put this in
>your /etc/hosts
>
>127.0.0.1 localhost.localdomain localhost
>192.168.0.2 chinook.yourdomain.com chinook
>
>You'll want to make up a domain so httpd and other services don't
>complain....
>
>otherwise I think
>
>127.0.0.1 localhost.localdomain localhost chinook
>
>will work
>
>the only other way I know to FORCE eth0 ti\o have a domain name is to set
>it under linuxconf... It should retain chinook for whatever IP address
>eth0 gets... Then again linuxconf has proven buggy on this matter for my
>machines....
>
>
>
>
>
>
>In article <[EMAIL PROTECTED]>, "Unknown"
><[EMAIL PROTECTED]> wrote:
>
>> I'm still not sure what to do. My machine name is chinook. I have no
>> qualified domain. Should I edit the /etc/hosts file to read
>>
>> 127.0.0.1 localhost.localdomain localhost 192.168.0.1 chinook
>> 192.168.0.1
>>
>> ?????
>>
>> In my case, chinook is the name of my linux box. It's IP address can be
>> anything from 192.168.0.2 to 192.168.0.25 depending on the whim of the
>> DHCP server, which is the Maxgate switch, which has an address of
>> 192.168.0.1.
>>
>> Or, earlier, should I just use www.fo.com and foo1.foo.com etc., even
>> though they have no bearing on my actual situation??? Again, It would be
>> simpler if I had a fully qualified domain name, but I dont. I just have
>> a bunch of computers in my home, each of which has a name. (chinook in
>> the case of the linux box, but lets just say A, B, C, etc.)
>>
>> TIA,
>> Ed
>>
>> On Tue, 03 Apr 2001 09:22:16 -0500, "KW"
>> <[EMAIL PROTECTED]> wrote:
>>
>>>Open Linuxconf and goto Client Task, then Basic Host Information...
>>>
>>>HOST NAME
>>>www.foo.com
>>>
>>>Adaptor 1
>>>Primary Name + Domain Name
>>>foo1.foo.com
>>>
>>>adaptor 2
>>>foo2.foo.com
>>>
>>>and so on...
>>>
>>>OR
>>>
>>>edit the /etc/hosts file and
>>>127.0.0.1 localhost.localdomain localhost 192.168.0.1
>>>thisis.my.hostname alias.for.myhost <--- YOUR DHCP server address
>>>as the IP...
>>>
>>>Than maybe sendmail and the rest will hush ;)
>>>
>>>
>>>
>>>In article <[EMAIL PROTECTED]>, "Unknown"
>>><[EMAIL PROTECTED]> wrote:
>>>
>>>> I have a linux box on a small network in my house with several other
>>>> win2k boxes and a Maxgate 3200 cable sharing gateway. This gateway
>>>> connects my ethernet network to the internet through a cable modem and
>>>> acts as a DHCP server. If I look at its leased ip address table, it
>>>> correctly shows the computers on my network with their DHCP assigned
>>>> ip addresses (192.168.0.XXX) and their names. And, the win2k boxes
>>>> seem to know both their own names and the names of other win2k boxes
>>>> on the network. These machines can be pinged, etc., via their ip
>>>> address or their name. The linux box, however, is unknown to the other
>>>> computers on the network, except by ip address. And, the win2k boxes
>>>> are not known to the linux box, except by ip address. Also, whenever
>>>> the linux box starts up, sendmail hangs because it does not think the
>>>> hostname is set correctly. Also, whenever I do stuff with linuxconfig,
>>>> I get errors relating to httpd and unknown host name, or incorrect
>>>> host name. I realize that you are supposed to set the host hame and
>>>> its ip address in /etd/hosts, but I don't see how I can do this in s
>>>> machine that could have a different ip address each time it boots up,
>>>> due to DHCP. Also, I do not have a fully qualified domain name, since
>>>> I just have a home network. I do use a workgroup name, but that is
>>>> all. So, again, how do you properly handle this situation in Linux,
>>>> since all of the documentation and faqs that I can find say to use a
>>>> fully qualified name, including the domain name?
>>>>
>>>> TIA,
>>>> Ed
>>>>
>>>>
------------------------------
From: Abhijit Bhattacharya <[EMAIL PROTECTED]>
Subject: Changing SHMMAX for redhat 6.1
Date: Wed, 04 Apr 2001 12:43:00 -0500
This is a multi-part message in MIME format.
==============14FEC257FFF61BFD94F265BB
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hello,
Is there a document that tells how to change the SHMMAX setting for
linux. I understand that I ill have to relink the kernel. Can anybody
please tell me the steps. I am using redhat 6.1. I also noticed that I
dont have the source files under /usr/src/linux. Is it at a different
place for redhat? Any help greatly appreciated.
Thanks,
--
****************************************************
Abhijit Bhattacharya
Advisory Systems Engineering Specialist
Oracle Support Services
email: [EMAIL PROTECTED]
phone: 952-857-4309
****************************************************
==============14FEC257FFF61BFD94F265BB
Content-Type: text/x-vcard; charset=UTF-8;
name="abhijit.bhattacharya.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Abhijit Bhattacharya
Content-Disposition: attachment;
filename="abhijit.bhattacharya.vcf"
begin:vcard
n:;Abhijit
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Abhijit Bhattacharya
end:vcard
==============14FEC257FFF61BFD94F265BB==
------------------------------
From: [EMAIL PROTECTED]
Subject: How to implement user disk space quotas?
Date: 4 Apr 2001 18:08:51 GMT
Using Slackware 7 ...
I have got disk space quota stuff compiled into the kernel but cannot
find how I set user disk space quota so that each user can't user more
than 50 meg, for example.
If there is a FAQ that may contain the answer then I'll be happy to go
and read it but I've not been able to find one.
Cheers,
Kingsley.
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: invalid / corrupt partition table.. help!
Date: Wed, 4 Apr 2001 20:26:07 +0200
> reported that the partition tables were corrupt or invalid.
>
well, we're going to have to see that table first, so put that linux CD back
in,
and at the liloprompt enter "linux rescue" (this is the redhat way, mandrake
may call this different, but give it a try) Now when your in, `fdisk -l
/dev/hda` will show the table (You may need to mknod hda first, but perhaps
mandrake does that better than RH)
Eric
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: PTBL
Date: Wed, 4 Apr 2001 20:30:40 +0200
> After repartitioning a secondary HD
> which somehow was trashed by a windows reinstall
> it is now reported during boot as [ PTBL ] [531/255/63]
> obviously chs geometry.
I'd love to know what triggers that too.
I know: check the source tree, but I haven't had the time for that yet
I've seen this occur when a partitiontable was made with different CHS, then
the HDD is reporting. Not sure if that was coincidence, or the cause. You
can check what the CHS values are the HDD is reporting, through fdisk, dmesg
or in the /proc filesystem (/proc/ide/hdXXX)
Eric
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: I would like to register a complaint ...
Date: Wed, 04 Apr 2001 12:47:05 -0500
KCmaniac wrote:
> > cat /dev/zero > /dev/partition_you_want_to_clear (Be carefull with this!)
>
> What do you mean "be careful with this"?!? You type it in and press enter.
> After that what choice do you have?
You should be careful *before* you press enter to ensure that the
partition you will write to is actually the partition you want to
write to.
> > and then
> > mke2fs /dev/partition_you_just_cleared
>
> It sounds like you are suggesting nearly the same thing as I have been trying.
>
> This method is apparently making one huge file of zeros taking up the entire
> partition. Is this what the DOS formatting function does?
Not exactly. The traditional DOS "FORMAT" command clears the two
FAT tables and then proceeds to write zeros to every data
sector. Newer versions offer a "quick format" option that simply
clears the FAT tables. Neither bothers with the boot record.
Using cat or dd to write zeros to the selected device writes to
every sector on the device, from the boot record to the last data
sector. "mke2fs" also sets up other structures such as the
superblocks, inodes and such like.
>
> So you say you have "formatted" an ext2 fs using these two commands:
> cat /dev/zero > /dev/hdxX (assuming, of course, hdxX is mounted) followed
> by
> mke2fs /dev/hdxX
>
> and that partition was as usable as it was before even though it is now one huge
> file full of zeros?
>
> RLH
--
-John ([EMAIL PROTECTED])
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Crossposted-To: aus.computers.linux
Subject: Re: Red Hat 7.0 & Lilo
Date: Wed, 04 Apr 2001 12:51:27 -0500
Theng Ung wrote:
> Yes, It is now up and running. But I had to install Red Hat again as I had
> to create a boot disk.
> and modify lilo.conf and add another line to boot Windows 2000.
You shouldn't need to reinstall to do that. You can boot into
"rescue" mode from your installation CD and fix things that way.
--
-John ([EMAIL PROTECTED])
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Unkown users made by RedHat
Date: Wed, 04 Apr 2001 12:54:51 -0500
Jimbo wrote:
>
> Hi,
>
> In my "lastlog" a see a list of users that have been made by the setup
> of RedHat (both 6.2 and 7.0).
>
> Some of them I already deleted but about others I'm not quite sure
> what kind of result it will have when I delete them.
> Does anyone got a clue?
>
> daemon **Never logged in**
> adm **Never logged in**
> sync **Never logged in**
> shutdown **Never logged in**
> halt **Never logged in**
> mail **Never logged in**
> uucp **Never logged in**
> operator **Never logged in**
> xfs **Never logged in**
> named **Never logged in**
> piranha **Never logged in**
> rpcuser **Never logged in**
> rpc **Never logged in**
> mailnull **Never logged in**
>
> Which of these am I allowed to just issue "userdel xx" and "groupdel
> xx"?
Why do you want to delete them? These are various system users
that are created to allow certain programs to run without needing
"root" access. If you delete them, these programs will likely
fail and you'll need to run them under "root" which is a security
risk.
--
-John ([EMAIL PROTECTED])
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Multiproxy on linux?
Date: Wed, 04 Apr 2001 12:58:01 -0500
Luca Nobile wrote:
> Hi, i'm using a multiproxy software to increase speed on internet
> www.multiproxy.org but i can't find a similar software for linux, can you
> help me?
Is this a caching proxy? You could use squid to do the same
thing in linux.
--
-John ([EMAIL PROTECTED])
------------------------------
From: ImaLuzer <[EMAIL PROTECTED]>
Subject: Rotating Logs
Date: Wed, 04 Apr 2001 15:09:08 -0400
When I rotate logs (via logrotate) I'm getting this error:
errors occured while rotating /var/log/httpd/domain.com-access_log
stat of /var/log/httpd/domain.com-access_log failed: No such file or
directory
This only happens when the logrotate conf file (/etc/logrotate.d/apache) has
the "compress" option specified for the log. Without the "compress" option,
it rotates successfully (in this case it e-mails the log in the message
body). Wazzup with that? I'd rather it compress the log before it sends it
along.
------------------------------
** 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 by posting to comp.os.linux.setup.
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
******************************