Linux-Misc Digest #264, Volume #25 Fri, 28 Jul 00 16:13:01 EDT
Contents:
Re: 'Possible to remotely run root through telnet? (-ljl-)
Re: Automounting and NIS (Andrei Ivanov)
Re: Changing LILO in Mandrake? (Leslie Mikesell)
Mail from Linux to MS-Windows-Postoffice ([EMAIL PROTECTED])
Re: fido (Russell Tiedt)
Re: I don't have the "MAKE" command (Bob Martin)
Re: hdparm settings reset on reboot? (Bob Martin)
Re: eth0 delaying initialization - why? (Bob Martin)
Re: linux version of pcview (Stephen Hui)
MySQL vs PostgreSQL.... which is newbie friendlier? ([EMAIL PROTECTED])
Re: pppd and/or wvdial problems (John Hasler)
Re: [Help] LILO doesn't boot from SCSI disk (John in SD)
Re: Linux takes up >5GB! (DeAnn Iwan)
Re: Changing LILO in Mandrake? ("ne...")
FWD: Red Hat's CFO abandoning ship. (blowfish)
Re: e2fsck problem (Dances With Crows)
Re: [Help] LILO doesn't boot from SCSI disk (Svend Olaf Mikkelsen)
Re: highlight stderr, leave stdout alone (Mike Schiraldi)
----------------------------------------------------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: 'Possible to remotely run root through telnet?
Date: Fri, 28 Jul 2000 17:57:23 GMT
In article <8lsepc$61q$[EMAIL PROTECTED]>,
"Simon" <[EMAIL PROTECTED]> wrote:
> Not really advisable... Try enabling html access in linuxconf.. then
you
> can do your more basic tasks using a browser interface by using port
98.
>
> With htmlaccess you can define the IP addresses of the hosts you want
to
> allow.. Even then when you get in you need a username/password.
But wouldn't this let the password be sent as clear-text?
Also I'm interested in using a browser based remote administration;
but it has to use SSL. Everything encrypted.
I think such a setup could be made very secure.
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Andrei Ivanov)
Crossposted-To: comp.os.linux.networking,linux.redhat.misc
Subject: Re: Automounting and NIS
Date: 28 Jul 2000 18:11:42 GMT
In comp.os.linux.networking greg tomczyk <[EMAIL PROTECTED]> wrote:
> I am wondering if someone out there has any insight to automounting with
> NIS on Redhat 6.2 servers and Linux and solaris clients.
>
> I currently have one NIS Master and one Slave server running RedHat 6.2.
> My desktop clients were all solaris, but are migrating to VA linux. My
> automounting works great with the exception of one thing. I am trying to
> take advantage of special mount option, /net(solaris) or /hosts (sgi) in
> the auto.master. The entry looked like this on solaris
>
> /net -hosts -nosuid,nobrowse
>
> the /net entry in the auto.master allows users to cd /net/"machine_name"
> and go to that machine as if it was a NFS mounted directory. No with the
> Linux server, I am trying to do the equivalent with no such luck. Can
> any one help? it is killing me....
AFAIK, the autofs package doesn't provide such functionality. You might
consider using amd (am-utils) instead.
> Also, i have noticed that with linux NIS clients there can be no
> auto.master local to the clients. Is there a way to take advantage of
> the option +auto_master like in solaris?
Look through /etc/rc.d/init.d/autofs script. Under RH Linux 6.2
(autofs-3.1.4-4) automounter first tries to read local /etc/auto.master,
and, if fails due to lack of the file, then tries to obtain auto.master
NIS map from server.
--
andrei
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Changing LILO in Mandrake?
Date: 28 Jul 2000 13:21:20 -0500
In article <[EMAIL PROTECTED]>,
Cap'n <[EMAIL PROTECTED]> wrote:
>
>I'll admit I'm somewhat of a newbie to Mandrake Linux,
>and this is probably a stupid question...but, I need the
>answer.
>
>I just installed Mandrake 7.1 on my system in a dual boot with
>Win98. My hard drive is in four partitions:
>
>Partition 1: Win98 system files (1.5 GB) - hdc1
>Partition 2: Win98 programs (8 GB) - hdc2
>Partition 3: Linux Swap (133 MB) - hdc6
>Partition 4: Linux Native: Mandrake Distro (2.3 GB) - hdc7
>
>After I installed Mandrake and LILO, Linux is the first
>boot option and loads Mandrake after 10 seconds,
>unless I type Windows. I want to set it up so that Windows
>boots after 10 seconds, unless I type Linux.
>
>What's the easiest way to change this in Mandrake? Or
>if someone could point me to a Mandrake HOWTO Web link
>for this, I would appreciate it.
The easiest way is to edit /etc/lilo.conf, moving the section
you want as the default up to be the first entry, then
run /sbin/lilo to activate it.
However, if you like the Mandrake point-n-clik stuff, click on
Drakconf on the desktop, then Drakboot from there and it will
step you through a menu approach to the same thing.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Mail from Linux to MS-Windows-Postoffice
Date: Fri, 28 Jul 2000 18:22:53 GMT
Hi,
how can i sent a Mail from Linux e.g. from a Shellscript to the
MS-Windwos-Postoffice, so that i can read it e.g. with Outlook.
I dont want to use a POP-Server!
Thanks
Stephan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Russell Tiedt)
Subject: Re: fido
Date: Fri, 28 Jul 2000 18:28:47 GMT
On Wed, 26 Jul 2000 17:08:04 GMT, [EMAIL PROTECTED] (Thomas Zajic) wrote:
>On Wed, 26 Jul 2000 21:02:17 -1000, Ron Nicholls wrote:
>
>> Is a fido mail reader available for linux
>
>Try <http://freshmeat.net/search.php3?query=fido>.
Do a search for "The Husky Project" there you will find GoldEd and
MsgEd, and for offline reading there is MultiMail.
Russell
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: I don't have the "MAKE" command
Date: Fri, 28 Jul 2000 18:44:34 +0000
Nelson and Satasha Williams wrote:
>
> Can anyone tell me how to get the "make" command added to my Linux box?
> I'm currently running RH 5.2, kernel 2.0.36, on a 486/50 with 24MB RAM.
> I plan on using this PC as my gateway for my DSL in about a month, so
> I'm trying to compile the kernel for optimum efficiency. Thanks in
> advance.
>
> Nelson Williams
You'll need to install the development tools from the CD.
--
Bob Martin
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: hdparm settings reset on reboot?
Date: Fri, 28 Jul 2000 18:45:55 +0000
Gordon Gilbert wrote:
>
> I turned on 32-bit I/O with sync (hdparm -c3) using hdparm and that
> doubled my transfer rate. However, I found that after I rebooted,
> it was back to 16-bit again. Do you have to put hdparm in a startup
> file or something? If so, which one is best?
Yes, most use /etc/rc.d/rc.local
--
Bob Martin
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.linux
Subject: Re: eth0 delaying initialization - why?
Date: Fri, 28 Jul 2000 19:01:26 +0000
Elliott wrote:
>
> Ok. I tried the settings that you gave me, and I still get the same error,
> only now the machine pauses for ever on semdmail, so I turned sendmail off.
> Anyway, linux is not very fun with out an internet connection.... Here is what
> I know about my ether net card (printed from some program in windoze...):
>
> xE800 - xE8FF Linksys LNE100TX Fast Ethernet Adapter
>
What module are you using for this card ? should be the tulip driver,
see the ethernet howto
--
Bob Martin
------------------------------
From: Stephen Hui <[EMAIL PROTECTED]>
Crossposted-To: comp.unix..solaris
Subject: Re: linux version of pcview
Date: Fri, 28 Jul 2000 13:55:32 -0500
Sun's StarOffice will read Office97 documents--Word97, Excel97. I
haven't tried it with Access or Powerpoint files, but Word and Excel do
work, although sometimes you lose a little bit of formatting.
Stephen.
Yao Wang wrote:
>
> hi, all,
>
> has anyone heard of any linux application that can view and print
> MS-OFFICE files (doc, ppt, bmp ,etc.), something resembles sun's
> pcview?
>
> thanks
>
> yao
--
Stephen Hui, ARL:UT, Austin, Texas
Computer Terms: Programmer - A red-eyed, mumbling mammal
capable of conversing with inanimate objects.
------------------------------
From: [EMAIL PROTECTED]
Subject: MySQL vs PostgreSQL.... which is newbie friendlier?
Date: Fri, 28 Jul 2000 19:13:58 GMT
Any input will be appreciated.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: pppd and/or wvdial problems
Date: Fri, 28 Jul 2000 17:52:41 GMT
Are you using Debian? If so, just upgrade pppconfig to the version in
frozen or the one in unstable and run it. It will create the scripts you
need and install them.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: John in SD <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: [Help] LILO doesn't boot from SCSI disk
Reply-To: [EMAIL PROTECTED]
Date: Fri, 28 Jul 2000 19:38:09 GMT
LILO will only boot from disks with BIOS support. Some mixed IDE/SCSI systems
have BIOS support for both. The diagnostic floppy from the LILO 21.4.4 or
21.5 distributions will tell you what disks have BIOS support.
If you have BIOS support, the disk=/bios= options will likely be needed in
lilo.conf.
--John
On Fri, 28 Jul 2000 17:17:56 +0200, Jose Manuel Benitez Sanchez
<[EMAIL PROTECTED]> wrote:
>Hi all,
> I cannot get LILO booting from an SCSI disk. Can you give me some
>hints?
>
> This is the situation. I've just installed Linux Red Hat 6.2 on a Dual
>Pentium III machine equipped with:
> Mainboard: SUPERMICRO, SUPER P6DBE
> SCSI controller: Adaptec SCSI Card 29160
> SCSI disk: Seagate ST318436LW (17.5G)
> IDE disk: Seagate STS320430A (20GB)
>
> The IDE disk is only temporally installed, and it is going to be used
>only to hold data, no system files. All the system is installed on the
>SCSI disk. This is the partition table (generated with disk druid):
>--------------------
>Disk /dev/sda: 255 heads, 63 sectors, 2233 cylinders
>Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
>/dev/sda1 * 1 13 104391 83 Linux
>/dev/sda2 14 2233 17832150 5 Extended
>/dev/sda5 14 906 7172991 83 Linux
>/dev/sda6 907 1548 5156833+ 83 Linux
>/dev/sda7 1549 1880 2666758+ 83 Linux
>/dev/sda8 1881 2174 2361523+ 83 Linux
>/dev/sda9 2175 2213 313236 82 Linux swap
>/dev/sda10 2214 2233 160618+ 83
>Linux --------------------
>
>and this an excerpt from /etc/fstab:
>--------------------
>/dev/sda10 / ext2 defaults
>1 1
>/dev/sda1 /boot ext2 defaults
>1 2
>/dev/sda5 /home ext2 defaults
>1 2
>/dev/sda6 /usr ext2 defaults
>1 2
>/dev/sda7 /usr/local ext2 defaults
>1 2
>/dev/sda8 /var ext2 defaults
>1 2
>/dev/sda9 swap swap defaults
>0 0
>--------------------
>So the /boot partition is (/dev/sda1) located at very beginning of the
>disk.
>
> The overall installation was straightforward. Only the LILO
>installation issued a warning:
>"Warning: /dev/sda1 is not on the first disk"
>
> But then, before booting again I changed the BIOS booting sequence
>setting SCSI on the first place and IDE on the second. After saving
>this, the booting is restarted. The BIOS displays:
>"Searching for Boot Record from SCSI..OK"
>And then only appears:
>"LI"
>and it gets frozen.
> According to LILO's User's Guide (pag. 44):
>"LI The first stage boot loader was able to load the second stage boot
> loader, but has failed to execute it. This can either be caused by a
> geometry mismatch or by moving /boot/boot.b without running the map
> installer."
>Of course, I haven't moved /boob/boot.b. Since the disk is a large one,
>I used the "linear" global option in lilo.conf, but no luck. I've also
>tried without it, with the same lack of success.
>
> If I install LILO on the IDE disk, it works all right, but I don't like
>this solution because of the temporal condition of the disk.
>
> LILO's version is 21.
>
> I would greatly appreciate any help to get the SCSI disk booting
>properly.
>
> Thanks in advance!
> Cheers!
>
> Jos� Manuel
>
>
>
LILO version 21.5 (18-Jul-2000) source at
ftp: brun.dyndns.org dir: /pub/linux/lilo
------------------------------
From: DeAnn Iwan <[EMAIL PROTECTED]>
Subject: Re: Linux takes up >5GB!
Date: Fri, 28 Jul 2000 15:36:34 -0400
[EMAIL PROTECTED] wrote:
>
> I recently installed Corel Linux and wish I never had. Somehow after I
> installed it over 5GB of my free space was gone. Plus I cant run Linux at
> all. All I want is to get rid of it and the wasted space. Please help.
>
Uhm, you can install linux from a floppy--or a few floppies. You
must have asked the distribution to install a great many software
packages in addition to the core "linux" OS. Over the last few decades,
many gigabytes of freely available software has been written. Several
linux distributions come with a hefty chuck of this software available
for you to install: everything from multiple office suites to
mathematical manipulation packages to CAD packages to engineering
software. Most users don't need anywhere near all this software. But
if you installed so much stuff that it filled up your hard drive, then
you probably need to either try to understand what you are doing (and
make better, more limited, choices in what to install) or uninstall
everything and forget the opportunities linux and all that great free
software presents. To "uninstall" linux, simply run fdisk to return
your linux partitions to free disk space. if you installed LILO in the
MBR and wish to recover a dos/windows MBR, run your dos/win version of
fdisk with the parameter /mbr (eg, "fdisk /mbr").
------------------------------
Crossposted-To: comp.os.linux.advocacy
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: Changing LILO in Mandrake?
Date: Fri, 28 Jul 2000 19:45:41 GMT
On Jul 28, 2000 at 13:21, Leslie Mikesell eloquently wrote:
>In article <[EMAIL PROTECTED]>,
>Cap'n <[EMAIL PROTECTED]> wrote:
>>
>>I'll admit I'm somewhat of a newbie to Mandrake Linux,
>>and this is probably a stupid question...but, I need the
>>answer.
>>
>>I just installed Mandrake 7.1 on my system in a dual boot with
>>Win98. My hard drive is in four partitions:
>>
>>Partition 1: Win98 system files (1.5 GB) - hdc1
>>Partition 2: Win98 programs (8 GB) - hdc2
>>Partition 3: Linux Swap (133 MB) - hdc6
>>Partition 4: Linux Native: Mandrake Distro (2.3 GB) - hdc7
>>
>>After I installed Mandrake and LILO, Linux is the first
>>boot option and loads Mandrake after 10 seconds,
>>unless I type Windows. I want to set it up so that Windows
>>boots after 10 seconds, unless I type Linux.
>>
>>What's the easiest way to change this in Mandrake? Or
>>if someone could point me to a Mandrake HOWTO Web link
>>for this, I would appreciate it.
>
>The easiest way is to edit /etc/lilo.conf, moving the section
>you want as the default up to be the first entry, then
>run /sbin/lilo to activate it.
I disagree. Insert default=windows in the appropiate place.
See example below.
======<insert fake lilo.conf>====
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=30
linear
default=windows
image=/boot/vmlinuz-2.2.16
label=linux
append="video=matrox:vesa:402"
read-only
root=/dev/hdb7
other=/dev/hda1
label=windows
table=/dev/hda
=====<end insert fake lilo.conf>=====
Save and run /sbin/lilo as root.
[...]
Disclaimer: I only run Linux & FreeBSD. This disclaimer is
necessary so I do not get hung, drawn and quartered.
--
Registered Linux User # 125653 (http://counter.li.org)
Women waste men's lives and think they have indemnified them by a few
gracious words.
-- Honor'e de Balzac
3:35pm up 18 days, 18:46, 10 users, load average: 0.00, 0.00, 0.00
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Crossposted-To: comp.os.linux.setup
Subject: FWD: Red Hat's CFO abandoning ship.
Date: Fri, 28 Jul 2000 12:47:24 -0700
Red Hat is a sinking ship?
Red Hat's CFO is abandoning ship.
http://www.it-director.com/00-07-28-3.html
- Alex / blowfish.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup,alt.os.linux,linux.redhat.misc
Subject: Re: e2fsck problem
Date: 28 Jul 2000 19:51:28 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 28 Jul 2000 12:08:04 +0200, Marco Baiocco wrote:
>>On Thu, 27 Jul 2000 23:09:32 +0200, Marco Baiocco wrote:
>>> It has always run fine till now, and it still does, but
>>>today I have noticed a small warning during the boot messages.
>>>It says something like the checking time has arrived, and that it
>>>should be wise to run e2fsck on the linux partitions. It has nothing
>>This is a bit odd, since an fsck should set the "time since last check"
>>field appropriately. Anyway, you can disable the message by entering
>>"tune2fs -i 0 /dev/hdXY" when that particular partition is mounted
>>read-only. Have a look at the man page for tune2fs as well....
>I did. It didn't work. I tried either with -i 0 and with -C 0, fooling
>it by telling that it was the first time it was mounting the
>filesystem, but it didn't work in neither of the two ways: it still
>says something like:
>
>EXT2 Warning: checktime reached: running e2fsck is recommended.
>
>Any other clue? Can I brute force alter that counter? If yes, how?
Boy, that's odd. The warning comes directly from the kernel code, line
298 or thereabouts in /usr/src/linux/fs/ext2/super.c, and further
digging reveals that the superblock's "checkinterval" value has to be a
value other than 0 for the warning to be issued. tune2fs -i0 /dev/hdXY
should set the superblock's checkinterval value to 0! I suppose you
could try doing "tune2fs -i12m /dev/hdXY" on all your Linux partitions,
which should give you a year's worth of time before the warning appears.
Brute-forcing this would most likely involve doing stupid things with
dd, which is *NOT* reccommended. Hmmm.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Tyranny is always better organized
http://www.brainbench.com / than freedom.
=============================/ ==Charles Peguy
------------------------------
From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: [Help] LILO doesn't boot from SCSI disk
Date: Fri, 28 Jul 2000 19:57:04 GMT
Jose Manuel Benitez Sanchez <[EMAIL PROTECTED]> wrote:
>hints?
timeout=50
disk=/dev/sda
bios=0x80
And then I suggest you change the type of the extended partition from
05 to 85 for the case that the disk should coexist with an operation
system that uses the partitions types correctly.
--
Svend Olaf
------------------------------
From: Mike Schiraldi <[EMAIL PROTECTED]>
Subject: Re: highlight stderr, leave stdout alone
Date: Fri, 28 Jul 2000 15:58:37 -0400
> On Thu, 27 Jul 2000 15:05:22 -0400, Mike Schiraldi <[EMAIL PROTECTED]> wrote:
> >I've always been on the lookout for a way of somehow highlighting a
> >program's stderr output while leaving its stdout alone. I never found
> >anything, so i wrote the attached program. Unfortunately, i can't seem to
> >run a shell with it - the shell immediately exists for some reason.
> >
> >Is there a flaw in the program? Is there a better way of accomplishing my
> >goal?
>
> Some program starts behaving differently if its input and output does not
> look like a tty device. To fix this problem you use a pty/tty pair,
> much like the script command would do.
stdin and stdout are left alone. stderr has to be a pipe. I'm not familiar
with pty/tty pairs.. Where can i learn more?
------------------------------
** 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
******************************