Linux-Misc Digest #562, Volume #26 Sat, 16 Dec 00 15:13:01 EST
Contents:
Re: files encrypted eight years ago with the unix crypt(1) command. want in (PB)
Re: Read-only filesystem (Floyd Davidson)
Re: Mouse problem Loading X ("Buck Turgidson")
ssh, nfs, samba; none of them is working ("m.nine.six")
Re: dependency question ("D. Stimits")
Re: shell script question (Manitee)
Re: Find? really? (Robert Heller)
question (Joe Worth)
Radeon + linux Question (Michael Powe)
Re: Find? really? (Floyd Davidson)
Re: lilo and win98 (Stefano Ghirlanda)
Re: soundcard and Linux ([EMAIL PROTECTED])
Re: ssh, nfs, samba; none of them is working (sfcybear)
Re: Switching to Linux (John-Paul Stewart)
Re: Q:Newbie Looking for alternatives from MacroShot (John-Paul Stewart)
Re: Mandrake upgrade: terrible ([EMAIL PROTECTED])
Re: Radeon + linux Question ([EMAIL PROTECTED])
Re: Find? really? (Bob Hauck)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (PB)
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.security,sci.crypt
Subject: Re: files encrypted eight years ago with the unix crypt(1) command. want in
Date: Sat, 16 Dec 2000 17:37:31 GMT
On Sat, 16 Dec 2000 11:57:26 +0800, "Dan Jacobson"
<[EMAIL PROTECTED]> wrote:
>Now I've heard there's some software kit that can help me crack back open into
>clear text
>these, oh, 5 KB files. Where do I ftp the rpm or .tar from? And when I crack
http://www.shaq.freeserve.co.uk/archive3.htm
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Read-only filesystem
Date: 16 Dec 2000 07:47:50 -0900
Peter Mitchell <[EMAIL PROTECTED]> wrote:
>I have a system that I want to be able to switch off without halting.
>
>I imagine that if I can mount the root filesystem read-only this will do
>the trick, BUT I would also expect that some things will complain at
>having nothing to write to. Presumably I can mount these with a ramdisk.
>
>Questions.
>1. How do I make the filesystem stay in read-only mode instead if
>switching to read/write after it has been checked?
You will need to customize the rc init files run at boot time.
Look in /etc/inittab, and find the entry specifying "sysinit",
which will be the first one that is run. Most systems then
run another file when the multiuser runlevel is started. There
are inittab entries to indicate what runlevel to boot to, and
which init files run when that level is entered. But each
of these may be different on different distributions. Here
are the ones in my /etc/inittab file, to give you an idea:
This line specifies that at boot time, level 5 will be entered.
id:5:initdefault:
This line says the first init file to be run is /etc/rc.d/rc.S
si:S:sysinit:/etc/rc.d/rc.S
This line says that upon entering any of runleels 2 to 6 for
the first time, the file /etc/rc.d/rc.M is run
rc:23456:wait:/etc/rc.d/rc.M
That essentially completes the boot process.
>2. What directories do I need to put on ramdisk besides (presumably)
>/var and /tmp.
Make /tmp a symlink to /var/tmp. You'll want any history files
for login shells to be written to ramdisk too.
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: Re: Mouse problem Loading X
Date: Sat, 16 Dec 2000 17:28:55 GMT
A little more info: It appears to be looking for /dev/mouse, which isn't there (it
exists on my other linux box and appears to be a
symbolic link to ttys0).
> I haven't used X in a number of months. Now I need to install a new version of
>Oracle. When I run X, I > get a message saying :
>
> Fatal server error:
> Cannot open mouse (no such file or directory).
>
> I checked /var/log/messages, and it appears to be detecting the mouse (or at least
>the port) upon boot. Can anyone suggest any
> other places to look? Thanks for any help.
>
> Dec 16 11:06:55 localhost kernel: Detected PS/2 Mouse Port.
> Dec 16 11:06:55 localhost kernel: Serial driver version 4.27 with MANY_PORTS
>MULTIPORT SHARE_IRQ enabled
>
>
>
>
>
------------------------------
From: "m.nine.six" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: ssh, nfs, samba; none of them is working
Date: Sat, 16 Dec 2000 18:36:31 +0100
hi,
i have ssh, nfs and samba on my debian potato system. everything was fine
working till a few weeks. then i couldn't login to my box with ssh. also nfs
and samba doesn't work. those are the following messages that i get:
ssh:
ssh_exchange_identification: Connection closed by remote host
nfs:
mount: host:/folder/ failed, reason given by server: Permission denied
samba:
read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to SERVER failed (code 0)
read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to *SMBSERVER failed (code 0)
what could be the problem?? thanks in advance for any hints.
regards,
alias m.nine.six.
------------------------------
Date: Sat, 16 Dec 2000 10:58:04 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: dependency question
Ken Dozhier wrote:
>
> Hi,
>
> I recently attempted to install a program and got a dependency error
> message listing libc.so.6 (GLIBC 2.0) and libc.so.6 (GLIBC 2.1) as being
> needed by the program. I've ran into this dependency error quite a bit.,
> in spite of having version 2.0.7 already installed on my system.
>
> My question is: does this mean that I need libc.so.6 from both versions
> of GLIBC or just from either 2.0 or 2.1?
>
> TIA
>
> Sent via Deja.com
> http://www.deja.com/
Most likely you need just one. What you didn't mention is what kind of
install tool is giving you that error. Or if it is a runtime error. If
the tool is rpm, and you already have those glibc's, probably your rpm
database doesn't list them. Try with --nodeps and/or --force. Other
tools behave differently.
------------------------------
From: Manitee <[EMAIL PROTECTED]>
Subject: Re: shell script question
Date: 16 Dec 2000 10:10:22 PDT
Thomas Thyberg <[EMAIL PROTECTED]> wrote:
> Manitee <[EMAIL PROTECTED]> writes:
>>
>> I posted that original message while very tired. Anyway,
>> here is what I've settled on:
>>
>> #!/bin/sh
>>
>> grep "$1" /etc/mail/aliases
>>
>> It works fine. Any ideas on how to spruce it up a bit?
> #!/bin/sh
> exec grep "$1" /etc/mail/aliases
> Maybe :-)
What is the advantage of the 'exec' part?
--
Best Regards,
Manitee
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Find? really?
Date: 16 Dec 2000 12:41:47 true
"Garry Knight" <[EMAIL PROTECTED]>,
In a message on Sat, 16 Dec 2000 16:50:10 +0000, wrote :
"K> In article <[EMAIL PROTECTED]> "MH" <[EMAIL PROTECTED]>
"K> wrote:
"K>
"K> > Can someone please explain why the following command does NOT locate
"K> > the files specified on the local filesystem?
"K> >
"K> > find / -xdev -name *.txt
"K>
"K> It works for me using Mandrake 7.2 (GNU find version 4.1). Maybe it's
"K> just the version that came with your distro. Try it again as:
"K> find / -xdev -name *.txt -print
You need to quote the wild-card to prevent the shell from expanding it.
My *guess* is that "MH" <[EMAIL PROTECTED]> has no files matching
*.txt in his current working directory and that "Garry Knight"
<[EMAIL PROTECTED]> does (and find is finding files that match the
first such file).
Find is a bit tricky in that IT handles the wild-cards internally, where
most shell commands do not and expect the shell to expand the wild-cards.
Grep is also tricky, in that regular expressions can often contain
characters that have special meaning to the shell, and thus need to be
quoted and/or escaped.
"K>
"K> --
"K> Garry Knight
"K> [EMAIL PROTECTED]
"K>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Joe Worth <[EMAIL PROTECTED]>
Subject: question
Date: Sat, 16 Dec 2000 18:44:36 GMT
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: Radeon + linux Question
Date: 16 Dec 2000 10:13:08 -0800
Can anyone tell me how to get a minimal X server working with the
Radeon 32M card? I know there's a proprietary X server you can buy
for $89. But is there any way to get acceptable performance out of
XFree 4.0.1? I don't need high-res for gaming.
I tried running it with the generic VGA server, that was horrible &
hosed my video besides. I had to reboot to get back to normal, even
"reset" would not work.
Thanks for any help.
mp
--
BOYCOTT AMAZON http://www.gnu.org/philosophy/amazon.html BOYCOTT AMAZON
"Public opinion's always in advance of the Law." -- Galsworthy
Michael Powe Portland, Oregon USA
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Find? really?
Date: 16 Dec 2000 09:13:15 -0900
"Garry Knight" <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]> "MH" <[EMAIL PROTECTED]>
>wrote:
>
>> Can someone please explain why the following command does NOT locate
>> the files specified on the local filesystem?
>>
>> find / -xdev -name *.txt
>
>It works for me using Mandrake 7.2 (GNU find version 4.1). Maybe it's
>just the version that came with your distro. Try it again as:
> find / -xdev -name *.txt -print
The wildcard "*.txt" is going to be expanded by the shell, and
find will be invoked with a potentially huge list of file names
following the single -name option. If there are no matching
files or a single matching file, find will succeed. It will fail
if there are multiple matches, with an error message:
find: paths must precede expression
Usage: find [path...] [expression]
The extra filename(s) are assumed to be search paths.
Try it as,
find / -xdev -name "*.txt"
which will prevent the shell from expanding the wildcard
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: lilo and win98
Date: 16 Dec 2000 19:59:32 +0100
"Ron Nicholls" <[EMAIL PROTECTED]> writes:
> Lilo is installed in the MBR , is this a problem with win. Is there
> a HOWTO for win98 The distribution is RedHat 7.0
I'm sorry if you already have this setup, but anyway:
# in lilo.conf
# YOUR Win partition here:
other = /dev/hdaXX
label = dos
table = /dev/hda
see man 5 lilo.conf for details.
--
Stefano - Hodie decimo septimo Kalendas Ianuarias MMI est
------------------------------
Crossposted-To: alt.os.linux.mandrake
Subject: Re: soundcard and Linux
From: [EMAIL PROTECTED]
Date: Sat, 16 Dec 2000 19:07:08 GMT
use sndconfig to detect it.Once this is done it will create a file calles
etc/isapnp.conf.Open that file with your text editor and about the 20 line
down you will see your card info with the remarks fatal next to all the
info.changed fatal to warning save the file and thats it.
------------------------------
From: sfcybear <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ssh, nfs, samba; none of them is working
Date: Sat, 16 Dec 2000 19:00:00 GMT
In article <[EMAIL PROTECTED]>,
"m.nine.six" <[EMAIL PROTECTED]> wrote:
> hi,
>
> i have ssh, nfs and samba on my debian potato system. everything was
fine
> working till a few weeks. then i couldn't login to my box with ssh.
also nfs
> and samba doesn't work. those are the following messages that i get:
>
> ssh:
> ssh_exchange_identification: Connection closed by remote host
You might setting up the hosts.allow and hosts.deny tables on the server
to allow access by your client computer
>
> nfs:
> mount: host:/folder/ failed, reason given by server: Permission denied
>
setup the /etc/exports file on the server
> samba:
> read_socket_with_timeout: timeout read. read error = Broken pipe.
> session request to SERVER failed (code 0)
> read_socket_with_timeout: timeout read. read error = Broken pipe.
> session request to *SMBSERVER failed (code 0)
Is samba (smb) running on the Linux/Unix server that you are trying to
connect to? Is the smb.conf file set up correctly? OR Are you trying to
connect to an NT or W2K box.
Here is something that might help:
http://www.linuxdoc.org/
>
> what could be the problem?? thanks in advance for any hints.
>
> regards,
> alias m.nine.six.
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: John-Paul Stewart <[EMAIL PROTECTED]>
Subject: Re: Switching to Linux
Date: Sat, 16 Dec 2000 19:15:20 GMT
acoolguy wrote:
>
> I currently have a computer with a celeron processor, 32MB RAM, and Win98.
> I am considering switching to Linux since I have heard so much about its
> performance as compared to the Win OS and many other OSs for that matter. I
> have also noticed that many serious computer gurus are running Linux. Now I
> have several question so that I can determine if this is a suitable option
> for me:
<snip>
> 4. If I decide to make the big switch where do I get the software, what
> version should I get? How do I install it, as I have never formatted my
> hard drive, etc? Where do I get other software that I might need? Do I need
> to worry about drivers,say for my printer?
>
First off, I'd recommend that anyone wanting to take the
plunge into linux should be *very* familiar with computer
hardware. You mention you've never formatted your hard
drive and I generally take this to mean that the writer is
not a technical guru. The thing that helped me most when I
started to make the switch was that I knew and understood
things at the hardware level. Do you understand things like
extended disk partitions or are you of the "C: drive, D:
drive, ..." mindset? Linux doesn't use DOS-style drive
letters and I've seen many newbies get thrown for a loop by
hda1, hda2, etc.
Second, don't feel you have to abandon Windows for Linux. I
first picked up some linux CDs in 1996 and to this day one
of my machines dual boots windows and linux. If
interoperability is a big concern, go the dual boot route
for now.
Third, don't expect to ditch Windows and be up to speed in
Linux tomorrow. It's a long, slow learning curve that can
be *very* intimidating. I made the move in part because I
was a Computer Science student at the time and the computers
at school were X-terminals connected to Sun hardware running
Solaris and things like twm, csh, and gcc. I was able to
use Slakware at home with twm, csh, and gcc to have a
similar working environment. Despite this, it was a steep
learning curve that was usually intimidating, often
downright scary. I saw it as a learning experience. If you
don't currently have a good reason to make the switch, you
may get scared off and lose your motivation to learn these
things (as a couple of my friends did).
So, basically I'm saying you really ought to have a firm
grasp on "low-level" technical stuff and good reasons to
make the switch. Don't feel you must switch from one OS to
the other; you can dual boot.
(Remember, all of the above is just my opinion based on
experience and observation. Your situation may be entirely
different.)
Good luck. HTH,
J-P Stewart
------------------------------
From: John-Paul Stewart <[EMAIL PROTECTED]>
Subject: Re: Q:Newbie Looking for alternatives from MacroShot
Date: Sat, 16 Dec 2000 19:15:22 GMT
Richard wrote:
>
> I just read on Corel's web site about adding prog under linux & it mentioned
> that it would take effect upon starting the computer again. I thought linux
> didn't need to be rebooted after adding things. I'm buying a computer &
> don't know which distribution I should get (No Win for me, I hate the
> crashes & reboots). Any direction would help. Please respond via the
> newsgroup.
>
I think you may have misread. I recently installed Corel
PhotoPaint for Linux. IIRC, I needed to restart my window
manager in order to have it added to the menu. There was a
recommendation for a reboot there, but *not* a requirement.
BTW, if you're looking for a distro for a new computer, I
recommend Debian. Corel Linux is based on Debian. I've
found some oddities about Corel's distro, but I *really*
like the Debian stuff (package management, mainly). That's
more than you asked, so I'll shut up now....
HTH,
J-P Stewart
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.windows.x.kde
Subject: Re: Mandrake upgrade: terrible
Date: Sat, 16 Dec 2000 19:21:11 GMT
For linux to do _well_ each distro needs to learn from the others
and copy what works. Sounds rediculusly simple but do respective
distros talk to one another?
Dick
On Sat, 16 Dec 2000 11:30:37 +0100, Jeffrey Rose
<[EMAIL PROTECTED]> wrote:
>"Nikita V. Youshchenko" wrote:
>>
>> > I ditched mandrake because this distro can not be upgrade.
>> > Each time a new version comes out you have to wipe out
>> > everything...upgrades never works 100%.
>> > MandrakeUpdate (for updading individual packages via the net)
>> > was the last straw when it bombed updating glibc...guess what
>> > happens when you have a broken glibc.
>>
>> The only distro I've seen yet that REALLY DOES clean upgrades is Debian.
>> apt-get distupgrade, and all is done ... :-)
>
><FLAMEPROOF>
>
>Is RH 7's 'update agent' [up2date] an attempt to automate like 'dselect'
>or something? Works for me ... at the moment ...
>
></FLAMEPROOF>
>
>Comments?
>
>--
>pub 1024D/6AD04244 2000-12-14 Jeffrey P Rose
>(ChristForge.SourceForge.net)
><[EMAIL PROTECTED]>
>Key fingerprint = C1A5 958B B2F5 9C0E 0613 4825 17FE FB39 6AD0 4244
>sub 2048g/41E76506 2000-12-14
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Radeon + linux Question
Date: Sat, 16 Dec 2000 19:44:38 GMT
Michael Powe <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how to get a minimal X server working with the
> Radeon 32M card? I know there's a proprietary X server you can buy
> for $89. But is there any way to get acceptable performance out of
> XFree 4.0.1? I don't need high-res for gaming.
> I tried running it with the generic VGA server, that was horrible &
> hosed my video besides. I had to reboot to get back to normal, even
> "reset" would not work.
> Thanks for any help.
> mp
The newset version of XFree86 (4.0.1g or h) I believe has 2D support...
4.0.2 will definately support it, so if you want to wait for binaries
they should be coming soon (hopefully). Otherwise you can pull the XFree86
code from CVS, or the DRI code from CVS (which might give you basic 3D
support as well).
Adam
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Find? really?
Reply-To: bobh{at}haucks{dot}org
Date: Sat, 16 Dec 2000 19:43:41 GMT
On Sat, 16 Dec 2000 16:50:10 +0000, Garry Knight
<[EMAIL PROTECTED]> wrote:
>> Can someone please explain why the following command does NOT locate
>> the files specified on the local filesystem?
>>
>> find / -xdev -name *.txt
The shell will expand '*' before find sees it. If nothing in / matches,
then the shell will pass the '*.txt' to find (at least bash will),
otherwise it will pass the files that matched and not the raw argument.
The result is that this command will "work" if nothing in the current
directory matches, otherwise only files that also appear in the current
directory will be listed.
To make this work reliably you need to quote the argument to -name:
find / -xdev -name '*.txt'
--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
------------------------------
** 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.misc.
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
******************************