Linux-Misc Digest #393, Volume #24 Sun, 7 May 00 17:13:06 EDT
Contents:
Re: Extracting multiple, COMPRESSED, tar files? (Dances With Crows)
Re: ksnapshot equavilent? (Dances With Crows)
Re: mkisofs (Dances With Crows)
Re: anonymous ftp problem (Herb Stein)
Darn, screwed up! Here's the correct one... (Dances With Crows)
mail server (Alexis Bilodeau)
Re: mail server ("Jan Schaumann")
Re: howto setup vi style cmdln editing with bash (Herb Stein)
Re: Need to find my IP address (Chris)
Re: Need to find my IP address (Chris)
Re: Need to find my IP address (Chris)
Re: chown (David Efflandt)
Where are the Module Utilities? (Martin McCormick)
Re: **** USER PERMISSIONS **** (Bill Unruh)
Re: Where are the Module Utilities? (Hal Burgiss)
frame buffer with old S3? (David Efflandt)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Extracting multiple, COMPRESSED, tar files?
Date: 07 May 2000 15:25:18 EDT
Reply-To: [EMAIL PROTECTED]
On Sun, 07 May 2000 18:38:45 +0000, mh
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Is there a way to extract multiple compressed tar files at once? I
>tried the -M option for "multiple volumes" but got an error message to
>the effect that this was not possible with compressed files, which is
>what I'm trying to work with. I also tried using the "*" wildcard, but
>got the same error.
>
>I just downloaded complete sets of HOWTOs and mini-HOWTOs. Each
>collection consists of a single compressed tar file containing multiple
>compressed tar files, one for EACH article. I can't imagine anyone
>actually extracting these articles one at a time.
Shell script time.
#!/bin/bash
# Warning, this is hasty and tasteless and nasty.
# call this from the directory containing the first collection of tarballs
# this only goes 2 levels deep
# making it go deeper/recurse is left as an exercise
for i in `ls *.tar.gz`; do
tar xvzf $i
j=echo $i | sed -e 's/\.tar\.gz//' -
cd $j
for k in `ls *.tar.gz`; do
tar xvzf $k
done
cd ..
done
...or use a GUI archiver client? Oh well, this should get you started...
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid,
But only Light too dim for us to see \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt. --MegaHAL
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: ksnapshot equavilent?
Date: 07 May 2000 15:28:07 EDT
Reply-To: [EMAIL PROTECTED]
On Mon, 1 May 2000 18:32:48 +0100, oliver austin
<<8ekevj$tm$[EMAIL PROTECTED]>> shouted forth into the ether:
>I installed Gnome from a RedHat 6.1 distro but now I need KDEs Ksnpshot to
>capture the screen.
>Is there a Gnome equivalent?
Not sure, but KDE applications will run under GNOME, you know. Just
install Ksnapshot from RPM or tarball or whatever. Or you can use xv.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid,
But only Light too dim for us to see \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt. --MegaHAL
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: mkisofs
Date: 07 May 2000 15:32:15 EDT
Reply-To: [EMAIL PROTECTED]
On Sun, 07 May 2000 15:04:25 -0400, Konstantin L Kouptsov
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>I am trying to creade a CD image using mkisofs-1.12b5
>It appears the image does not have correct file names.
>Whatever swithes I give to mkisofs, it creates all files
>in 8.3 standard. Why?
>[pooh:~]$ mkisofs -r -L -J -a -o backup_May_5_2000 backup.May.5.2000/
>
>Using .000;1 for /.pine-debug2 (.pine-debug3)
>Using WAVELETT.000;1 for backup.May.5.2000/WaveletTransforms-Part2.nb
(WaveletTransforms-Part1.nb)
[snip]
Those are the right options for mkisofs, no question, and those messages
are just mkisofs telling you which 8.3 filenames are getting used for
certain files. Have you tried mounting the ISO image file via the
loopback device once mkisofs is done? Do it like so:
# mount -t iso9660 backup_May_5_2000 /mnt/other -o loop
Then when you look under /mnt/other, you should see the long filenames in
all their glory, since you created the image using RockRidge and Joliet
extensions.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid,
But only Light too dim for us to see \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt. --MegaHAL
------------------------------
Crossposted-To: comp.os.linux.help
From: [EMAIL PROTECTED] (Herb Stein)
Subject: Re: anonymous ftp problem
Date: Sun, 07 May 2000 19:28:33 GMT
When I installed RedHat 6.0, I believe that anonymous was listed in
/etc/ftpusers by default. That file is a list of userids that can NOT use
ftp. Typically root, bin, halt, news etc. Read the ftpd man page for more
details.
In article <[EMAIL PROTECTED]>, Tat Ho
<[EMAIL PROTECTED]> wrote:
>Bob Hauck wrote:
>
>> On Wed, 26 Apr 2000 15:33:23 -0700, Christopher Fonnesbeck
>> <[EMAIL PROTECTED]> wrote:
>>
>> >I am trying to set up an anonymous ftp server on my Linux machine, using
>> >wu-ftp. However, when users try and log in anonymously, they are asked
>> >for a password, rather than their e-mail address.
>>
>> What happens if they just enter their email address? Here's what my
>> wu-ftpd does:
>>
>> [hauck@lab hauck]$ ftp localhost
>> Connected to localhost.
>> 220 lab.codem.com FTP server (Version wu-2.4.2-academ[BETA-15](1) Wed Jan
>> 7 01:03:55 MST 1998) ready.
>> Name (localhost:hauck): anonymous
>> 331 Guest login ok, send your complete e-mail address as password.
>> Password:
>>
>> If I give an email address as my password it logs me in as anonymous.
>>
>> --
>> -| Bob Hauck
>> -| Codem Systems, Inc.
>> -| http://www.codem.com/
>
>I too am trying to setup "annoymous" ftp access on my system but without
>success. The problem
>is I just do not get the line that says "Guest login ok..." after entering
>"annoymous" to the user
>name prompt. Do I need to setup a login account "guest"? If yes, then what
>should it look like in the "/etc/passwd" file?
>
>Any help would be much appreciated.
>
>T.L.Ho
>
--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 215-3584
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Darn, screwed up! Here's the correct one...
Date: 07 May 2000 15:43:28 EDT
Reply-To: [EMAIL PROTECTED]
On 07 May 2000 15:25:18 EDT, Dances With Crows
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>#!/bin/bash
># Warning, this is hasty and tasteless and nasty.
># call this from the directory containing the first collection of tarballs
># this only goes 2 levels deep
># making it go deeper/recurse is left as an exercise
>
>for i in `ls *.tar.gz`; do
> tar xvzf $i
> j=echo $i | sed -e 's/\.tar\.gz//' -
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> cd $j
> for k in `ls *.tar.gz`; do
> tar xvzf $k
> done
> cd ..
> done
That line should, of course, be:
j=`echo $i | sed -e 's/\.tar\.gz//' -`
That'll teach me to write shell scripts in haste. :-]
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid,
But only Light too dim for us to see \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt. --MegaHAL
------------------------------
From: Alexis Bilodeau <[EMAIL PROTECTED]>
Subject: mail server
Date: Sun, 07 May 2000 19:45:22 GMT
Alexis Bilodeau wrote:
>
Hi,
I want to setup a little mail server on my machine (running Mandrake
7.0). There's a need for only four or five mail accounts. I want to
know which server to use and how to set this up.
I already have a web server with a domain name, if it helps... I want
these email addresses to be @domainname.com.
Thanks a lot,
--
Alexis Bilodeau
eMagiK Technologies
819.371.9273
[EMAIL PROTECTED]
------------------------------
From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: mail server
Date: Sun, 07 May 2000 16:06:51 -0500
It was Sunday, May 7, 2000 3:45 PM that Alexis Bilodeau
<[EMAIL PROTECTED]> uttered the words:
> Alexis Bilodeau wrote:
>>
> Hi,
>
> I want to setup a little mail server on my machine (running Mandrake
> 7.0). There's a need for only four or five mail accounts. I want to
> know which server to use and how to set this up. I already have a web
> server with a domain name, if it helps... I want these email addresses
> to be @domainname.com.
>
Mandrake comes with sendmail AFAIK. Just read through the
sendmail-documentation - it's farily easy to set up. it might very well be,
that it' s already running on your system and you just need to adjust the
domain-name and the like. check you /etc/sendmail.cf...
HTH,
-Jan
--
Jan Schaumann http://www.netmeister.org
If Microsoft built cars, seats would force everyone to have the same size
butt.
------------------------------
From: [EMAIL PROTECTED] (Herb Stein)
Subject: Re: howto setup vi style cmdln editing with bash
Date: Sun, 07 May 2000 20:02:08 GMT
Well, bash has command line editing, but it is not vi-style editing, where vi
commands can be used. I don't use bash, so I can't be much more help. Use ksh
and you get vi-style editing.
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
>On Sat, 06 May 2000 19:19:37 +0200, lam <[EMAIL PROTECTED]> wrote:
>>set -o vi
>>
>>is obviously not enough. I remember one has to put some funny string
>>into some file but can not figure that out any more. Can someone help,
>>please?
>
>You only need that for the real 'sh', bash has command line editing by
>default. What did you do to mess that up, or are you really running a
>different shell? Try typing bash and see if it works differently than
>your login shell.
>
--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 215-3584
------------------------------
From: [EMAIL PROTECTED] (Chris)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sun, 07 May 2000 20:27:15 GMT
On 7 May 2000 01:25:34 GMT, [EMAIL PROTECTED] (brian moore) wrote in
comp.os.linux.development.apps:
>> People who write device drivers or kernel modules should provide a proper
>> man(2) or man(3) page. Ideally, we should kill off the ioctl() function
>> and place all accessible driver variables in /proc.
>
>If you remove ioctl(), how will you plan on maintaining compatibility
>with other Unix systems?
Who says that using ioctl() preserves compatability? It's a catch-all
function that was written so that programmers could access features of
specific device drivers in a non-standardized way. An ioctl() to a device
in Linux won't be portable to another system unless the underlying device
drivers use identical symbols, argument counts and types, etc. As Linux
stops playing catch-up with the commercial versions and forges ahead into
new territory, the likelihood that applications will remain portable
diminishes.
Are we planning to rewrite our drivers if the commercial vendors choose to
use different symbols? Or are you assuming that commercial Unix system
developers will voluntarily copy the Linux drivers?
There are so many other non-"Unix" diversions on the table that commercial
compatibility is obviously not a holy grail for some people.
------------------------------
From: [EMAIL PROTECTED] (Chris)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sun, 07 May 2000 20:27:15 GMT
On Sun, 7 May 2000 09:34:11 +0200, [EMAIL PROTECTED] (Tobias Anderberg)
wrote in comp.os.linux.development.apps:
>>programmers shouldn't have to resort to sifting through the kernel source
>>code to figure out how to perform simple and common tasks.
>
>Usually people don't wade through the kernel source for "simple
>and common" tasks. Rather to see how a certain driver, part of
>kernel and so on work, to gain deeper knowledge of the
>operating system, they need to fix something, or out of plain
>interest.
I would think that finding the address(es) of a specific interface should
be a simple task. The need is certainly common, judging by the amount of
bandwidth wasted by news posts every other week asking how to do it.
>If I wanted to know how to fetch my IP, I certainly wouldn't look
>in the kernel source for that (at least not at first). That's just
>something I picked up during my general kernel "research" and I
>found it to be a easy way of solving this particular problem.
Other people in this thread are taking the opposite stand-- they think
that wading through the source code *is* the appropriate way to learn how
to do such things. This kind of elitist "documentation is for dummies"
attitude won't do anything to convince programmers to dump Win9X and start
writing software for Linux.
------------------------------
From: [EMAIL PROTECTED] (Chris)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sun, 07 May 2000 20:29:22 GMT
On Sat, 06 May 2000 22:12:59 GMT, [EMAIL PROTECTED] (Kaz Kylheku)
wrote in comp.os.linux.development.apps:
>Get real; these ioctl's are easy to find in the kernel source code.
>I disagree on both counts. Having the operating system source code
>is a blessing. I'd rather read ten lines of code than a thousand lines
>of documentation.
I'm heartened to know that you've uninstalled all the man pages from your
system. After all, if you need to know the arguments to a standard C
library call you can always go look in the libc6 sources....
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: chown
Date: 7 May 2000 20:32:09 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 07 May 2000 15:55:17 GMT, The Dude <[EMAIL PROTECTED]> wrote:
>how do I chown to a directory & to a file on a mounted hard drive?
It depends what type of drive you are mounting. It shouldn't be any
problem with Linux partitions, but Windows has no such concept, so you
change ownership or permissions of a FAT partition or cdrom using mount
options. Such options can also be put in /etc/fstab if you want to do it
every time or to give users permission to mount. See 'man mount' and 'man
fstab'
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (Martin McCormick)
Subject: Where are the Module Utilities?
Date: 3 May 2000 13:58:43 GMT
When reading the "HOWTO" document regarding building a new
kernel, I read the following:
> 9.1. Installing the module utilities
>
> The module utilities are available from wherever you got your kernel
> source as modutils-x.y.z.tar.gz; choose the highest patchlevel x.y.z
> that is equal to or below that of your current kernel.
This is about as clear as it gets. I am getting my source
from ftp://ftp.us.kernel.org/pub/linux/kernel and I have had no
trouble finding and getting kernel sources. Where is the module
source? I am sure I am missing something obvious, but I don't see
modutils or module anything for that matter.
Martin McCormick WB5AGZ Stillwater, OK
OSU Center for Computing and Information Services Data Communications Group
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To:
comp.os.linux.networking,com.os.linux.redhat,comp.os.linux.setup,nf.comp.linux,alt.os.linux
Subject: Re: **** USER PERMISSIONS ****
Date: 7 May 2000 20:57:39 GMT
In <[EMAIL PROTECTED]> Frederick Artiss <[EMAIL PROTECTED]> writes:
>> Is there any way to set user permissions in linux as you would in
>> another NOS like NT or Novell...?? What I am referring to is the
>> ability to assign individual users with the access to perform some,
>> most, or all of the actions of a root or su user.... For instance,
Get sudo. It is designed for this purpose.
>> would I be able to assign access rights to an ordinary user so they
>> would be able to shutdown the system, edit system files, or something
alt-ctrl-del in a console window will do it:-)
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Where are the Module Utilities?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 07 May 2000 21:03:57 GMT
On 3 May 2000 13:58:43 GMT, Martin McCormick <[EMAIL PROTECTED]> wrote:
> When reading the "HOWTO" document regarding building a new
>kernel, I read the following:
>
>> 9.1. Installing the module utilities
>>
>> The module utilities are available from wherever you got your kernel
>> source as modutils-x.y.z.tar.gz; choose the highest patchlevel x.y.z
>> that is equal to or below that of your current kernel.
>
> This is about as clear as it gets. I am getting my source
>from ftp://ftp.us.kernel.org/pub/linux/kernel and I have had no trouble
>finding and getting kernel sources. Where is the module source? I am
>sure I am missing something obvious, but I don't see modutils or module
>anything for that matter.
The module sources are integrated with kernel source. In fact, many
things can be built either as modules or just incorporated into the
kernel itself. What this is talking about is the 'modutils' package
which includes modprobe, insmod, etc for manipulating modules. You
likely have this.
--
Hal B
[EMAIL PROTECTED]
--
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: frame buffer with old S3?
Date: 7 May 2000 21:08:59 GMT
Reply-To: [EMAIL PROTECTED]
My Sony laptop can easily use 'vga = 792' to get vesafb graphic text
modes. Now I was trying to do something like that on my desktop. I
compiled frame buffer support into the kernel, but 'vga = ask' only comes
up with various text modes. It does not list any graphic modes, will not
let me enter any, and will not accept a 'vga =' for graphic modes in
lilo.conf either (it reverts to text modes).
I have S3 Trio64 video. I thought I saw a listing in a file for a website
that had something to allow the S3 to be used for this, but now I cannot
find it now in any of the svga or libvga files or Vesafb mini HOWTO.
Anyone know if the S3 Trio64 should work for this or how to tell what Vesa
version it is?
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
** 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
******************************