Linux-Setup Digest #537, Volume #20              Tue, 30 Jan 01 12:13:11 EST

Contents:
  Re: lilo with multiple linux distributions? (Eric)
  Re: Minimal RH7 installation ("Alexander Borisenko")
  Re: Hard disk autodetect problem (Eric)
  Re: Root is Invalid!! HELP!! (Eric)
  Help Loading Serial Module at Startup ("Dan Yocom")
  Re: Samba guest share setup? (Rod Smith)
  Re: Minimal RH7 installation (Eric)
  ssh problems with 2.4.0 (Chris Fowler)
  Re: Samba guest share setup? ([EMAIL PROTECTED])
  Re: SuSE 7.0 and 2 NIC's ([EMAIL PROTECTED])
  Re: Flash disk / initrd problems *HELP PLEASE!* (Vincent Fox)
  First insatll-Newbie ("wilcock")
  Re: dhcp delay time? ("S. Umar")
  Help: What type is my SCSI adaptor (UMAX 600S, DTCT-436P chip)? (Michael Badt)
  Partitioning the hard disk for setup (Prof. Abimbola Olowofoyeku)
  Re: Problems to compile a new kernel (jw)

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: lilo with multiple linux distributions?
Date: Tue, 30 Jan 2001 16:09:36 +0100
Reply-To: [EMAIL PROTECTED]

> Now hopefully the MBR-lilo would first execute. If I
> then specify "redhat7", the lilo under /dev/hda2 would
> execute and bring me into the redhat installation.

Not hopefully, but certainly

> Ok, I haven't tried this out, because I'm not sure if
> this is the correct way to go. I understand that I could
> achieve the "multiple linuxdistribution"-thing without
> making use of the "other"-attribute in lilo.conf. That is,
> to make use of the "image"-attribute, but I'm appeled to
> having the distributions more like separate entities.

Why do you think they are less separate if you use the image command?
Mount the partitions in the first FS, and let lilo.conf have a
line like

image=/mnt/debian/boot/vmlinuz-2.2.16
  label=debian
  root=/dev/hda3

But ofcourse, you can do it in a lilo chain too.
 
> If this way of using lilo is correct, then I wonder
> if this only works if I install the other linuxdistributions
> under primary partitions. I think I heard somewhere
> that lilo could only be installed under primary
> partitions.
> 

There's no *need* to install lilo in a primary partition.
There's a good reason for it though on most systems.
If you would have the original DOS loader, you would be
able to activate the partition, and make LILO execute from there.
The DOS loader cannot activate an extended partition.

Eric

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

From: "Alexander Borisenko" <[EMAIL PROTECTED]>
Subject: Re: Minimal RH7 installation
Date: Tue, 30 Jan 2001 17:01:27 +0200

Using like router and then add other services

Eric <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> Alexander Borisenko wrote:
> >
> > How can I install only Linux kernel from RH7 distributive?
>
> And do what with it?
>
> Eric



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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Hard disk autodetect problem
Date: Tue, 30 Jan 2001 16:14:37 +0100
Reply-To: [EMAIL PROTECTED]

> Linux's fdisk decides it doesn't grok /dev/hda, and bails out in disgust.

Sure it accepts hda, just boot with an option telling fdisk the CHS
values
If it still fails, show the error fdisk gives.

> When I reboot, my BIOS autodetects the drive, but it's only 8G instead
> of 13G now. In fact, it's the size of C: plus the 6G-ish I'd chosen
> for D:, and the rest has gone. It autodetected it quite happily as 13G
> before all this happened; it's not an "old BIOS, big hard disk" problem.
> 

I suspect it is though.
What is the disc translation set to in the BIOS?
Set it to LBA.

Oh yeah, before doing anything else, backup C: too.

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Root is Invalid!! HELP!!
Date: Tue, 30 Jan 2001 16:17:16 +0100
Reply-To: [EMAIL PROTECTED]

> Do you know that kernel 2.3 is the development version?
> If the kernel number 2.x and the x is an odd number (like 1, 3, 5,
> etc.) it means you installed the development version. If you aren't a
> Linux crack and just want to use it, make sure the x is an even
> number, like 2.2.x or the latest 2.4.0 (I know Suse ships this the
> 12th of february) you can use it, because it is the stable release.
> 

No doubt, but he uses mandrake 7.2
this ships with 2.2.x (2.2.16 or something like that)

I suspect a typo.

Eric

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

From: "Dan Yocom" <[EMAIL PROTECTED]>
Subject: Help Loading Serial Module at Startup
Date: Tue, 30 Jan 2001 10:18:32 -0500

HI,
  I recently recompiled my 2.4 kernal to have the serial port loaded as a
module. I added the folling line to my conf.modules.


serial.o

However, this did nothing except give me an error message on bootup. What
File do I edit to have the serial module load at startup?
I'm running redhat 6.2 with kernal 2.4.


Thanks,
     Dan Yocom



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Samba guest share setup?
Crossposted-To: comp.os.linux.networking
Date: Tue, 30 Jan 2001 15:32:48 GMT

[Posted and mailed]

In article <xHAd6.556$[EMAIL PROTECTED]>,
        "Al" <[EMAIL PROTECTED](spam)> writes:
> Hi,
> 
> I've got the following samba share in smb.conf that I'd like to be read
> accessible to everyone on a windows network without them having to specify a
> username and password (that is, a simple "net use"). I tried "guest ok =
> true" but I am still prompted for username & password. Any suggestions
> anyone?
> 
> [nmonitor]
> available = 1
> comment = share
> valid users = admin guest any
> create mask = 664
> directory mask = 775
> path = /home/users
> writeable = no
> public = yes
> guest ok = true

Your share definition looks OK, but you need to set a couple of
parameters in your [global] section. Specifically, you need something
like this:

map to guest = Bad User
guest account = someaccount

The first parameter can also take Bad Password as an option, and the
second should specify some account to be used to control the guest
user's privileges. More information is in the smb.conf man pages or in
various books on Samba (one comes in electronic form with recent
versions of Samba, and I have information on several, including one by
me, at http://www.rodsbooks.com/books/books-samba.html).

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Minimal RH7 installation
Date: Tue, 30 Jan 2001 16:34:49 +0100
Reply-To: [EMAIL PROTECTED]

> Using like router and then add other services
> 
> > > How can I install only Linux kernel from RH7 distributive?
> >
> > And do what with it?
> >

Then you're going to need more than just the kernel.

You can build your own system from start, if you want to keep
full control over your system.

Check out this link: http://www.linuxfromscratch.org/

Eric

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

From: Chris Fowler <[EMAIL PROTECTED]>
Subject: ssh problems with 2.4.0
Date: 30 Jan 2001 14:37:55 GMT

I am using OpenSSH_2.2.0p1 and have just upgraded to 2.4.0 from 2.2.17 and
sshd no longer works. I have tried recompiling both OpenSSH and OpenSSL but
this has not helped.
Any help with be appreciated and please forward replies to my email address
as well as the news group as my news feed is rather lossy

the output of sshd -d is as follows:

debug: sshd version OpenSSH_2.2.0p1
debug: Seeding random number generator
debug: read DSA private key done
debug: Seeding random number generator
debug: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
debug: Seeding random number generator
debug: Seeding random number generator
RSA key generation complete.
debug: Server will not fork when running in debugging mode.
Connection from xxx.xxx.xxx.xxx port 879
debug: Client protocol version 1.5; client software version OpenSSH_2.2.0p1
debug: Local version string SSH-1.99-OpenSSH_2.2.0p1
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: 3des
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Starting up PAM with username "chrisf"
debug: Attempting authentication for chrisf.
debug: PAM Password authentication for "chrisf" failed: Authentication failure
Accepted rhosts for chrisf from xxx.xxx.xxx.xxx port 879 ruser root
debug: PAM setting rhost to "burp"
debug: PAM setting ruser to "root"
debug: session_new: init
debug: session_new: session 0
debug: Allocating pty.
debug: Received request for X11 forwarding with auth spoofing.
error: socket: Address family not supported by protocol
debug: PAM setting tty to "/dev/pts/2"
debug: PAM establishing creds
debug: Entering interactive session.
debug: no set_nonblock for tty fd 3
debug: no set_nonblock for tty fd 7
debug: server_init_dispatch_13
debug: server_init_dispatch_15
debug: Setting controlling tty using TIOCSCTTY.
debug: Received SIGCHLD.
debug: tvp!=NULL kid 1 mili 100
debug: End of interactive session; stdin 0, stdout (read 276, sent 276), stderr 0 
bytes.
Disconnecting: Command terminated on signal 11.
debug: Calling cleanup 0x8053e4c(0x80d7f40)
debug: pty_cleanup_proc: /dev/pts/2
debug: Calling cleanup 0x804ff3c(0x0)
debug: Calling cleanup 0x805eeb4(0x0)



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Re: Samba guest share setup?
Date: Tue, 30 Jan 2001 15:42:52 GMT

In article <xHAd6.556$[EMAIL PROTECTED]>,
  "Al" <[EMAIL PROTECTED](spam)> wrote:
> Hi,
>
> I've got the following samba share in smb.conf that I'd like to be
read
> accessible to everyone on a windows network without them having to
specify a
> username and password (that is, a simple "net use"). I tried "guest ok
=
> true" but I am still prompted for username & password. Any suggestions
> anyone?
>
> [nmonitor]
> available = 1
> comment = share
> valid users = admin guest any
> create mask = 664
> directory mask = 775
> path = /home/users
> writeable = no
> public = yes
> guest ok = true
> ;
>
> Thanks,
>
> Al.
>
>
Your alomost there, you need to set SHARE level security, it defaults to
USER level. Also make sure Browsable = Yes is selected. Are you using
SWAT to set this up, or editing the smb.conf file by hand? If your not
try using SWAT, it simplifies things quite a bit. Here is a copy of my
smb.conf, the "/scotty" directory is share level security and
browsable/writable by everyone.

# Samba config file created using SWAT
# from linux417.linuxgruven.com (192.168.4.17)
# Date: 2000/12/18 04:21:21

# Global parameters
[global]
        workgroup = SAMBA
        netbios name = WILD BILL
        server string = Samba Server
        security = SHARE
        encrypt passwords = Yes
        update encrypted = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        print ok = Yes
        browseable = No

[roscoe]
        comment = lp
        path = /var/spool/samba
        read only = No
        guest ok = Yes
        print ok = Yes
        printer name = roscoe
        oplocks = No
        share modes = No

[scotty]
        writable = yes
        comment = It's a share!
        path = /scotty
        public = yes


--
Any questions, please feel free to eamil me [EMAIL PROTECTED]

Kyle K
========
Support by Linuxgruven Inc.
http://www.linuxgruven.com
314-727-0918


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Re: SuSE 7.0 and 2 NIC's
Date: Tue, 30 Jan 2001 15:54:29 GMT

In article <35ud6.3400$[EMAIL PROTECTED]>,
  "Don Kupsch" <[EMAIL PROTECTED]> wrote:
> I have SuSE 7.0 and am having trouble getting it to reconizze 2 NIC's
and
> use them both .   I want to turn this box into a firewall .    If I
look at
> the IRQ's they are using it seems that both network cards are on IRQ 9
. 
> Is this my problem as to why i can not get both to work at the same
time??
> or is there a different problem.     I can get one or the other to
work at
> any given time and it is fine  just not both at the same time.   Any
help
> would be greatly appreciated!!!!!
>
> Thanks
>
>
The same IRQ is definately a problem, what kind of NIC cards are they?
You will need to change the IRQ of one of the cards. Most the time you
will be able to do this in the BIOS. Exceptions, like my 3com 3c509b
card has a setup disk that you would boot to, change the IRQ and then
reboot.
--
Any questions, please feel free to eamil me [EMAIL PROTECTED]

Kyle K
========
Support by Linuxgruven Inc.
http://www.linuxgruven.com
314-727-0918


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Vincent Fox)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.embedded
Subject: Re: Flash disk / initrd problems *HELP PLEASE!*
Date: 30 Jan 2001 16:05:21 GMT

In <[EMAIL PROTECTED]> Jem 
<[EMAIL PROTECTED]> writes:

*snip*

>I was actually working from Paul Moodys embedded device howto:

>       http://www.linux-embedded.com/pmhowto.html

>What he says is that you need to use initrd to load a root file system 
>which then expands a larger, say 40MB, ram disk from the flash disk and 
>continues the boot process.

>However, what you are saying does make sense to me... I am going to have 
>to investigate this further. He (apparently) got everything to work (I 
>followed his howto step-by-step) but I can't get zcat to work at all and 
>am wondering how he did it.... And now I'm wondering WHY he did it ;-)

I have used the Paul Moody method to build several such systems
successfully. It's a bit tricky and tedious but it does work.

You have to make sure all the details are right. I'm sure some of
this should be obvious, but for example you need to compile your
copies of zcat, mount, and any other programs you use in the
boot phase as *static* executables. You cannot have any dynamically
linked executables unless you are going to include the libs.
I just downloaded the source rpm's and compiled static.


--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

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

From: "wilcock" <[EMAIL PROTECTED]>
Subject: First insatll-Newbie
Date: Wed, 31 Jan 2001 00:35:55 +0800

Hy.
I wanted a dhcp and QuakeWorld server for my Lan club
so I found an old SuSe 6.2 CD and installed linux....cool.
Theres not enough hard drive space to install a GUI so im
running everything from root console.
Ive since found a few Dos commands still work....cd, dir,..but
ive yet to find the command to let me look at any of the config
files , "edit" dont work and "type" dosn't seem to do anything..
Any tips most appriciated.

Foo

PS. my windows puters cant see the Suse machine on the
network yet thier IPs are in the range I set for the linux box..
linux box  169.254.73.0
windowsbox1  169 254.25.98
Should i be able to ping either machine?
ATM i cant..




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

From: "S. Umar" <[EMAIL PROTECTED]>
Subject: Re: dhcp delay time?
Date: Tue, 30 Jan 2001 10:37:24 -0600

I am using RedHat rawhide...I believe the network setup first uses pump
and then
dhcp as a fallback option.
-- 

Prof. S. Umar
Dept. of Physics & Astronomy
Vanderbilt University
Nashville, TN 37235
Tel : (615) 322-2459
Fax : (615) 343-7263
[EMAIL PROTECTED]
http://compsci.cas.vanderbilt.edu/~umar/resu.htm

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

From: [EMAIL PROTECTED] (Michael Badt)
Subject: Help: What type is my SCSI adaptor (UMAX 600S, DTCT-436P chip)?
Date: Mon, 29 Jan 2001 03:17:36 GMT

Hi,
I can't get Linux (Mandrake 7.0) to recognize my ISA SCSI adaptor that
was included with my UMAX Astra 600S scanner (and works fine under
Windows).
The single chip on the card is designated as follows:
DTCT-436P
9721
002-D436P-001

Please advise!

Thanks a lot !


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

From: [EMAIL PROTECTED] (Prof. Abimbola Olowofoyeku)
Subject: Partitioning the hard disk for setup
Date: Tue, 30 Jan 2001 16:43:00 +0000 (UTC)

Hi all

I am about to install Linux (Mandrake 7.1). I remember once
being advised to have a small (how small?) swap partition,
and separate ones for root, /usr, etc. Can someone please
give me a brief lowdown on optimal partition numbers and
sizes? My goal is to have the OS itself on a separate partition
from the data and applications, so that I can upgrade the OS
if necessary without doing anything to my data and application
partitions. Thanks.

Best regards, The Chief
=======================
Prof. Abimbola Olowofoyeku (The African Chief)
(Author of Chief's Installer Pro for Win32)
  Email: [EMAIL PROTECTED]
  Web: http://www.bigfoot.com/~african_chief/


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

Date: Tue, 30 Jan 2001 12:00:18 -0500
From: jw <[EMAIL PROTECTED]>
Subject: Re: Problems to compile a new kernel

Bob Martin wrote:

> If you are using the gcc shipped with RH 7, it won't compile the
> kernel. They shipped kgcc to compile there kernel. See their web
> site for details.

As you can see below, i DID use kgcc, and made sure everything was up to
date and did the correct make procedure, amnd I got the same thing

(from a different post...)
I have updated my ksymoops, as the previous message suggested  (using
rpm -Fvh ksymoops-2.4.0-1.i386.rpm), updated all the rpm's from the
latest
patches as well.  I have symlinked /usr/src/linux-2.2.16.redhat to
/usr/src/linux, and then cd'ed to /usr/src/linux.  I ran a 'make
menuconfig', 'make dep', and a 'make bzImage', in that order (two times,
once preceeded by a 'make mrprproper clean distclean'

my system is redhat 7.0 (kernel 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT
2000 i686 unknown)

and i got:

kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing
-pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -DUTS_MACHINE='"i386"'
-c -o init/version.o init/version.c
make -C  kernel
make[1]: Entering directory `/usr/src/linux-2.2.16.redhat/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.16.redhat/kernel'
kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing
-pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686   -DEXPORT_SYMTAB -c
ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:50,
                 from /usr/src/linux/include/linux/module.h:19,
                 from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning:
`cpu_data' redefined
/usr/src/linux/include/asm/processor.h:96: warning: this is the location
of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning:
`smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:77: warning: this is the location of
the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning:
`smp_call_function' redefined
/usr/src/linux/include/linux/smp.h:83: warning: this is the location of
the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:51,
                 from ksyms.c:21:
/usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq'
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this
is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:52,
                 from ksyms.c:21:
/usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh'
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this
is the location of the previous definition
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared
(first use in this function)
/usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared
identifier is reported only once
/usr/src/linux/include/linux/kernel_stat.h:47: for each function it
appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.16.redhat/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16.redhat/kernel'
make: *** [_dir_kernel] Error 2

I have seen a number of references to this in posts elsewhere, and i
find it hard to believe that i, and all thjose other people, are all
doing the same thing exactly
wrong.




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


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