Linux-Setup Digest #798, Volume #19 Tue, 10 Oct 00 02:13:10 EDT
Contents:
Re: various LILO vga settings/tux images (David Efflandt)
Re: /var file system is used 100% (David Efflandt)
Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2? (Paul Colquhoun)
Re: A new directory hierarchy standard - need opinions (Alexander Viro)
Re: Deciding on Partitions ? (David Efflandt)
Re: Disk Formatting & RAWRITE (David Efflandt)
Re: help me~ my cron doesn't work correctly. (David Efflandt)
ISA PnP Modem setup blues ("sCaLLioN")
Re: Linux Lost.... (David Efflandt)
Re: Redhat access network card before PCMCIA loads (David Efflandt)
Re: root partition on extended partition (David Efflandt)
Building "Linux" from sources? (Martin Fouts)
Re: I NEED A JOB!! (Pavel Zaitsev)
HD Upgrade Question (Bill Phillips)
Re: Secure copy (David Efflandt)
Re: Building "Linux" from sources? ("David ..")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.portable,comp.os.linux.misc
Subject: Re: various LILO vga settings/tux images
Date: Tue, 10 Oct 2000 04:17:03 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sun, 08 Oct 2000 17:00:35 GMT, JC Vollmer <[EMAIL PROTECTED]> wrote:
>Hello everyone.
>Can someone tell me what would be the valid settings for vga= in
>/etc/lilo.conf. What are the different tux images/resolutions available?
If you have proper framebuffer support compiled in per the HOWTO, you can
set various graphic modes. For example visa=792 is 1024x768 16-bit color
with a fine, but clear font.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: /var file system is used 100%
Date: Tue, 10 Oct 2000 04:24:18 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 9 Oct 2000 17:30:14 -0700, GreatFree <[EMAIL PROTECTED]> wrote:
>Dear All,
>
>My machine's /var file system is used 100%. What can I do to clean it? Can I
>remove all the data under it?
Perhaps you have something running away in /var/log due to a
misconfiguration. Or maybe you do not have logrotate activated. This
often happens at 4 AM, but will not happen if your box is turned off. If
you spool your own news, that might be choking it.
You cannot simply remove everything in /var because if contains mail
spools (in and out), print spool, etc. But you can remove old log files
(ones with a number at the end).
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Crossposted-To: comp.os.linux.help,comp.os.linux.advocacy,comp.os.linux.help
Subject: Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2?
Reply-To: <[EMAIL PROTECTED]>
Date: Tue, 10 Oct 2000 04:39:38 GMT
On Mon, 09 Oct 2000 16:16:38 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
| Hi, I have 2 PCs that I'd like to setup together to
|learn Apache webserver, printer server and DNS. Can
|someone help me please.
|
| I have 2 NIC cards (NE2000), 1 hub and Rhat Linux 6.2.
|
| Can someone give me the step-by-step procedure?
|
| Thanks!
RedHat 6.2 should detect the ne2000 cards automatically, it certainly
did for me.
If you are going to have these 2 machines isolated on their own little
network, then DNS is probably going to be your biggest headache. DNS
servers want to be able to talk to the DNS root servers at startup,
and yours won't be able to.
My suggestion is to not run any DNS servers at all. Edit /etc/nsswitch.conf
so the 'hosts:' line just says 'hosts: files' and put all your
IP address and server name information into /etc/hosts on both machines.
This will get you started, and you can read up on DNS later. It is
certainly possible to configure you machines to think they are
the root servers and run an entire seperate DNS heirarchy on your
network, but I'd leave that for a bit later ;)
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.admin,comp.os.linux.networking
Subject: Re: A new directory hierarchy standard - need opinions
Date: 10 Oct 2000 00:38:48 -0400
In article <[EMAIL PROTECTED]>,
jtnews <[EMAIL PROTECTED]> wrote:
>Alexander Viro wrote:
>>
>> In article <[EMAIL PROTECTED]>,
>> jtnews <[EMAIL PROTECTED]> wrote:
>>
>> >I'd appreciate a lot of input on my proposal.
>>
>> NFS stands for No Filesystem Security. Read on security issues with NFS
>> and if after that you will still think that your proposal makes sense -
>> seek professional help. NFS over untrusted network is a disaster waiting
>> to happen and it's not going to wait long, especially if you use it for
>> executables.
>Can you give a specific example of a security problem using this setup?
>
>Note that it is the client that mounts a read only filesystem from the
>server
>which is presumably on the application service provider's side and is
>secured
>on that end.
Spoofing of all kinds. Wide-open to middleman attacks. Traffic analysis
gives a _lot_ of interesting information. Any routing problems on major
ISP immediately turn into massive DoS. Too many points where single failure
brings a lot of damage. And server itself becomes extremely tasty morsel
for every cracker on the planet - get in and you've got all clients.
Could you spell "DDoS of really majestic proportions"? Could you spell
"gain control over server, change the clients' idea of the IP of said
server redirecting them to your mirror, then get the fsck out of server
restoring everything in pristine condition"? Could you spell "mother of
all class action lawsuits as soon as the shit will hit the fan"? Same
applies for DNS spoofing, etc. The question with security problems is
not "if", it's "when and how hard". Shit _will_ hit the fan and with your
scheme consequences of a single compromise are going to be really nasty.
Please, get real.
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Deciding on Partitions ?
Date: Tue, 10 Oct 2000 04:42:14 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>All advice on how to decide how to partition ones HDD before
>installation?
>
>Even on small machines, does one want a '/', '/usr' partition and
>a '/home' ?
>A swap file is another partition done at set-up, right?
The first Linux I installed took 300 MB, but Mandrake 7.0 installed over
1.1 GB. On my main box I have a separate 16 MB /boot (under 1024 cyl
limit) and 256 MB /var for logs, spools, etc. But on my laptop I just
have /boot and /, since trying to resize things later is not necessarily
easy. Not counting swap, this is what it is using:
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 1.6G 1.4G 150M 91% /
/dev/hda2 15M 2.3M 12M 16% /boot
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Disk Formatting & RAWRITE
Date: Tue, 10 Oct 2000 05:02:16 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I am just wanting to confirm that the bootdisk I created on a desktop
>pentium using " c:/RAWRITE.exe bare.i A:\" will also work for starting
>an installation on other machines.
>
>i.e. the disk it compiles is the same regardless of machine and nothing
>machine specific is written, it is just that the files cannot be
>compied onto a disk as the disk formatting is different from a DOS
>format or such.
An install boot floppy should work on any bootable floppy drive.
Although a DOS formatted floppy will work for rawrite, it is not because
of the type of filesystem, just the raw formatting markings. However
there is no filesystem (or FAT) on such a drive, the data is simply
written and read sequentially from the beginning. For this reason, it
must be a perfect floppy with NO bad sectors (since the FAT is overwritten
with nothing to indicate bad sectors).
>I know Linux HDD partitions are formatted differently to DOS, I
>therefore assume the Floppy disks are as well . . .
>
>One could not take a text file from a PC and put it straight via floppy
>into a box running Linux, right?
You can format a floppy with any file system you want to depending upon
what format the OS supports. Most types can be mounted and read by Linux
including DOS floppies and hard drives (using type vfat for long filenames
or FAT32). See 'man mount' and 'man fstab'.
However somthing to be aware of is that if you make a simple kernel boot
floppy with 'cp /boot/vmlinuz /dev/fd0' you might need to use 'rdev' to
tell it which partition to use as / and that may be a different partition
on a different box. But that is not needed for install floppies.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: help me~ my cron doesn't work correctly.
Date: Tue, 10 Oct 2000 05:14:31 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 9 Oct 2000 12:26:52 +0900, Daesun. Jeong <[EMAIL PROTECTED]> wrote:
>For periodical update the database, I'd make a php script that named "
>http://www.xxx.com/db_update.php " and excute it by lynx. The command is :
>lynx www.xxx.com/db_update.php -dump > /dev/null
>and registed in /etc/crontab.
>
>/etc/crontab---------------------------------------------------------------
>SHELL=/bin/bash
>PATH=/sbin:/bin:/usr/sbin:/usr/bin
>MAILTO=root
>HOME=/
>
>05 * * * * root lynx www.xxx.com/db_update.php -dump > /dev/null
>---------------------------------------------------------------------------
>
>but, instead of running corrctly in specified time, cron mails to root.
>contents is this:
>
>" Your terminal lacks the ability to clear the screen or position the
>cursor. "
>
>What's the problem? and how can I solve this problem?
Judging from 'man lynx' it appears that you have syntax error in the
commandline location of -dump.
>and, If you know about other way to running PHP script in apache module, or
>refreshing MySQL database in specified time, tell me about it.
You might also want to see 'man wget' which may be better for background
or script use.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: "sCaLLioN" <[EMAIL PROTECTED]>
Subject: ISA PnP Modem setup blues
Date: Mon, 9 Oct 2000 22:18:07 -0700
Hi all:
i'm trying to setup my PnP ISA modem on RH 6.2 but have been unsuccessful
till now. First the details- my serial mouse is on COM2 and i want my modem
to be on COM1. COM1 is disabled from BIOS. Its a dual boot m/c and here is
what is assigned on NT:
serial 03E8-03EE - IRQ 10 <-- IRQ 10 is what PnP assigns to the modem as
shown by BIOS during boot
mouse 02F8 - 02FE - IRQ 3
aic78xx FC00 - FCFF IRQ 4 <-- this is my scsi controller
eapci40 E400 - E43F IRQ 4 <-- ensoniq audio PCI - presumably the sound
card
when i boot to linux i see the following (from /proc/interrupts and
/proc/ioports)
serial(auto) - 02F8 - 02FF IRQ 3 <-- mouse or modem ??
serial(auto) - 03E8 - 03EF <--mouse or modem ??
aic7xxx E800 - E8BE IRQ 4<-- is my scsi controller
es1370 E400 - E43F IRQ 4 <-- presumably sound card
i have no rc.serial or isapnp.conf. this is a new machine and i dunno much
about linux. My mouse is working of course and sound card is working too i
guess (since i could play some wav files - is that a correct conclusion ?)
Now i try to do the pnpdump and i do get the modem string in the output. And
it does not say it is a winmodem either. So i go uncomment some IRQ and IO
address set and do a isapnp on the conf file after uncommenting ask y. All
the time it would report something like the following :
Board 1 has Identity 1b ff ff ff ff b1 00 ad 4d: SMM00b1 Serial No -1
[checksum 1b]
/etc/isapnp.conf:97 -- Fatal - IO range check attempted while device
activated
/etc/isapnp.conf:97 -- Fatal - Error occurred executing request
'<IORESCHECK> ' ---
Finally the questions:
1. Does the 2nd line in the isapnp.conf mean my modem is already working ?
How can i tell if a driver is indeed loaded for my modem ?
2.How do i distinguish between the two serial(auto) io ranges reported by
linux- which one is the modem and which one is the mouse ?
3. How can i say if my modem is a winmodem or not ? its not one of those
exceedingly small modems. but still i'm not sure. the documentation on the
manufacturer's website seems to have dropped the product altogether !! Is
there a shareware to detect this from NT or linux ?
4. Can i set the modem to an IRQ that does not appear in isapnp.conf like 10
as PnP wants to have it that way ? Can i set the io range to be other than
the maximum and minimum as per the isapnp.conf file ?
5. I have seem some sites advising to disable PnP altogether to get the
modem to work. Is this true ? If so why ?
6. Is there anything i'm missing ? What should i do to get it working ?
TIA
sCaLLioN
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Linux Lost....
Date: Tue, 10 Oct 2000 05:24:44 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000 23:07:55 GMT, S��ner95 <[EMAIL PROTECTED]> wrote:
>Guys, need a bit of help here, I need some links to some good sites on
>how to get Linux up. I am running KDE, and that's all up and fine, but
>i've been trying for 2 days now to get online, install a netcard and
>so....i'm missing something, or just plain aint getting it. Hell i
>couldnt even figure out how to install the drivers of the floppy
>disk....haha I got the Linux Mandrake 7.0 distro
There should be an icon called DrakConfig to set up things like networking
and ppp. Or once you know which device your modem is (/dev/ttyS# where #
is one less than COM port). Unfortunately my Mandrake 7.0 came without
all of the very helpful HOWTO files that come with most distros. But you
could do a websearch for 'Linux HOWTO'.
>Oh and another thing i dont get, is running these .EXE files......it
>wont...its associated with x-executable but doesnt seem to do
>anything. these files have to be copied over to linux first?
>converted or something?
.EXE files for DOS/Win do not run under Linux unless you run a DOS
emulator (like dosemu for DOS files) or Wine (experimental) for Windows
files. But there are Linux versions of programs like Netscape, Acroread
(Acrobat), and StartOffice that can work with man MS Office files.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Redhat access network card before PCMCIA loads
Date: Tue, 10 Oct 2000 05:33:39 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Redhat access network card before PCMCIA loads
>
>I have a network pcmcia card in my notepad. I would like to network
>card to get active at boot time, but I see that redhat 7.0 is trying to
>active the network card before PCMCIA loads so the active does not
>work. Can someone please tell me a way around this??
I had that problem after I installed a new kernel and pcmcia-cs in
Mandrake. I simply added this to /etc/rc.d/rc.local (replace 'tulip' with
the name of your nic module):
# Enable network if tulip module is loaded
NIC=`/sbin/lsmod | grep tulip`
if [ -n "$NIC" ]; then
/sbin/ifup eth0
fi
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: root partition on extended partition
Date: Tue, 10 Oct 2000 05:43:35 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000 03:11:09 GMT, laLune <[EMAIL PROTECTED]> wrote:
>Is it possible to install the root partition on an extended partition?
>Will it be able to boot?
The only limitation is that LILO has to be in the MBR or one of the first
4 partitions below cyl 1024, and /boot has to be entirely below cyl 1024.
There is a new LILO that can get around the 1024 cyl limit, but it may not
be included with Linux yet.
You can put LILO on an extended partition, but NOT on a logical partition
in an extended partition.
I usually find it best to create a 16 MB primary /boot partition below cyl
1024, and the rest of Linux can go anywhere. I put LILO on the /boot
partition and make it bootable so I do not have to worry about Win
stepping on the MBR.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: Martin Fouts <[EMAIL PROTECTED]>
Subject: Building "Linux" from sources?
Date: 09 Oct 2000 22:47:01 -0700
Note the quotes around "Linux", because I mean building a fully usable
system, not just the kernel.
The question is how do I, starting from any of the available
distributions, build a working "Linux System" from the sources? That
is, for Debian, RedHat, SuSE, or whatever, what collection of gz, rpm,
or whatever files do I gather, and once I have them installed, what is
the equivalent of typing '(cd /usr/src ; make world )' on some other
systems?
Pointers to any sort of documentation on such a process would be
greatly appreciated.
Marty
------------------------------
From: Pavel Zaitsev <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.mandrake
Subject: Re: I NEED A JOB!!
Date: Tue, 10 Oct 2000 05:49:44 GMT
"D.J." wrote:
>
> "chris" <[EMAIL PROTECTED]> wrote:
> []i went through monster.com
> []
> []only took me a week to land the killa job, 30,000 a year , not bad for a
> []drop out with nix skillz
>
> I can believe it. I do company help desk. I get help request calls
> from onsite computer mangers who make double what I do. They don't
> seem to be computer literate.
>
> Not as bad as some of the employees who recently called and said they
> couldn't login their computers. That building had no electricity due
> to a thunderstorm. The only thing on was the emegergency lighting...
>
> Someone with minimal computer skills should be able to find work these
> days.
Bleah, its what you achieve is counts in *nix related job. If you want
money,
mostly I would be and/or Cisco/Oracle/MCSE certified. Just a waste of
time,
if you really want to be creative. Linux programmers dont get paid alot.
Live with it. ;-)
Pavel
------------------------------
From: [EMAIL PROTECTED] (Bill Phillips)
Subject: HD Upgrade Question
Reply-To: [EMAIL PROTECTED] (Bill Phillips)
Date: Tue, 10 Oct 2000 05:02:10 GMT
Running Mandrake 7.0
We're planning to upgrade the box, faster CPU, bigger drive(s).
Currently running on two really old HDs, / one one, /home on the
other. I forget which one I put the swap on.
I imagine the new system will have one large HD, don't know yet for
sure. We could probably leave one or both of the old drives in the
box, as they are nearly worthless (OTOH, if we can take them out, I
might be able to bring one home :-)).
Got no eyes for doing a complete reinstall if it can be avoided, plus
there is the problem of moving over all the data files from the old
drives (that being the biggie here).
I'll be looking around for HD cloning utilities, etc., but thought it
would be smart to ask here first ... since I'm sure some of you have
had to do this already.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Secure copy
Date: Tue, 10 Oct 2000 05:57:49 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 09 Oct 2000 16:01:59 -0500, Scott Smith <[EMAIL PROTECTED]> wrote:
>I'm currently using ssh ver 2.6 on my Mandrake 7.1 linux. I can ssh to
>another linux box and it can ssh to me. We are wanting to secure copy
>files back and forth in the same manor. I have the client setup on my
>Win98 machine and I can SSh to both linux boxes, but when I try and do a
>secure copy it logs in and then kicks me right off...what are we
>missing???
>
>Could you please be a specific as possible...newbie on this ssh stuff...
When you use ssh does it just ask you for your passphrase or does it also
ask for your system password?
If it is falling back to rhost configuration instead of an RSA key maybe
you could get it to work by uncommenting the rsh line in /etc/inetd.conf
and then do 'killall -HUP inetd'.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Building "Linux" from sources?
Date: Tue, 10 Oct 2000 00:54:53 -0500
Martin Fouts wrote:
>
> Note the quotes around "Linux", because I mean building a fully usable
> system, not just the kernel.
>
> The question is how do I, starting from any of the available
> distributions, build a working "Linux System" from the sources? That
> is, for Debian, RedHat, SuSE, or whatever, what collection of gz, rpm,
> or whatever files do I gather, and once I have them installed, what is
> the equivalent of typing '(cd /usr/src ; make world )' on some other
> systems?
>
> Pointers to any sort of documentation on such a process would be
> greatly appreciated.
>
> Marty
http://www.linuxfromscratch.org/
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
** 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.setup) 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-Setup Digest
******************************