Linux-Misc Digest #78, Volume #27 Sat, 10 Feb 01 20:13:02 EST
Contents:
Re: Boot Problems w/ WinME & Linux (Leonard Evens)
Re: Help with LILO (Leonard Evens)
Re: A Beginner Asks About Linux ("Peter T. Breuer")
Re: Network config. (Bob van der Poel)
Re: ftpaccess file question (Oliver Wiegand)
Re: A Beginner Asks About Linux (Mark Bratcher)
Re: network printer (Mark Bratcher)
Re: Network config. (Paul Lew)
How to installed source rpm ? (Arctic Storm)
Re: Library Problems? (Oliver Wiegand)
Re: How to installed source rpm ? (Robert Heller)
Re: Backup remotely ? (-ljl-)
The "which" command ([EMAIL PROTECTED])
Re: the best? ("Simon")
Re: Am I having fun yet -- :(
----------------------------------------------------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Boot Problems w/ WinME & Linux
Date: Sat, 10 Feb 2001 16:55:35 -0600
Hugh Lawson wrote:
>
> In article <[EMAIL PROTECTED]>, Don wrote:
>
> >Anyway, the result is that it will
> >boot from the floppy, but does not see the hard drive. It is as though the
> >hard drive doesn't exist. There are no error messages that would indicate a
> >hardware failure. Any thoughts? I also posted this on the WinME board.
>
> Just a question or two.
>
> 1. Is your boot floppy a lilo boot floppy?
> 2. If so, can you boot Windows by typing in the right word at the
> LILO: prompt?
> 3. What happens if you start the computer without the boot floppy
> inserted?
>
> If the answers to both #1 and #2 are "yes", then you may be able to
> restore automatic booting of Windows in this way. Use the boot floppy to
> boot windows. Go the "Run" selection on the start menu and run this in
> Windows:
>
> fdisk /mbr
I don't want to create problems where none may exist, but Windows
ME is not DOS based in the same sense that Windows 95/98 were.
For example, you can't with Windows ME create an ordinary DOS
startup disk. In order to run the DOS fdisk with the /mbr option,
you normally create a DOS bootable disk with fdisk on it, boot
from it, and them run fdisk/mbr. It is not entirely clear that this
will work with Windows ME. Of course, the above prescription
may work, but I would be a bit leary of running fdisk and changing
the MBR from a running Windows system. In principle, I don't see
anything wrong with it, but it does make me nervous.
I just checked, and Windows ME does include fdisk.exe, but it may
not be the same as the old DOS fdisk.
If anyone knows more about this than I do, please comment.
>
> This will restore to the first hard drive the code needed in the master
> boot record to start Windows.
>
> If the answers are not "yes", then post as much information as you can
> about 1, 2, and 3 and some real guru may be able to help.
>
> --
> Hugh Lawson
> Greensboro, North Carolina
> [EMAIL PROTECTED]
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Help with LILO
Date: Sat, 10 Feb 2001 17:02:29 -0600
[EMAIL PROTECTED] wrote:
>
> Hi, i recently bought SuSE Linux 7.0 and i can't install it. I already
> have Win98 and i want to be able to do dual boot. I created a Linux
> primary partition (/) from cylinder 650 to 1225 but it gives me the
> message that the partition won't be able to boot by itself or something
> like that. What should i do? Should i install Lilo at MBR or what?
> My e-mail is [EMAIL PROTECTED]
> Thanx.
>
> Sent via Deja.com
> http://www.deja.com/
Your Linux / partition extends over cylinder 1024, so that is why
you are getting the message. Suse should allow you to create a
small boot partition which will lie below cylinder 1024. Read the
instructions that come with the release. I would be extremely
surprised if they did not address that issue.
On the other hand, you can also get a more up to date version of
lilo which allows booting from partitions above cylinder 1024
provided your BIOS is capable of that---which is very likely.
In fact, it is possible your SuSe distribution already contained
such a version of lilo. I think any version after 21.4 did.
In that case, all you have to do is include an option
lba32 in your /etc/lilo.conf. This should replace the linear
option if that is already there.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: A Beginner Asks About Linux
Date: Sun, 11 Feb 2001 00:18:14 +0100
Arctic Storm <[EMAIL PROTECTED]> wrote:
>> >2. Mandrake or Redhat? Which to get?
>> Niether! Get Slackware or SuSE....Slackware preferably, but SuSE
>> has rpm....both of the above mentioned distros are garbage (esp RH)
> I wonder how RedHat became the most prevalent Linux distribution?
Advertising telling people that it was made easy. Redmond techniques.
> My understanding is that RedHat was based on SlackWare, and Mandrake was
Your understanding is completely wrong! Read the Distributions-HOWTO.
> subsequently based on RedHat. RedHat 7.0 had minor bugs here and there,
Minor! Being completely binary incompatible with every other linux
distro before or after is "minor"!!!
> but most bugs have been ironed out. I heard that SlackWare gives you more
> control during installation, which is convenient if you're familiar with
It was always convenient, and still is.
> Linux, but for someone entering Linux fresh, I wonder if that's an
> advantage,...
It depends on the person. For someone with technical capacity, it always is.
Peter
------------------------------
From: Bob van der Poel <[EMAIL PROTECTED]>
Subject: Re: Network config.
Date: Sat, 10 Feb 2001 16:40:07 -0700
"Peter T. Breuer" wrote:
>
> Bob van der Poel <[EMAIL PROTECTED]> wrote:
>
> >> As an aside, there is a quick-fix solution. Download a program called
> >> TweakDUN and reset the MTU from 1500 (Local Area Network speeds) to
> >> somewhere between 576 and 1024. Try and keep the number you set divisible
> >> by 8. You can download TweakDUN from
> >> (http://aicom.tucows.com/adnload/1100_30143.html).
>
> > I have no idea what this is talking about, or if it has some application
> > to my linux setup. Can someone explain?
>
> If you have a noisy line, you can set the MTU (maximum transmission
> unit) size to a small number, so that retransmits are less costly and
> there is a smaller chance of each packet being interrupted by a
> noiseburst.
>
> You can do this with ifconfig, or you can specify the MTU to pppd
> when you start it up. Man the respective pages.
>
> See the serial or ppp or net-4 nowtos for more details.
>
> Peter
Thanks for the response. Looking at this I guess it would only have an
effect if I'm getting errors on my packets. Looking at the output of
ifconfig I see very few errors, so this is probably not going to make
much difference. Again, it appears that my ISP knows not too much...
--
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: [EMAIL PROTECTED]
WWW: http://users.uniserve.com/~bvdpoel
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: ftpaccess file question
Date: Sun, 11 Feb 2001 00:37:58 +0100
Reply-To: [EMAIL PROTECTED]
Charles wrote:
>
> I have set up an FTP user on my Red Hat 7 machine. The user can FTP but the
> settings in the ftpaccess for are not being applied. How do I get the users
> FTP login to apply the rules in the ftpaccess file?
>
> I am using the same setup on my Slackware machine and it works properly.
>
> Thanks in advance,
> Charles
On my slackware box, I find this entry in /etc/inetd.conf:
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -i -a
Looking at 'man ftpd' says:
"If the -a option is specified, the use of the ftpaccess(5)
configuration file is enabled. If the -A option is specified, use
of the ftpaccess(5) configuration file is disabled. This is the
default."
Maybe redhat does not use the -a option ?
Greetings Oli
------------------------------
From: [EMAIL PROTECTED] (Mark Bratcher)
Subject: Re: A Beginner Asks About Linux
Date: Sat, 10 Feb 2001 23:39:18 GMT
In article <3a84aefe$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
>>2. Mandrake or Redhat? Which to get?
>
>Niether! Get Slackware or SuSE....Slackware preferably, but SuSE
>has rpm....both of the above mentioned distros are garbage (esp RH)
>
Could you elaborate on why you believe RedHat is garbage?
I'm not being critical, I really do want to know why you have that
opinion.
I've been running RedHat for a few versions now and find it to
be easy to use, easy to configure, and there is lots of help availble
for it on newsgroups since so many people use it.
Thanks.
--
Mark Bratcher
Director of Software and Electrical Engineering
Torrey Pines Research
To reply, remove both underscores (_) from my email name
===========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
From: [EMAIL PROTECTED] (Mark Bratcher)
Subject: Re: network printer
Date: Sat, 10 Feb 2001 23:44:22 GMT
In article <Jyfh6.34500$[EMAIL PROTECTED]>, nico wrote:
>Hi i am Nico.
>One of my customers has bought a laser printer with the ethernet interface.
>He asked to me if i can configure it as a network printer and i said yes.
>I would like to ask if what i am thinking to do is right.
>1) i edit /etc/hosts and i add the line with the printer's ip number and the
>name i choosed.
>2) i run printtool and choose remote printer
>3}I digit the name of the que (for example pr1) and for the hostname i put
>the name i choosed in /etc/hosts.
>Is that enought and is right ???
>thanks for the help
>Nico
>
Nico,
You don't need to do anything with the hosts file.
Just run the printtool and add the network printer there.
However, you'll have to read the printer's documentation regarding
network setup. Somewhere in there (hopefully) it will tell you what
the name of the "print queue" is since, under Linux, you need
to tell printtool two important things: the print server's IP address,
and the specific queue name on the print server to which print
jobs should be sent.
--
Mark Bratcher
Director of Software and Electrical Engineering
Torrey Pines Research
To reply, remove both underscores (_) from my email name
===========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
From: [EMAIL PROTECTED] (Paul Lew)
Subject: Re: Network config.
Date: Sat, 10 Feb 2001 23:48:07 GMT
On Sat, 10 Feb 2001, Bob van der Poel <[EMAIL PROTECTED]> wrote:
>
>I was complaining to my ISP about slow throughput and he, not knowing
>that I was using linux, suggested the following:
>
>> As an aside, there is a quick-fix solution. Download a program called
>> TweakDUN and reset the MTU from 1500 (Local Area Network speeds) to
>> somewhere between 576 and 1024. Try and keep the number you set divisible
>> by 8. You can download TweakDUN from
>> (http://aicom.tucows.com/adnload/1100_30143.html).
>
>I have no idea what this is talking about, or if it has some application
>to my linux
>setup. Can someone explain?
>
>--
What your isp is trying to do is have you set the buffer size in windows
to 32768 as the default to win9x is lower; this would allow "faster"
retrieval before writing to the harddisk. Usually, one doesn't need to
be concerned in linux as it is a "windows thing/problem".
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: How to installed source rpm ?
Date: Sat, 10 Feb 2001 23:48:32 GMT
More and more applications are being released as source rpm's.
RPM is easy to install, but source rpm is not so intuitive.
I was not able to find a "how-to" on src.rpm files.
I installed the new tulip driver using the src.rpm file, but only
because the tulip web site had a very detailed instructions on installing
the tulip src.rpm.
Is there a documentation/instruction regarding installing src.rpm?
Thanks.
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: Library Problems?
Date: Sun, 11 Feb 2001 01:13:38 +0100
Reply-To: [EMAIL PROTECTED]
green wrote:
>
> A releated problem on the system
>
> when I ldd libc.so.5 I get can't execute libc.s0.5 (no such file or
> directory) error message.
>
> now before any one starts telling me I need to replace it all of my cp, ln,
> mv etc are linked to it (I know I removed it to replace it and it took a
> while to restore it thank you tomst).
> is this error because ldd might depend on it?
> all my sys tools seem to work fine.
>
> thanks in advance Michael
man ldd reveals:
"ldd does not work very well on libc.so.5 itself." under section BUGS
If nothing is broken, you don't need to/should not fix anything :)
Greetings Oli
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: How to installed source rpm ?
Date: 10 Feb 2001 18:19:08 -0600
Arctic Storm <[EMAIL PROTECTED]>,
In a message on Sat, 10 Feb 2001 23:48:32 GMT, wrote :
AS> More and more applications are being released as source rpm's.
AS> RPM is easy to install, but source rpm is not so intuitive.
AS> I was not able to find a "how-to" on src.rpm files.
AS> I installed the new tulip driver using the src.rpm file, but only
AS> because the tulip web site had a very detailed instructions on installing
AS> the tulip src.rpm.
AS> Is there a documentation/instruction regarding installing src.rpm?
AS> Thanks.
AS>
man rpm
In particular:
BUILD OPTIONS
The general form of an rpm build command is
rpm -[b|t]O [build-options] <package_spec>+
The argument used is -b if a spec file is being used to
build the package and -t if RPM should look inside of a
gzipped (or compressed) tar file for the spec file to use.
After the first argument, the next argument (O) specifies
the stages of building and packaging to be done and is one
of:
-bp Executes the "%prep" stage from the spec file.
Normally this involves unpacking the sources and
applying any patches.
-bl Do a "list check". The "%files" section from the
spec file is macro expanded, and checks are made to
insure the files exist.
-bc Do the "%build" stage from the spec file (after
doing the prep stage). This generally involves the
equivalent of a "make".
-bi Do the "%install" stage from the spec file (after
doing the prep and build stages). This generally
involves the equivalent of a "make install".
-bb Build a binary package (after doing the prep,
build, and install stages).
-ba Build binary and source packages (after doing the
prep, build, and install stages).
The following options may also be used:
--short-circuit
Skip straight to specified stage (ie, skip all
stages leading up to the specified stage). Only
valid with -bc and -bi.
--timecheck
Set the "timecheck" age (0 to disable). This value
can also be set in rpmrc with "timecheck:". The
timecheck value expresses, in seconds, the maximum
age of a file being packaged. Warnings will be
printed for all files beyond the timecheck age.
--clean
Remove the build tree after the packages are made.
--rmsource
Remove the sources and spec file after the build
(may also be used standalone, eg. "rpm --rmsource
foo.spec").
--test Do not execute any build stages. Useful for test-
ing out spec files.
--sign Embed a PGP signature in the package. This signa-
ture can be used to verify the integrity and the
origin of the package. See the section on PGP SIG-
NATURES for /etc/rpmrc details.
REBUILD AND RECOMPILE OPTIONS
There are two other ways to invoke rpm:
rpm --recompile <source_package_file>+
rpm --rebuild <source_package_file>+
When invoked this way, rpm installs the named source pack-
age, and does a prep, compile and install. In addition,
--rebuild builds a new binary package. When the build has
completed, the build directory is removed (as in --clean)
and the the sources and spec file for the package are
removed.
Basically there are two routes:
You can just do 'rpm --rebuild foo-bar.src.rpm', then do a
'rpm -ihv /usr/src/redhat/i386/foo-bar.i386.rpm'
(or 'rpm -Uhv /usr/src/redhat/i386/foo-bar.i386.rpm', if that makes more
sense).
This will be what you do *most* of the time. Sometimes you need to mess
with things, in which case you will first do:
rpm -ihv foo-bar.src.rpm
then edit /usr/src/redhat/SPECS/foo-bar.spec as needed (usually by
adding patches) and then do 'rpm -b? /usr/src/redhat/SPECS/foo-bar.spec'
and eventually doing 'rpm -ihv /usr/src/redhat/i386/foo-bar.i386.rpm' or
'rpm -Uhv /usr/src/redhat/i386/foo-bar.i386.rpm'.
Note: some packages drop i586 or i686 rpm files and possibly noarch rpm
files -- be sure to install the right stuff as needed. Some packages
build multiple binary rpms (run time/development, server/common/client,
etc.), so for some things you will have more than one output RPM to
install.
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
Posted Via Nuthinbutnews Premium Usenet Newsgroup Services
==========================================================
** SPEED ** RETENTION ** COMPLETION **
==========================================================
http://www.nuthinbutnews.com
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: Backup remotely ?
Date: Sun, 11 Feb 2001 00:16:19 GMT
In article <95gjkf$7ok$[EMAIL PROTECTED]>,
Wong Sai-kee <[EMAIL PROTECTED]> wrote:
> -ljl- <[EMAIL PROTECTED]> wrote:
>
> : The exclusion of backing up the "/dev" directory is very
> : common. If necessary it can be rebuilt using "/dev/MAKEDEV",
>
> If backup the /dev do no harm, then I would prefer to do is with /dev
> At least I could save the step of /dev/MAKEDEV during restore.
Thanks.
>
> : Remember "/dev/st0" is your tape's yo-yo mode, "/dev/nst0" is the
> : non-rewinding device (tape).
>
> The device name in my installation is /dev/rst0, and the rescue floppy
> is /dev/st0. May be rst0 means rewind. BTW, when will one use nst0 ?
The non-rewinding device "/dev/nst0" is used when you want to put
more than one file (tar ... ) on the tape. Upon writting a tar (for
example) on to the tape, the tape is not rewound and you could
write (append) other tar(s) on to the same tape until you come to
end-of-tape. You use "mt" to position the tape for recovering these
file. Look at "man mt", and "/usr/src/linux/Documentation/devices.txt.
The tape driver is st (Scsi Tape), 0 = 1st tape device, prepended
n = non-rewind e.g. "/dev/nst0".
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: The "which" command
Date: 11 Feb 2001 00:30:49 GMT
What package contains the "which" command? I did a Linux From
Scratch install, and it wasn't included. And I can't do a web search for
it because Google rejects the word "which" because it's so common. Very
frustrating.
------------------------------
From: "Simon" <[EMAIL PROTECTED]>
Subject: Re: the best?
Date: Sun, 11 Feb 2001 00:39:19 -0000
I use Best Linux ( www.bestlinux.net ), I have tried redhat and suse and
gave up on these 2, best linux installed very easy first time with no
problems.
Simon.
"news.baylor.edu" <[EMAIL PROTECTED]> wrote in message
news:961eja$9hc$[EMAIL PROTECTED]...
> I am sure you all get this question all the time, but I have to ask
because
> I have not been able to decide myself
>
> Which distribution of Linux is your favorite?
>
> Debian? RedHat? Corel? ....
>
> Just wondering. I've only experienced RH. Don't like it. Want to find
> another.
>
> Thanks,
>
> Ryan
>
>
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: Am I having fun yet -- :(
Date: Sun, 11 Feb 2001 00:57:10 GMT
On Sat, 10 Feb 2001 22:54:36 GMT, neo <[EMAIL PROTECTED]> wrote:
>I feel that I have a really stupid "newbie" question -- and if you flame
>me I completely understand.
>1) I have ATT Cable Modem-- (I have it on a USB - probably a mistake.
>i.e. I nave no NIC)
>2) I am putting together a Server (Linux 6.2) (small grads 2 processors)
>and built in NIC.
>3) I would like to network the Workstation and the Server -- with
>perhaps the Cable Modem going to the Server.
>4) I have been told to go out and just get another NIC and adjust the
>something in the "sbin\ipfdadm"
>5) Right. Well, If anyone can explain this too me I would greatly
>appreciate it.
>
>regards,
>
>neo
>
>
You'll have to read a lot more. But that's the way you learn Linux
(with whatever distro you have). Start out at www.linux.org and read
the Cable Modem Howto and the IP Masquerade Howto in their documents
section. Then you'll have at least some idea of what needs to be done.
--Kevin
------------------------------
** 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
******************************