Linux-Misc Digest #902, Volume #27               Sun, 20 May 01 10:13:03 EDT

Contents:
  kernal message? (faeychyld)
  Re: A CPU cooler for Linux? (Bora Ugurlu)
  Re: fdisk without restart (Lucius Chiaraviglio)
  Re: Linux Installation Problems (M. Buchenrieder)
  Re: Time and modules (Markku Kolkka)
  Re: rsync with ssh and no password prompt (Gareth Jones)
  Re: Windows-linux network ("Uncle Junior")
  Re: problem with upgrading rpm ("Peter T. Breuer")
  Re: NTFS files ("Peter T. Breuer")
  Re: gnu find  not pruning (Volker Apelt)
  using pan: watches and downloads ("Felmon John Davis")
  Re: Newbie in a Fankle..... ("Martin")

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

Date: Sun, 20 May 2001 16:12:42 +1000
From: faeychyld <[EMAIL PROTECTED]>
Subject: kernal message?


I seem to get a message periodically on
the console, over writing the prompt.

hdb: ATAPI 48X CD-ROM drive, 120kB CACHE

I assume this comes from the kernel, more of 
a statement than any error message.

Is it important?

The cd works ok,no problems and never has 
had any.

-- 
-
-
- 
Regards F

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

From: Bora Ugurlu <[EMAIL PROTECTED]>
Subject: Re: A CPU cooler for Linux?
Date: Sun, 20 May 2001 00:32:21 +0200

[EMAIL PROTECTED] wrote:

>>>>>Is there a way to check this in a config file?
>>>
>>>> grep -i idle/usr/src/linux/.config
>>>
>>>Running this doesn't seem to do anything?
> 
>> There seems to be be a typo, try 'grep -i idle /usr/src/linux/.config'
>> (without the quotes, of course:)
> 
> I get: grep: /usr/src/linux/.config: No such file or directory
> 

I think we all assumed that you had a self-built kernel. You probably don't 
have it. Nevermind..

-- 
Bora Ugurlu
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: fdisk without restart
Reply-To: [EMAIL PROTECTED]
Date: Sun, 20 May 2001 08:38:56 GMT

Juergen Pfann <[EMAIL PROTECTED]> wrote:
>Lucius Chiaraviglio wrote:
>> "Lutz Lehmann" <[EMAIL PROTECTED]> wrote:
>> >                [. . .] There's NO WAY to modify the partition table of the
>> >root disk without rebooting
>> 
>>         Why -- is Windows NT/2000 doing something more risky than normal for
>> Windows :-) by modifying the partition table in Disk Administrator/Disk
>> Management without rebooting?
>
>With those systems, there also are conditions that require rebooting - 
>for instance some (not all I admit) drive letter changes. 

        Yes, if you change the drive letter of the boot partition.  But you
can do stuff to all of the other partitions without rebooting as long as
Windows is not using them (actually, I haven't tried to find out if Windows
is smart enough to refrain from on-the-fly reassigning of the drive letter
of a non-boot volume that it is using for ongoing system functions, such as
the page file).  It is actually rather amazing that Windows NT/2000 lets you
do this, considering that you have to reboot to do so many other things, such
as changing the name of the computer.

-- 
Lucius Chiaraviglio
New e-mail address is approximately:  [EMAIL PROTECTED]
To get the exact address:                         ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).

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

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: Linux Installation Problems
Date: Sun, 20 May 2001 06:49:33 GMT

"David." <[EMAIL PROTECTED]> writes:

[...]

>1. why couldn't I see the BIOS info when the PC was starting up??

Because Compaq puts the BIOS information on the HD on a separate
maintenance partition. Press F10 twice during startup, when the
cursor is blinking in the upper corner.

>2. Why doesn't W2000 allow me to reboot in MSDOS mode (so that I
>could've made partitions using fdisk)?? All very strange indeed. Maybe I
>am just used to my old machine that runs Linux nicely with only 3 Gb of
>HDD capacity...

Because Win2000 doesn't have a MS-DOS mode anymore.

>Any advice? I don't want to give up.

PM6.0 should be able to resize the Win2000 partition for to make
room for Linux. What errors did you encounter using PM?
Note: You'll possibly have to use a PM bootfloppy to be able
to use it on a Win2000 partition, if there's only 1 huge partition
that keeps the Win2000 installation.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: Time and modules
Date: 20 May 2001 12:18:17 +0300

"�rjan Johansson" <[EMAIL PROTECTED]> writes:
> 1, How do I set the time on my Red Hat 7.0 box?

"date" command sets the kernel clock, "hwclock" sets the motherboard
clock that is used to initialize the kernel clock at boot. If you have
Internet interface in your Linux box, check out ntpdate.

> 2, What command do I use to see what modules the kernel has loaded, can't
> seem to find the right command line switch for the modprobe command.

/sbin/lsmod

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: Gareth Jones <[EMAIL PROTECTED]>
Subject: Re: rsync with ssh and no password prompt
Reply-To: [EMAIL PROTECTED]
Date: Sun, 20 May 2001 10:23:28 GMT

Neil Zanella <[EMAIL PROTECTED]> wrote:

>This works fine but every time I run it I am prompted for a password.
>One solution of course is to embed the interactive program's output
>in an expect script which reads the password from a file or from the
>script itself but I would like to run the whole thing noninteractively
>without using expect.
>
>The --password-file is for rsync password and not for ssh passwords.
>The remote server does not seem to be running rsync deamon on port 873
>or any port for that matter so I use ssh's port 22.
>
>Now how can I specify my ssh password?

The best way is not to use passwords for authentication, but keys
instead.

Generate a key for yourself on the client machine using ssh-keygen.
Save it in the default location (~/.ssh/identity). Use an empty
passphrase. 

This will create two files - ~/.ssh/identity, which is your private
key, and ~/.ssh/identity.pub - your public key.

 Copy the public key to the remote machine, and append it to the file
~/.ssh/authorized-keys (create the file if it doesn't exist).

Now you should be able to type:

ssh remote-machine

and connect without a password. Likewise, rsync should be able to
connect without prompting for a password.

Note: there are obviously some security issues with this. Anyone who
cracks your client machine and gets hold of your private key can log
into the remote machine as you. I only use this technique when I am
scripting the ssh sessions, and it is impractical to use ssh-agent.

Gareth

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

From: "Uncle Junior" <[EMAIL PROTECTED]>
Subject: Re: Windows-linux network
Date: Sun, 20 May 2001 10:43:55 GMT

You could try adding the names of the other machines with their IP
addresses to the /etc/hosts file.
Thats an easy solution for a small network.




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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: problem with upgrading rpm
Date: Sun, 20 May 2001 12:43:10 +0200

Glitch <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
> <[EMAIL PROTECTED]> wrote:

>> Glitch <[EMAIL PROTECTED]> wrote:
>>>> I run SuSE 7.1 and I downloaded the static binary of Opera and had no
>>>> problems.  But, I'm sticking with Konqueror.
>> 
>>> just attempted the execution of the static version.....still cant open
>>> libjpeg.so.62 b/c i dont have it installed b/c of the damn 'all
>>> powerful'
>> 
>> Well install it then, you berk. What is this, a stupidity contest?

> if it is i'll forfeit now. U already won.

NOt so. As you have seen I _can_ install libjpeg.so.62.

>> On my (debian 2.2) box, a search for libjpeg shows that I have
>> everything in spades. So just get yourself the debian source and compile
>> it, if you're incapable of opening the correct rpm. As you can see, the
>> debian package is called libjpeg62. But that may sprain your neuron ..

> i'll briefly explain the problem.  I cant install Libjpeg62 by rpm b/c I
> get the 

> only packages with major numbers <= 3 are supported by this version of RPM
> error: libjpeg62-6b-19mdk.i586.rpm cannot be installed

So? Either:

   (a) Get yourself an rpm packed with rpm 3, or
   (b) get yourself rpm 3.05 which can deal with both v3 and v4 packages;
   (c) get yourself rpm 3.05 and install and rpm 4 with it;
   (d) get yourself the rpm 4 package and run rpm2cpio on it to extract
       the contents, and stuff them in place by hand, then run rpm
       --rebuildb to convert the db, then install the rpm 4 rpm of rpm 4;
   (e) get yourself the rpm 4 src, unpack it with rpm2cpio and cpio,
       compile it, and pick up in (d);
   (f) get a .deb or .tgz of rpm 4 and run alien -r on it and install 
       the resulting v3 rpm.
   (g) get the .src.deb or .src.tar.gz and unpack that and compile it,
       and pick up in (d)
   ... (my imagination has not failed, I am just not bothering to write
       down any more routes ...)


> I upgraded RPM to 4.0.2 from 3.0.something and neither one lets me
> install the libjpeg rpm.  So it's not ME that can't open the correct RPM.

It "let's" you do whatever you want. You have control. If you don't
want to take any notice of its dependency advice, force it with a
switch override. You only want libjpeg.so.62, for crissake. Take it out
of the package, put it in your own package, and install it.

> It's RPM that can't do it.  If i had a tarball i could do it just fine

You do have a tarball. Umpteen of them. I showed you them.

  (a) All rpm's come with source. Extract it, compile it, install it.
  (b) all distros come with source. Get somebody elses if you don't
      like redhat's. They're all over the web.
  (c) take your rpm and extract its contents.
     ... etc.

for example:

   nbd:/tmp% sudo dpkg-repack libjpeg62
   -- Creating control files
   -- Copying files
   -- Building package
   dpkg-deb: building package `libjpeg62' in `./libjpeg62_6b-1.2_i386.deb'.
   -- Cleaning up
   -- Package build successful
   nbd:/tmp% sudo alien -t libjpeg62_6b-1.2_i386.deb
   -- Examining libjpeg62_6b-1.2_i386.deb
   -- Unpacking libjpeg62_6b-1.2_i386.deb
   -- Building the package libjpeg62-6b-2.2.tgz
   Generation of libjpeg62-6b-2.2.tgz complete.
   -- Successfully finished

voil'a:

   nbd:/tmp% ls -l libjpeg62-6b-2.2.tgz
   -rw-r--r--    1 root        78535 May 20 12:39 libjpeg62-6b-2.2.tgz

If you prefer an rpm, you can make that. "alien" is a useful
cross-platform tool.

> but no tarball exists for libjpegso62 that i can find.

Then you have a serious vision problem, not to say the problem
that you don't seem to realize that you can make your own if a
"tarball" is what turns you on. Extract the rpm contents with
rpm2cpio or alien or whatever. Or just take the source!

> would downgrading RPM work?  Wouldn't that be a stupid idea, but hey,

Downgrading rpm would do precisely nothing to help you. Have you
rebuilt the rpm db?

> Linux *is* different than WIndows, right?

Linux is a kernel. Redhat is a distribution based on the linux kernel
and gnu tools.

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: NTFS files
Date: Sun, 20 May 2001 12:45:29 +0200

Jack Kaufmann <[EMAIL PROTECTED]> wrote:
> "Issue: 
> "      How do I mount my NTFS partitions in Linux? 
> "Resolution: 
> "      You need to recompile your kernel and turn the NTFS file system
> support "on. When compiling the kernel, choose the graphical
> configuration xconfig "under the File
> "      Systems section, then choose NTFS support, which is read-only or
> "read/write. Note that turning on NTFS support in the kernel can be
> dangerous "to your system. 
> "      After booting up with your new kernel, you will be able to mount
> NTFS "partitions. 

> 1.  How do I go about recompiling the kernel?

Read the Kernel HOWTO

> 2.  Why is NTFS dangerous to my system?

It may crash. It seems more dangerous to the ntfs to me, however,
because that may easily be corrupted if you enable writes. I don't
think anybody's ever succeeded in growing a file in ntfs.

Peter

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

From: [EMAIL PROTECTED] (Volker Apelt)
Crossposted-To: gnu.utils.help
Subject: Re: gnu find  not pruning
Date: 20 May 2001 13:31:46 +0200

"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:

> In comp.os.linux.misc Volker Apelt <[EMAIL PROTECTED]> wrote:
> > I don't understand why /proc and /data are listed
> > by the find expression below. They are not
> > Can you explain this error ?

[ snip -- no short cut logic in gnu find ! ]

Here is the final expression which excludes 
/proc and all files below it as well 
as the mountpoint of nfs filesystems
and  all files on nfs filesystems.

The rest of the local filesystem is searched
for files with a suid/gid/sticky bit set.

find / \
   ! \( -path "/proc" -prune -o \
        -fstype nfs -prune \) -a \
    -type f -perm +07000  | sort |\
       xargs --no-run-if-empty ls -ldis --full-time \
      > ${CURR}

-- 
Volker Apelt          Group of Prof. Dr. Ch. Griesinger
                      Johann Wolfgang Goethe Universitaet 
                      Frankfurt am Main (Germany)
[EMAIL PROTECTED]  (use va@ instead of ...@ )

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

From: "Felmon John Davis" <[EMAIL PROTECTED]>
Subject: using pan: watches and downloads
Crossposted-To: comp.os.linux.setup
Date: Sun, 20 May 2001 12:15:24 GMT

Greets!

Trying to get friendly with Pan as a newsreader but I confused.

I can set some threads to being 'watched' but it doesn't seem like their
'bodies' are being downloaded.

What's the point of 'watch' if it doesn't fetch the 'watched' articles?

More importantly, how can I configure Pan so that it will suck in threads
I've marked without my having to do it manually?

The 'manual' doesn't yet seem to be on-line.

Thanks!

F.

========================================================
     Felmon John Davis          
     Union College /  Schenectady, NY
     os/2 - ma kauft koi katz em sack
========================================================

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

From: "Martin" <[EMAIL PROTECTED]>
Subject: Re: Newbie in a Fankle.....
Date: Sun, 20 May 2001 13:57:11 +0100


Dave Uhring <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Martin wrote:
>
> > Thanks for the comments Mike.
> >
> > I managed to get Lilo reinstated by reinstalling. I now have a secondary
> > problem which is a bit of a stumper.
> >
> > Since I last ran Linux, I have swapped out my video card for a Geforce 2
> > MX. Now, when the graphical user interface tries to launch, I'm getting
> > scrambled video.
> >
> > A few sage words of advice would go down nicely right now.
> >
> > You're quite right about the cheap PC's. The reason I'd strayed from
Linux
> > for while, was that I have been setting up a two PC network, using a hub
> > etc. I'd now like to play at getting it all working with Linux, which I
> > understand has far superior networking in comparison to Microsoft's
> > offering.
> >
> > Regards
> >
> > Martin
> >
> >
> >
> >
> > Michael Perry <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >> On Sat, 19 May 2001 19:40:42 +0100, Martin
> >> <[EMAIL PROTECTED]> wrote:
> >> > Lo,
> >> >
> >> > I am running a dual boot system ( Mandrake 7.1 and Windows 98Se).
> >> >
> >> > I had it all running sweetly ( My ISDN was working in Linux, and I
even
> > got
> >> > UT to work).
> >> >
> >> > However, I had to reinstall Windoze.........and lost the option to
hop
> > into
> >> > Linux.
> >> >
> >> > Can someone please tell me how to get Linux up again? I've tried to
use
> > the
> >> > boot disk and installation CD to go into rescue mode, which leaves me
> > with a
> >> > command prompt. Trouble is I'm too stoopid to know what to do next. I
> > did
> >> > RTFM, but so far I haven't found the magic word to type in that'll
make
> > it
> >> > all better again!
> >> >
> >> > Thanks
> >> >
> >> > Martin
> >> >
> >> You are gonna have to tell us how you booted or dual-booted before.
Did
> > you
> >> use lilo or grub?  Did you use a commercial boot loader?  How is the
> > system
> >> setup with regard to partitions/file systems?  When you use a boot
> >> floppy,
> >> you get to a command prompt.  You probably were using lilo and windows
> >> reclaimed the mbr when it installed.  I have seen windows do this with
> >> installing all sorts of things.  Just like in real life with Microsoft;
> >> on the computer windows hates not being first :)
> >>
> >> As a side note... This is why I have a passionate dislike for dual boot
> >> systems in general.  Computers are so cheap these days, one can buy a
1g
> >> athlon with a nice video card, plenty of memory and a kvm box and share
> > the
> >> monitor, keyboard, and mouse for under $500 if you shop around a bit.
> >>
> >> --
> >> Michael Perry
> >> [EMAIL PROTECTED]
> >> --------------------
> >
> >
> >
>
> You should have made a boot floppy during the install.

The right advice at the wrong time. For what it's worth, I tried to make a
boot floopy during install, but Mandrake\linux isn't too shiny bright with
LS 120 drives (at least during the install process).

Thanks anyway.

Martin



 If you didn't do
> that you can still make one which will get you back into Linux if you
> re-install that other so-called OS.
>
> Place a fresh floppy into the floppy drive, then
>
> # cd /boot
> # dd if=vmlinuz of=/dev/fd0
>
> Label the floppy and put it away for safe-keeping.
>



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


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