Linux-Setup Digest #591, Volume #19              Sun, 10 Sep 00 01:13:06 EDT

Contents:
  Re: Running Linux off a cd (Cannon Fodder)
  Re: linux os for firewall and internet??????? (Cokey de Percin)
  Re: problems with installation of redhat 6.2 ("bluster")
  Re: Getting RH Linux to recognize ATA66 IDE controller (James Richard Tyrer)
  Re: problems with installation of redhat 6.2 ("Noble Pepper")
  Re: Large HD, Linux and Win2k ("Noble Pepper")
  Re: CD-ROM Drivers (=?iso-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Mandrake problem on a HP 3390 notebook ([EMAIL PROTECTED])
  Howto stop suspend when closing LCD cover on laptop? (skybook)
  Kernel options ("Ronnie Jones")
  Running a script at bootup?? (PeteCool)
  Re: Howto stop suspend when closing LCD cover on laptop? (Peter Teuben)
  Re: XFree86 4.0.0 and SiS 6326 (Richard Ketchersid)
  Re: Running a script at bootup?? (David M. Cook)
  Re: Will this machine work ? (David M. Cook)
  Re: Running a script at bootup?? (Rob Ristroph)
  Re: Howto stop suspend when closing LCD cover on laptop? (Michael Cox)
  Newbie -> HELP- how to set up ISP etc :) (Jason)
  Problems compiling Fetchmail with Kerberos support ("Dan Itsara")

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

From: Cannon Fodder <[EMAIL PROTECTED]>
Subject: Re: Running Linux off a cd
Date: Sat, 09 Sep 2000 23:46:06 GMT

On Thu, 16 Dec 1999, Reggie wrote:

>I only have a 2gb hard drive and would like to keep windows 95 on that one 
>but I have a cd recorder and would like to run linux off of a cd and was 
>wondering how and if that is possible.
>

Sure it's possible.  You just need to know what
you are doing, that's all.  You could use a
floppy-sized linux kernel image and append the
/usr and /opt `partition' info to the kernel
image.  ie:  install NetBSD.

There are utilities in linux such as `mkisofs'
that will merge *.iso images to create a bootable
CD.  However, you'd have to make sure that you had
things the way you wanted them, before committing
the image.  You'd definitely have to install the
OS on the hard drive first to configure it right.

If I were you, I'd make a compromise.  Go to
www.slackware.com and check out their ZipSlack
package.  No reformmatting of your hard drive
would be required, and it's not over 100 megs et
al.

It works great for me.  


 ---Sig Msg---
All spam is saved in 
/dev/null to admire 
marketing ingenuity.
---End Sig---



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

From: Cokey de Percin <[EMAIL PROTECTED]>
Subject: Re: linux os for firewall and internet???????
Date: Sat, 09 Sep 2000 23:55:03 GMT

David Lee Lambert wrote:
> 
> On Thu, 7 Sep 2000, andy m wrote:
> 
> > can anyone suggest a really small linux os that i can use on a p133 just as
> > a firewall and internet gate to protect my home systems??? i have a cable
> > modem and 3 other machines at home.
> 
> IMHO debian is reasonably small, efficient, friendly and well-maintained.
> Slackware claims it needs "20 to 300 Mbytes" to install,  and I'd say that
> my overall experience with it for this purpose was negative.  I ended up
> having to tweak and recompile a lot of stuff.  RedHat seems to advertise
> their product's usefulness along these lines,  but I don't have any
> experience with it.
> 
> --
> DLL

I use LRP (Linux Router Project @ www.LinuxRouter.org).  The most current
release 2.9.7 (I think) uses 2.2.16 & IPchains.  It's a bit of roll your
own, but it runs on 1 floppy just fine and can be set up to use 2 floppy
drives or a hard drive if necessary.  I use mine behind a cable modem with
RR so I've got DHCP client, a firewall and portsentry running and they all
fit on 1 floppy with room to spair.  The P133 is overkill!  I have no problem
supporting 2M bit (RR cap) with an old 486/25 with 16M. 

Best

Cokey   


-- 
==================================================================
Cokey de Percin, DBA            Email:
Policy Management Systems Corp.  Work - [EMAIL PROTECTED]
Columbia, South Carolina         Home - [EMAIL PROTECTED]

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

From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: problems with installation of redhat 6.2
Date: Sat, 9 Sep 2000 20:02:39 -0400

to make install-boot floppy from cdrom...
on the working linux box:

do:    insert CD
type: mount /mnt/cdrom
do:    insert blank floppy disk
type: dd if=/mnt/cdrom/images/boot.img of=/dev/fd0 bs=1440k

good luck
 - bluster




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

From: James Richard Tyrer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Getting RH Linux to recognize ATA66 IDE controller
Date: Sun, 10 Sep 2000 01:19:07 GMT

Sardion wrote:

> Charlie Zender wrote:
> >
> > Hi,
> >
> > Redhat linux 6.2 will not install on my machine, it quits installation
> > procedure with the error "No valid devices were found on which to create
> > new filesystems". I have it from a helpful netizen that the problem is
> > that lilo does not know how to find the ATA66 controller, and the
> suggested
> > fix is booting with "linux ide2=0x1080" and eventually
> > adding a line to lilo.conf like so:
> >
> > >The bottom line is that Linux cannot find the ATA 66.
> > >Here's what the core of my lilo.conf eventually looked
> > >like after I got things installed:
> >
> > >image=/boot/vmlinuz-2.2.14-5.0
> > >       label=linux
> > >       append="ide2=0x1080"
> > >       read-only
> > >       root=/dev/hde5
> >
> > >other=/dev/hde1
> > >       label=dos
> >
> > Before I try this solution I have some questions:
> > 1. Is this solution safe? Is it alway ide2? How do I know whether
> > to use ide1 instead? What if I'm wrong with that hex address? Will
> > it trash my windows partition?
> >
> > 2. Is this a generic problem with ATA66 controllers? with just
> > the Promise ATA66 controllers? Is the problem fixed in kernel 2.4.0.test?
> > Or should I just assume the problem will still be in 2.4 and install
> > Redhat 6.2 now?
> >
> > 3. Is there a better solution? e.g., making a driver disk with the
> > "right" ata66 module on it?
> >
> > Thanks,
> > Charlie
> >

You should read the Ultra-DMA  mini-HOWTO

 http://www.ssc.com/mirrors/LDP/HOWTO/mini/Ultra-DMA.html

Basically, you need to exec:

cat /proc/pci

and then find your controller in the output:

  Bus  0, device  17, function  0:
    Unknown mass storage controller: Promise Technology IDE UltraDMA/66 (rev
1).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=64.
      I/O at 0xd800 [0xd801].
      I/O at 0xdc00 [0xdc01].
      I/O at 0xe000 [0xe001].
      I/O at 0xe400 [0xe401].
      I/O at 0xe800 [0xe801].
      Non-prefetchable 32 bit memory at 0xe4400000 [0xe4400000].

  Pass "ide2=0xd801,0xdc03 ide3=0xe001,0xe403" as a command line parameter to
the kernel.

This presumes that you have a separate Promise Ultra 66 card.  If you do
(unless you tell the Kernel to change it) the two ide ports on your
motherboard are ide0 & ide1 and the ones on the card are ide2 & ide3.  So, in
answer to your questions:

> 1. Is this solution safe? Is it alway ide2? How do I know whether
> to use ide1 instead? What if I'm wrong with that hex address? Will
> it trash my windows partition?

The solution is OK.  The primary ide on your board is always ide2 (with some
qualifications).  If you use the wrong address, it will probably just crash.
However, the address is not constant -- this is PCI -- you must get the
address for your system as shown above and in the HOWTO.

> 2. Is this a generic problem with ATA66 controllers? with just
> the Promise ATA66 controllers? Is the problem fixed in kernel 2.4.0.test?
> Or should I just assume the problem will still be in 2.4 and install
> Redhat 6.2 now?

This is a generic problem with ATA66 controllers.  The 2.2.14 Kernel doesn't
have full support for ide.  Kernel v 2.4 should fix the problem.

> 3. Is there a better solution? e.g., making a driver disk with the
> "right" ata66 module on it?

Currently, the best solution is to use Kernel v 2.2.16 with the ide patch.

 http://www.kernel.org/pub/linux/kernel/people/hedrick/ide-2.2.16.all/

The August 26 patch is what I am currently using.  Although there are now
patches for the 2.2.17 Kernel.

JRT


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

From: "Noble Pepper" <[EMAIL PROTECTED]>
Subject: Re: problems with installation of redhat 6.2
Date: Sat, 09 Sep 2000 20:48:28 -0600

I believe there is a directory on the CD called images. There should be 
a file called bootimage, in dos you can use the rawwrite program in the
same directory to copy it to a floppy and then use it to boot. 

dd in linux will do the same thing but it took some fiddling with block size
to get it to work for me, I think either 512 or 1024 was the magic number.

All this is from a faulty memory so interpret liberally.

"Portwolf" <[EMAIL PROTECTED]> wrote:
> Hello all Hackers around the world....
> 
> I have a great question.
> 
> I just get a second pc from a frend it's an old one and i wanted to
> install RedHat 6.2 on it. Well I miss a bootdisk so i thought"What if i
> start the first pc where Redhat already exzists and booting from CD-rom
> .after a while i get the questions to install or upgrade, Well i choosed
> Upgrade and upgraded one file.The trick what was in my mind was that
> after upgrading the installation asks me or if i want to create a
> bootdisk so i did. I rebooted the first pc and pulled out the bootfloppy
> i just created."
> 
> Well the bootfloppy i puted into the second pc and start to install
> RedHat
> 6.2 like the first pc and booted from floppy.Well after booting there
> were some messages and at one time it all stopped....
> 
> "this is the last message"
> 
> ----------------------------------------------------------------------------
> ---
> ... autorun DONE.
> attempt to access beyond end of device
> 03:05: rw=0, want=2, limit=0
> dev 03:05 blksize=1024 blocknr=1 sector=2 size=1024 count=1 EXT2-fs:
> unable to read superblock attempt to access beyond end of device
> 03:05 rw=0, want=33, limit=0
> dev 03:05 blksize=1024 blocknr=32 sector=64 size=1024 count=1
> isofs_read_super: bread failed, dev=03:05, iso_blknum=16, block=32
> Kernel panic: VFS: unable to mount root fs on 03:05
> ----------------------------------------------------------------------------
> -----
> 
> Well as i mentioned before i already have redHat 6.2 on my first pc so
> installation isn't so difficult to me but this?????????
> 
> I also thought that it could be that the bootdisk i created on the first
> pc was actually meant for the first pc so al the data was stored on the
> floppy what already exzists on the first pc.Maybe this could be the
> problem.....
> 
> I also tried to Boot from cdrom but i can't access the BIOS because the
> second pc is actually a verry old one(Compaq pressario 633) i also puted
> in a bigger Harddisk for space so i can be able after the installation
> to start up my Xwindow.....(YES WITHOUT THE S!!!!!!!)
> 
> Ok now i also heard that there is a possebitlity to create a bootdisk
> from DOS. but what are the commands for this to do???
> 
> Well, I hope somebody could help me.......
> 
> Greatfully THNX to those who can solve my problems and give me the right
> sollution to this.
> 
> Greetz Portwolf
> 
> 
> 
> 


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

From: "Noble Pepper" <[EMAIL PROTECTED]>
Subject: Re: Large HD, Linux and Win2k
Date: Sat, 09 Sep 2000 20:57:26 -0600

I like to make a fairly small partition at the beginning of the disk
(maybe 2 gig) and put linux there. Then make a partition for the other OS
and one for your /home directory in linux. I use another partition yet for
/usr/src since I compile a lot from sources. 

"Manoj M. Prabhakaran" <[EMAIL PROTECTED]> wrote:
> Hi,
>       I am getting a new PC with a 40 gig HDD. I am planning to install linux
>       (redhat 7beta) and win2k on it. I would like to know the best way I
>       should go about doing this. I am aware that there is a
>       1024 cylinder limit associated with LILO. So I would appreciate it
>       very much if someone could tell me how to partition my disk
>       (suppposing I give 20GB each to windows and linux). Also should I
>       first install win2k or Linux? And, do I use LILO or some bootmanager of
>       windows?  (I haven't used win2k before and am a complete newbie there).
> 
>       The configuration includes: Motherboard - Intel CA810E,
>     Hard Drive - Maxtor 40 GB EIDE Ultra DMA/66 Model # MXT-94098U8 
> 
> tia, Manoj.
> 


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

From: =?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: CD-ROM Drivers
Date: Sun, 10 Sep 2000 04:08:30 +0200

How much RAM have you got? Redhat 6.X install requires at least 16Mb RAM.

When you say that it works with a DOS-disk - do you mean that DOS works -
or do you mean that the linux installation works fine when started from
DOS?

Another thing: How is you CDROM attached? Is it via a standard IDE
interface or via a custom interface?

As a last resort, signal 11 often means hardware problems. Look at
www.bitwizard.nl/sig11. In fact there are some RedHat specific tips here
too.

On Sat, 9 Sep 2000 [EMAIL PROTECTED] wrote:

> Hey to all,
>      I'm installing Red Hat 6.1 on one of my older P166 systems, and it
> keeps erroring out.  I think (this is as much a question as it is a
> statement) its my CD-ROM drive, which is an NEC CDR-273 (1st get CD-
> ROM, not a CD-R).  I'm booting to Red Hat's install/boot floppy.  The
> error message that I get is
> 
> running /sbin/loader
> install exited abnormally -- received signal 11
> 
> and then it stops.  When I boot to DOS floppy w/ CD-ROM support, it
> works beautifully.  I think that the issue is that linux doesn't have
> drivers for my CD-ROM drive.
>      Can anyone help?  Either help me find CD-ROM drivers or tell me
> more about this issue?
> 
> Many thanks,
> -Chris Leonard
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
> 

---
N�h ja for fa'en
- det er jo mig, der skal starte
                                  -- Ole Fick


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

From: [EMAIL PROTECTED]
Subject: Mandrake problem on a HP 3390 notebook
Date: Sun, 10 Sep 2000 02:13:30 GMT

Well after trying Red Hat and having video lock up problems, I tried
Mandrake and so far so good. However I had to select a generic Hi Freq
svga 1024x768 @ 70hz instead of the SMI Lynx generic adapter (which is
what this has). There is still a problem with the video or something. If
I try and access a virtual terminal via the Fx keys, It goes into
suspend mode. If I don't try this, it works fine. Hardrake (Mandrakes
config utility) found the built in modem and sound card but I need to
finish configuring them. If anyone has any ideas on the suspend problem,
I'd appreciate it,, David


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: skybook <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Howto stop suspend when closing LCD cover on laptop?
Date: Sat, 09 Sep 2000 22:20:33 -0400

Other than breaking off the LCD on/off pin, does anyone know how to
disable
the APM suspend function when closing a laptop LCD cover/lid?

Been through battery mini howto, apm and apmd manpages, and many
google searches.

Tried stuff like xset dpms force off, etc...  No luck :(

What IRKS me is windoze98se supports disabling suspend when closing
the laptop cover/lid.

THIS is what I want under linux!

I have even browsed the apm source code in
/usr/src/linux/arch/i386/kernel/apm.c
to see if I can hack a solution.  Still looks greek, very weak "c"
skills.

There must be difference between the normal power button and the little
@%&^!*# pin under the cover/lid.

Thanks - Brad

please post and email [EMAIL PROTECTED]


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

From: "Ronnie Jones" <[EMAIL PROTECTED]>
Subject: Kernel options
Date: Sat, 9 Sep 2000 22:29:04 -0700

How can I tell what has been compiled into my kernel?  I know that I can
modules.conf to see what modules are loaded, but I would like to know if
things like SCSI emulation, support for Athlon processor extentions etc. are
in the kernel.

Ronnie



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

From: PeteCool <[EMAIL PROTECTED]>
Subject: Running a script at bootup??
Date: Sun, 10 Sep 2000 02:28:48 GMT

Doing what I want to do may seem very easy for some of you out there, but 
after many hours looking for info, I had NO results.

I made a script to enable ipchains, it's /etc/rc.d/rc.firewall
I wanna make it run at bootup. I saw somewhere that I should add it to 
rc.local. I looked in rc.local, and the file has special formatting. How do 
I add the script to rc.local?

If there is any other way to do this, help is welcome!

Pete

--
Posted via CNET Help.com
http://www.help.com/

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

From: Peter Teuben <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: Howto stop suspend when closing LCD cover on laptop?
Date: Sat, 09 Sep 2000 23:24:38 -0400

skybook wrote:
> 
> Other than breaking off the LCD on/off pin, does anyone know how to
> disable
> the APM suspend function when closing a laptop LCD cover/lid?
> 
> Been through battery mini howto, apm and apmd manpages, and many
> google searches.
> 
> Tried stuff like xset dpms force off, etc...  No luck :(
> 
> What IRKS me is windoze98se supports disabling suspend when closing
> the laptop cover/lid.
> 
> THIS is what I want under linux!
> 
> I have even browsed the apm source code in
> /usr/src/linux/arch/i386/kernel/apm.c
> to see if I can hack a solution.  Still looks greek, very weak "c"
> skills.
> 
> There must be difference between the normal power button and the little
> @%&^!*# pin under the cover/lid.

I am not sure if it's a good idea to keep the machine running that way.
For one, there will be much less heat dissipation, and you could
fry your machine this way, mine gets pretty hot, and i don't want to
think what happens when this heat has even more trouble  dissipating.



peter

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

From: Richard Ketchersid <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: XFree86 4.0.0 and SiS 6326
Date: Sat, 9 Sep 2000 21:03:31 -0700



On Sun, 3 Sep 2000, D. D. Brierton wrote:

> I can't seem to get XFree86 4.0.0 to work with my onboard SiS 6326. This
> isn't an urgent problem as XFree86 3.3.6 works okay, and Mandrake 7.1
> installs both 3.3.6 and 4.0.0. However, I'm curious to see if
> performance is better with 4.0.0 and according to the docs the SiS
> driver was written specifically for the 6326 chip, so I'm puzzled as to
> why I can't get it to work. I suspect that there is a simple solution,
> but unfortunately I don't know what it is! I read the docs concerning

... CUT

> (==) Depth 24 pixmap format is 32 bpp

... CUT

This seems to be a problem. SiS 6326 doesn't like 32 bpp for anything. I
have found that the following works to get X started in 24 depth (4.0 and
4.0.1) but some applications don't like this, e.g. mtv and acroread to
name a couple:

        X -pixmap24 <== Tell X to use 24bpp for pixmaps
__
Richard



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

From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: Running a script at bootup??
Date: 10 Sep 2000 04:16:01 GMT

On Sun, 10 Sep 2000 02:28:48 GMT, PeteCool <[EMAIL PROTECTED]> wrote:

>I wanna make it run at bootup. I saw somewhere that I should add it to 
>rc.local. I looked in rc.local, and the file has special formatting. 

Add it to the very end of the file on a new line.  

Dave

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

From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: Will this machine work ?
Date: 10 Sep 2000 04:32:25 GMT

On Sat, 09 Sep 2000 20:20:41 GMT, Rob Ristroph <[EMAIL PROTECTED]> wrote:

You should always check the hardware list for the distribution you're
planning on using.  Red Hat has theirs at 

http://www.redhat.com/hardware

>hard drive:   Maxtor IDE 40 GB 7200rpm ATA100           $225

Connected to an ATA100 controller?  Until kernel 2.4 is standard in
distributions you'll probably have to connect it to the standard IDE
controller to do an install.

See http://www.linux-ide.org/

>video card:   Hercules AGP 64MB Prophet-II GTS GeForce2 $399

See http://www.xfree86.org/cardlist.html

>ethernet:     3Com PCI 10/100 (3c905c)                  $44

This may not work out of the box depending on how old the
distribution/kernel is.  I think it works fine with kernel 2.2.16.  You may
need to install a later kernel or driver.  See

http://www.scyld.com/network/vortex.html

Dave Cook


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

From: [EMAIL PROTECTED] (Rob Ristroph)
Subject: Re: Running a script at bootup??
Reply-To: [EMAIL PROTECTED]
Date: Sun, 10 Sep 2000 04:46:59 GMT

Pete,

        The "special syntax" is shell scripting language.  If you are
        going to do a lot with linux or any unix you will end up
        learning a bit of it.

        Put this in your /etc/rc.d/rc.local file, at the bottom, after
        everything that is already in it:

if [ -x /etc/rc.d/rc.firewall ]; then
        echo 'Starting up IP masquerading'
        /etc/rc.d/rc.firewall
fi

        This checks that the rc.firewall file is there, and that it is
        executable, and then runs it.  It is exactly what is on my
        system.

--Rob

>>>>> "PeteCool" == PeteCool  <[EMAIL PROTECTED]> writes:
PeteCool> 
PeteCool> Doing what I want to do may seem very easy for some of you
PeteCool> out there, but after many hours looking for info, I had NO
PeteCool> results.
PeteCool> 
PeteCool> I made a script to enable ipchains, it's
PeteCool> /etc/rc.d/rc.firewall I wanna make it run at bootup. I saw
PeteCool> somewhere that I should add it to rc.local. I looked in
PeteCool> rc.local, and the file has special formatting. How do I add
PeteCool> the script to rc.local?
PeteCool> 
PeteCool> If there is any other way to do this, help is welcome!
PeteCool> 
PeteCool> Pete
PeteCool> 
PeteCool> --
PeteCool> Posted via CNET Help.com
PeteCool> http://www.help.com/

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

Subject: Re: Howto stop suspend when closing LCD cover on laptop?
Crossposted-To: comp.os.linux.portable
From: [EMAIL PROTECTED] (Michael Cox)
Date: Sun, 10 Sep 2000 04:50:46 GMT

In a previous post, skybook <[EMAIL PROTECTED]> wrote:
> 
> Other than breaking off the LCD on/off pin, does anyone know how to
> disable
> the APM suspend function when closing a laptop LCD cover/lid?

Some laptops allow this in their BIOS settings.

-- 
Michael Cox                     (remove "Z" to respond)

Posted via Newton MessagePad     "Ink different"
http://www.lp.org  Enough is enough. Vote different!
LINUX -- Support Open-Source


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

From: Jason <[EMAIL PROTECTED]>
Subject: Newbie -> HELP- how to set up ISP etc :)
Date: Sun, 10 Sep 2000 04:35:59 GMT

I have installed Linux 5.1 Red Hat
on a LILO partition

How do I set up
internet and telnet services etc?

Much appreciated
Please email me :)


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Dan Itsara" <[EMAIL PROTECTED]>
Subject: Problems compiling Fetchmail with Kerberos support
Date: Sun, 10 Sep 2000 01:09:49 -0500

Hello,

I don't quite understand why, but I cannot get fetchmail to compile with
kerberos support. I configured krb5-1.2.1 with the options --enable-shared
--enable-profiled and I added the kerberos libs directory to my
/etc/ld.so.conf file. However, when I try to compile fetchmail with
options --with-kerberos5=/usr/local/kerberos, ld cannot find my crypto
library.

If you have any advice I would really appreciate it. Thanks all. - Dan


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


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

Reply via email to