Linux-Misc Digest #30, Volume #24 Mon, 3 Apr 00 10:13:02 EDT
Contents:
Re: Newbie - a few questions ("Shan J. Gill")
Re: Q: Copying filesystem to CD and then running from CD? (Sitaram Chamarty)
Write access on my vfat drives. (Brad)
Re: about mkisofs (James Pearson)
port problem or maybe C-Forge server (Duane Evenson)
finding files and strings
Problem: "cannot unlink" (Jim Bevenhall)
get Hardware- Data from /proc (Bernd Brunnenmiller)
Endless Loop Script Died Suddenly (alpha)
Script question ("Peet Grobler")
"make menuconfig" hangs on RH 6.1 (Roger Blake)
Re: Missing directory on Kodak PhotoCD (Neil Cherry)
Re: Changing Display Manager (Thomas Zajic)
Re: Create batch file and send screen output to a file (Duane Evenson)
Re: VIRUS WARNING !!!!! (Kenny McCormack)
SCSI hangs (Tim De Vos)
Re: finding files and strings ("Marc")
Re: How is identd called? (Leonard Evens)
----------------------------------------------------------------------------
From: "Shan J. Gill" <[EMAIL PROTECTED]>
Subject: Re: Newbie - a few questions
Date: Mon, 3 Apr 2000 04:28:02 -0700
Answers to selected questions below:
soldier <[EMAIL PROTECTED]> wrote in message
news:2RUF4.3235$[EMAIL PROTECTED]...
> Hello,
>
> I purchased Linux 6.0 with the Linux Unleashed book. I have installed it
and
> learned all the basics, and have a few questions I was hoping someone
could
> answer:
>
> 1. I have download Linux apps and installed them with GNORPM. But
afterward,
> I can find no icons to run the applications? GNORPM shows the app is
> installed and what directory it is installed in. I am running the Gnome X
> Windows interface and am logged in as root while I learn. I hope this is
> isn't too stupid of a question, but how do I find and run the applications
> after I install them with GNORPM?
>
> 2. Is there an easy way for me to upgrade from 6.0 to the latest version
of
> Linux?
If you only want the latest kernel, pick it up from various locations
(mirrors). You can find a list of them at:
www.linuxhq.com
This is the simplest way to get the "latest and greatest" features of the
system without completely reinstalling.
Read the Kernel-HOWTO for the steps in compiling and upgrading your kernel.
It is a good idea to make a new boot disk, too. Get very familiar with the
HOWTOs and the wealth of information contained therein.
>
> 3. I'd like to use Linux as my main OS if possible (switching over from
> Windows) but need access to a suite of apps similar to MSOffice if I am
> going to do it. I heard from someone that these apps, or their equivalents
> are free on the Net somewhere? I would like to have an MS Word equivalent
> program if possible.
You might want to try StarOffice 5.1 from Sun:
www.sun.com/staroffice
It is nearly 60 MB so it takes a while to download; on my 56K line it took
several hours. Depending on your connection, YMMV. Of course, they will
sell you the CD for about $10 (US), which isn't too bad at all considering
what you get.
It is a good place to start for an integrated office package, though I
recommend lots of RAM to run it without it thrashing in swap. When I only
had 64 MB of RAM, if I was running both Netscape 4.7 and StarOffice 5.1, the
swapping was unbearable. But since I upgraded to 128 MB of RAM, that
problem no longer shows up. (All the purists out there who are gnashing
their teeth at this "Microsoft solution" - show us a better way.)
SO is monolithic and a memory tyrant. You've been warned.
But I like SO because I can open most of my MS Win-docs, etc., directly
without any additional filtering.
Java support is not up to snuff yet, but other than that I don't have any
major complaints.
>
> 4. Last question: Working with TAR, GZ, Z and all the other types of files
> at the command line is a bunch of bull. Is there a nice GUI that handles
ALL
> of the possible archives (similar to Winzip)?
Although I use GNOME, when I want to mess with (most of) the various
archives, I fire up the KDE File Manager (kfm).
If you are running GNOME, go "Start/KDE Menus/System/File Manager".
kfm starts in super-user mode, so be ready with the password if you are
logged in as other than root.
Right click on any of the various archive files and select "Archiver" from
the context menu.
>
> Thanks all for the help!
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: Q: Copying filesystem to CD and then running from CD?
Date: Mon, 03 Apr 2000 10:37:44 GMT
On 02 Apr 2000 03:11:28 +0200, Johannes Nix <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Lincoln Yeoh) writes:
>> Is there a way to copy most of my filesystem to a CD (CD-R,CD-RW etc) and
>> then booting and running from the CD?
Lincoln,
I apologise if I responded already to this (I thought I did, but I
can't see it in my news spool now) but I have done this:
http://www.dim.com/~sitaram/linux-live-cd
------------------------------
From: Brad <[EMAIL PROTECTED]>
Subject: Write access on my vfat drives.
Date: Mon, 03 Apr 2000 20:50:14 +1000
Hi all
I have setup my fstab file to mount my two windows (vfat) drives...
/dev/hda1 /mnt/winc vfat auto,user 0 0
/dev/hda5 /mnt/wind vfat auto,user 0 0
I read the man page for fstab and it says that by having the 'user'
option set, that a user would be able to mount the vfat drives.
Well, the drives get mounted but there is a problem.
Problem is that when i am logged on as a user I only have 'read' access
to the vfat drives. I want 'write' access.
Is this possible?? If so how?
Thanks
Brad
------------------------------
From: James Pearson <[EMAIL PROTECTED]>
Subject: Re: about mkisofs
Date: Mon, 03 Apr 2000 11:00:04 GMT
In article <[EMAIL PROTECTED]>,
"Eddy" <[EMAIL PROTECTED]> wrote:
> how can I use mkisofs to make image for a directory instead of the
> content inside a directory ?
>
> say,
> mkisofs -o image /home
> it will make the image of the files and directories inside home, like
> httpd, ftp....
> how can I make the image of /home with home as top directory ?
>
Try something like:
mkisofs -o image /home/=/home
Make sure you are using mkisofs v1.12
James Pearson
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Duane Evenson <[EMAIL PROTECTED]>
Subject: port problem or maybe C-Forge server
Date: Mon, 03 Apr 2000 05:13:21 -0600
I have a RedHat 6.1 system without most Internet packages {Winmodem :-(
} save those needed to run X and Netscape, etc. I cannot get the C-Forge
server to run. I get the following error messages in
FORGE_SERVER-9090.log:
Smed server listen port 9095
bind: Cannot assign requested address
Can't start server:
Error while open incoming port: Cannot assign requested address
C-Forge docs say it defaults to 9090 for udp and 9095 for tcp.
Any guesses anyone?
My guess is that I need to do something with my ports.
PS I tried the C-Forge mailing list last week, now I'm pinning my hopes
on this group.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: finding files and strings
Date: Mon, 03 Apr 2000 11:30:11 GMT
Some questions !
1. best command to find files like *.doc from a harddisk and the whole
path is shown !
2. best command to find a certain string in a file from a harddisk and the
whole path is shown !
looking forward to get splended solutions !
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Jim Bevenhall)
Subject: Problem: "cannot unlink"
Date: 3 Apr 2000 11:35:29 GMT
I had a power loss on my pc running RedHat 6.1. When rebooting, I had to
do a manual fsck on my /dev/hda5 to be able to pass the checks, which
complained a lot about duplicate inodes and such.
I ended up with a lot of files in lost+found, which cannot be removed
even if I'm running as root.
# ls -al
...
d---rwSr-t 2 16962 13157 40960 Jan 19 1970 #679703
dr--rwS--x 2 17989 13157 45056 Jan 20 1970 #679706
br--r-srwT 1 26217 12340 0, 32 Nov 21 19:01 #679710
dr-x---r-x 2 16963 24931 45056 Jan 6 1970 #679713
br-xr---wx 1 26723 32 52, 52 Oct 28 2006 #679720
d---rw-r-T 2 17473 13157 36864 Jan 16 1970 #679731
-rwx---r-- 1 root root 1359282432 Jan 1 1970 #679878
# rm -f \#679878
rm: cannot unlink `#679878': Operation not permitted
# chown root \#679677
chown: #679720: Operation not permitted
#
...
Subsequent fsck's runs successfully without any remarks. 'df' report
correct disk space, although 'du lost+found' report abnormal figures.
Question: How do I get rid of these files?
---
jim
------------------------------
From: Bernd Brunnenmiller <[EMAIL PROTECTED]>
Subject: get Hardware- Data from /proc
Date: Mon, 03 Apr 2000 14:01:18 +0200
Hello,
i want to get any Hardware- Data of a Penguin- PC from /proc
with Perl, but i don't know how to do this ...
Can anybody help me?
... i hope ..
Bye
Bernd
[GER]
------------------------------
From: alpha <[EMAIL PROTECTED]>
Subject: Endless Loop Script Died Suddenly
Date: Mon, 03 Apr 2000 19:48:53 +0800
Hi,
I am facing this problem.
I wrote a Perl script to run under Linux with root assess under nohup.
The script is
having an endless loop with is as shown:
while (1)
{
process 1
process 2
etc...
}
But out of the sudden, the script can exit cleanly.
Wonder if anyone know what are the possible causes.
Thanks
------------------------------
From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Script question
Date: Mon, 3 Apr 2000 14:04:34 +0200
How would you write a script, to only run if a file size is above 100K?
E.g, in the top part of the script, it should check if the filesize is above
100K. If it is not, the script should end normally right there.
Can anybody help please?
------------------------------
From: [EMAIL PROTECTED] (Roger Blake)
Crossposted-To: comp.os.linux.setup
Subject: "make menuconfig" hangs on RH 6.1
Date: Mon, 03 Apr 2000 12:10:22 GMT
When I initially installed RH 6.1 from a cheapbytes.com CD, I
did not install the development packages due to limited disk space.
Afterwards I decided to build a new kernel, so individually installed
packages such as gcc, as86, make, development libs, etc.
The problem I'm running into is that when using the command
"make menuconfig" the configuration menu never appears -- make
just sits there spinning its wheels (no diagnostic messages),
for hours if it's left alone, and I wind up having to abort it.
I'm assuming there is some package needed by menuconfig to work
that is still missing. Anyone know what might that be? (BTW, if
I generate a .config file using menuconfig on another system and
copy it over, the kernel does build with no problems. I'd still
like to get menuconfig working on this sucker, though.)
--
Roger Blake
(remove second "g" and second "m" from address for email)
------------------------------
From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Re: Missing directory on Kodak PhotoCD
Reply-To: [EMAIL PROTECTED]
Date: Mon, 03 Apr 2000 12:15:24 GMT
On Mon, 03 Apr 2000 04:00:03 GMT, David Steuber wrote:
>[EMAIL PROTECTED] (Neil Cherry) writes:
>
>' I have a Kodak Photo CD and I'm trying to use it with Gimp and XHpcd.
>' Unfortunately can not find the images when their loaded under Linux.
>' Yet when I load the CD under Win95 I find them under the Pictures
>' directory. What do I need to do to get them to show up under a Linux
>' mount?
>
>I have:
>
>/dev/hdc /cdrom auto ro,noauto,user 0 0
The only difference with mine is /dev/scd0
>When I mount the PhotoCD, the path to the images is:
>
>/cdrom/photo_cd/images >
>
>The kernel is compiled with ISO9660 file support.
My kernel has ISO9660 compile in as a module.
>Does Gimp understand the pcd format? I seem to recall using another
>utility to convert pcd files into tiff so I could work with them.
Gimp needs XHpcd, which I have, my problem is I can't seen the
directory. I think the problem may have to do with multi-session. I
think my CDROM can't read multi-session (it's a very old CDROM). I
can experiment with one of my other drives as I have a CD burner that
does multi-session.
Thanks for th help, I you gave me the idea that the problem was
multi-session.
--
Linux Home Automation Neil Cherry [EMAIL PROTECTED]
http://members.home.net/ncherry (Text only)
http://meltingpot.fortunecity.com/lightsey/52 (Graphics)
http://linuxha.sourceforge.net/ (SourceForge)
------------------------------
From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: Changing Display Manager
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Mon, 03 Apr 2000 12:12:13 GMT
On 1 Apr 2000 13:54:50 GMT, Peter T. Breuer wrote:
> Thomas Zajic <[EMAIL PROTECTED]> wrote:
> : On Sat, 01 Apr 2000 01:24:25 -0100, Benoit Smith wrote:
>
> :> I'm using Slackware 7.0, and I would like to change my display
> :> manager from KDM to GDM. Which files must I change ? Thanks a
> :> lot for any answer.
>
> : /etc/rc.d/rc.4 and /etc/X11/xdm/* would be a good start, I guess. ;-)
>
> Probably. As it happens, I have S7 next to me, so let's take a glance
<AOL> Me too! </AOL>
[zlatko@andromeda]:~$ cat /etc/slackware-version
7.0.0
;-)
> ... whoo hoo. You were right in one. /etc/rc.d/rc.4. The xdm stuff
> shouldn't need touching at all.
Right. Anyway, getting familiar with the {x|k|g}dm config files can't
hurt, I guess. Moreover, /etc/X11/xdm/Xsetup_0 checks for the existance
of /opt/kde/bin/kdmdesktop. If he decides to uninstall KDE completely,
he might want to replace this one with the appropriate GNOME version,
if it exists. If he leaves KDE installed, he'll still get the KDEish
look at the login screen, which could be a bit confusing if he didn't
check the xdm config files first.
You see, I had valid reasons for suggesting /etc/X11/xdm/* as well.
Basically you're right, of course, these files don't _need_ to be
touched when switching from kdm to gdm ...
> I must say, I like Patrick's style with the config files :-). Cute.
> He chooses kdm, gdm and xdm, in order of preference. Simply
> uninstalling kdm (removepkg kdm) will make gdm your login manager.
... thanks to Slack's _very_ nice config files. I fully agree with
you on this one. :-)
Thomas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <[EMAIL PROTECTED]> Linux-2.2.14/slrn-0.9.6.2 -
- "It is not easy to cut through a human head with a hacksaw." (M. C.) -
=-------------------------------------------------------------------------=
------------------------------
From: Duane Evenson <[EMAIL PROTECTED]>
Subject: Re: Create batch file and send screen output to a file
Date: Mon, 03 Apr 2000 06:06:37 -0600
Dennis wrote:
> Hi,
>
> I want to execute a number of linux commands from a batch file, and have the
> screen output sent to a file. So...
>
> How do I create a batch file (like in dos).
>
Linux shells are much better at running shell scripts than DOS. If you stay with
Linux, you'll end up creating lots of shell scripts.
Use a text editor (pico, vi, emacs, etc) to enter your commands, they can be on
separate lines or separated by ';'. Use '|' to separate commands where the
output is piped (the output of one is the input of the next). Use '>' followed
by a filename to pipe standard output to a file. Use '2>' filename to pipe
standard error output to a filename.
eg.
ls -l|sort -k6|more
ls -l > ls-l.txt
date > todays_date.txt
> How do I then send the screen output from the programs which are run from
> the batch file to another file.
>
> Thanks for anyone who can help,
>
> Dennis
------------------------------
From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Re: VIRUS WARNING !!!!!
Date: 3 Apr 2000 07:30:57 -0500
Reply-To: [EMAIL PROTECTED]
In article <0tSF4.9693$[EMAIL PROTECTED]>,
A Guy Called Tyketto <[EMAIL PROTECTED]> wrote:
...
> Umm.. why the hell would we be worried about this, since we're
>all running LINUx here? unless you're totally clueless about the
>Newsgroup header, you've posted this to comp.os.LINUX.misc. Your windows
>Virus means nothing here. Why not go call up Redmond and tell BillyBoy
>to make a less virus-prone operating system.
Does the phrase "preaching to the choir" mean anything to you?
The fact of the matter is, though, that 95% (*) of Linux users have at some
time in their lives run an MS offering (**), so discussion of same are
relevant. In fact, 83% (***) of the traffic in this newsgroup is "How do I
<something having to do with wanting to delete/install/re-claim/etc>
the MS thing that either was or will be on my disk alongside Linux?"
(*) A totally made up statistic
(**) I refuse to dignify any MS offering with the phrase "Operating System"
(***) Another totally made up statistic
------------------------------
From: Tim De Vos <[EMAIL PROTECTED]>
Subject: SCSI hangs
Date: Mon, 03 Apr 2000 14:58:11 +0200
Hello,
Every time I do some disk-intensive tasks my SCSI bus hangs
for about 1 minute. I use Redhat 6.1 with an Adaptec 2940
U2W (bios version upgraded to 2.2.20) on an SE440BX-2.
Any ideas what could be wrong. It's happening frequently and
the system doesn't respond so that's very anoying. All devices
are correctly terminated and I have no SCSI problems under Windows.
Thanks,
Tim De Vos
------------------------------
From: "Marc" <[EMAIL PROTECTED]>
Subject: Re: finding files and strings
Date: Mon, 3 Apr 2000 15:53:00 +0200
[EMAIL PROTECTED] schrieb in Nachricht ...
>Some questions !
>
>1. best command to find files like *.doc from a harddisk and the whole
>path is shown !
$ find / -name "*.doc" -print 2>/dev/null
>2. best command to find a certain string in a file from a harddisk and the
>whole path is shown !
don't know if this is the best, but it works
$find / -exec grep SEARCHPATTERN {} \; -print | grep "/"
the {} is a placeholder for the current filename and the \; terminates the
exec-command
since grep gives you the filename and the row where it found your
searchstring, filter it with grep
>looking forward to get splended solutions !
>
>
>
>--
>Posted via CNET Help.com
>http://www.help.com/
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: How is identd called?
Date: Mon, 03 Apr 2000 09:43:34 -0500
Glitch wrote:
>
> if a person wanted the service started at boot time, why else?; just to
> have it always run since it would be starting at boot time
>
> Leonard Evens wrote:
> >
> > Identd is the daemon which establishes user identities for
> > network services. It may be started as a daemon by
> > /etc/rc.d/init.d/identd or it may be run via inetd.
> >
> > I checked several machines running RedHat 6.1, and found
> > it was stopped. chkconfig showed it off. So it is run
> > via inetd, and that would be appear to be a common configuration.
> >
> > Under which circumstances might it be started in initd?
> > --
> >
> > Leonard Evens [EMAIL PROTECTED] 847-491-5537
> > Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
I'm still not sure I understand. inet is started at boot time,
so the service is available anyway. Does this possibly have
top do with whether or not one is running a server?
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
** 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
******************************