Linux-Setup Digest #981, Volume #20               Wed, 4 Apr 01 04:13:10 EDT

Contents:
  Re: Anybody tried various 2.4 kernel based distributions? Opinions? (David Efflandt)
  Re: Squid&RH 7.0 (Chris King)
  Re: Squid&RH 7.0 (Adam Moore)
  Re: Primary partition... on every HDD? (David Efflandt)
  Re: Win recognizes Linux partition?? I don't believe it... (David Efflandt)
  Re: LILO vs. loadlin (Bloody Viking)
  Re: LILO vs. loadlin (Bloody Viking)
  Re: /dev/null is read-only ? (Bloody Viking)
  RH Errata ("H. van Niekerk")
  Re: Squid&RH 7.0 ("Elem103")
  Re: Copy Solaris Boot CD (Charles E. Hill)
  Re: Kernel compilation failed ? Redhat 7.0 (Kevin Hayes)
  Re: cannot shutdown and reboot ([EMAIL PROTECTED])
  Re: Squid&RH 7.0 (Chris King)
  Re: /dev/null is read-only ? (Villy Kruse)
  Re: Partioning problem during install ("Eric")
  Re: hdb boot ("Eric")
  Re: Win recognizes Linux partition?? I don't believe it... ("Eric")
  Re: rh7 + WinMe problem ("Eric")
  can't boot after updating kernel to 2.4.0 ("stephen")
  Re: G4 TI (Eric Deveaud)

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Anybody tried various 2.4 kernel based distributions? Opinions?
Date: Wed, 4 Apr 2001 03:21:58 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Tue, 03 Apr 2001 14:45:51 GMT, Vilmos Soti <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (David Efflandt) writes:
>
>> Just be aware that the 3 CD workstation version is missing some things
>> like ncftp, slrn, bind, and has no ftpd of any kind.  It just has tin and
>
>And why do you need ftpd, or especially bind on a *workstation*?

Well I use 1 box as sort of a MASQ gateway server.

Of course scp works for Linux, but I need ftpd to transfer files to and
from Windows (haven't set up samba yet).  And bind so I can simply point
internal boxes at my gateway for DNS regardless of where I am connecting
to without having to change resolv.conf (I set listen-on to only listen on
private interfaces).  It is also missing identd which is needed for some
irc sites.  Guess I should have gotten the Pro version.

The SuSE firewall/MASQ is fairly easy to set up.  I had a quick port scan
done from a website and all they found open was ssh and smtp.  And my logs
showed the scanning.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: Chris King <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,aus.computers.linux
Subject: Re: Squid&RH 7.0
Date: Wed, 04 Apr 2001 11:26:33 +0800
Reply-To: [EMAIL PROTECTED]

On Wed, 04 Apr 2001 08:06:26 +0500, maher <[EMAIL PROTECTED]> wrote:

>> If you want to run  it as a
>> transparent proxy... you simply use prerouting to grab all packets on 80
>> and send them to 3128 on squid... ;)
>
>BTW, how do you do that? is it using ipchains to redirect packets from
>80 to 3128?

Isn't it easier to just tell squid to listen on port 80 as well?

/etc/squid/squid.conf
http_port 3128 80

-Chris


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

From: [EMAIL PROTECTED] (Adam Moore)
Crossposted-To: comp.os.linux.security,aus.computers.linux
Subject: Re: Squid&RH 7.0
Date: 4 Apr 2001 03:41:39 GMT

>>> If you want to run  it as a
>>> transparent proxy... you simply use prerouting to grab all packets on 80
>>> and send them to 3128 on squid... ;)
>>
>>BTW, how do you do that? is it using ipchains to redirect packets from
>>80 to 3128?
>
>Isn't it easier to just tell squid to listen on port 80 as well?

Not transparent, lusers would have to update settings. Chains syntax would be
something like:

    ipchains -A input -i <interface> -p tcp \
        -d 0.0.0.0/0 80 -j REDIRECT 3128

You might like to have a look at the following:
    
    http://rpmfind.net/linux/mdw/HOWTO/mini/TransparentProxy.html#toc5

-- adm

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Primary partition... on every HDD?
Date: Wed, 4 Apr 2001 03:43:37 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Wed, 4 Apr 2001 00:45:40 +0200, Haxor <[EMAIL PROTECTED]> wrote:
>
>This question has always done me unsure during (Linux) setups, though I
>never had any problems that could be derived from bad choice of partitions.
>However, now I'm looking for an answer.
>
>When setting up, for example Mandrake you may choose between primary and
>extended partitions, both ext2. From Windows I know, the primary partition
>is the first one, where OS resides, and extended is a container for logical
>partitions due to some windows (or maybe it was FAT) shortcoming. So far so
>good.
>
>Now, Linux isn't Windows and ext2 isn't FAT, so what's the deal? Can anyone
>please explain it to me. I have been looking for an answer in HOWTO:s with
>no luck.

Windows can only cope with 1 primary and any number of logical partitions
(in 1 extended partition) on any particular drive, but it ignores
partitions it does not recognize (it should not see Linux partitions
except to know that it has to work around them).  But don't ever try to
put a Windows extended partition after FreeBSD, because it will
misinterpret the disklabels and step all over FreeBSD.

With Linux you are limited to 4 primary or extended partitions with any
number of logical partitions in an extended partition.  Some Linux fdisk
versions cannot read FreeBSD disklabels that extend beyond cyl 1024, yet
Linux mount can mount them fine.  Since Linux fdisk could not see FreeBSD
disklabels, all I put after FreeBSD on a drive was a Linux primary
partition that I use for backup and archiving.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Win recognizes Linux partition?? I don't believe it...
Date: Wed, 4 Apr 2001 03:50:02 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Tue, 03 Apr 2001 14:26:33 GMT, Jelly Fish <[EMAIL PROTECTED]> wrote:
>Strange. cfdisk and fdisk report that one of my 8 gig partitions is a
>Linux ext2 partition, yet Windows recognizes the partition? Is it
>possible that the partition is in fact a DOS partition, and my
>partitioning programs are reporting the type incorrectly? Is it
>possible to have a sector header that says a Linux partition is to
>follow, when in fact a DOS partition follows?

Windows should not see a Linux partition (if fdisk shows it as type 83
Linux).  But Windows is only smart enough to know when something was
added, not necessarily when it was removed.  Assuming the partition is
properly marked for Linux, try removing the device from Windows, reboot,
and see if it reappears.  It will show Linux drives, but should not
show any drive letter for Linux partitions and they should not show up in 
My Computer.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: [EMAIL PROTECTED] (Bloody Viking)
Crossposted-To: comp.os.linux.misc
Subject: Re: LILO vs. loadlin
Date: 4 Apr 2001 04:47:36 GMT


John in SD ([EMAIL PROTECTED]) wrote:

: Why not use LILO as your boot manager?

Maybe becuse he couldn't get it to work? I use Loadlin as my standard Linux 
booter too. LILO is problematical becuse of hard drive geometry and many 
computers have flaky BIOSes. 

--
FOOD FOR THOUGHT: 100 calories are used up in the course of a mile run.
The USDA guidelines for dietary fibre is equal to one ounce of sawdust.
The liver makes the vast majority of the cholesterol in your bloodstream.

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

From: [EMAIL PROTECTED] (Bloody Viking)
Crossposted-To: comp.os.linux.misc
Subject: Re: LILO vs. loadlin
Date: 4 Apr 2001 04:51:46 GMT


Chiefy ([EMAIL PROTECTED]) wrote:

: Just wondering if the best thing to do (with loadlin), would be to copy
: your kernel to /dev/hda1 and fire up Loadlin with something like;

: c:\path\to\kernel compact root=/dev/hdc1 ro

You can put the line into a one-liner batch script. On my box on the C:\HOME\ 
dir is a file named UNIX.BAT that starts Loadlin. 

--
FOOD FOR THOUGHT: 100 calories are used up in the course of a mile run.
The USDA guidelines for dietary fibre is equal to one ounce of sawdust.
The liver makes the vast majority of the cholesterol in your bloodstream.

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

From: [EMAIL PROTECTED] (Bloody Viking)
Crossposted-To: linux.redhat,comp.os.linux.questions,comp.os.linux.networking
Subject: Re: /dev/null is read-only ?
Date: 4 Apr 2001 05:04:45 GMT


mari-k ([EMAIL PROTECTED]) wrote:

: I got:
: crw-rw-rw-   1 root     root       1,   3 May  5  1998 /dev/null

I get the same chmod for /dev/null when I tried it. Maybe the original 
poster's bit bucket is full! 

--
FOOD FOR THOUGHT: 100 calories are used up in the course of a mile run.
The USDA guidelines for dietary fibre is equal to one ounce of sawdust.
The liver makes the vast majority of the cholesterol in your bloodstream.

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

From: "H. van Niekerk" <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,redhat.general
Subject: RH Errata
Date: Wed, 04 Apr 2001 07:12:25 +0200

Hi,

I'm trying to download the UCD and the GNORPM updates from the RH-errata
site but they give errors when accessed: 'file not found' Does anyone
know where they are?

Thanks,.

Huub


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

From: "Elem103" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,aus.computers.linux
Subject: Re: Squid&RH 7.0
Date: Wed, 4 Apr 2001 15:25:56 +1000


"Chris King" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wed, 04 Apr 2001 08:06:26 +0500, maher <[EMAIL PROTECTED]> wrote:
>
> >> If you want to run  it as a
> >> transparent proxy... you simply use prerouting to grab all packets on
80
> >> and send them to 3128 on squid... ;)
> >
> >BTW, how do you do that? is it using ipchains to redirect packets from
> >80 to 3128?
>
> Isn't it easier to just tell squid to listen on port 80 as well?
>
> /etc/squid/squid.conf
> http_port 3128 80
>
> -Chris
>

Err.. no.  Listening on port 80 is not the way to go.  You have a traffic
going from say, your computer in your local LAN to a web server NOT from
your computer in your local LAN to your squid computer.  In another word,
your computer is not talking to the squid computer directly.

eg.

www.google.com <---> Your SQUID COMP <---> Your Computer

If squid listens on port 80, it is not transparent.  You have to configure
"Your Computer" to use the proxy at your squid computer at port 80.

Tranparent proxies are used by most ISPs to reduce the download bandwidth
when users do not automatically select a proxy.

=-
Elem103



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

From: Charles E. Hill <[EMAIL PROTECTED]>
Subject: Re: Copy Solaris Boot CD
Crossposted-To: comp.os.linux.hardware
Date: Wed, 04 Apr 2001 05:51:53 GMT

Solaris CDs are a bit different than "normal" CD-ROMs.  As you stated, they 
contain UFS images and an ISO image with special boot flags.

Check out the man page for mkisofs, specifically the -B option (which deals 
with making Sparc Bootable CD-ROMs).  You might also need the -sparc-label 
option for making a boot label.

They also use RockRidge extensions, but NOT Joliet.

That's all I can remember off the top of my head.  I'll look up the rest 
(we do a lot of these at my office).

 -Charles Hill
Core Network Engineer
Lucent Worldwide Services


Randy Broman wrote:

> I'm attempting to duplicate a Solaris v2.6 boot CD. This does not use an
> iso9660
> filesystem, but instead has some partition structure with a boot
> partition, some
> UFS partitions, etc. I tried the following commands:
> 
> # /usr/bin/readcd dev=1,0,0 f=solaris26.img
> 
> # cdrecord -v speed=4 dev=1,0,0 -data /home/SOLARIS/solaris26.img
> 
> Doesn't work. Anyone know how to do this?
> 
> This is a RedHat 7.0 system with a  SONY  CD-RW  CRX120E drive (only
> one CDROM drive). Things work to the extent that I can read and write
> from/to
> the CD-RW drive; the problem is that the result is not a bootable
> Solaris CD.
> If someone knows how to do this, would appreciate the exact syntax of
> commands.
> 
> Thanx!
> 


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

From: [EMAIL PROTECTED] (Kevin Hayes)
Subject: Re: Kernel compilation failed ? Redhat 7.0
Reply-To: [EMAIL PROTECTED]
Date: Wed, 04 Apr 2001 05:54:17 GMT

On 4 Apr 2001 02:14:44 GMT, WONG SAI-KEE <[EMAIL PROTECTED]> wrote:
> I need to config the Redhat 7.0 to have mars_nwe.  So I followed the
> instructions.  It says I need to compile the kernel with IPX-support,
> but no full internal net.
> 
> I don't know what does it mean "Get a 'good' ipx-kernel-version", so
> I simply follow the www.linuxdoc.org/HOWTO/Kernel-HOWTO-2.html to
> compile the kernel and set
> 
>    The IPX protocol (CONFIG_IPX) [N/m/y/?] y
>    Full internal IPX network (CONFIG_IPX_INTERN) [N/y/?] n
> 
> make xconfig
> make dep
> make clean
> 
> All looks good, but at
> 
> make bzImage
> at some point, it says:
> 

There were some problems with the gcc version shipped with RH70, its possible
to recompile a kernel by renaming gcc and making a symlink kgcc -> gcc...

There were a lot of posts on this subject in the recent past.

-- 
Kevin Hayes
Freshwater, Australia


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

From: [EMAIL PROTECTED]
Subject: Re: cannot shutdown and reboot
Date: 4 Apr 2001 06:03:51 GMT

maher <[EMAIL PROTECTED]> wrote:
> shutdown : error in loading shared libraries : XlibXext.so.6: Cannot
> open shared object file: No such file or directory

Probabily the machine was unable to mount the /usr/lib directory,
hence the missing library.
You keep the old kernel around, did you?

Davide

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

From: Chris King <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,aus.computers.linux
Subject: Re: Squid&RH 7.0
Date: Wed, 04 Apr 2001 14:39:31 +0800
Reply-To: [EMAIL PROTECTED]

On 4 Apr 2001 03:41:39 GMT, [EMAIL PROTECTED] (Adam Moore) wrote:

>>>> If you want to run  it as a
>>>> transparent proxy... you simply use prerouting to grab all packets on 80
>>>> and send them to 3128 on squid... ;)
>>>
>>>BTW, how do you do that? is it using ipchains to redirect packets from
>>>80 to 3128?
>>
>>Isn't it easier to just tell squid to listen on port 80 as well?
>
>Not transparent

Thanks for pointing that out. I'm not sure which bit of 'transparent'
I didn't understand in the original post. :-|

-Chris


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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: linux.redhat,comp.os.linux.questions,comp.os.linux.networking
Subject: Re: /dev/null is read-only ?
Date: 4 Apr 2001 07:02:00 GMT

On Wed, 21 Mar 2001 02:40:03 GMT,
        Paul Colquhoun <[EMAIL PROTECTED]> wrote:

>On Wed, 21 Mar 2001 00:12:35 GMT,
>      Christopher H <[EMAIL PROTECTED]> wrote:
>
>|Hi everyone,
>|
>|My RedHat's 7.0 /dev/null is having some problems I think ;P
>|
>|When I rebooted my computer RedHat wouldn't boot any further because it was
>|complaining (sp ?) that /dev/null was a read-only filesystem. It would then
>|prompt me for root's password for repairing.
>
>
>Is that "/dev/null was a read-only filesystem" OR "/dev/null was ON a
> read-only filesystem"?
>
>What does 'mount' say amount the root ( / ) filesystem?
>


At that stage the root file is mounted read-only, and that is required
to be able to do a reliable fsck at boot time.  In /etc/rc.d/rc.sysinit
you'll find a command to re-mount the root file system in read-write
mode

      mount -n -o remount,rw /

If, after doing fsck, you run this command you will then be able to
chmod the /dev/null file.



Villy

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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Partioning problem during install
Date: Wed, 4 Apr 2001 09:02:08 +0200

> Question, when I boot up the RH7 install disk and select rescue it didn't
> let me fdisk /dev/hdb.  Said the device wasn't there, do you think it will
> let me do your dd comands?  I am not at that machine or I would try it
know.
>

This is just a silly setup that redhat uses in their rescue systems.
Use mknod first to create the /dev/hdb entry:

mknod /dev/hdb b 3 64

Eric



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: hdb boot
Date: Wed, 4 Apr 2001 09:17:00 +0200

> When I installed Debian, it asked me if I wish to boot from the HDD. Sure
I
> want to. There were two choices, MBR and hdb3. MBR didn't work as I
removed

Then it would have been installed in the MBR of hdb

> primary master to not to screw it up. So, I choose hdb3. It said something

That wasn't required.

> that I'm not booting from primary master drive and maybe my BIOS doesn't
> support it. Well, it does! But when I try to boot to Linux, it says "LILO"
> and then keeps writing "01".

And lilo is at hdb3?
could you post `cat /etc/lilo.conf`
and `fdisk -l /dev/hd[ab]`



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Win recognizes Linux partition?? I don't believe it...
Date: Wed, 4 Apr 2001 09:29:33 +0200

> Strange. cfdisk and fdisk report that one of my 8 gig partitions is a
> Linux ext2 partition, yet Windows recognizes the partition? Is it
> possible that the partition is in fact a DOS partition, and my
> partitioning programs are reporting the type incorrectly? Is it
> possible to have a sector header that says a Linux partition is to
> follow, when in fact a DOS partition follows?
>
> Puzzled...??

Nah, you're probably seeing the extended partition.
Post `fdisk -l /dev/hd[a-z]`

Be aware, that this may be a potential dangerous situation,
that can cause data corruption.

Eric



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: rh7 + WinMe problem
Date: Wed, 4 Apr 2001 09:31:08 +0200

> Are there any known problems for coexistence of linux and Windows Me? I

Not any new ones to me

> tried to install rh7 (it works just fine), but no matter what I did,
> windows crushes all the time while loading.

What did you do?

Eric



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

From: "stephen" <[EMAIL PROTECTED]>
Subject: can't boot after updating kernel to 2.4.0
Date: Wed, 4 Apr 2001 16:17:45 +0800


reboot after after updating kernel to 2.4.0 from 2.2.16(redhat7.0)
, I can't get the redhat 7.0 boot. The error state is as blow while
I reboot my notebook:

Loading linux.............
Uncompressing Linux.........OK,boot the kernel.
(the system just hang on )


the below is my procedure to build my kernel:

1.copy linux2.4.0.gz to /usr/src
2.tar zvxf linux2.4.0.gz
3.cd /usr/src/linux/   then "make mrproper"
4.make oldconfig

  ( I have produced 2 config.h files for /usr/src/linux and
   /usr/src/linux/pcmcai-cs-3.1.19 before updating kernel
   by the following two command:

   /usr/src/linue  => make menuconfig => produce config.h
   /usr/src/linux/pcmcai-cs-3.1.19=>make config =>produce config.h
   )

5. make dep
6. make clean
7. make bzImage
8. cp /usr/src/linux/arch/i386/boot/bzImage  /boot/bzImage

9. vi /etc/lilo.conf
   boot=/boot/vmlinuz.2.2.16-22  change to boot=/boot/bzImage

10. lilo -v -v -v  , then  sync;sync;sync
11. reboot
12.
Loading linux.............
Uncompressing Linux.........OK,boot the kernel.
(Then the system just hang on )

A.Does anyone know why ?
B.Do I have to execute "make config" instead of "step 4:make oldconfig"?
C.My friend told me that I have to execute "make config" to answer 100-200
  questions of Linux OS correctly. If I don't answer some questions
correctly
  , it is easy for linux not booting. Is it true??








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

From: Eric Deveaud <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc
Subject: Re: G4 TI
Date: Wed, 4 Apr 2001 10:06:54 +0200

On Tue, 3 Apr 2001, Bill Bailey wrote:

> What I would like to know is if anyone
> can point me to a sites that talk about what distro work best on the G4
> Powerbook,

Debian, LinuxPPC, YellowDog

I've installed a debian 2.2r2 on the same machine than your's.... run
fine
but as you have some Suse practice, I'll say give a try to Suse, Suse
7.1 for PowerPc was just released few days ago

> also I have a Lucent Wireless Gateway in the house running with 4
> Linux/windows connections. I ordered a AIRPORT card with the hope that it
> would connect to my existing network. ( I hope this is true).

true.

> BTW has anyone gotten StarOFFICE on PPC ?

StarOffice nop, but OpenOffice yes
<URL:http://www.openoffice.org/>

        Eric

-- 
CF: � l'ECN, pour minimum 80% des gens linux=plantage.
SR: Vos machines, elles ont �t� install�es par des administrateurs NT
    ou quoi ?
-+- Serge in Guide du Linuxien pervers - "Bien configurer ses admins"



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


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

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