Linux-Misc Digest #101, Volume #26 Sat, 21 Oct 00 23:13:03 EDT
Contents:
accidentally changed permissions of /var - *nothing* works! (Jonathan C Busey)
Re: Server crashing (Erik de Castro Lopo)
Re: newbie question on minicom? ([EMAIL PROTECTED])
Re: very spooky (Tijmen Stam)
Re: i/o card problem (Grant Edwards)
Re: End-User Alternative to Windows (Andy Newman)
Re: End-User Alternative to Windows (Grant Edwards)
Running Windows under Linux ! (Ferar Achkar)
Re: Star office accesses my hard drive every few seconds!? (Bruce)
Re: Running Windows under Linux ! (jeff)
Re: Running Windows under Linux ! ([EMAIL PROTECTED])
Re: mv multiple files w/wildcard ("Les Mikesell")
Re: Running Windows under Linux ! (Rod Smith)
Re: mv multiple files w/wildcard (Dances With Crows)
Re: Linux firewall software question (Dances With Crows)
ISP advice sought, lansing.mi.us (Dances With Crows)
----------------------------------------------------------------------------
From: Jonathan C Busey <[EMAIL PROTECTED]>
Subject: accidentally changed permissions of /var - *nothing* works!
Date: 21 Oct 2000 17:55:47 -0400
I ran chmod -R 755 . from the wrong xterm (as root, naturally) and
screwed up:
man pages
lpd/lprng (I've reinstalled both but can't get either to work anymore)
exim/procmail
probably syslogd, but haven't seen signs of it yet.
I'm running debian, so, after comparing permissions to match my laptop
(which didn't work), I just purged and reinstalled the following:
lprng, magicfilter, exim, anacron, at, biff, cron, logrotate,
metamail, procmail and procmail-lib, mailx, nmh.
I thought that would fix everything, since /var was just about empty,
but when fetchmail tried to place things in my spool/mail directory,
it failed.
I got man to work by changing /var/cache to 755 and g+s on cache/man,
but opening my in with mh-e still says either:
inc: unable to lock and fopen /var/spool/mail/busey
with permissions of /var/spool/mail/busey 660 (busey.mail owner/group)
or I can read the messages but not delete them with unsafe
permissions.
What should I change things to?
I'm ready to repurge everything, set /var as it should be, then
reinstall packages if necessary.
Any help or directions of where to look further would be appreciated!
Jon
--
------------------------------
From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: Server crashing
Date: Sat, 21 Oct 2000 22:16:15 +0000
Luiz Silva wrote:
>
> Edvard Fagerholm <[EMAIL PROTECTED]> wrote:
>
> >I've got 3 NICs in it all eepro100s (it's doing masquarading for two
> >networks).
> >
> >For example, I can't upload more than about 20mb at once. As that
> >computer is running samba and I've got my files there, this kinda sucks,
> >and it crashes daily (sometimes it crashes while listening to my mp3s
> >which are located on a samba share). I'm also hosting my homepage on it
> >and sometimes it crashes while someone with enough bandwidth is
> looking
> >at it.
>
> take a look at eepro100.c under the kernel source for a variable
> called max_interrupt_work, it defaults to 20, put 60 and see if
> the server crash continue.
Also look at the BIOS interrupt settings and try swapping between
level triggered and edge triggered interrupts.
Erik
--
+-------------------------------------------------+
Erik de Castro Lopo [EMAIL PROTECTED]
+-------------------------------------------------+
J. Headley: "God, root, what is difference ?"
G. Haverland: "God can change the byte order on the CPU, root can't."
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: newbie question on minicom?
Date: 21 Oct 2000 18:23:41 -0400
Davis Eric <[EMAIL PROTECTED]> wrote:
> 2. If I just establish the telnet connection with my server, I can not
> ftp files. I tried the "Send file" and "Receive file" in minicom, but I
> can not either send or download. And more, what are the meanings for
> the "xmodem, ymodem, zmodem, kermit, ascii" in minicom on this aspect?
Minicom cannot send or receive files. It can, however, run a separate
programme to send and receive files. Such as "sz" (send z-modem) or
"rz" (receive z-modem) (which are also used with some switches for x and y
modem transfers) or "kermit" (if you have that). It should be able to
send, not an ascii file, but ascii text from a file (taking the data and
typing it into the terminal for you).
Check the configuration (alt-o) and file_transfer protocols. Also check
the man pages on sz. You will have to edit the commands to reflect where
you have your versions of the programmes installed and perhaps change the
directories where they are saved (alt-o and the filnames and paths item).
Does your ISP offer you a dialup terminal account (not telnet - but a real
terminal emulation dialin)? If so, that is what minicom is best for.
------------------------------
From: Tijmen Stam <[EMAIL PROTECTED]>
Subject: Re: very spooky
Date: Sun, 22 Oct 2000 00:41:22 +0200
This is a multi-part message in MIME format.
==============45803E8F068A176FED4A3955
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
observer wrote:
> Tonight I was (as I often am) staring at the command prompt
>
> [*root*] $
>
> when suddenly the following appeared
>
> [*root*] $ hdd: ATAPI 48X CD-ROM drive, 128kB Cache.
>
> as if from nowhere!
>
> This happens to be a correct description of my CD-ROM drive
> (which does not happen to be mounted at the moment) but I did
> not type it in.
>
> After investigating, I notice that this mysterious text is the same as
> the last line I get if I execute dmesg.
>
> Would anyone care to venture a guess as to why this is happening?
>
> Very spooky.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
I get the same message + hdb (= my cdrom) irq timeout + resetting ide(don't
know exact layout) sometimes lately when ripping cd's. The problem is,
ripping always worked fine. It isn't connected with scratched cd's either,
when I run cdscratchcheck (on windows), it happens also to cd's with a
scratch value of 45 (wich is very good, most new cd's have about 50-200,
old ones sometimes over 2000).
It doesn't look like an bandwith problem either, nothing else is using ide
too much, and it's a 32x cdrom drive, but I don't think it's broken yet.
What could cause it?
--
>From Tijmen Stam - "I believe in Linux" - [EMAIL PROTECTED]
POVray page http://members.tripod.lycos.nl/somepage/ Last update: 2000-10-15
count linux @ counter.li.org reg#178552, Machine#78930 & #78931
==============45803E8F068A176FED4A3955
Content-Type: text/x-vcard; charset=us-ascii;
name="tijmen.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Tijmen Stam
Content-Disposition: attachment;
filename="tijmen.vcf"
begin:vcard
n:Stam;Tijmen
tel;fax:++31 (0)50 5425400
tel;home:++31 (0)50 5415448
x-mozilla-html:TRUE
url:http://members.tripod.lycos.nl/somepage/
org:Me, Organized? You've got to be kidding!;Chaos Storage Facility #666
adr:;;Middelberterweg 48;Groningen;Groningen;9723 EW;The Netherlands
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-13600
fn:Tijmen Stam
end:vcard
==============45803E8F068A176FED4A3955==
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: i/o card problem
Date: Sat, 21 Oct 2000 22:30:19 GMT
In article <8ss0nf$mf4$[EMAIL PROTECTED]>, greg paynter wrote:
>Hello, I have a 24 line I/O card that i have had sucessfull
>working under dos for a while now, I am tyring to get it to
>work on linux so as i can access it via the web eventually or
>at least telnet to it!
>
>I have included a simple test script for a gcc library but i
>cant get it to talk to the card, does anyone have any ideas???
One thing to remember: you have to compile with optimization
enabled for the inb/outb functions to work.
If you haven't read it already, check out the
IO-Port-Programming mini-HOWTO.
--
Grant Edwards grante Yow! Wow! Look!! A stray
at meatball!! Let's interview
visi.com it!
------------------------------
From: [EMAIL PROTECTED] (Andy Newman)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Reply-To: [EMAIL PROTECTED]
Date: Sat, 21 Oct 2000 22:42:54 GMT
Colin R. Day wrote:
>Of course, trying to run UNIX on such computers as were used for
>XENIX would be like trying to drive a Lamborghini in rush-hour
>traffic.
I used SCO Xenix on a PDP-11. Seemed fine. As fast a V7 on
similar h/w.
--
Oi! Oi! Oi!
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Sat, 21 Oct 2000 22:57:56 GMT
In article <[EMAIL PROTECTED]>, Colin R. Day wrote:
>> Microsoft offered a Unix, XENIX, and users stuck to DOS despite Microsoft's
>> advocacy for XENIX.
>
>Of course, trying to run UNIX on such computers as were used for
>XENIX would be like trying to drive a Lamborghini in rush-hour
>traffic.
Eh? XENIX _was_ Unix. It was Microsoft's version of AT&T
System 3 wasn't it?
--
Grant Edwards grante Yow! Is this my STOP??
at
visi.com
------------------------------
From: Ferar Achkar <[EMAIL PROTECTED]>
Subject: Running Windows under Linux !
Date: Sat, 21 Oct 2000 23:30:05 -0000
Can I run win98 like an appilication under the running Linux ...
if I can, do I need a third party program as emulation, or I just need to
do some
configuration of my Linux core Mandrake 2.2.5 (linux 7.1 helium)...
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Bruce)
Subject: Re: Star office accesses my hard drive every few seconds!?
Date: Sat, 21 Oct 2000 23:41:25 GMT
This happens to me too. I have 48 meg of ram and a 133 mhz pentium. Not much
of a machine huh?
SO does seem to use a lot of memory.
In article <8siqja$ktm$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Anyone know what causes Star Office to access my hard drive every
>few seconds and how to make it stop that?
>
>The older Star Office doesn't do this but now that I have a newer
>version it's acting up with this.
>
>Thanks,
>
>-Tony
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: [EMAIL PROTECTED] (jeff)
Subject: Re: Running Windows under Linux !
Date: 22 Oct 2000 00:07:28 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 21 Oct 2000 23:30:05 -0000, Ferar Achkar <[EMAIL PROTECTED]> wrote:
> Can I run win98 like an appilication under the running Linux ...
> if I can, do I need a third party program as emulation, or I just need to
> do some
> configuration of my Linux core Mandrake 2.2.5 (linux 7.1 helium)...
Sounds like you want VMware... http://www.vmware.com/.
-jeff
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Running Windows under Linux !
Date: Sun, 22 Oct 2000 01:05:50 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Sounds like you want VMware... http://www.vmware.com/.
I use vmware and really love it. It's a bit heavy on resources though,
I'm much happier with 256M of RAM than I was with 128M, my 450MHz K6 is
enough, but I don't even consider running it on my other machines, which
vary between a 120MHz Gateway Laptop with 48M of RAM on the slow end,
and and a 233 MHz Pentium desktop with 64M of RAM, second fastest to my
K6.
I've been reading good things about a program called win4lin, and am
consdering it for the slower machines when I get the time to play with
it.
The URL is:
http://www.netraverse.com/index.php
They have a free evaluation version, and their prices are very good,
assuming you're willing to use proprietary software at any price, that
is... :-)
--
Jim Buchanan [EMAIL PROTECTED] [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"Cthulhu -When you're tired of picking the _lesser_ of two evils."
========================================================================
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Les Mikesell" <[EMAIL PROTECTED]>
Subject: Re: mv multiple files w/wildcard
Date: Sun, 22 Oct 2000 01:58:32 GMT
"Lance Hoffmeyer" <[EMAIL PROTECTED]> wrote in message
news:8ssu5i$lu7$[EMAIL PROTECTED]...
> I have a number of subdirectories where I have files with - such as
> name - title.txt and I wish to convert them to:
> name: title.txt
>
> In bash I tried:
>
> for i in *-*;do mv $i `echo $i | sed -e 's/ - /:/'`'done
>
> but this gives me an error about moving multiple files and needing a
> directory
If you have spaces in the filename the shell is going to interpret
the parts as separate pieces unless you wrap quotes around them.
> I also tried on e-line perl script
>
> perl -we '($new=$_) =~tr/\s-\s/:\s/ && rename _$,$new'
>
> but I get uninitialized value errors. Any help on either of these
> methods to
> rename files would be appreciated.
For anything moderately complicated that won't be repeated often
I usually read the initial filename list into vi (:r !ls pattern),
then use substitutions to turn it into the needed shell commands,
then :w !sh (pipe buffer through shell).
> Also, how would I use these for
> multiple subdirectories at once
The shell will happily process things like */*/pattern.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Running Windows under Linux !
Date: Sun, 22 Oct 2000 02:45:11 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Ferar Achkar <[EMAIL PROTECTED]> writes:
> Can I run win98 like an appilication under the running Linux ...
> if I can, do I need a third party program as emulation, or I just need to
> do some
> configuration of my Linux core Mandrake 2.2.5 (linux 7.1 helium)...
I know of four packages that may do what you want:
- VMware (http://www.vmware.com)
- Win4Lin (http://www.netraverse.com/index.php)
- WINE (http://www.winehq.com)
- Willows TWIN (http://www.willows.com)
The first two are essentially machine emulators. You install Windows 9x
in the emulator and run it, allowing you to run most programs that run
in the native environment. Of the two, VMware does a more complete
machine emulation (you can run Linux, FreeBSD, Windows NT/2000, and
perhaps other OSs as well as Windows 9x and DOS), but is slower; Win4Lin
only allows you to run Win9x, but is much snappier in its emulation. The
two also differ in various other ways. Both are commercial packages
(Win4Lin is cheaper).
The second two re-implement the Windows API, so they don't let you run
Windows per se, but they do let you run Windows programs. Neither is
anywhere near complete, although a handful of useful programs run in
each. I occasionally try my collection of semi-important Windows
programs in WINE, and it usually runs about 5% of them well enough to be
useful. Each time, it comes closer to running at least some of the
remaining 95%, but it's rather like Zeno's Paradox -- the emulation
keeps getting 1/2 the way between the prior state and completion, but
it's never ALL the way there. I've not tried TWIN, so I don't know how
good it is from firsthand experience. WINE is open source, and I believe
TWIN is, too, although TWIN has corporate sponsorship.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: mv multiple files w/wildcard
Date: 22 Oct 2000 02:53:07 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 21 Oct 2000 20:26:30 GMT, Lance Hoffmeyer wrote:
>I have a number of subdirectories where I have files with - such as
>name - title.txt and I wish to convert them to:
>name: title.txt
>
>for i in *-*;do mv $i `echo $i | sed -e 's/ - /:/'`'done
>
>but this gives me an error about moving multiple files and needing a
>directory
Yep. You see, when you step through that command, what the shell is
trying to execute is this:
mv my - file my: file
which will not work; you want
mv "my - file" "my: file"
and the solution should be obvious from there.
( for i in *-* ; do
$j=`echo $i | sed -e 's/ - /:/' `
mv "$i" "$j"
done
)
>Also, how would I use these for multiple subdirectories at once?
TMTOWTDI, naturally. Put that command above into a script or a shell
function named "FOO", then do:
for i in LIST_OF_SUBDIRS ; do
cd $i
FOO
cd ..
done
Or you can use bash's argument variables $1 through $9; that way you can
pass the script parameters on the command line, cd to each directory in
turn, and run the echo/sed/mv thing inside of each directory. For bonus
points, figure out a way to make it recurse through a bunch of
directories. (use [] and -d!) Welcome to the nifty world of shell
programming.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux firewall software question
Date: 22 Oct 2000 02:53:08 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 21 Oct 2000 17:54:04 GMT, mike wrote:
>
>Is there good firewall software for Linux that will also block Netscape
>pop-ups (like when you load somebody's page and some idiotic pop-up comes
>onto your screen)?
That is not really a firewall matter. All the traffic necessary for
generating a pop-up can take place over port 80, and if you block port
80, you are going to have some very unhappy users. I suppose you could
set up the Squid proxy server and have it search through all HTTP
traffic for the Javascript commands that pop up additional windows and
silently terminate them with extreme prejudice. Your call, but the
easiest way to fix this is most likely to disable Javascript within
Netscape.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: ISP advice sought, lansing.mi.us
Date: 22 Oct 2000 02:53:09 GMT
Reply-To: [EMAIL PROTECTED]
It appears as if I'm stuck without DSL/cablemodem access for at least 2
months, so I'd appreciate advice on a reasonable dial-up ISP in the
Lansing, MI, USA area.
I was looking at http://voyager.net ; they seem to have something
reasonable going on. Buried in the Tech Support section of their page
are DNS numbers, confirmation that they use PAP for authentication,
and info on POP3 and SMTP access. Everything I can see from there
makes me think that their service would work just fine with Linux.
Heck, I would've signed up with them on Friday, but they don't take AmEx
and my Visa card is currently lost in the depths of bureaucracy.[0]
Anyway, if anyone has concrete info on whether this ISP will perform
with Linux (or suggestions for a better one in the Lansing area!), I'd
appreciate it. Please post to the NG; I can use slrnpull to check it
from my job without the boss getting too upset....
[0] An ATM ate it as I was moving house. Never attempt to change your
address and get a new credit card at the same time! It seems to set off
all the "fishy" detectors at big financial institutions.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
** 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
******************************