Linux-Misc Digest #136, Volume #20 Mon, 10 May 99 04:13:14 EDT
Contents:
Writing on dos partition... (Giuseppe Milicia)
Re: Problems with looking up hostnames after upgrade (Hardave Riar)
Re: Strange modprobe problem... (Glenn)
Re: floppy stays read only (Brett Neely)
Re: GNU reeks of Communism (returning to "GNU Communism") (Aqeel Mahesri)
Re: cdrecord thinks CD-writer is CD-ROM (brian moore)
Re: Tough Question About Linux(Thank you from Bill) ([EMAIL PROTECTED])
Re: .inputrc not read in Redhat-6.0 (Peter Verthez)
root access again (vishwanath parakala)
Re: changing permissions to a mount point (Mike)
Re: GNU reeks of Communism (returning to %252522GNU Communism%252522) (Michael Powe)
Re: Where is best location of swap partition on a disk? (Andrew Gabriel)
Re: limiting su via time?? (Dieter Demerre)
Re: BIND * and syslog logging (Glen Turner)
Re: cdrecord thinks CD-writer is CD-ROM (Greg)
----------------------------------------------------------------------------
From: Giuseppe Milicia <[EMAIL PROTECTED]>
Subject: Writing on dos partition...
Date: Sun, 09 May 1999 17:15:02 +0200
Hi everyone,
I've got a system with both Linux and Windows... I can see the fat
partition,
but only root can write to it! In fact root cannot change the permission
to allow other users to write there.
Can anyone tell me ho to fix this??
Thank you very much,
-- Giuseppe
------------------------------
From: Hardave Riar <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.slackware,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Problems with looking up hostnames after upgrade
Date: Mon, 10 May 1999 06:19:20 GMT
I had the same problem with my 3.6 install, all the tcp wrapper logs in
/var/log/messages were by ip, but once I setup my /etc/hosts.allow, and
/etc/hosts.deny the hostnames were listed. I guess tcp wrappers doesn't
do a dns check unless forced to do so.
Hardave
(remove no-spam. to reply)
Gambit32 wrote:
>
> we recently upgraded from slackware 3.1 to 3.6, and now our machine is
> having severe problems getting hosts from ips.
>
> TCP wrappers should give out the username@host when we connect to our
> server, but that doesnt work. it gives usernam@ip.
>
> In my perl scripts and includes on my web page
> (http://www.academic.marist.edu/carob/) it should be saying came from
> host / ip but that doesnt work either.
>
> Even more peculiar, we have listings in /etc/hosts like
> 148.100.215.108 area51.groom-lake.nv.us area51
> When i connect to the machine, it used to say
> "[EMAIL PROTECTED]" but it wont even do THAT anymore.
>
> I have no idea exactly where the problem is. Ive checked the kernel,
> my perl scripts, ive recompiled my wrapper program. im just lost!
>
> PLEASE anyone who can help. PLEASE.
------------------------------
From: Glenn <[EMAIL PROTECTED]>
Subject: Re: Strange modprobe problem...
Date: Wed, 05 May 1999 13:12:45 -0400
Hi,
You can also do this in your /etc/conf.modules file, add the line
alias eth0.* off
alias lo:* off
Glenn
======
[EMAIL PROTECTED] wrote:
> After some investigating and going through a bunch of source code, I
> found that during boot "/etc/sysconfig/network-scripts/ifup-aliases"
> is executed and it calls "linuxconf --hint ipalias $1" where $1 is
> some device name, lo, eth0 etc.. linuxconf then promptly starts
> checking the kernel for the the aliases $1:0, $1:1 on up to $1:49. If
> the kernel is compiled with "Networking options ---> IP: aliasing
> support" turned off, then there are no aliases to check so the kernel
> will call modprobe in order to load them and modprobe will
> subsequently fail. You can either compile alias support into your
> kernel or you can do what I did since I didn't want alias support in
> my kernel. What I did is renamed
> "/etc/sysconfig/network-scripts/ifup-aliases" to
> "/etc/sysconfig/network-scripts/ifup-aliases.dontrun" and create a new
> "/etc/sysconfig/network-scripts/ifup-aliases" with just "#!/bin/sh" at
> the top of the file (without the quotes of course) and permissions
> 755. If in the future you are going to uses aliases you will just
> have to compile in alias support into the kernel and restore your
> ifup-aliases file back to normal.
>
> On Thu, 29 Apr 1999 13:27:30 GMT, [EMAIL PROTECTED] wrote:
>
> >I'm currently running RedHat v5.2 w/Linux kernel 2.2.7 and having the
> >infamous "modprobe: can't locate module..." problem. Like previous posts
> >have mentioned before, I looked through all the FAQ's and messages I could
> >find to solve this, but my situation appears to be unique.
> >
> >My particular message repeats numerous times when booting the kernel and says:
> >
> >modprobe: can't locate module eth0:0
> >modprobe: can't locate module eth0:1
> >modprobe: can't locate module eth0:2
> >
> >...And so on, until it counts all the way up to 49.
> >
> >Right after this, it shows the module for my Intel EtherExpress 10/100 card
> >loading just fine (which seems to work perfectly, BTW). The other strange
> >occurance is right after this, I get yet another message that says:
> >
> >modprobe: can't locate module lo:0
> >modprobe: can't locate module lo:1
> >modprobe: can't locate module lo:2
> >
> >...And so on, until it counts up to 40.
> >
> >Everything on my system seems to work just fine. I just can't figure out why
> >this just started happening. It actually first appeared yesterday with Linux
> >kernel 2.2.6 and continues with 2.2.7. The only thing I changed was removing
> >on old ISA based SoundBlaster 16 PNP card and adding a new SoundBlaster PCI
> >128. I compiled the kernel to support the new card and removed support for
> >the old card. Also, since I'm no longer running any ISA based cards, I
> >removed support for ISAPNP.
> >
> >Any help with this matter would be GREATLY appreciated!
> >
> >-----------== Posted via Deja News, The Discussion Network ==----------
> >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
> Remove the letters N, O, S, P, A,and M from
> my return address to reply.
------------------------------
From: Brett Neely <[EMAIL PROTECTED]>
Subject: Re: floppy stays read only
Date: Sun, 09 May 1999 21:42:10 -0700
The filesystem information for your linux system is stored in the file
/etc/fstab. One thing to check is if the floppy is defined as a
"read-only" mount point by this file. If your floppy mount point is
defined as read-only by the /etc/fstab file, that will take precedence
over the read/write tab in the write position on your floppy disk.
Check this with the command:
cat /etc/fstab
This will show information about the file systems and mount points for
your system. The line for your floppy mount point will look something
like this:
/dev/fd0 /mnt/floppy ext2
noauto,ro 0 0
In this case, the floppy will always be read-only because of the "ro" in
"noauto,ro". That string tells your system what method to use to mount
this filesystem. "noauto" means essentially "do not mount this
filesystem at bootup time", and "ro" means "read-only". "rw" is the
string which represents "read-write".
So, if you find a string such as "noauto,ro" on the line for your floppy
mount point, you may try changing it to "noauto,rw".
You can get additional information about mounting by reading the "mount"
and "fstab" manual pages (i.e., "man mount" and "man fstab"
respectively).
David Magda wrote:
>
> Why is it that Linux keeps telling me that my floppy is read only? I mount
> one floppy that is, but every other floppy after that is also RO even if it
> is not. When I umount the first one, flip the tab to make it R/W, and
> remount it, it still says it's R/O. As far as I can tell it has something
> to do with the cache/buffers but running 'sync' doesn't seem to do
> anything. Even the command 'dd' says that it's R/O, and 'mdir' (from the
> mtools package) keeps spitting the same contents even though I've changed
> floppies.
--
Brett Neely, Technical Support Engineer, Linuxcare, Inc.
415.354.4878 x505 tel, 415.701.7457 fax
[EMAIL PROTECTED], http://www.linuxcare.com
Linuxcare. At the center of Linux.
------------------------------
From: Aqeel Mahesri <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.ms-windows.misc,comp.os.ms-windows.advocacy,comp.os.linux.advocacy
Subject: Re: GNU reeks of Communism (returning to "GNU Communism")
Date: Sun, 09 May 1999 23:20:09 -0700
brian moore wrote:
> On Tue, 04 May 1999 20:51:57 GMT,
> Pas Moi <[EMAIL PROTECTED]> wrote:
> > >> "MC" == Mike Coffin wrote on 30 Apr 1999 11:26:15 -0700:
> >
> > MC> Ewan Dunbar <[EMAIL PROTECTED]> writes:
> > >> Yes. As the thread has mentioned before, there are areas in which
> > >> capitalistic ideas simply do not work. Technology is one of them,
> > >> especially computing. While it has a few meagre benefits, on the
> > >> whole, capitalism gets computers nowhere.
> >
> > MC> What kind of processor do you use? Was it developed for profit by
> > MC> a capitalistic corporation?
> >
> > answer me this: what massive social institution now out of favour with
> > trendoids and conformist ideologues funded a large part of basic
> > research through a often-not-so-cold-war and university research, all
> > of which eventually enabled "entrepeneurs" to profit from it all?
>
> Wow... the DOD and its spawns like ARPA, and relatives like the NSA are
> now a 'social institution'?
>
> I guess building bombs and dropping them on people counts as 'social
> interaction' in a strange way, but it seems like you're twisting things
> around if you really believe that.
Apparently he meant the entire federal government, not just DOD. Note that
Silicon Valley (with its 5 major government labs) is one of the most politically
left-wing places in the US.
Computing power is growing exponentially, but the underlying ideas behind today's
electronic computers were developed back in the 40's under government projects.
Our computers use a similar design, with the main difference being speed.
>
>
> --
> Brian Moore | "The Zen nature of a spammer resembles
> Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
> Usenet Vandal | is higher up on the evolutionary chain."
> Netscum, Bane of Elves. Peter Olson, Delphi Postmaster
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: cdrecord thinks CD-writer is CD-ROM
Date: 10 May 1999 04:44:55 GMT
On Mon, 10 May 1999 00:25:53 -0500,
Greg <[EMAIL PROTECTED]> wrote:
> > > When I try to write to my CD-writer with
> > > 'cdrecord -v speed=2 dev=5,0 cdimage.raw'
> > > it fails to write because it thinks the
> > > device is a CD-ROM...
>
> > Are you uasing the generic scsi device? for the first scsi it would be
> > /dev/sga
>
> No, I'm not sure what you mean by this. How
> would I use the generic scsi device?
With cdrecord, you don't: it doesn't want the '/dev' file anyway.
Does -scanbus show the drive correctly?
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Tough Question About Linux(Thank you from Bill)
Date: Mon, 10 May 1999 06:06:16 GMT
To all those sincerely interested in advancing Linux and answering my msg
below, I sincerely thank you. It was a good reflection on the Linux
community as a whole.
Bill Case
In article <7h3c4l$rcf$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> From: Bill Case
> President
> BCConsulting
> [EMAIL PROTECTED]
> 618.654.3650
> "All's Well That Ends Well"
>
> I have a consulting company here in Highland, IL. We are following Linux
> very closely. We have a question regarding the newly released OpenLinux
> 2.2 which just recently hit the retail channel. StarOffice 5.0 is included
> with the package. Is this the "full" StarOffice 5.0 or just a limited
> "personal edition"?
>
> We are looking for the best way to introduce this (Linux) into our
> organization and our clients. We are very impressed with the reviews but
> are concerned about a few things. Caldera uses KDE as the Gui and Redhat
> uses GNOME. Without actually using them, it's impossible to tell which is
> best and more importantly if one will become a standard. We have relied
> on the reviews and they seem to be mixed as to which Gui is best and will
> subsequently become the standard. Can you share your input on this?
>
> We also have questions about Linux in general. The issues are hardware
> compatibility. If your answers are what we expect, we will purchase
> OpenLinux 2.2 and install it on a test system that has Win95B and use the
> dual boot capability. The test system has a HP820 CES deskjet printer and
> a Umax Astra 610p (parallel port connection). The system itself (CTX
> 233mhz Pentium II) has a Soundblaster compatible sound card, Cirrus Logic
> 546X AGP Video Card-4 meg video, 96 meg memory, Tatung 24x CD-Rom
> and a 4.3gig Quantum Eide Hard drive. It also has a 56k V.90 modem
> with the Lucent chipset (believe-not sure-this could be known as a
> Winmodem).
>
> Can we expect OpenLinux 2.2 to recognize all these peripherals so that they
> will be functional? Do not believe that there is anything extraordinary in
> this configuration, but feel it would be the best test system for us.
>
> Thank You and the concept you put together with this package looks great.
> We look forward to hearing from you very soon as we would like to steer
> our client base (and ourselves) away from Windows 9x and NT.
>
> Best Regards
> Bill Case
>
> This msg was sent to Caldera days ago and we have not received any response.
> Any help would be appreciated. If you don't mind, please include an email to
>
> [EMAIL PROTECTED]
>
> Thanks in advance.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: verthezp@nemdev1 (Peter Verthez)
Subject: Re: .inputrc not read in Redhat-6.0
Date: 10 May 1999 06:07:23 GMT
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Juergen Heinzl) writes:
: In article <[EMAIL PROTECTED]>, Michael Keightley wrote:
: >Has anyone else noticed that ~/.inputrc isn't read by programs that
: >use readline, e.g. bash in Readhat-6.0?
: >Is this a know bug, or is it just me?
:
: It is just you 8) ... nah, how does it look like ? Settings can be
: make application specific and if set up such that only the shell and so on ...
I have a similar problem. The backspace key works fine on the bash
prompt, but it does not e.g. in the prompt that you get when you use
rm -i or rcs. I tried fiddling with ~/.inputrc (and set the
environment variable correct), but that didn't help. The backspace
is just printed as ^H in the problem cases.
Any suggestions ? The system is a clean Red Hat 6.0.
Peter.
--
____________________________________________________________________
Peter Verthez mailto:[EMAIL PROTECTED]
Software Engineer Network Mgt. Tel: (+32 3) 451 28 14 | Alcanet:
Alcatel Telecom, dept. XE60 Fax: (+32 3) 451 28 03 | (6)2681
____________________________________________________________________
All primes are odd, except 2, which is the oddest of all.
D.E. Knuth
------------------------------
From: vishwanath parakala <[EMAIL PROTECTED]>
Subject: root access again
Date: 10 May 1999 06:03:10 GMT
Sorry to trouble U guys ...
But it still doesn't work ..
When I try to telnet to my Linux box, and login as root,
I'm denied access with the message "Your password is inactive.
COntact the system admin"
Even when I login as a normal user and try su, I can't get in.
I can login as root only from the console of the Linux m/c itself
However, it does give me root access when I use an xdm client ..
That's what surprises me the most ..
--
VISHWANATH PARAKALA
__________________________________________________________________________
Home Page: http://www.cs.colostate.edu/~vishu
finger : [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Mike)
Subject: Re: changing permissions to a mount point
Date: Mon, 10 May 1999 05:39:39 GMT
Hi,
I haven't researched this but off the top of my head I seem to
remember reading somewhere that linux has read-only access to dos and
vfat partitions. This may have changed in the latest kernel though. Or
I could be totally wrong. Usually to transfer something to my Windows
machine I copy it to a directory that is shared with Samba and connect
to that share with my NT box.
Not sure if this helps, but hope it did
mike
On Sun, 09 May 1999 15:58:13 +0000, Mladen Gavrilovic
<[EMAIL PROTECTED]> wrote:
>Greetings all,
>
>I'm running a RedHat 5.0 system with windows 95 and dos also installed.
>The win95/dos partitions have mount points at /win95 and /dos
>respectively. Everything works fine, except I can't give normal users
>write access. I tried it with dos, and it didn't work (the command
>worked but ls -l showed users not being able to write to it). I thought
>that this may have been because it confused the directory /dos with the
>command dos (dos emulator) but even when I type chmod -v 777 /dos, it
>says /dos changed to rwxrwxrwx or whatever, but when I type ls -l it's
>still rwxr-xr-x. How can I do this so that it works?
>
>Regards,
>
>Mladen
------------------------------
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: GNU reeks of Communism (returning to %252522GNU Communism%252522)
From: Michael Powe <[EMAIL PROTECTED]>
Date: 10 May 1999 00:41:14 -0700
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Mike" == Mike Coffin <[EMAIL PROTECTED]> writes:
>> Proponents of privatizing education based on private schools
>> (supposedly) doing better than public schools miss a number of
>> important advantages that private schools have: they can select
>> their students, kick out anyone they don't like, and charge
>> whatever the market will bear (I have relatives whose parents
>> are paying on the order of $10,000/yr. -- for kindergarten and
>> 2nd grade). Public schools can't do any of those things, and
>> if education is to be truly universal, it must be possible for
>> all children to receive it, not just those who are bright and
>> whose parents can afford to pay.
>> Private schools can do other things that public schools are
>> currently restricted from doing, such as paying teachers well.
>> It's hard to attract dedicated teachers when the pay is so
>> poor.
Mike> Hmmm. I attended a Catholic school. The teachers had all
Mike> taken a pledge of poverty.
Yes, and Catholic schools are closing all over the country because --
surprise, they can't get enough teachers or money.
mp
- --
powered by GNU/linux since Sept 1997 Penguin spoken here
[EMAIL PROTECTED] http://www.trollope.org
Michael Powe Portland, Oregon USA
"Would John the Baptist have lost his head if his name was Steve?"
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE3No2U755rgEMD+T8RAir0AJ49PuD3T2KL3RF9X+VW1m6z4loPvwCfcvWs
MQbXxY/VC+8IUkiud4mTpco=
=xFaX
=====END PGP SIGNATURE=====
------------------------------
From: [EMAIL PROTECTED] (Andrew Gabriel)
Crossposted-To: comp.sys.sun.admin
Subject: Re: Where is best location of swap partition on a disk?
Date: 10 May 1999 07:40:41 GMT
In article <[EMAIL PROTECTED]>,
Michael Hucka <[EMAIL PROTECTED]> writes:
>I was just reading the Linux partitioning mini-HowTo, and it says (in section
>3.3):
>
> o Older disks have the same number of sectors on all tracks. With this
This seems like _very_ old advice - I doubt any disks in last
10 years have had the same number of sectors on all tracks.
Similarly, systems should be designed today with enough memory
so that extensive use of swap areas is avoided - this will give
you orders of magnitude performance improvements verses perhaps
orders of 2 on positioning of swap areas.
Nowdays, if you _really_ have to swap, I would use dedicated
disks, and then only the outer tracks so seek distances are
always small. Certainly I've had good filesystem performance
from a filesystem positioned in such a way.
--
Andrew Gabriel
Consultant Software Engineer
------------------------------
From: Dieter Demerre <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.admin.isp
Subject: Re: limiting su via time??
Date: Mon, 10 May 1999 08:44:09 +0100
Reply-To: [EMAIL PROTECTED]
I'd say:
as root
machine:~$ crontab -e
0 5 * * * /bin/mv /etc/sudoers.limited /etc/sudoers
3 55 * * * /bin/mv /etc/sudoers.unlimited /etc/sudoers
Then of course you'd have to put thoes .limited and .unlimited files
there.
------------------------------
Date: Mon, 10 May 1999 17:14:44 +0930
From: Glen Turner <[EMAIL PROTECTED]>
Crossposted-To: aus.computers.linux
Subject: Re: BIND * and syslog logging
Ben Short wrote:
> Was wondering how to stop BIND from logging:
BIND has one of the most configurable logging
sub-systems. See:
http://www.isc.org/bind8.2/logging.html
A good start for a caching BIND is:
logging {
category lame-servers { null; };
category statistics { null };
category cname { null; };
category maintenance { null };
category response-checks { null };
};
Larger BINDs need more logging, as the log is a good
way to diagnose user Qs about unresolvable names.
------------------------------
From: [EMAIL PROTECTED] (Greg)
Subject: Re: cdrecord thinks CD-writer is CD-ROM
Date: Mon, 10 May 1999 03:50:59 -0500
> > > > When I try to write to my CD-writer...
> > > Are you uasing the generic scsi device? for the first scsi it would be
> > > /dev/sga
> With cdrecord, you don't: it doesn't want the '/dev' file anyway.
>
> Does -scanbus show the drive correctly?
No. If I execute 'cdrecord -scanbus' I get this response;
Cdrecord release 1.6 jCopyright 1995-1998 Jorg Schilling
cdrecord: No target found
However I have 2 hard drives and the cd-writer on the scsi bus.
--Greg
------------------------------
** 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.misc) 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-Misc Digest
******************************