Linux-Misc Digest #145, Volume #28               Mon, 18 Jun 01 12:13:02 EDT

Contents:
  Re: What does etc stand for? (aflinsch)
  Re: Problem Solving: Hope you'd like to help (Leonard Evens)
  KDE 2.X key binding to Multimedia Keys (Russell Perkins)
  Re: bad python display (Holland King)
  Re: mount option? don't mount if RO... ("Eric")
  linuxconf cannot start at rh 7.1 ("����")
  Re: why is there no cut/copy option??? (James Silverton)
  Re: Help with ipchains and ip forwarding (Steffen Kluge)
  Re: Upgrade for DVDs? (Barry R Piendl)
  Re: Upgrading glibc (David Liana)
  Linux with Autoloader DDS  (Doug Poulin)
  Re: HELP: restore linux from  backup (Lee Allen)
  Re: Upgrading glibc (serafim)
  Re: Opening tgz files in MS Windows (phil hunt)
  Re: Pan newsreader program - can't post (phil hunt)
  Re: Which Linux distribution should I better install ? (phil hunt)
  Re: Opening tgz files in MS Windows (phil hunt)
  upgrade questions (Allan Adler)
  Re: Opening tgz files in MS Windows (Jan Schaumann)

----------------------------------------------------------------------------

From: aflinsch <[EMAIL PROTECTED]>
Subject: Re: What does etc stand for?
Date: Mon, 18 Jun 2001 09:47:23 -0400

Arctic Storm wrote:
> 
> The directory /etc contains a lot of important stuff, but my question is not
> about the contents of /etc, but the name etc itself.
> I can't believe that the name of the directory /etc comes from the
> abbreviation of "et cetera", Latin for "and so forth".
> Thanks in advance.

I always thought it was a acroynom for Edit To Configure ....

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Problem Solving: Hope you'd like to help
Date: Mon, 18 Jun 2001 08:35:21 -0500

[EMAIL PROTECTED] wrote:
> 
> Chung <[EMAIL PROTECTED]> wrote:
> > What I need:
> > -Network them up.
> > -the linux machine to be a web server and a router
> 
> That's easy.
> Read the NetX-HOWTO and the Firewall-HOWTO. You have to configure
> ip-forwarding, firewall (ip chains or something similar) and then
> configure the various clients to access the 'net trought the
> Linux machine.
> 
> > What I wish:
> > -Each of them to be a web server (Win98 can use Personal Web server),
> 
> This I don't understand... why you want to have each machine serving
> a single Web Server, when you can have the Linux machine do this
> itself (you can use ip_masquerading and virtual servers with apache)...
> 
> Anyway, you have to configure masquerading, I think there is an
> howto for this, but I don't know the name...
> 
> Davide

He might also consider getting a dsl/cable router with enough
ports.  I think my Linksys 4 port dsl/cable router can do all
those things, although I am not absolutely sure about the web
servers.  Check their web page to find out.   Such a router
is not terribly expensive and avoids the necessity of modifying
the individual computers.  But hey if you enjoy that sort of
thing, go for it.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Russell Perkins <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: KDE 2.X key binding to Multimedia Keys
Date: Mon, 18 Jun 2001 07:32:52 -0700

Does anyone know of a way/hack to bind all those Multimedia key to
actions (or programs)
under KDE. I run XFree86 4.1 and have my keyboard defined as chicony.
Under xev all buttons
are defined and get the proper tag when pressed, i.e.
XF86AudioRaiseVolume, XF86HomePage etc.
I only have Funtion keys 1-12 so someone's suggestion to start
defining these bindings to F13
on up wouldn't do me any good, I can't depress the key so I can't
bind it. Same thing for someone
else's suggestion to create new entries under system with the menu
editor and bind the entries.
Can't do that eithier. Pressing the key shows undefined. I have
attempted Hotkeys but the latest
version segfaults and really don't care to upgrade 2 different
packages just to get 1 stinkin
prgram to work. I run Slackware (current). I can get the keys to bind
(or at least get recognized)
under Enlightenment, but never really run it. It's KDE i'm interested
in. If anyone can point me
to some resource (besides KDE help, been there, done that) or make
some suggestions that haven't been
tried before, it would be greatfully appreciated. TIA.

------------------------------

From: Holland King <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.python
Subject: Re: bad python display
Date: 18 Jun 2001 14:33:20 GMT

In comp.os.linux.misc David Efflandt <[EMAIL PROTECTED]> wrote:

: Are you running X under ssh-agent (I have "ssh-agent startx" as an alias 
: to startx), then ssh-add from an xterm?  That should automatically set up 
: your DISPLAY variable on the other end to tunnel everything back through 
: ssh.  Not quite sure how to do that from GUI login (runlevel 5).

i will try this and see if that works. thanks

: If not tunnelling through ssh, maybe there is a port permission problem 
: on either end or you may need to use xhost to allow it.  I don't really 
: know anything about python or tkinter, but do other X programs run 
: remotely automatically display locally (xterm, netscape, etc.)?

netscape and gimp both display correctly. i haven't tested it much past 
that though.


-- 
Joseph Holland King  | "God whispers to us in our pleasures, speaks in our
                     |  conscience, but shouts in our pains: it is His
                     |  megaphone to rouse a deaf world." C. S. Lewis

------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: mount option? don't mount if RO...
Date: Mon, 18 Jun 2001 16:40:14 +0200

> I have a big pb: I want that "mount" don't mount a read-only partition.
> How can I do that?

The easiest way would be not to enter the mount command that does this.
But that's just an idea, I don't know if it even can be done.
Linux isn't this flexible, you know :-)

Eric



------------------------------

From: "����" <[EMAIL PROTECTED]>
Subject: linuxconf cannot start at rh 7.1
Date: Mon, 18 Jun 2001 22:52:12 +0800

every i execute linuxconf in my rh 7.1 (i386) box, i get

[root@ns1 /root]# linuxconf
Broken pipe

i compile my own kernel (2.4.5) with the default linuxconf rpm. does anyone
know the reason?

regards,
fred



------------------------------

From: James Silverton <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.windows.x.kde
Subject: Re: why is there no cut/copy option???
Date: Mon, 18 Jun 2001 10:57:23 -0400

Michael Knight wrote:
> 
> John Beardmore <[EMAIL PROTECTED]> wrote in message 
>news:<[EMAIL PROTECTED]>...
> > In article <[EMAIL PROTECTED]>, David
> > <[EMAIL PROTECTED]> writes
> > >"Jeff D. Hamann" wrote:
> >
> > >> Why is there no cut/copy option in the GNOME terminal window? That's really
> > >> annoying since I want to build a script file using sql statements from MySQL

> If you have a two-button mouse, make sure you have 3-button emulation turned on
> under X-windows.
> 
> The middle button is activated by pressing both left and right at the same time.
> 
> Obviously this is annoying, and often results in you losing whatever you had
> highlighted when you goof trying to emulate the middle button.
> 
> If you are using a serial mouse, MEI/Microcenter has a nice 3-button
> opto-mechanical serial mouse for about $7 US.  I've been using those since 1992.
> 

For nearly a year, I have used a Logitech Optical Wheel mouse as a three
button mouse. It replaced a standard Microsoft wheel mouse and the only
setting change I made was to alter the acceleration slightly. It cost me
roughly $30 and I gather that there is even a cordless one available
now. The battery is supposed to last 6 months but I have not tried one
yet.

Incidentally, can you cut and paste between normal windows? The process
described seems to paste a copy without cutting.

Jim.

-- 
James V.  Silverton
Potomac, Maryland.

------------------------------

Reply-To: [EMAIL PROTECTED]
Subject: Re: Help with ipchains and ip forwarding
From: [EMAIL PROTECTED] (Steffen Kluge)
Date: Mon, 18 Jun 2001 15:22:23 GMT

In article <3b2dbdb3$0$[EMAIL PROTECTED]>,
Nick Stabler <[EMAIL PROTECTED]> wrote:
>I will be running another internal linux machine (192.168 .x.x) which will
>provide webserving to the internal network and the rest of the internet.  I
>am wondering if it is possible using ipchains to forward requests for port
>80 on my gateway from the outside world to the internal machine (say at
>192.168.0.4 port 80).  If this can be done with ipchains please let me know,

Here is how it works (using a 2.2.x kernel):

1. build support for IP "masquerading" and "ipportfw masq" into
   the kernel (modules or fixed - doesn't matter)
2. get, build and install the ipmasqadm utility
3. append something like this to your fw startup script:
   ipchains -A input -p tcp -y -i <ext_intf> -s 0.0.0.0/0 \
            -d <ext_ip> --dport 80 -j ACCEPT
   (this goes before the final "deny any" rule, of course), and:
   ipmasqadm portfw -a -P tcp -L <ext_ip> 80 -R <webserver_ip> 80

Cheers
Steffen.


------------------------------

From: [EMAIL PROTECTED] (Barry R Piendl)
Crossposted-To: alt.os.linux,alt.video.dvd
Subject: Re: Upgrade for DVDs?
Date: 18 Jun 2001 15:04:37 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
>
>Hi,
>
>I have a 2 year old computer at home and I'm thinking of getting DVD-ROM for 
it. 
>I wonder if I also need to have it upgraded to make it play DVDs and same 
>quality mpegs without quirks?

Most of the responses I've seen have dealt with the video decoding. Don't 
forget that DVD's have (for today's world) an ungodly transfer rate. A friend 
of mine purchased an IDE DVD-ROM drive and he told me not go with an IDE drive. 
The bandwidth is too narrow. He bought another drive, but I don't remember what 
he bought. I think he went with a SCSI.

Perhaps some of the SCSI folks out there can provide some en;ightenment about 
data transfer rates with SCSI vs IDE.


------------------------------

From: David Liana <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,alt.os.linux.mandrake,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrading glibc
Date: Mon, 18 Jun 2001 11:28:54 -0400
Reply-To: [EMAIL PROTECTED]

I mean if i have the source, and I want to compile and and install it

------------------------------

From: Doug Poulin <[EMAIL PROTECTED]>
Subject: Linux with Autoloader DDS 
Date: Mon, 18 Jun 2001 15:33:55 GMT

Hi.

I have an Autoloader Tape drive that I want to use for backups on the
linux box.  Since it has 8 tapes, is there a way to assign each tape a
separate /dev/st*?  Right now, I go to the unit and manually hit the
selct button until I get to the right tape, then use taper to put it on
st0.
Any ideas?

Thanks!

--

------------------------------

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: HELP: restore linux from  backup
Reply-To: [EMAIL PROTECTED]
Date: Mon, 18 Jun 2001 15:40:09 GMT

On Sun, 17 Jun 2001 10:28:35 -0700, Lupei Zhu <[EMAIL PROTECTED]> wrote:

>  I need to repartition my disk (a pentium running RH7.0) so I backed up
>the /boot and / filesystem using "dump",  shut linux down and reboot it
>with the RH7.0 CD. I chose "linux rescue" and the PC was booted into
>single user mode. To my surprise, I don't find my disks and tape drivers
>(no /dev/hda, /dev/st0, etc). Even more surprise, there is no "restore"
>command available. Are there steps that I need to do to get them? How
>people do dump/restore usually in Linux (I just switched from Sun
>Solaris to Linux)?

Your problem is a common one, among RedHat users.  You are right:
RedHat 'rescue' mode lacks the device files, the dump/restore
commands, and tape drivers (eg, scsi tape driver 'st.o') to restore a
system from backup.

I have answered this question a couple times in the last 6 months, so
you might check deja-news (now Google I guess) for the details.
But basically:

- You can recreate the missing device files while booted into 'rescue'
mode, using the 'mknod' command.  But you must get the correct values
from a fully running system.
- You can save a copy of the 'restore' program ahead of time.  Install
the statically linked (important!) version of the dump package (which
includes restore) and then save the restore program to a floppy or
something (I would tar it).  OR you use 'tar' instead of 'dump' for
your backups, because 'tar' is available in 'rescue' mode.
- As for the scsi-tape driver (st.o), in RedHat 6.2 you are out of
luck.  I had to install the RedHat 6.2 kernel sources, find the
'rescue' kernel config file, modify it to include scsi-tape as a
module, recompile, then save the st.o file off to a floppy.  Maybe
RedHat has fixed this in later versions (ie, included the st.o driver
on the CD).

The bigger lesson here is: Always test your backup/restore mechanism
before you need it.

-Lee Allen

------------------------------

From: serafim <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,alt.os.linux.mandrake,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrading glibc
Date: Mon, 18 Jun 2001 17:42:43 +0200
Reply-To: [EMAIL PROTECTED]

David Liana wrote:
> 
> I mean if i have the source, and I want to compile and and install it
Unpack the source, find the documentation and read it.
Mostly it get down to:
1. Unpack the source, lets say it gets into directory glibc2.2.3
2. cd glibc2.2.3
3. ./configure
4. if configure is successful continue with
   make
5. if make is successful continue with
   make install

But then remeber that rpm has no clue about your upgrade
(as far as I have understood).

/Serafim

------------------------------

From: [EMAIL PROTECTED] (phil hunt)
Crossposted-To: 
comp.os.ms-windows.apps.misc,gnu.misc.discuss,comp.os.ms-windows.programmer.misc
Subject: Re: Opening tgz files in MS Windows
Date: Mon, 18 Jun 2001 12:52:13 +0100

On Sun, 17 Jun 2001 20:32:22 -0400, Austin Ziegler <[EMAIL PROTECTED]> wrote:
>On Sun, 17 Jun 2001, phil hunt wrote:
>> I maintain a website which includes some open source software 
>> I have written; the packages are downloadable as gzipped tarballs,
>> which were created using 
>> 
>>    tar czvf
>> 
>> (Using GNU tar). These packages are all valid AFAICT, because I
>> can download them from the website
>> 
>> (see  <http://www.vision25.demon.co.uk/oss/oss.html>)
>> 
>> wih no problem, and untar them with ``tar xzvf''.
>> 
>> However, some people have recently emailed me, saying they can't
>> unpack thmr on their windows machines. I tried this, using Windows98
>> Netscape, and WinZip, and I couldn't unpack them either.
>> 
>> I was under the impression that WinZip could deal with .tgz
>> and .tar.gz files (same file format, different extension)? Is
>> this not the case? Or is there some subtle problem with GNU tar?
>> 
>> Do I need to save the packages as .zip archives, for Windows
>> users to be able to unpack them?
>
>Most people don't have the tools to deal with .tgz files on Windows.
>Anyone running Windows Commander does, as does anyone with the Cygnus
>tools.

What about .zip files? Does Windows come with built in support for them?

And what about Macs? Do they handle .zip and .tgz OK? (My understanding
is that macs have their own zipping format which no-one else uses)

-- 
##  Philip Hunt                   ##
##  [EMAIL PROTECTED]  ##




------------------------------

From: [EMAIL PROTECTED] (phil hunt)
Subject: Re: Pan newsreader program - can't post
Date: Mon, 18 Jun 2001 13:13:38 +0100

On Mon, 18 Jun 2001 06:10:07 +0100, Dave Stanton <[EMAIL PROTECTED]> wrote:
>
>I use Kmail, just delete the name mutt and insert kmail instead. Then
>when you reply by email it will call up kmail. Postings to ng are done
>via smtp

I doubt it very much.

Emails are sent by smtp; news posts by nntp.

-- 
##  Philip Hunt                   ##
##  [EMAIL PROTECTED]  ##




------------------------------

From: [EMAIL PROTECTED] (phil hunt)
Subject: Re: Which Linux distribution should I better install ?
Date: Mon, 18 Jun 2001 13:15:22 +0100

On Mon, 18 Jun 2001 09:00:21 +1000, Stanislaw Flatto <[EMAIL PROTECTED]> wrote:
>Welcome back!
>From what you describe you need a distro which pays attention to proper
>inclusion of compilers AND supporting libraries.
>You are not afraid of command line prompt.
>So go for it.
>Slackware, Debian, Suse have reputation of good quality control.

I'm a SuSE user and i would dispute this.

SuSE six point four shipped with the entire man page system not 
working.


-- 
##  Philip Hunt                   ##
##  [EMAIL PROTECTED]  ##




------------------------------

From: [EMAIL PROTECTED] (phil hunt)
Subject: Re: Opening tgz files in MS Windows
Date: Mon, 18 Jun 2001 13:17:26 +0100

On Mon, 18 Jun 2001 07:30:05 -0000, tomtacks <[EMAIL PROTECTED]> wrote:
>
>phil hunt wrote:
>> Could you do me a favour please and have a look at:
>> 
>> http://www.vision25.demon.co.uk/oss/parrot/parrot-0.2.6.tgz
>> 
>> and:
>> 
>> http://www.vision25.demon.co.uk/oss/stes/stes-0.1.tgz
>> 
>> Can you unpack these correctly?
>> 
>> [...]
>
>
>Yup. Ive tried unpacking those files using winzip in WinNT but when using 
>winzip in Win98/95, it doesnt unpack.. I dont know why?

Are you saying they work in NT but not in 95/98? Wierd.

-- 
##  Philip Hunt                   ##
##  [EMAIL PROTECTED]  ##




------------------------------

Subject: upgrade questions
From: Allan Adler <[EMAIL PROTECTED]>
Date: 18 Jun 2001 12:02:33 -0400


I'm running a Redhat distribution of Linux kernel 2.0.34 on a PC with
a 586 cpu. The linux partition holds about 2.7 GB, of which about
1.1 GB is free. I'd like to upgrade to a recent RedHat distribution
of Linux kernel 2.4  and I have some questions.

I don't have a CD ROM and when I get one I would like to get a CDRW,
which I couldn't use with the present linux kernel anyway. So I'm planning
to download all the sources for the upgrade. I will be conducting the upgrade
while running the current Linux.

Question: Is 1.1 GB enough free space to download the sources to and also
          install the new Linux?

Assuming the answer it not an unequivocal "yes", then I'm thinking I
should obtain another disk drive, maybe 30 GB, then install the new
linux on it and then make the new drive the main disk drive, carrying
the / partition for the system. The Linux installation HOWTO says how
to install from DOS but I'm not sure how to proceed when installing from
another Linux.

If there is a document that says exactly how to do this, can someone
please point me to it? Thanks.

Allan Adler
[EMAIL PROTECTED]

****************************************************************************
*                                                                          *
*  Disclaimer: I am a guest and *not* a member of the MIT Artificial       *
*              Intelligence Lab. My actions and comments do not reflect    *
*              in any way on MIT. Morever, I am nowhere near the Boston    *
*              metropolitan area.                                          *
*                                                                          *
****************************************************************************

------------------------------

From: [EMAIL PROTECTED] (Jan Schaumann)
Crossposted-To: 
comp.os.ms-windows.apps.misc,gnu.misc.discuss,comp.os.ms-windows.programmer.misc
Subject: Re: Opening tgz files in MS Windows
Date: Mon, 18 Jun 2001 16:04:37 -0000

* phil hunt wrote:

>  What about .zip files? Does Windows come with built in support for them?

I'd say that Windows comes without "built in" support for .zip's just as
Linux (or any unix) comes without "built in" support for tar's.  You need
a tool to deal with these files.

WinZip seems to be the standard app in Winworld, and AFAIK, some versions
of WinZip deal with tar.gz's as well as with Macintosh's bin-hexed
whatchamacallits.

But then again, I don't know jack about Windows and it's tools.

>  And what about Macs? Do they handle .zip and .tgz OK? (My understanding
>  is that macs have their own zipping format which no-one else uses)

Again, there are tools to deal with archieves.  I believe that Aladdin's
Stuffit Expander (which seems to be rather common in MacWorld) can deal
with zip's and tar.gz's.

Archieves created on a Mac are commonly "stuffed", IIRC, and there are
several unix-tools available that deal with these files.

-Jan

P.S.: X-Post trimmed -> fup2 comam and colm

-- 
Jan Schaumann <http://www.netmeister.org>
begin  OESUX.txt.vbs
This is not an attachment.
end

------------------------------


** 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
******************************

Reply via email to