Linux-Setup Digest #270, Volume #21              Sun, 20 May 01 19:13:09 EDT

Contents:
  Sharing net connection w/o LRP ("Michael Pye")
  Re: destination host unreachable (M. Buchenrieder)
  Re: Compiling glibc2.2.3 (Juergen Heinzl)
  Re: dual booting problem (Tom Pfeifer)
  aic7xxx with raid (Garry Wright)
  Re: Sharing net connection w/o LRP (Dave Uhring)
  Re: Compiling glibc2.2.3 ("Brittle")
  Re: Compiling glibc2.2.3 (Juergen Heinzl)
  Re: Suse: How I stop booting to GUI mode in 7.1 (robert)
  Re: How ro disable 'gpm'? (Alexander Martinez)
  Re: RedHat 6.2 choking to death (Alexander Martinez)
  lilo and three options question (Farrell Farahbod)
  Re: lilo and three options question ("ne...")

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

From: "Michael Pye" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: Sharing net connection w/o LRP
Date: Sun, 20 May 2001 20:59:59 +0100

I am going to get cable access and I would like to distribute it all round
my home network with an old P100.

However, I don't wish to use the Linux Router Project for this sort of thing
because it would also like to run a web server etc on it. Can anyone point
me in the right direction?

I had thought ipchains was the thing to use, but having a look at
www.ipchains.net revealed that it isn't the extensive resource I had
imagined hearing it discussed...

Thanks

MP



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

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: destination host unreachable
Date: Sun, 20 May 2001 14:01:20 GMT

"Peter T. Breuer" <[EMAIL PROTECTED]> writes:

>M. Buchenrieder <[EMAIL PROTECTED]> wrote:

[...]

>> Huh? Please don't try to tell this to the pile of NICs laying
>> around on my shelves...

>> :-)

>Are you selling them? (yes, I saw the smiley). 

Partially, yes. But the, of course (probably just like everyone
else here) the garage gets more and more stuffed up with used
but now unneeded PC components. Argh ...

>I don't mind 3c509's at
>all! 

He. Anyone interested in 3c905c NICs? Absolutely useless
piece of cr** . Even the Win2K admins hate them.

>But none of my recent machines have an isa slot. Anyone got a
>pci-to-isa riser?

Yeah, count me in. Sigh.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Compiling glibc2.2.3
Date: Sun, 20 May 2001 20:20:34 GMT

In article <[EMAIL PROTECTED]>, Brittle wrote:
>Hi,
>
>I got a problem when installing glibc 2.2.3
[-]
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnss_compat.so: undefined 
>reference to `__niserr2nss_tab'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnss_compat.so: undefined 
>reference to `__niserr2nss_count'
[-]
It's a known problem although it may or may not affect you, still
see http://sourceware.cygnus.com/ -- IIRC you can find the path in
glibc-alpha.

/* --------------------------------- 8< --------------------------------- */
2001-04-27  Ulrich Drepper  <[EMAIL PROTECTED]>

        * nis/nss-nis.h: Correct test for invalid error number.
        * nis/nss-nisplus.h: Likewise.

        * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.

Index: nis/nss-nis.h
===================================================================
RCS file: /cvs/glibc/libc/nis/nss-nis.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nis/nss-nis.h       2001/04/26 13:43:15     1.2
+++ nis/nss-nis.h       2001/04/28 02:17:52     1.3
@@ -31,9 +31,9 @@
 static inline enum nss_status
 yperr2nss (int errval)
 {
-  if ((unsigned int) errval > __yperr2nss_count)
+  if ((unsigned int) errval >= __yperr2nss_count)
     return NSS_STATUS_UNAVAIL;
-  return __yperr2nss_tab[errval];
+  return __yperr2nss_tab[(unsigned int) errval];
 }

 #endif /* nis/nss-nis.h */
Index: nis/nss-nisplus.h
===================================================================
RCS file: /cvs/glibc/libc/nis/nss-nisplus.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nis/nss-nisplus.h   2001/04/26 13:52:40     1.4
+++ nis/nss-nisplus.h   2001/04/28 02:19:00     1.5
@@ -32,9 +32,9 @@
 static inline enum nss_status
 niserr2nss (int errval)
 {
-  if ((unsigned int) errval > __niserr2nss_count)
+  if ((unsigned int) errval >= __niserr2nss_count)
     return NSS_STATUS_UNAVAIL;
-  return __niserr2nss_tab[errval];
+  return __niserr2nss_tab[(unsigned int) errval];
 }

 #endif /* nis/nss-nisplus.h */
Index: nis/Makefile
===================================================================
RCS file: /cvs/glibc/libc/nis/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- nis/Makefile        2001/04/26 13:53:05     1.26
+++ nis/Makefile        2001/04/28 04:20:43     1.27
@@ -55,7 +55,7 @@
                  nis_clone_res

 libnss_compat-routines := $(addprefix compat-,grp pwd spwd initgroups) \
-                          nisplus-parser nss-nis
+                          nisplus-parser nss-nis nss-nisplus
 libnss_compat-inhibit-o        = $(filter-out .os,$(object-suffixes))

 libnss_nis-routines    := $(addprefix nis-,$(databases)) nis-initgroups \
/* --------------------------------- >8 --------------------------------- */

Hope it helps,
Juergen

-- 
\ Real name     : Juergen Heinzl                \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: Tom Pfeifer <[EMAIL PROTECTED]>
Subject: Re: dual booting problem
Date: Sun, 20 May 2001 20:17:20 GMT

First of all, your premise that the NT boot loader will allow you to
overcome the 1024 cylinder limitation is not true. To boot Linux
beyond 1024 cylinders with Lilo, you need to have Lilo version 21.4 or
later. The NT boot loader will not help you if you don't. The command
'lilo -V' will tell you the version (upper case V).

Also, there is no point in having a separate /boot partition if it is
beyond 1024 cylinders. If you have the older Lilo, a /boot partition
beyond 1024 cylinders is not going to work. It has to be below 1024 so 
that Lilo can reach it. If you have the newer Lilo, you don't need one 
at all. It won't do any harm though.

As far as those sectors containing zeros, that is because you didn't
first install Lilo in the Linux partition's boot sector. To do that you 
need a properly configured /etc/lilo.conf file, and then run the 'lilo' 
command to install it in the boot sector. Then you can copy the boot
sector, as you tried before, and set up the NT boot loader as described
in the HOWTO.

Here's a simple example of /etc/lilo.conf set up to install to a
partition boot sector:

boot=/dev/hda7
lba32
install=/boot/boot.b
map=/boot/map
prompt
timeout=50
image=/boot/vmlinuz  (the path to your kernel)
  label=linux
  root=/dev/hda9
  read-only

Notes:
- boot=/dev/hda7 determines the partition boot sector to install Lilo to
- root=/dev/hda9 determines the root partition
- lba32 allows Lilo to boot beyond 1024 cylinders
- you need Lilo version 21.4 or later to support lba32
- you can find the Lilo version by 'lilo -V' as root (upper case V)
- the 'lilo' command installs Lilo as specified in /etc/lilo.conf

Tom


Stanislav Girin wrote:
> 
> Sorry,
> the commands I typed were
> dd if=/dev/hda7 of=/bootsect.lnx bs=512 count=1
> and
> dd if=/dev/hda9 of=/bootsect.lnx bs=512 count=1
> but boot sector images in both cases was filled with zeros as I have written
> 
> Stanislav Girin <[EMAIL PROTECTED]> wrote in message
> news:9do3sh$g3e$[EMAIL PROTECTED]...
> > >
> > > What does your partition table look like on this drive? I'm not really
> > > an expert, but I don't think /dev/hda2 indicates a logical partition.
> >
> >  0 : C:* type=7  (NTFS), size = 6144831 KB
> >  1 : C:  type=f  (Win95 XInt 13 extended), size = 13920322 KB
> >  2 : C:  type=7   (NTFS), size = 6144831 KB
> >  3 : C:  type=5   (Extended), size = 3598560 KB
> >  4 : C:  type=7    (NTFS), size = 3598528 KB
> >  5 : C:  type=5    (Extended), size = 24097 KB
> >  6 : C:  type=83     (Linux native), size = 24066 KB
> >  7 : C:  type=5     (Extended), size = 136552 KB
> >  8 : C:  type=82      (Linux swap), size = 136521 KB
> >  9 : C:  type=5      (Extended), size = 3437910 KB
> > 10 : C:  type=83       (Linux native), size = 3437878 KB
> >
> > Linux partitions are /dev/hda7 (boot),    /dev/hda8 (swap)    and
> /dev/hda9
> > (root)
> >
> > Yes, there are a bit more extended partitions I really need, but
> Partiotion
> > Magic desided to place each logical partition into separated extended
> > partition.
> >

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

From: Garry Wright <[EMAIL PROTECTED]>
Subject: aic7xxx with raid
Date: Sun, 20 May 2001 14:24:23 -0600
Reply-To: [EMAIL PROTECTED]

I have an Adaptec 7892 driver detected by the 2.4.3 kernel in Mandrake 8.

When I try to generate a raid partition I get a report that the disk is not 
set to read_ahead. I can find out how this is affected in an ide case but 
cannot find anything about this on the pure scsi machine.

The scsi bios built into the card does not seem to offer any options in 
this context. Any suggestions?

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

From: Dave Uhring <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: Re: Sharing net connection w/o LRP
Date: Sun, 20 May 2001 15:51:21 -0500

Michael Pye wrote:

> I am going to get cable access and I would like to distribute it all round
> my home network with an old P100.
> 
> However, I don't wish to use the Linux Router Project for this sort of
> thing because it would also like to run a web server etc on it. Can anyone
> point me in the right direction?
> 
> I had thought ipchains was the thing to use, but having a look at
> www.ipchains.net revealed that it isn't the extensive resource I had
> imagined hearing it discussed...
> 
> Thanks
> 
> MP
> 
> 
> 

Here you go, a nice simple inexpensive way to do it.  You can use a 486/33 
box or better with 16MB for install and only 8MB after install.

http://openbsd.org/faq/faq6.html


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

From: "Brittle" <[EMAIL PROTECTED]>
Subject: Re: Compiling glibc2.2.3
Date: Mon, 21 May 2001 04:46:56 +0800

In article <[EMAIL PROTECTED]>, "Juergen Heinzl"
<[EMAIL PROTECTED]> wrote:

> It's a known problem although it may or may not affect you, still see
> http://sourceware.cygnus.com/ -- IIRC you can find the path in
> glibc-alpha.

Thanks for the link. I am just wondering why I cannot find the patch
under glibc directory in gnu's ftp server. It will save many ppl lots of
time :)

---- Brittle

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Compiling glibc2.2.3
Date: Sun, 20 May 2001 21:20:21 GMT

In article <[EMAIL PROTECTED]>, Brittle wrote:
>In article <[EMAIL PROTECTED]>, "Juergen Heinzl"
><[EMAIL PROTECTED]> wrote:
>
>> It's a known problem although it may or may not affect you, still see
>> http://sourceware.cygnus.com/ -- IIRC you can find the path in
>> glibc-alpha.
>
>Thanks for the link. I am just wondering why I cannot find the patch
>under glibc directory in gnu's ftp server. It will save many ppl lots of
>time :)
[-]
I guess the patch is only in the current CVS version but will be part
of the upcoming 2.2.4 version.

Oh and of course I meant "the patch", not "the path", silly me and the
glibc-alpha mailing list archive ought to be the right one 8-}

Ta',
Juergen

-- 
\ Real name     : Juergen Heinzl                \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: robert <[EMAIL PROTECTED]>
Subject: Re: Suse: How I stop booting to GUI mode in 7.1
Date: Sun, 20 May 2001 21:30:05 -0000

start system, perhaps in ascii, next configure X, with sax 'Suse Advanced
X-configuration'.
"try whit automatic card-selection" P&P

Later, type yast in shell, enter in System Administration-/Login
Administration-/
        *Selec Graphical
        (XDM/KDM/GDM/WDM) switch ;-) Style
exit yast
(a scrit called Suseconfig start)

and jut do it ;-) 
this is the shortest way ;-)

To start X also you can type
        -xinit
        -X (link to start X)
        ...

Joel Comeaux wrote:
> 
> Andrew ward wrote:
> 
> > I installed 7.1, but the video driver is wrong so I need to
> > get access to the text-mode booting so I can run a YaST or
> > something to reconfigure my video driver?
> > 
> > Right now it just boots quickly to GUI mode (login screen)
> > 
> > Any suggestions?
> > 
> > Thanks
> > 
> The way I like to do it is -if'n I want the next boot to be console only, 
> just edit /etc/inittab.  The particular line that you want to change is 
> typically the first uncommented line and yours probably looks like this:
> id:5:initdefault:
> 
> Simply change the 5 to a 3.  On the next reboot, you won't go to run
level 
> 5, which is the "gui mode".  Instead, you simply get the ever popular 
> console mode.  After doing your thing, assuming that you want to start
the 
> gui mode.  You can type 'startx' or 'init 5'.
> 
> Running SuSE 7.1 myself....just bought it...pretty slick huh?
> 
> Joel Comeaux


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

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

From: Alexander Martinez <[EMAIL PROTECTED]>
Subject: Re: How ro disable 'gpm'?
Date: Mon, 21 May 2001 00:09:39 +0200

Hello,

I am actually using Debian, but I know there is (under RedHat) an utility
named chkconfig. with this tool you can set the runlevels in which different
programs are started.

The syntax is:
chkconfig program on/off
or:
chkconfig program runlevel on/off

please check the manpage for chkconfig because I don't know the exact syntax
for chkconfig.

Greetings
Alex


Ron Bell wrote:

> Does anyone know how to disable 'gpm' from starting in RedHat 7.1?  Please
> respond to my email as I don't always have access to this newsgroup, thanks
> in advance!
> [EMAIL PROTECTED]


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

From: Alexander Martinez <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.2 choking to death
Date: Mon, 21 May 2001 00:17:32 +0200

Hello,

"Aki Pitk�j�rvi" wrote:

> I'm running Exim/Cyrus mailsystem on a
> RedHat 6.2 platform and quite recently
> I've run into a new problem.
>
> The workload of this system is gradually
> increasing all the time and lately
> this system tends to halt without any
> apparent reason.
>
> Is this kind of choking to death situation
> familiar to anybody?

Yes, I had this problem with samba. Each time when a client connected to
the samba server, a new process started. But it didn't terminate.
Finally after aproximately 100 samba processes my machine crashed. After
reconfiguring samba it just worked fine.

> Any good suggestions
> where to look for an answer to this one?

watch your current running processes. Lock for duplicated ones. Then
watch the suspect processes, if more of them are spawned. Also look for
processes which eat up a lot of resources. If it is a daemon, then try
to run it in debug mode and watch his output. Perhaps you can find your
problem.

Greetings
Alex



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

From: Farrell Farahbod <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: lilo and three options question
Date: Sun, 20 May 2001 15:34:09 -0700

i just compiled for the first time (i new, and fyi-i use rh7.1 with the
origional kernel 2.4.2-2) kernel for the first time.. i left my
origional kernel in place so i could use it if necessary. i downloaded
kernel v2.4.4 and followed the intructions for kernel compiling at
linuxnewbie.org (under the nhf's). when i got to the last part where i
edit/update my lilo config file/mbr i get troubble. the lilo.config file
is pasted below in case you need to look at it to help me (two lines
might be on one becuase i saved my config file as a txt file from linux
to my win partition so i didnt have to write it down by hand, and in
notepad it showed some black boxes where a return shold have apperared).
after i saved the file, i brought an x-term window, and cd'd to sbin,
then typed lilo, it said it added "windows" and "linux", but that line
25 (i cant remember exacted but it was the last line) had a syntax
error. i didnt see any errors, so i decided to cut and paste the last
stanza as the first stanza, but it gave a error with the LAST line
haveing a syntax error, even thought i moved the stanza, it still had a
problem with the last line. whats wrong? am i not allowed to have lilo
boot up to 3 os's/kernels?

thnak you,

farrell farahbod

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=500
message=/boot/message
#linear
lba32
default=Windows

other=/dev/hda1
 optional
 label=Windows

image=/boot/vmlinuz-2.4.2-2
 label=Linux
 read-only
 root=/dev/hda3

image=/boot/bzImage
 root=/dev/hda3
 label=New Kernel


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

Crossposted-To: alt.os.linux
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: lilo and three options question
Date: Sun, 20 May 2001 23:01:52 GMT

On May 20, 2001 at 15:34, Farrell Farahbod eloquently wrote:

>i just compiled for the first time (i new, and fyi-i use rh7.1 with the
>origional kernel 2.4.2-2) kernel for the first time.. i left my
>origional kernel in place so i could use it if necessary. i downloaded
>kernel v2.4.4 and followed the intructions for kernel compiling at
>linuxnewbie.org (under the nhf's). when i got to the last part where i
>edit/update my lilo config file/mbr i get troubble. the lilo.config file
>is pasted below in case you need to look at it to help me (two lines
>might be on one becuase i saved my config file as a txt file from linux
>to my win partition so i didnt have to write it down by hand, and in
>notepad it showed some black boxes where a return shold have apperared).
>after i saved the file, i brought an x-term window, and cd'd to sbin,
>then typed lilo, it said it added "windows" and "linux", but that line
>25 (i cant remember exacted but it was the last line) had a syntax
>error. i didnt see any errors, so i decided to cut and paste the last
>stanza as the first stanza, but it gave a error with the LAST line
>haveing a syntax error, even thought i moved the stanza, it still had a
>problem with the last line. whats wrong? am i not allowed to have lilo
>boot up to 3 os's/kernels?
>
>thnak you,
>
>farrell farahbod
>
>boot=/dev/hda
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=500
>message=/boot/message
>#linear
>lba32
>default=Windows
>
>other=/dev/hda1
> optional
> label=Windows
>
>image=/boot/vmlinuz-2.4.2-2
> label=Linux
> read-only
> root=/dev/hda3
>
>image=/boot/bzImage
> root=/dev/hda3
> label=New Kernel
First open a new terminal in Linux and retype everything in.
I would get rid of the space in 'label=New Kernel' and add
a 'read-only' to that stanza.

-- 
Registered Linux User # 125653 (http://counter.li.org)
QOTD:
        Money isn't everything, but at least it keeps the kids in touch.
  6:59pm  up 19:09,  6 users,  load average: 0.00, 0.00, 0.00


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


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