Linux-Setup Digest #797, Volume #19 Tue, 10 Oct 00 00:13:12 EDT
Contents:
Re: Command to format a partition? (E J)
Re: Command to format a partition? (Mike Oliver)
/var file system is used 100% ("GreatFree")
Re: Monitor Settings (E J)
5 fine examples of T Rex has been. . . (piddy)
Re: Making the Backspace key work using a remote X server ("Peter Mayne")
Re: Command to format a partition? (Mike Oliver)
Re: /var file system is used 100% (E J)
Re: SYSTEM HALTED --- ouch (E J)
Re: downloading and running programs help (s. kahalas)
What if "locate" returns database > 8 days old?? (DTi4565459)
Re: downloading and running programs help (DTi4565459)
Can't compile xchat-1.5.7 (jruff)
Re: Boot Partition too Big!!! ?!
Re: What if "locate" returns database > 8 days old?? (James Knowles)
Re: What if "locate" returns database > 8 days old?? ("pl")
Storm Linux 2000, Xfree86 4.0.1, fonttastic server? (Michael Perry)
Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2? ([EMAIL PROTECTED])
use samba to authorize vpn access...? ("Juergen Pabel")
mounting 2 floppy drives (Philippe Rousselot)
Re: mounting 2 floppy drives (Vilmos Soti)
Re: A new directory hierarchy standard - need opinions (Equinox)
Re: fdisk doesn't find FAT (Partition magic does) ("David ..")
Re: Command to format a partition? (mpulliam)
----------------------------------------------------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: Command to format a partition?
Date: Mon, 09 Oct 2000 17:25:48 -0700
Did you try remaking the swap again?
# mkswap
# man mkswap /dev/hdX#
Did you change your fstab to use your new swap space
$ cat /etc/fstab
/dev/hda4 / ext2 defaults
1 1
/dev/hda3 /boot ext2 defaults
1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro
0 0
/dev/fd0 /mnt/floppy auto noauto,owner
0 0
none /proc proc defaults
0 0
none /dev/pts devpts gid=5,mode=620
0 0
# THIS IS THE PLACE YOU SHOULD CHANGE FOR YOUR SWAP SPACE
/dev/hda2 swap swap defaults
0 0
Mike Oliver wrote:
> [RH6.2]
> I decided to put a swap partition on the faster of my two
> hard drives, and was able to do this with Linux fdisk.
> Then I used linuxconf to let Linux know that it should
> use the new partition as swap.
>
> But it doesn't show up in the output of the "free"
> command, apparently because I never formatted it.
> How do I do that? Yes, I know I can do it from
> the install disk, but surely there's just a command
> I can type.
>
> I've searched docs and man pages and find nothing.
------------------------------
From: Mike Oliver <[EMAIL PROTECTED]>
Subject: Re: Command to format a partition?
Date: Mon, 09 Oct 2000 17:28:42 -0700
E J wrote:
>
> Did you try remaking the swap again?
> # mkswap
> # man mkswap /dev/hdX#
No. Will look into this.
> Did you change your fstab to use your new swap space
Yes, but not manually -- I used linuxconf.
But whether for swap or not, the question stands: What's
the command to format a partition, after creating it
with fdisk?
------------------------------
From: "GreatFree" <[EMAIL PROTECTED]>
Subject: /var file system is used 100%
Date: Mon, 9 Oct 2000 17:30:14 -0700
Dear All,
My machine's /var file system is used 100%. What can I do to clean it? Can I
remove all the data under it?
Thanks,
Bing
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: Monitor Settings
Date: Mon, 09 Oct 2000 17:36:40 -0700
Are you sure it is your monitor and not your video card?
Look at who your manufacturer's website for source code to compile or
download to use with your video card.
You can alway download XFree86 4.0 and see if it would work better.
Andrew Renalds wrote:
> I have tried and tried but I cannot get X up and running for my Red Hat
> 6.2 installation. The problem is that I have a Philips 109S monitor.
> They have a configuration for the 107S (the 17" monitor) but not the
> 109S (the 19" counterpart). I have tried to use Xconfigurator choosing
> almost every permutation of settings including "Generic Monitor" but I
> still get errors when X tries to start. Does anyone have the settings
> for this monitor? Please cc responses to my e-mail address. Thanks in
> advance.
>
> - Andrew
------------------------------
From: [EMAIL PROTECTED] (piddy)
Subject: 5 fine examples of T Rex has been. . .
Date: Tue, 10 Oct 2000 00:40:43 GMT
Reply-To: [EMAIL PROTECTED]
discovered in Montana. Have you been there, have
you seen there, or have you just dreamed to not be
there where you are not to be in reality. . . come see.
------------------------------
From: "Peter Mayne" <[EMAIL PROTECTED]>
Subject: Re: Making the Backspace key work using a remote X server
Date: Tue, 10 Oct 2000 11:53:40 +1100
I've tried all four combinations of "Backarrow Key (BS/DEL)" and "Delete is
DEL" from the menu, and none of them have any effect.
The only thing that works is
XTerm*vt100.translations: #override <Key>Delete: string(0x7f)
in the app-defaults/XTerm file. Despite your warning of non-flexibility,
I'll stick with that. Thanks.
PJDM
----
Peter Mayne, Compaq Computer Australia, Canberra, ACT
These are my opinions, and have nothing to do with Compaq.
Never express yourself more clearly than you are able to think. - Niels Bohr
Thomas Dickey <[EMAIL PROTECTED]> wrote in message
news:8rk6j1$sdb$[EMAIL PROTECTED]...
> Peter Mayne <[EMAIL PROTECTED]> wrote:
> > Using ^H in an xterm does the expected thing of deleting the character
to
> > the
> > left. However, Backspace just beeps. Using showkey(1), it appears that
> > Backspace is sending
>
> > ^[[3~
>
> probably the XTerm app-defaults file
> There's an faq at
> http://dickey.his.com/xterm/xterm.faq.html
------------------------------
From: Mike Oliver <[EMAIL PROTECTED]>
Subject: Re: Command to format a partition?
Date: Mon, 09 Oct 2000 18:01:37 -0700
Jon Niehof wrote:
>
> > But whether for swap or not, the question stands: What's
> > the command to format a partition, after creating it
> > with fdisk?
> It depends. There is no such thing as "format." mkswap sets up a partition
> to be used as swap
I see. Does the partition have to be already of type 82h (Linux swap),
or will mkswap take care of that for you?
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: /var file system is used 100%
Date: Mon, 09 Oct 2000 18:05:02 -0700
Find out who is using up the space.
$ cd /var
$ du -k | sort -n
If your /var/log/messages is going wild,
# tail -f /var/log/messages
find out the problem and correct it.
If you correct it, I would remove the old data first.
# rm /var/log/messages.1
# rm /var/log/messages.2
.
.
.
# rm /var/log/spooler.1
# rm /var/log/spooler.2
GreatFree wrote:
> Dear All,
>
> My machine's /var file system is used 100%. What can I do to clean it? Can I
> remove all the data under it?
>
> Thanks,
> Bing
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: SYSTEM HALTED --- ouch
Date: Mon, 09 Oct 2000 18:10:23 -0700
Do you have enough free space to run linux?
lilo: linux single
bash: df -k
[EMAIL PROTECTED] wrote:
> OH man.
>
> I can't boot into my linux box as of yesterday adn I have no
> idea why. I get the following message on bootup right I hit <enter>
> after the "LILO:" prompt.
>
> "ran out of input space
>
> -- SYSTEM HALTED"
>
> I'm not sure if it's related to my install of OpenSSL, OpenSSH and ZLib.
> I followed all directions carefully, but when I rebooted I got the above
> message.
>
> I have a boot disk from my old kernel, 2.2.14 (I'm running 2.2.17 now).
> I have no idea what to do or where to begin.
>
> HELP!
------------------------------
From: s. kahalas <[EMAIL PROTECTED]>
Subject: Re: downloading and running programs help
Date: Mon, 09 Oct 2000 21:21:17 -0400
"Gaz" <[EMAIL PROTECTED]> wrote:
))))Im a complete newby to Linux..Have mandrake 7 and I was wondering
how to
))))download and install programs ..
))))I have downloaded one but their is no set up to it how do I do
this..
))))thanks
))))
I'm also new at this and have been unable to get a program to work.
let's suppose it's any of these-what's the answer in each case?
Thanks in advance for your response, which I could sorely use.
SLK
------------------------------
From: [EMAIL PROTECTED] (DTi4565459)
Subject: What if "locate" returns database > 8 days old??
Date: 10 Oct 2000 01:27:31 GMT
How to update??
TIA,
dave
------------------------------
From: [EMAIL PROTECTED] (DTi4565459)
Subject: Re: downloading and running programs help
Date: 10 Oct 2000 01:31:39 GMT
>))))Im a complete newby to Linux..Have mandrake 7 and I was wondering
>how to
>))))download and install programs ..
>))))I have downloaded one but their is no set up to it how do I do
>this..
>))))thanks
>))))
>
>
>I'm also new at this and have been unable to get a program to work.
>let's suppose it's any of these-what's the answer in each case?
>Thanks in advance for your response, which I could sorely use.
>
Well, I'm new too. I've had best luck
in KDE clicking on .rpm package on
the CDROM disk. I still have more
misses than hits, because of dependencies. Is something like
"libncursesxxx" an executable, or
something like a DLL. Do you install
it, or just copy it somewhere. I will
follow this thread, hoping for help
myself.
TIA
------------------------------
From: jruff <[EMAIL PROTECTED]>
Subject: Can't compile xchat-1.5.7
Date: Tue, 10 Oct 2000 01:58:27 GMT
I'm SuSE linux 6.4; kernel 2.2.14; glib 1.2.8; gtk+ 1.2.8. I'm trying
to install xchat-1.5.7. I get xchat-1.5.7 "./configure" to run
correctly. However it fails when I attempt "make".
1)error generated by "make":
=======================================================
make all-recursive
make[1]: Entering directory `/opt/X-Chat/xchat-1.5.7'
Making all in po
make[2]: Entering directory `/opt/X-Chat/xchat-1.5.7/po'
file=./`echo cs | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH no -o $file cs.po
/bin/sh: no: command not found
make[2]: Leaving directory `/opt/X-Chat/xchat-1.5.7/po'
make[1]: Leaving directory `/opt/X-Chat/xchat-1.5.7'
=======================================================
2)piece of Makefile where the command is being given:
=======================================================
CC = gcc
GENCAT =
GMSGFMT = PATH=../src:$$PATH no
MSGFMT = no
XGETTEXT = PATH=../src:$$PATH :
MSGMERGE = PATH=../src:$$PATH msgmerge
=======================================================
Please provide some insight.
Thanks,
Chris
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Boot Partition too Big!!! ?!
Date: Mon, 9 Oct 2000 21:01:16 -0500
Reply-To: <[EMAIL PROTECTED]>
would you happen to know which distro has the latest lilo on it? i have an
even bigger problem (40gb)..and am wanting to try out linux before i commit
full time...
thanks
"Bill Unruh" <[EMAIL PROTECTED]> wrote in message
news:8rt0kb$kup$[EMAIL PROTECTED]...
> In <[EMAIL PROTECTED]> Eric <[EMAIL PROTECTED]> writes:
>
> ]Gary Leung wrote:
> ]>
> ]> I got 10G HD, I made partition 8G and 2G, I have my Windows 98 on 8G
(c:)
> ]> then I boot up with the RedHat6.1 CD, and try to install (on my 2G
drive),
> ]> when I go up to the partition, I can't set up the "Linux Native" drive,
it
> ]> give reason "boot partition too big". Can anyone know why is that, and
tell
> ]> me how to make it?
>
> ]Yes I can, but I won't.
> ]Search deja.com. This question has been asked so often, you can very
> ]easily find an answer in previous posts/replies.
>
> Helpful bastard aren;t you.
>
> The problem is that the old lilo assumed that your bios could not boot
> up anything beyond 8GB so the partition containing /boot had to lie
> entirely below that line on the disk. This was a good assumption until
> about 2 years ago. Then computer bios's gained an extention which
> allowed them to boot from beyond the 1024 cyl limit.
> So if you have a new computer, you can either get the new lilo (probably
> best to use a new distro for that) or make sure that the partition
> containing /boot lies below the 1024 cyl limit. Eg, put a 4MB partiton
> at the bottom of the disk containing just /boot.
>
------------------------------
From: James Knowles <[EMAIL PROTECTED]>
Subject: Re: What if "locate" returns database > 8 days old??
Date: Mon, 09 Oct 2000 20:09:07 -0600
> How to update??
This is normally done as a cron job. Under RedHat it defaults to 4am.
You can manually force it as root with "updatedb".
--
Disraeli was pretty close: actually, there are Lies, Damn lies, Statistics,
Benchmarks, and Delivery dates.
------------------------------
From: "pl" <[EMAIL PROTECTED]>
Subject: Re: What if "locate" returns database > 8 days old??
Date: Tue, 10 Oct 2000 02:17:16 GMT
> How to update??
>
> TIA,
>
> dave
"updatedb" as root
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Storm Linux 2000, Xfree86 4.0.1, fonttastic server?
Date: Mon, 9 Oct 2000 19:13:29 -0700
Reply-To: [EMAIL PROTECTED]
I pretty much had to upgrade Storm 2000 Linux to Xfree86 4.0.1 due to some
extreme video dislay issues. I have it working except for the fonttastic
server. Now even when it runs and I see it running, corel wp refuses to
start saying there is no font server running. When I had this problem with
redhat 6.2, I had to change the xfs font server. Anybody gone this route
before that can help a bit? It does not seem that corel wp thinks there is
a font server running but it is.
Thanks.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.advocacy,comp.os.linux.help
Subject: Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Oct 2000 02:25:21 GMT
You should know by now that I don't use Win2k.
You should also know by now that I think the Linux installs are better
than any Windows product I have used. especially Mandrake and Caldera
and SuSE.
After reading the somewhat vague, out of date and generic How-To's he
will be wasting his time asking the same questions in the Networking
group.
claire
On Mon, 09 Oct 2000 21:49:00 GMT, [EMAIL PROTECTED] (The
Ghost In The Machine) wrote:
>In comp.os.linux.advocacy, [EMAIL PROTECTED]
><[EMAIL PROTECTED]>
> wrote
>on Mon, 09 Oct 2000 17:56:11 GMT
><[EMAIL PROTECTED]>:
>>RTFunnyM or the How-To's.
>>
>>There are thousands of them so you should be busy for a while.
>
>I would have expected something from you more along the lines of:
>
>[1] Buy two copies of Win2k.
>[2] Use the RH6.2 as a coaster for a coffee mug, as you wait
> for the install, which should take 5 minutes at most anyway.
>[3] Install the two copies of Win2k.
>[4] Reboot.
>
>:-)
>
>(Disclaimer: I happen to like RH 6.0 and 6.2, so don't take
>this too seriously. But I'm surprised you didn't take this
>opportunity to push what you obviously think is a
>far better operating system. [*] :-) )
>
>(Disclaimer #2: There are a number of HOWTOs, but he'd not have
>to read all of them; the ones that appear relevant are the
>Networking howto, the DNS howto, the Printing howto,
>the Apache installation instructions, and possibly the howto
>on how to rebuild the kernel whose name I forget offhand, since
>he's going to have to add the 'ne.o' module for the NIC; he
>won't get far otherwise. :-) )
>
>>
>>claire
>>
>>On Mon, 09 Oct 2000 16:16:38 GMT, [EMAIL PROTECTED] wrote:
>>
>>> Hi, I have 2 PCs that I'd like to setup together to
>>>learn Apache webserver, printer server and DNS. Can
>>>someone help me please.
>>>
>>> I have 2 NIC cards (NE2000), 1 hub and Rhat Linux 6.2.
>>>
>>> Can someone give me the step-by-step procedure?
>>>
>>> Thanks!
>>>
>>>Leo
>>>
>>>
>>>Sent via Deja.com http://www.deja.com/
>>>Before you buy.
>>
>
>[*] I reserve judgement at this time as to whether W2k is "far better"
> than RedHat. I use Redhat, but I have yet to touch W2k. I
> use NT4 on a regular basis, however, and am not horribly fond
> of it.
------------------------------
From: "Juergen Pabel" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: use samba to authorize vpn access...?
Date: Mon, 9 Oct 2000 22:37:48 -0400
hello,
if someone could tell me any good reason's why not
to do this, or tell me if someone has actually done
this (ie: patch exists) i'd appreciate it alot.
the 64k$ question:
given a samba server which authorizes its users to
a domain server and a vpn server (popotp). should
i consider/how can i/do i need to write some code/
that takes the login requests to the vpn and instead
of comparing them to the chap file, hand them to the
samba service to verify them against the domain. the
goal is to minimize the number of passwords certain
users (ie: this particular domain) need to get access
to the network via vpn and use the domain/network
one question would be the vulnerability of the
(ms-)chap(v1&2) protocoll, to derive the domain
password from someone listening in (vpn over internet,
the data channel is mppe/40 or 128 bit encrypted
but afaik the handshake is un-encrypted and only
secure due to the nature of the algorithm used to
produce the login password checksum)
i have not looked into the neccessary things (chap
protocoll, smb protocoll,...deeply yet in the hope
that someone has done this and i can spend my time
doing other stuff.
thanks in advance,
juergen pabel
------------------------------
From: Philippe Rousselot <[EMAIL PROTECTED]>
Subject: mounting 2 floppy drives
Date: Mon, 09 Oct 2000 19:51:56 -0700
Hi,
I have two floppy drives (5.25 and 3.5) only the 5.25 is mounted on my
comfig.
How can I install the 2nd one?
Thanks for the help
Philippe
config:
pentium
64Mb mem
8Gb HD
RH6.2
------------------------------
Subject: Re: mounting 2 floppy drives
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 10 Oct 2000 03:20:47 GMT
Philippe Rousselot <[EMAIL PROTECTED]> writes:
> I have two floppy drives (5.25 and 3.5) only the 5.25 is mounted on my
> comfig.
>
> How can I install the 2nd one?
Try /dev/fd1 for the second floppy drive.
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Equinox)
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.admin,comp.os.linux.networking
Subject: Re: A new directory hierarchy standard - need opinions
Date: Tue, 10 Oct 2000 03:22:34 GMT
On Mon, 09 Oct 2000 19:53:24 GMT, jtnews <[EMAIL PROTECTED]>
wrote:
>I propose a new naming scheme for the /usr directory, it should be
>/usr/domain/com/company/subnet/applicationName/architecture/i386, then
>you just make a simple script /usr/bin which links to every executable
>in the /usr/domain directory.
You've been spending too much time around Java programmers. :)
>An advantage of this scheme is that you can easily create maps for
>automount to automatically mount the application remotely via NFS.
>Looking forward, when broadband becomes widely available and bandwidth
>becomes very cheap, there won't be any need to create distributions.
>In addition, it might be possible to implement Sun's cachefs in Linux
>so that the applications are automatically cached to a local hard disk
>so you wouldn't have to use NFS all the time either.
It seems that your proposal tries to lend itself to computing in a
large-scale, heterogeneous network environment. A major problem with
this is that, while "network computing" makes a bit of sense within
the boundaries of an organization, it makes very little sense for the
world-at-large. There are far too many issues of security and
privacy. People would rather have their data (and the applications
that manipulate it) within their control.
Besides, I'd go nuts if I had to use a thin-client with only an
itty-bitty "caching disk" all the time.
>Another advantage of this scheme is that since /usr/domain lies outside
>of the current Linux FHS, it can be gradually phased in and need not
>disrupt the current Linux environment.
I think that the entire FHS, not just /usr/ , needs to be cleaned up.
Some examples:
1) A lot of cruft that should be stored elsewhere seems to have
collected in /usr/ . Shouldn't the directory containing include
files be under a src/ directory somewhere?
2) /opt/ seems to be a "Program Files"-like directory [please excuse
the reference to Windoze] for the installation of software
packages that don't fit neatly into the /usr/* and /usr/local/*
hierarchies. Why, then, do we have /opt/bin/ , /opt/lib/ , and
so forth?
3) Another /opt/ issue... /opt/ is described in section 3.8 of the
current FHS as a place for "add-on application software
packages". I interpret "add-on" to mean "not essential to system
operation". In light of this, why do we have /opt/ , instead of
/usr/opt/ and /usr/local/opt/ ?
4) All special allowances for X11 need to be done away with. It's
just another program, but its current convoluted directory
structure makes configuration and administration needlessly
difficult. Gathering up this monster's sprawling pieces and
sticking them into /usr/opt/X11R6/ might not be a bad idea.
I could go on... Note that this little rant shouldn't be taken to
mean that I have come up with all the answers, and can produce a draft
for my idea of FHS 3.0 right now. I haven't, and I can't. But I'll
let you know when I have and I can. :)
Just my two cents worth.
--Russell
============================================================
email (spam-disabled):
rdh *at* salug *dot* org
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: fdisk doesn't find FAT (Partition magic does)
Date: Mon, 09 Oct 2000 22:46:42 -0500
DTi4565459 wrote:
>
> Hi, need help.
>
> When I type fdisk: get short one line response about hda1
>
> I want to mount my C:\ from DOS
>
> In DOS, Partition Magic outputs something like:
>
> Volume
> Drive 1 C:
> 1 -*: LinuxExt2 None Primary
> 2 - C:MS-DOS_6 FAT16B Active Primary
> 3 -*: Linux Swap None Primary
>
> So how can I get this FAT16B mounted under Linux. That's where I have
> some rpm's saved that I would like to install in Linux
mkdir /mnt/DOS
mount -t msdos /dev/hdaX /mnt/DOS
Where hdaX is the DOS partition
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: Command to format a partition?
Date: 10 Oct 2000 04:09:23 GMT
On Mon, 09 Oct 2000 16:38:10 -0700,
Mike Oliver <[EMAIL PROTECTED]> wrote:
>[RH6.2]
>I decided to put a swap partition on the faster of my two
>hard drives, and was able to do this with Linux fdisk.
The following instructions are from Running Linux (O'Reilly).
If you have the book, see p 177. Once
you have crreated the swap partition,
you go like this:
mkswap -c <device> <size>
see man mkswap for the details.
Then you enable the swap partition:
swapon /dev/hdax
where /dev/hdax is the name of the swap partition.
See that the swap partition appears in /etc/fstab,
because the system startup files will look there
to mount your swap partition.
I have not run this series of commands myself but I
was looking in to adding more to my swap space and
found the info above in the book I cited. Hope this
helps.
MP
>Then I used linuxconf to let Linux know that it should
>use the new partition as swap.
>
>But it doesn't show up in the output of the "free"
>command, apparently because I never formatted it.
>How do I do that? Yes, I know I can do it from
>the install disk, but surely there's just a command
>I can type.
>
>I've searched docs and man pages and find nothing.
------------------------------
** 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
******************************