Linux-Misc Digest #969, Volume #26 Tue, 30 Jan 01 09:13:02 EST
Contents:
Re: PPP dial spontaneously in middle of night? (Christopher Albert)
Tar to Tape Above Capacity (Bill Buchan)
email to program ("Ken Hu")
Re: PCI bus access (David Florez)
Re: win98se -> ICS -> Redhat 6.2 (Stanislaw Flatto)
Re: language (Jean-David Beyer)
Re: Looking for Math Software (Erik de Castro Lopo)
Re: How to set KDE as default ? ("S. Joel Bernstein")
Re: System.map - kernel compilation ("Peter T. Breuer")
Re: Kernel's HARD reset (Kasper Dupont)
Re: Java Servlet installation ("S. Joel Bernstein")
Slow Disk Check for Large Drives ([EMAIL PROTECTED])
Password Problems (Mark Penkower)
Looking for email client ([EMAIL PROTECTED])
Re: PCI bus access (Grant Edwards)
Re: MS to Enforce Registration - or Else (Nick Condon)
Re: MS to Enforce Registration - or Else (Nick Condon)
Re: Slow Disk Check for Large Drives (Kenneth Mokkelbost)
Re: System.map - kernel compilation (Stamatis Stefanakos)
Compaq Presario 1800 kernel 2.4 config (Stamatis Stefanakos)
Re: Password Problems (Kenneth Mokkelbost)
Re: Slow Disk Check for Large Drives (Jean-David Beyer)
I wish to RTFM, but where is TFM I need? (Jean-David Beyer)
----------------------------------------------------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,linux.redhat.ppp
Subject: Re: PPP dial spontaneously in middle of night?
Date: Tue, 30 Jan 2001 11:26:07 +0100
John Broadhead wrote:
> The other night I was reading in the other room and suddenly I heard my
> Redhat 7.0 box dial. (I have "demand" in the ppp options file). No one
> was logged into the computer, and none of the computers for which the
> Linux box runs IP Masqerading were turned on. In other words, no
> programs any person wsa suing could have caused it to dial. I ran over
> to run netstat, and there was a single https connection to an IP that
> resolved to some long redhat.com name. What program made this
> connection?
>
> I thought it might be rhnsd, but I can't remember why I thought that. I
> turned it off with ntsysv and stopped it. Since then I haven't heard the
> computer spontaneously dial again, but I'd like to know why the computer
> was making https connections to redhat. Also, what is rhnsd?
>
> -John
John,
Here's a little blurb
This is a daemon which handles the task of connecting
periodically to the Red Hat Network servers to check
for updates, notifications and perform system
monitoring tasks according to the service level that this server
is subscribed for
and if you do a rhnsd --help , or look at the init scripts for this daemon
you'll see that it is designed to
make such connections.
Chris
------------------------------
From: Bill Buchan <[EMAIL PROTECTED]>
Subject: Tar to Tape Above Capacity
Date: Tue, 30 Jan 2001 10:17:12 GMT
Hi,
I've inherited a machine running Suse6.4 Linux which has a DDS4(20/40Gb)
tape drive attached.
There is a cron job already on this machine which writes a tar archive
to tape of every file (tar -cvf /u01 /u02 /u03 /u04).
It then verifies the tar archive (tar -tvf /dev/rmt0).
However the total amount it writes is about 58Gb which is way above the
maximum capacity of the tape. The log files for writing and verifying
the tape contain the same list of files, and if you sum up the number of
bytes of all the files in the verification log you get 58Gb.
How can this be?
Thanks
- Bill.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Ken Hu" <[EMAIL PROTECTED]>
Subject: email to program
Date: Tue, 30 Jan 2001 18:40:04 +0800
Dear All :
My platform is RedHat 6.1 .
I am trying to write a perl code that can receive informations from
email and then do something
for me.
In /etc/aliases , I add an entry like :
domyjob: "|/myDir/myCode.pl"
And then , execute "ewaliases".
I've change the shell setting in sendmail.cf from "smrsh" to "/bin/sh"
.
When I try to send a mail to [EMAIL PROTECTED] , I get an error message
back to me that said :
----- The following addresses had permanent fatal errors -----
"|/myDir/myCode.pl"
(expanded from: <[EMAIL PROTECTED]>)
----- Transcript of session follows -----
/bin/sh: /myDir/myCode.pl: No such file or directory
554 "/myDir/myCode.pl"... unknown mailer error 126
Does anyone know where I go wrong here?
I'm sure that file does exist , and I set its property to "everyong
executable".
Please give me some hints to resolve this problem , thanks a lot !!
Ken
------------------------------
From: David Florez <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: PCI bus access
Date: Tue, 30 Jan 2001 10:20:22 +0100
Arne,
I searched the web after reading your post and found this:
http://kernelnewbies.org/code/mmap/
The concept seems to be what I'm looking for but I've got a doubt:
I believe that when you map a file into user space by using mmap() the
kernel thinks it's a real file and therefore uses cache pages to do that
mapping. What if what you are really mapping is the PCI bus with lots of
changing hardware registers? How can I get rid of any caching at all?
Thanks to all.
David.
Arne Driescher wrote:
>
> David Florez wrote:
> >
> > Hi All,
> > Does anybody know if there is a way of mapping
> > the physical PCI bus addresses into user memory
> > space (being user root if needed)?
> >
> > I need to write an application that will be
> > accessing the PCI bus VERY often. The only thing
> > I can think of is adding a module to the kernel
> > (device driver) that maps the PCI bus to kernel
> > linear space ( by calling ioremap() ) and
> > therefore the user app would have to issue a
> > system call to request a PCI bus data transaction
> > to the device driver. The idea would be finding a
> > way of getting rid of these overkilling system
> > calls.
> The trick is called mmap. This means you have to write
> a device driver (module) that implements the mmap system call.
> Basically it works like:
> 1) The user uses address=mmap(FileHandle,some parameter ..) to
> get an address where the mem is mapped.
> 2) The request is routed to your driver and used to setup
> some memory mapping.
>
> Good luck,
>
> Arne
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: win98se -> ICS -> Redhat 6.2
Date: Tue, 30 Jan 2001 22:19:12 +1100
"Sol ...................................." wrote:
> I am trying to setup internet connection sharing through a windows
> machine. has anyone set one up and if so .. what settings do you use in
> your hosts and configs?
After few tries with Wingate and other Windows related modem sharing
programs administered ip-masquerading on Linux box
and everybody happy. The MS-Glassware users point to this box as gateway.
Stanislaw.
Slack user from Ulladulla.
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: language
Date: Tue, 30 Jan 2001 06:15:17 -0500
cth wrote:
>
> I have Redhat linux 7, Is there anyway to encoding to a different language
> when sufing the web using netscape?
> Thanks
>
Do you not do that in Netscape itself? I.e., in
Edit->Preferences->Languages ?
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:10am up 1 day, 14:40, 3 users, load average: 2.14, 2.11, 2.09
------------------------------
From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: Looking for Math Software
Date: Tue, 30 Jan 2001 11:42:45 GMT
Dirk Groeneveld wrote:
>
> Mathster wrote:
> > Along with Mathematica if you want to shell out $1500 USD
> > On Mon, 29 Jan 2001 02:45:29 GMT, "G Pollack"
> > <[EMAIL PROTECTED]> wrote:
> > >In article <952jjd$ovf$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> > >> Just to let you know, both Matlab and Maple are available for Linux.
> > >So are Scilab and Octave, and they're both free.
>
> I can't believe it. 7 valid answers and no one has mentioned mupad.
>
> Looks like there's a buttload of things to choose from ;-)
Well the original pillock^H^H^H^H^H^H^H^H poster posted the same
question to a number of groups and I suggested MuPad in a reply
to one of those other posts :-).
Erik
--
+----------------------------------------------------------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes its valid)
+----------------------------------------------------------+
The difference between a violin and a viola is that a viola
burns longer.
------------------------------
From: "S. Joel Bernstein" <[EMAIL PROTECTED]>
Subject: Re: How to set KDE as default ?
Date: Tue, 30 Jan 2001 12:18:26 -0000
Just a thought... look in your X configs and startup files - look for
references to gdm, change to kdm =)
rather inelegant....
Joel
"Arctic Storm" <[EMAIL PROTECTED]> wrote in
message news:POkd6.163$[EMAIL PROTECTED]...
> > I have both GNOME & KDE.
> > GNOME is set as default for login, which is launched automatically at
> > boot. How do you set KDE as the default login?
>
> I have RedHat 7, and originally had GNOME, only. I installed KDE 2.0.1
> today, and I like it, but the default login is still GNOME. It give me an
> option to choose KDE, but I would like KDE as default.
>
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: System.map - kernel compilation
Date: Tue, 30 Jan 2001 12:25:49 GMT
Christopher Albert <[EMAIL PROTECTED]> wrote:
> Even though System.map is not necessary to boot, I wonder if if is prudent
> to omit
> copying the System.map of a new kernel to /boot. For one, most of the
It's perfec tly prudent. What do you suspect will happen if you don't?
(answer: nothing).
> the kenel found at the LDP suggest this, and most major distributions do
> this as well (for example,
> RH, Debian, Suse, Mandrake) . In addition, I thought that certain scripts
That's perfectly correct and organised of them. They must provide the
config and the symbol table for the kernel in order that you can know
what's in it and reproduce it or alter it or debug it. That's good
administrative practice.
> In your opinion, should one adopt this standard practice or not ?
You should worry about other things first! If you are compiling your
own kernel and have no intention of debugging it, the symbol table
(System.map) will do you exactly no good, and you can junk it.
Heck .. I DO debug my own kernels, and I junk the System.map file.
If there's any info there that's not in /proc/ksyms, I don't miss it
or else I make sure it gets put in /proc/ksyms.
Peter
------------------------------
From: Kasper Dupont <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Kernel's HARD reset
Date: Tue, 30 Jan 2001 13:20:49 +0100
bill davidsen wrote:
>
> In article <[EMAIL PROTECTED]>,
> David Vidal Rodriguez <[EMAIL PROTECTED]> wrote:
> | OK, I think I have it. The kernel option "reboot=warm" should do it,
> | shouldn't it?
>
> From memory this works on the next boot.
>
> | Is there a /proc-style solution for the same?
>
> Therefore by the time you're up it's too late.
>
> You can probably write a driver to diddle the bits in the memory which
> control this, although I notice that a number of old BIOSs (like yours?)
> don't honor this and boot cold every blessed time.
>
> --
> bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
> "I am lost. I am out looking for myself. If I should come back before I
> return, please ask me to wait." -seen in a doctor's office
There are more parameters to reboot:
warm - skip memory test
cold - perform memory test
bios - reboot by jumping to bios
hard - reboot using hardware.
The default under Linux is:
reboot=cold,hard
To do it most similar to rebooting under DOS you
should write:
reboot=warm,bios
But I think the hard option is supposed to work the
same as the reset button on the computer, but of
course broken hardware might exist somewhere.
--
Kasper Dupont
------------------------------
From: "S. Joel Bernstein" <[EMAIL PROTECTED]>
Subject: Re: Java Servlet installation
Date: Tue, 30 Jan 2001 12:33:16 -0000
look mate... whatever happens, its gotta be easier than Tomcat on NT4 :P
"Christopher Albert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Wael wrote:
>
> > Hi,
> > I am not sure whether this question should be posted to a java
> > newsgroup or a linux one..
> > may be both.
> > anyway, I downloaded the servlet package and installed it.
> > went exactly by the book (actually Sun's installation guide or
whatever),
> > but when I try to start the servlet by doing:
> > ./startup.sh
> > or
> > java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup
$*
> > I have the java compiler set in the path, so that's no problem.
> > When I try to run it, I get
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/tomcat/startup/Tomcat
> >
> > I tried to fix the problem by making a symbolic link in the
> > /usr/local/jakarta-tomcat-3.2.1/bin to point to:
> > ln -s /usr/local/jakarta-tomcat-3.2.1/src/org
> > but it didn't work
> > also i noticed according to the error, the command should probably be
> > java -cp runner.jar:servlet.jar:classes org.apache.tomcat.startup.Tomcat
> > instead of
> > java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup
$*
> >
> > am i correct?
> >
> > in any case i don't have 'runner.jar' on my system and 'servlet.jar'
> > is located in /usr/local/jakarta-tomcat-3.2.1/lib
> >
> > what should i do? what is messed up on my system?
> >
> > i running Slackware 7.1 with upgraded kernel 2.4.0
> >
> > Kindly post only
>
> Wael,
>
> Looks like you need to set the classpath, which is a comma separated list
of
> absolute
> path names to .jar or .zip files. For example to add the foo.jar located
in
> /usr/share/java
> to your existing classpath you would execute
>
> export CLASSPATH=$CLASSPATH:/usr/share/java/foo.jar
>
>
> I suggest you reread the Tomcat installation documents,
> and set the variable JAVA_HOME, TOMCAT_HOME, and CLASSPATH appropriately.
> There is no runner.jar. If you use the startup scripts provided in your
> tomcat distribution,
> and have set the correct environment variables, you should not need to
call
> java directly
> to invoke tomcat.
>
> Chris
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Slow Disk Check for Large Drives
Date: Tue, 30 Jan 2001 12:52:24 GMT
I'm leading up the development of a Linux-based product that requires
alot of storage space. The main problem that we are experiencing comes
when the system loses power unexpectedly and reboots. The following
disk check takes forever if the system has 3 or 4 60 Gb disks. We
really need to speed up this reboot process or we may be forced into
using Windows 2000 (which I loathe). Even with a UPS connected, we
have to take into account the fact that some people will just power the
thing on and off.
thanks in advance,
Bill
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Mark Penkower <[EMAIL PROTECTED]>
Subject: Password Problems
Date: Tue, 30 Jan 2001 13:05:42 GMT
I have done this before without any problems - now it dosen't work. I
copied the passwd file from the /etc directory from my old mail server
to a new mail server. I then ftp'd over the contents of
/var/spool/mail to the new machine. I then gave the correct file
ownerships to the files. When I try to retrieve the email, most of
the passwords don't work - Netscape gives me a bad password error.
> Also, If I try to change the passwords through linuxconf,(redhat linux
7) it does not let me - it just comes up with an error message saying
that the password has not changed.
Please help.
Mark Penkower
------------------------------
From: [EMAIL PROTECTED]
Subject: Looking for email client
Date: Tue, 30 Jan 2001 12:56:18 GMT
I'm looking for an email-client wich can selectively download messages,
and is able to show HTML. Anyone knows such a program?
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: PCI bus access
Date: Tue, 30 Jan 2001 13:13:05 GMT
In article <955ggk$7fa$[EMAIL PROTECTED]>, bjrosen wrote:
>Is there anyway to do this without a driver?
Not really.
>I'm trying to do the same
>thing for a hardware development diagnostic and I haven't been able to
>figure out which #includes and #defines are required to make ioremap
>work. I'm looking for the simplest way to get at PCI memory space.
Write a driver module. If all you want to do is implement
mmap() to allow user programs access to PCI memory space, it's
really pretty simple. The link below points to an example of
such a driver (I wrote it to enable user-mode diagnostic
programs to access a PCI prototype I was debugging).
ftp://ftp.visi.com/users/grante/stuff/demomm.tar.gz
Change the vendor/device IDs, tweak on the size of mapped
regions if they're not 4K, and Bob's your uncle.
--
Grant Edwards grante Yow! Now that I have my
at "APPLE," I comprehend COST
visi.com ACCOUNTING!!
------------------------------
From: [EMAIL PROTECTED] (Nick Condon)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 30 Jan 2001 13:16:56 GMT
[EMAIL PROTECTED] (Harlan Grove) wrote in <94si7f$7nq$[EMAIL PROTECTED]>:
>Absolutely true. It's how we define 'freedom'. For those in the US of
>Libertarian bent, Microsoft can do what it wants to within certain
>legal bounds (which it's overstepped, IMO).
Microsoft has a centrally planned, state granted, exclusive monopoly.
That's not very libertarian.
Americans are so busy watching and being suspicious of their government,
they've missed the big corporations sneaking up behind them, until it's too
late and there's nothing left to do but bite the pillow.
Europeans have the opposite problem.
------------------------------
From: [EMAIL PROTECTED] (Nick Condon)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 30 Jan 2001 13:12:46 GMT
[EMAIL PROTECTED] (Charlie Ebert:) wrote in
<[EMAIL PROTECTED]>:
>The main reason why just about all the software and high-technology
>items originate from the U.S. is we are free.
Yeah, those chains they slap on our wrists make it damn hard to use a
keyboard.
------------------------------
From: Kenneth Mokkelbost <[EMAIL PROTECTED]>
Subject: Re: Slow Disk Check for Large Drives
Date: 30 Jan 2001 14:21:46 +0100
[EMAIL PROTECTED] writes:
What you need is a journaling file system, like ReiserFS, JSF, or ... [fill
in your choice]. ReiserFS will be supported by Linux 2.4.1 AFAIK, but that
doesn't meen it's the best(?). I've only used ext2, so I have no idea which
one you should use. But journaling is the way you want to go.
Cheers,
Kenneth
> I'm leading up the development of a Linux-based product that requires
> alot of storage space. The main problem that we are experiencing comes
> when the system loses power unexpectedly and reboots. The following
> disk check takes forever if the system has 3 or 4 60 Gb disks. We
> really need to speed up this reboot process or we may be forced into
> using Windows 2000 (which I loathe). Even with a UPS connected, we
> have to take into account the fact that some people will just power the
> thing on and off.
>
> thanks in advance,
> Bill
>
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
Date: Tue, 30 Jan 2001 14:22:43 +0100
From: Stamatis Stefanakos <[EMAIL PROTECTED]>
Subject: Re: System.map - kernel compilation
well... ok - thanx for the system.map info BUT
the situation remains the same
ie both 2.2.16 and 2.4.0 kernels that I tried to install
crash
therefore look at the next message!
S.
------------------------------
Date: Tue, 30 Jan 2001 14:24:41 +0100
From: Stamatis Stefanakos <[EMAIL PROTECTED]>
Subject: Compaq Presario 1800 kernel 2.4 config
anyone with compaq presario 1800 and a working 2.4.0 kernel?
if so please send me your config file!
I have troubles getting 2.4 to work on mine -
please state also your configuration - (mine is 18XL381)
thanx
S.
------------------------------
From: Kenneth Mokkelbost <[EMAIL PROTECTED]>
Subject: Re: Password Problems
Date: 30 Jan 2001 14:24:57 +0100
Mark Penkower <[EMAIL PROTECTED]> writes:
The passwords does not lay in /etc/passwd, but in /etc/shadow. You need to
copy both files.
Cheers,
Kenneth
> I have done this before without any problems - now it dosen't work. I
> copied the passwd file from the /etc directory from my old mail server
> to a new mail server. I then ftp'd over the contents of
> /var/spool/mail to the new machine. I then gave the correct file
> ownerships to the files. When I try to retrieve the email, most of
> the passwords don't work - Netscape gives me a bad password error.
> > Also, If I try to change the passwords through linuxconf,(redhat linux
>
> 7) it does not let me - it just comes up with an error message saying
> that the password has not changed.
>
> Please help.
>
> Mark Penkower
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Slow Disk Check for Large Drives
Date: Tue, 30 Jan 2001 09:06:01 -0500
[EMAIL PROTECTED] wrote:
>
> I'm leading up the development of a Linux-based product that requires
> alot of storage space. The main problem that we are experiencing comes
> when the system loses power unexpectedly and reboots. The following
> disk check takes forever if the system has 3 or 4 60 Gb disks. We
> really need to speed up this reboot process or we may be forced into
> using Windows 2000 (which I loathe). Even with a UPS connected, we
> have to take into account the fact that some people will just power the
> thing on and off.
>
If you cannot afford the time it takes to do the fsck's (some of these
can be done in parallel to speed it up if you have different drives),
perhaps your system(s) deserve to be run from a UPS that can coast over
the short-term power interruptions, and cause a controlled shut-down for
the longer ones. That way, the fsck's can be bypassed.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 9:00am up 1 day, 17:30, 3 users, load average: 1.23, 1.13, 1.17
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: I wish to RTFM, but where is TFM I need?
Date: Tue, 30 Jan 2001 09:09:43 -0500
I have gotten ppp to work by guess and by golly, but I would prefer to
not be shooting in the dark as I am now. The "manual" I need pertains to
file /etc/sysconfig/network-scripts/ifcfg-ppp0. It contains the
following lines at the moment, but I would like to know the definitions
of all the items listed (some are obvious to me, but some are a
mystery), and also those others that are not there, but might be, in
sufficient detail to make intelligent decisions as to what should be in
there.
PERSIST=no
DEFROUTE=yes
ONBOOT=no
INITSTRING=ATZ
MODEMPORT=/dev/modem
LINESPEED=115200
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=yes
PAPNAME=
PEERDNS=no
REMIP=
IPADDR=
WVDIALSECT=
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=5
RETRYTIMEOUT=10
USERCTL=yes
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 9:05am up 1 day, 17:35, 3 users, load average: 1.15, 1.13, 1.16
------------------------------
** 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
******************************