Linux-Setup Digest #147, Volume #19              Thu, 13 Jul 00 01:13:13 EDT

Contents:
  Re: IDE/ATAPI CD Writers - Aaagh! (E J)
  Re: A question about a hard drive and RAM upgrade. ("Philo")
  Re: Clock skew detected? ([EMAIL PROTECTED])
  Lilo Problem ([EMAIL PROTECTED])
  Help! Cron and Samba / Cron and missing directories? ("Adam H.")
  DA: GMT offset (Dennis)
  Re: Starting from scratch on Alpha... (Christopher Browne)
  Re: Linux beyond 1024 Cylinder (Thad Guidry)
  Using NT bootload to boot to linux ("tvn")
  Re: CPU speed, ->cpuinfo ("tvn")
  Re: OpenLinux2.4 + Lucent "linmodem" problem (Edward Lee)
  Re: Help in setting up a simple DNS configuration ("Steve Cowles")
  Re: Can't make sshd work with inetd ("Chuck Chargin Jr.")
  Re: password validation server ([EMAIL PROTECTED])
  Re: Help! Cron and Samba / Cron and missing directories? ("David ..")

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

From: E J <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,uk.comp.os.linux
Subject: Re: IDE/ATAPI CD Writers - Aaagh!
Date: Wed, 12 Jul 2000 19:34:53 -0700

Andrew Ellington wrote:

> I am having some trouble getting my CD writer to go. I'm a relative newbie
> so have some patience.
>
> I'm running kernel version 2.2.13-4 from a Mandrake 6.5 distribution.
> The device is a brand new HP CD-writer plus ( not sure exactly which model )
> connected in the hdd position.
> I've compiled the kernel to give the following support:
>
> Sect.         Description
> ????????????????????????????????????????????????????????????
> BLOCK Enhanced IDE/MFM/RLL...                      Y
> BLOCK IDE/ATAPI CDROM ide?cd                     M
> BLOCK SCSI emulation support ide?scsi                M
> BLOCK Loopback device loop                                M
> SCSI      SCSI support scsi_mod                                Y
> SCSI      SCSI CD?ROM support sr_mod                 Y
> SCSI      Enable vendor?specific                               Y
> SCSI      SCSI generic support sg                               Y
> FS          ISO 9660 CDROM filesystem iso9660        Y
> FS          Microsoft Joliet cdrom... joliet                     Y
>
> The kernel build is producing cdrom.o rather than ide-cd.o when
> CONFIG_BLK_DEV_IDECD is defined and seems to be linking this in.
>
> I've tried various combinations of modifications of lilo.conf and
> conf.modules but haven't managed to get anything other than 'Cannot open
> SCSI driver' from cdrecord -scanbus.
>
> At this point I'm a bit lost as to what I'm missing here.
>
> Andrew

$ su -
password: <scret>
# cp /etc/conf.modules /etc/conf.modules.bak
# vi /etc/conf.modules

Modify conf.modules for your CDROM writer, my CDROM is located at /dev/hdc

Here is my conf.modules

alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hdc

# cp /etc/rc.d/rc.local  /etc/rc.d/rc.local.bak
# vi  /etc/rc.d/rc.local

Put this at the end of the rc.local
# load ide-scsi module
insmod ide-scsi

# cp /etc/lilo.conf /etc/lilo.conf.bak
# vi /etc/lilo.conf

put the append statement for /etc/lilo.conf your cdrom
'append="hdX=ide-scsi"' and run lilo.
Here is /etc/lilo.conf, my CDROM is located at /dev/hdc

boot=/dev/fd0
timeout=100
message=/boot/message
prompt
image=/boot/vmlinuz-2.2.14-6.1.1
        label=linux
        root=/dev/hda4
        append="hdc=ide-scsi"
        read-only

# /sbin/lilo

Now relink the /dev/cdrom to your scsi emulation of your cdwriter

# mv /dev/cdrom /dev/cdrom.bak
# ln -s /dev/scd0 /dev/cdrom

Reboot.  (I don't know how to restart with new conf.modules and rc.local
in linux :( )

Run dmesg to see if your scsi emulation is working after the reboot

# dmesg
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
  Vendor: HP        Model: CD-Writer+ 8100   Rev: 1.0g
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56


Run cdrecord to see if you scsi emulation is working also.

# cdrecord -scanbus
Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0     0) 'HP      ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM

        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

I hope it works for you, it works for me.


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

From: "Philo" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: A question about a hard drive and RAM upgrade.
Date: Wed, 12 Jul 2000 21:37:36 -0500

What you are proposing would work.
A simple solution would be to just add your new disk ...keep your operating
systems as they are...and have each make use of the new drive
...however...i would be a bit uncomfortable having two operating systems
split up over two drives.
I personally would let the kids have the ENTIRE 4.3 gig disk for Windows...
then you take the ENTIRE 10gig disk for Linux.
This way the kids can do whatever they want PLUS
Didn't you REALLY want to do a totally fresh Linux installation and correct
all those little things you wanted to improve upon?
Philo

Madhusudan Singh <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi
>    I have a Dell Optiplex GX1 system (P-450)with 64 MB RAM and 4.3 GB hard
> disk.
>
> As was inevitable, I am feeling the need to increase both.
>    Now, comes the hard part : I have two partitions on my hard disk - one
> for Windows 98 (for kid stuff) and one for Linux (for serious work). The
> hard disk is split roughly even between the two.
>    If I go ahead and attach a 10 GB hard disk in addition to my 4.3 GB
> hard
> disk, how would I make use of it ? I mean what I want is to shift the
> entire Windows OS to a portion of that hard disk, partition it, and claim
> the rest of the space for Linux as well as the space vacated on the
> original hard disk.
>   If this is possible (sounds possible to me), how do I do it ?
>   I expect the RAM addition - 128 MB (in addition to 64 MB I already
> posess) to be relatively uncomplicated. Tell me if there are some issues
> involved here.
>
> What is the typical bill for these additions ?
>
> Thanks in advance,
> Madhusudan Singh.
>
> PS : I would appreciate an email copy of your response.
>
>
>



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

From: [EMAIL PROTECTED]
Subject: Re: Clock skew detected?
Date: Thu, 13 Jul 2000 02:47:27 GMT

Chances are your computers time is off. Set it to the correct time and
date then try again.


In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Homer Jay) wrote:
> On Wed, 12 Jul 2000 13:16:16 -0700, .@. <.@.> wrote:
> >I get this error whenever I try to recompile a kernel. I did a make
mr
> >proper and most of the errors left, but I still get them - scrolling
to
> >fast to catch the source of course.
> >What is it and how do I fix it?
>
> "Clock skew" is a new one for me. Log the output of your recompile:
>
> cd /usr/src/linux; cp .config /root/.config.bak.0
> make mrproper > /root/mrproper.log 2>&1
> cp /root/.config.bak.0 ./.config
> make menuconfig [don't skip this even if you don't change anything]
> make dep > /root/dep.log 2>&1
> make clean > /root/clean.log 2>&1
> make bzImage > /root/bzImage.log 2>&1
> make modules > /root/modules.log 2>&1
> mv /lib/modules /lib/modules_old
> make modules_install > /root/modinst.log 2>&1 [If it works, do the
rest:]
> mv /boot/bzImage /boot/bzImage.old
> cp arch/i386/boot/bzImage /boot
> /sbin/lilo > /root/lilo.log 2>&1
>
> If it still doesn't work you may want to resort to reinstalling the
> kernel rpms and doing the above (prob. unecessary). Use rpm --checksig
> first to verify their integrity. (Or, I suppose you could rpm
--checksig
> and then rpm --verify to make sure the current install's still ok.)
>


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

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

From: [EMAIL PROTECTED]
Subject: Lilo Problem
Date: Thu, 13 Jul 2000 02:43:48 GMT

Obviously I did something wrong when I recently
loaded Linux Mandrake.  I didn't get a lilo
prompt.  Using my boot disk I reran lilo only to
get an error message reading:  "warning: device
0x030c exceeds 1024 cylinder limit.
"geo_comp_addr: Cylinder number is too big
(2203>1023)"
I know lilo has to go before the 1024 limit and
for the life of me I don't know how I messed up
the install.  Can lilo be installed?  Or do I
have to do a full re-install?

Thanks in advance,
Dhill


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

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

From: "Adam H." <[EMAIL PROTECTED]>
Subject: Help! Cron and Samba / Cron and missing directories?
Date: Thu, 13 Jul 2000 09:42:26 +1000

Hi,

I've got 2 problems related:

PROBLEM 1
~~~~~~~~~~

I'm trying like crazy to get samba to restart every day at 4:30am.

I have tried the following:

a) - typing in crontab -e, and adding the line 30 4 * * * samba restart
(while being user root)
b) editing the file /etc/crontab and adding the line 30 04 * * * samba
restart (again as root)
c) - typing in crontab -e and adding the line 32 4 * * *
/etc/rc.d/init.d/samba restart

I'm finding that the next morning, I have quite a few mail for 'root'. These
consist of

a lot of messages saying "not a directory :/etc/cron.hourly"
one that says "not a directory :/cetc/cron.daily"
and another saying /etc/rc.d/init.d/samba no such file.

I've looked under the /etc/rc.d/init.d/ directory, and can see a file called
SMB but not SAMBA.
SMB appears to act the same as samba, but I usually type in "SAMBA" at the
prompt when I'm
as root - and all works fine. Should I be typing in something else?


PROBLEM 2
~~~~~~~~~~
These nasty little messages filling up my mail box saying 'not a directory'
/etc/cron.hourly
I have got a directory there. I can go cd /etc/cron.hourly and I move to
that directory! Does
anyone have a clue whats happening here too? Ta




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

From: [EMAIL PROTECTED] (Dennis)
Subject: DA: GMT offset
Date: 13 Jul 2000 03:19:56 GMT

Hi.  I have a Linux question.

I'm running SCO Foxpro 2.6 for Unix on Linux.  Works ok, but with a problem. 
The date/time is 4 to 5 hours fast.  Depending on the GMT offset of the
machine.  I can write date/time functions to rollback this offset.  But is
there an environment variable or something I could test to determine the
machine's Greenwich Meridan TIme offset?

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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.alpha
Subject: Re: Starting from scratch on Alpha...
Reply-To: [EMAIL PROTECTED]
Date: Thu, 13 Jul 2000 03:29:51 GMT

Centuries ago, Nostradamus foresaw a time when Dennis Lee Bieber would say:
>On Sun, 9 Jul 2000 10:22:51 +0100, Alex Collins <[EMAIL PROTECTED]>
>declaimed the following in comp.os.linux.setup:
>> Sounds like a Multia ? Small ? squareish ? 
>>
>       Hmmm, may be dangerous assumption. The Multia's at work are all
>100MHz Pentium boxes. Our Alpha's were all large flat battleship-grey
>boxes sitting under the monitors.

Both exist; it is more likely that someone would find, at random, an
Alpha Multia, because when they discontinued them, Digital sold
several thousand off, and their use has been quite widespread in the
Linux community.

>       Somehow I don't think the run of the mill Linux distribution (at
>least, the ones sold in Fry's, or stuffed in the backs of Linux books)
>would work on a true Alpha processor. The chip set is so different you'd
>need a fresh compile targeted for the processor. This is not to say that
>some of the distributors don't have Alpha builds (I'm sure I saw one
>mentioned on the Mandrake site), but they take some effort to obtain.

There most definitely _are_ "boxed sets" that run on Alpha processors.
I bought Red Hat 4.1 for Alpha several years back, and there have
continued to be RHAT releases for Alpha.  Mandrake and SuSE have been
more recent "adopters" of the Alpha platform.  And I run Debian on my
PW433e.

-- 
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/alpha.html>
"We come to bury DOS, not to praise it."
-- Paul Vojta <[EMAIL PROTECTED]>, paraphrasing a quote of
Shakespeare

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

From: Thad Guidry <[EMAIL PROTECTED]>
Subject: Re: Linux beyond 1024 Cylinder
Date: Thu, 13 Jul 2000 03:30:04 GMT


Bart Kooijman wrote:
> 
> 
> Thank you for your Reply.
> 
> What version of Red Hat Linux comes with this latest relaese of Lilo? 
Does
> RH 6.0 have it?
> 
> Thanks in advance,
> 
> Bart Kooijman
> 
> "Ujwal Sathyam" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> > As long as your BIOS supports booting from beyond the 1024 cylinder you
> > should be OK. Older versions of the Linux loader lilo also had a 
problem
> > with the 1024 limit. The latest version of lilo fixes that.
> >
> > Ujwal
> 
> 

I can tell you that Red Hat 6.2 does indeed run into the 1024 cylinder 
problem.  I should know since I tried to install it and only got "LI" to 
come up, which means there's a geometry mismatch problem.  For more 
information on this problem visit the LILO Mini HowTo Documentation 
available at http://www.linuxdoc.org/HOWTO/mini/LILO.html 

Also the Linux System Administrators Guide has a section on booting at 
http://www.linuxdoc.org/LDP/sag/

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

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

From: "tvn" <[EMAIL PROTECTED]>
Subject: Using NT bootload to boot to linux
Date: Wed, 12 Jul 2000 23:43:47 -0400

I know this has been asked alot of time ...  however, it doesn't work out in
my situation , can't figure out what's wrong with it .. please help.

My Redhat 6.2 was installed without no lilo.conf in  the  /etc directory
(because I choose not to have lilo installed, I'll make it later)

Linux was installed on the 1st partition of the 2nd HD , HDB1

After RH was installed, I use the command rdev /boot/vmlinuz  /dev/hdb1
(just to make sure)

and then  created a lino.conf in /etc like this

===================================
boot = /dev/hdb1
compact
install = /boot/boot.b
map = /boot/map

image = /boot/vmlinuz
label = linux
root = /dev/hdb1
===============================
and ran /sbin/lilo after that

After that , I do the normal steps like

dd if=/dev/hdb1 of=/bootsect.lnx bs=512 count=1

copy file that bootsect.lnx to my NT's C drive
edit the boot.ini C:\BOOTSECT.LNX="LINUX"

 ....  Everything is done like the helpfile said

However during Nt loades,  I choose Linux  ...  the screen went blank with
the cursor blinking ....  no disk activity whatsoever ...

What's going on with that ?



I've done this before with Caldera 2.3 so I am pretty sure the bootsect.lnx
part is correct ... Something's wrong with the lilo or something ??


Thanks for all input.





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

From: "tvn" <[EMAIL PROTECTED]>
Subject: Re: CPU speed, ->cpuinfo
Date: Wed, 12 Jul 2000 23:45:57 -0400

you might want to try
 dmesg | more



"ashishj" <[EMAIL PROTECTED]> wrote in message
news:8khr06$fjk$[EMAIL PROTECTED]...
> I just ran a command " cat /proc/cpuinfo " in my linux red hat
> installation. This has shown me, my PC CPU speed in MHz as 110.6085,
> but my CPU is PII, 400 MHz.
>
> So can anybody tell me, why linux telling me, wrong speed.
>
> Thanks in advance
> ashish
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: Edward Lee <[EMAIL PROTECTED]>
Subject: Re: OpenLinux2.4 + Lucent "linmodem" problem
Date: Wed, 12 Jul 2000 20:57:03 -0700

Daniel Gunyan wrote:

> Edward Lee wrote:
> >
> > D G wrote:
> >
> > > Won't work unless you symlink ttyS0 to ttyS14.  The ltmodem install
> > > should have set up /dev/ttyS14 for you and symlinked /dev/modem to it.
> > > If not, do it.
> > >
> > > > I do recall reading that the Lucent drivers may reference an older
> > > > version of the kernal. If so, is there a way to recompile the
> > > > drivers/kernal to make them compatible?
> > >
> > > Not that I know of.  However, I recently tested the ltmodem568 driver
> > > against 2.2.12-2.2.16.  It only worked on 2.2.12 and 2.2.13.  Hopefully
> > > they come out with a new driver for the newer kernels.
> >
> > Released kernel 2.2.15 and 2.2.16 got different data structures.  If you
> > really need to use the modem, try the kernel backports at
> > http://linnix.com.  lin2216.486 uses old drivers for binary compatibility.
> >   In any commerical software release, the QA department probably won't
> > allow these changes in a maintainance release.  Fortunately or
> > unfortunately, Linux is not a commerical product.
>
> I'd prefer to compile my own.  Do you know how these kernels were
> backported?  Do I just need to replace the ppp stuff in the newer
> kernels with whats in the later kernels?  Are there security issues with
> the later ppp stuff that were fixed in the newer kernels?  Thanks.
>

Most of the device drivers are compiled across several versions.  All the
sub-releases 2.2.* or 2.4.* use the same source files.  In some cases (sound
drivers), the original 2.2 source files are used in both 2.2 and 2.4.  Driver
updates (very few of them) are manually patched into the common source.
Everything elses are from standard releases.


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

From: "Steve Cowles" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Help in setting up a simple DNS configuration
Date: Thu, 13 Jul 2000 04:41:10 GMT


<[EMAIL PROTECTED]> wrote in message
news:8kiv60$asa$[EMAIL PROTECTED]...
> Here is my situation.
> I have a static IP from my ISP(ADSL service). Let's say the hostname is:
> myhost.myisp.com
> My ISP said that all DNS request for sub-domain under my site, will be
> forwarded to my site. (myhost.myisp.com).
>
> I don't have multiple external visible machines. What I want to do is
> simply resolve all the request for sub-domain under my site to my only
> one machine (myhost.myisp.com). For example, www.myhost.myisp.com and
> mail.myhost.myisp.com to myhost.myisp.com.
>
> What is the simplest way to set up this ?
> Currently, DNS is running locally, but not really used. Is there any
> easy way to set up the configuration so that I don't have to set up the
> DNS rules, but use only /etc/hosts to resolve ?
> If I have to set up DNS, can you give a little detailed example ?
>
> Thanks in advance.

If I understand your post correctly, you have a "delegated" domain name
(a.b.com) under your ISP's domain space (b.com). If this is the case, you
will need to setup a name sever at your end that contains the Start of
Authority (SOA), Name server records (NS), Address records (A) and Mail
Exchanger (MX) records for your delegated domain. Otherwise no one will be
able to send e-mail to you at your delegated domain name or even access your
WEB site.

The DNS abd BIND book discusses this subject in detail and has some execent
examples.

Also, I would verify that your ISP has porperly "delegated" your domain name
to your IP address. You can use dig ot nslookup to verify.

Steve Cowles

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



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

From: "Chuck Chargin Jr." <[EMAIL PROTECTED]>
Subject: Re: Can't make sshd work with inetd
Date: Wed, 12 Jul 2000 21:55:18 -0700

The line in my inetd.conf is:

ssh     stream  tcp     nowait  root    /usr/sbin/tcpd
/usr/local/sbin/sshd2 -i

and ssh works fine for me!  Hope this helps.



[EMAIL PROTECTED] wrote:

> I'm running RH 6.1, and I can't get my ssh daemon
> to work with inetd.
>
> Here's the lines in /etc/services:
> ssh             22/tcp
> ssh             22/udp
>
> And now /etc/inetd.conf
> ssh     stream  tcp     nowait  root    /usr/local/sbin/sshd2 -i
>
> When I SIGHUP inetd and try to make an SSH
> connection using SecureCRT on a Windows box, it
> just sits there forever. However, starting sshd at
> the command line causes everything to work fine.
>
> Any suggestions?
> Thanks.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


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

From: [EMAIL PROTECTED]
Subject: Re: password validation server
Date: Thu, 13 Jul 2000 04:49:29 GMT

Actually I just bought the O'Reilly book Managing NFS and NIS.  This
stuff is awesome!  The solution was literally right under my nose.
Thanks for point ing me in the right direction.

In article <3964e0e6$0$8310$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (C.J.) wrote:
> Look into NIS
>
> In article <8k2m6q$hgg$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >How can I setup a server and client computers so
> >that when they log in to Linux, their username and
> >password is validated against a central server's
> >passwd, shadow, and group files?  I thought of
> >sharing those files over the network but that's
> >just sloppy and insecure.  All the workstations
> >are diskless, but they have good processors and
> >hard drives, and so I really don't want to do a
> >whole network boot thing.  I want clients to run
> >binaries off their own computers, but I also want
> >them to be able to move around to whatever
> >computer and have the same experience, i.e. their
> >home directories should be mounted off the central
> >server.  There has to be an easier way to do this,
> >right?
> >
> >Thanks,
> >Jim
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Before you buy.
>


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

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Help! Cron and Samba / Cron and missing directories?
Date: Wed, 12 Jul 2000 23:56:04 -0500

"Adam H." wrote:
> 
> Hi,
> 
> I've got 2 problems related:
> 
> PROBLEM 1
> ~~~~~~~~~~
> 
> I'm trying like crazy to get samba to restart every day at 4:30am.
> 
> I have tried the following:
> 
> a) - typing in crontab -e, and adding the line 30 4 * * * samba restart
> (while being user root)
> b) editing the file /etc/crontab and adding the line 30 04 * * * samba
> restart (again as root)
> c) - typing in crontab -e and adding the line 32 4 * * *
> /etc/rc.d/init.d/samba restart
> 
> I'm finding that the next morning, I have quite a few mail for 'root'. These
> consist of
> 
> a lot of messages saying "not a directory :/etc/cron.hourly"
> one that says "not a directory :/cetc/cron.daily"
> and another saying /etc/rc.d/init.d/samba no such file.
> 
> I've looked under the /etc/rc.d/init.d/ directory, and can see a file called
> SMB but not SAMBA.
> SMB appears to act the same as samba, but I usually type in "SAMBA" at the
> prompt when I'm
> as root - and all works fine. Should I be typing in something else?

Change "samba" to "smb" so that the line looks like this 
"/etc/rc.d/init.d/smb restart" without quotes.

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

Reply via email to