Subject: Linux-Admin Digest #97
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 24 Sep 94 03:13:51 EDT

Linux-Admin Digest #97, Volume #2                Sat, 24 Sep 94 03:13:51 EDT

Contents:
  Setingup INN on a Linux Box please help (Nathan Stratton)
  xdm breaks r* and gopher:  DEBIAN 0.98 (Guy Thomas)
  Recompiling kernel (Marten Liebster)
  Re: /dev/audio: No such file or directory (Nick Hilliard)
  Re: Routing A<-slip->B<-ether->C (Johannes Stille)
  Re: Install without repartitioning?? (Clifford Story)
  Accents and Daemon (Lussier Jean-Francois)
  ext2 and fsck questions (Darin Johnson)
  Re: Compiling kernel 1.1.45 (David Alan Black)
  Anyone get quota-1.33 working with UMSDOS fs? (Robert Ellsworth)
  Re: Dosemu in X (Michael Hung)
  Re: *** Why can't Linux access partitions with Linux FDISK? *** (Ian James Westcott)
  Re: Enhanced IDE (Kevin Cummings)
  Re: Converting from DOS to linux... (Kevin Cummings)
  installing on P90 + 1G HD (Jim Sun)

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

From: [email-masked] (Nathan Stratton)
Subject: Setingup INN on a Linux Box please help
Date: Fri, 23 Sep 1994 14:03:03 GMT

    Hi, I am trying to set up a news feed form sprint and I am having a 
lot to problems. First I added news.sprintlink.net and for test purposes 
added dns.novanet.com to /usr/lib/news/host.nntp when I am on 
dns.novanet.com and telnet to port 119 I get connect refused. Why is this 
do you need something other then dns.novanet.com in that file. Also when 
I start INN I run /usr/lib/news/etc/rc.news and I think that all I need 
to d. Is it, is there a way to run it at startup? Oh, I also removed the 
nntp line in /etc/ined.conf, sprint said I needed to. Please, If you can 
help send me some mail I need to get this working today, sprint dose not 
work on the weekends. :-)

Thank's for all of your help. 

Nathan Stratton     CEO NovaNet, Inc. On-Line Communication Services

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

From: [email-masked] (Guy Thomas)
Subject: xdm breaks r* and gopher:  DEBIAN 0.98
Date: 20 Sep 94 20:48:57 GMT

I have been banging my head against this one for weeks now.  

rlogin, rsh, etc. work fine if I am loged in over a network line, but
if I am at the console ( actualy xdm controlling logins ) r* break 
with the error 'connection refused'.  Also  a similar thing happens
with gopher.  It works fine if I am logged in over the network ( even
if only the loopback ) but not under a terminal window in X. I have
compared the environments that get set ans they seem to agree.  Can
anyone give me clues as to where to look to fix this problem?

Thanks in advance for any hints.

Guy R. Thomas

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

From: [email-masked] (Marten Liebster)
Subject: Recompiling kernel
Date: 23 Sep 1994 16:57:34 -0400

Pretty soon I will be recompling my kernel 1.0.9  Is there a faq
for such a procedure?  If not, could some kind soul please mail/
post some pointers?

Thanks for the help!

Marten

-- 
========================================
Marten M. Liebster   Please no flames for spelling,
[email-masked]    I already know I can't spell!!

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

From: [email-masked] (Nick Hilliard)
Subject: Re: /dev/audio: No such file or directory
Date: Thu, 22 Sep 1994 22:48:19 GMT

G Cheng ([email-masked]) wrote:
: Hi there,

: Thought this is a naive question but:

: Do I have to have a sound card to play music?
: Or I can just play it through the PC native speaker?

: Though I am a newbie but I still looked at snd-driv-2.5 and got no clue..

# /dev/MAKEDEV audio

... should do the trick.

Take a look at the first n lines of MAKEDEV to see whether there are any
other devices which you may need.

Nick
-- 
Thought for the day:
"Don't worry about people stealing your ideas.  If your ideas are any
good, you'll have to ram them down people's throats."
                -- Howard Aiken

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

From: [email-masked] (Johannes Stille)
Subject: Re: Routing A<-slip->B<-ether->C
Date: Fri, 23 Sep 1994 13:52:31 GMT

In article <[email-masked]>,
        John Shifflett <[email-masked]> wrote:
>We have 3 linux computers here: A & B are connected via SLIP, B & C are
>connected via ethernet. Ping, telnet, etc work fine between A & B, and
>between B & C, but not even ping works between A & C. I presume this is
>because the routing is setup wrong. I have made an effort to read about
>the subject, and to do some trial and error fooling around, but have had
>no success. Now's the time to ask all you folks for help! First, a few

Did you read the Network Administrators Guide (NAG) by the Linux
Documentation Project (LDP)??

>questions:
>
>1) I've assigned 2 IP numbers to B - one for SLIP and one for the
>   ethercard. Is this the correct thing to do?
>2) Are the two halves - SLIP & ethernet - considered to be two separate
>   networks, subnets of one network, or one network? In other words,
>   do I need a subnetting setup?
>3) Do all 3 machines need a different routing table (not counting the
>   different IP numbers, of course)? Or would A's and C's be more or less
>   identical?
>3) I'm running 1.1.50, and do NOT have 'IP forwarding/gatewaying' enabled.
>   Is this required in my case? If yes, does only B need it?
>4) Is B considered to be a 'gateway' to C from A (& vice versa), or is
>   A through B to C considered to be a 'direct' route?
>

You have two possibilities, and the answer depend on your choice:

(A) subnetting,
(B) proxy ARP or host route.

Let's assume that your network is 192.168.17.*. (All 192.168.* networks
are free for internal uses.)

(A) Subnetting:

The easy way. Advisable if there is no lack of IP adresses for you, but
you can put at most 62 machines on the Ethernet if you have a class C
net. 

Example configuration:

192.168.17.65   B
192.168.17.66   A
192.168.17.129  B-slip
192.168.17.130  C

B must have IP forwarding enabled!

-on A:
ifconfig eth0 192.168.17.66 netmask 255.255.255.192 broadcast 192.168.17.127
route add -net 192.168.17.64
route add -net default gw 192.168.17.65
        [ or route add -net 192.168.17.128 gw 192.168.17.65 ]

-on B:
ifconfig eth0 192.168.17.65 netmask 255.255.255.192 broadcast 192.168.17.127
route add -net 192.168.17.64

#if have slattached the line
ifconfig sl0 192.168.17.129 pointopoint 192.168.17.130
route add -host 192.168.17.130
#else
        just put C into your /etc/diphosts file

-on C:
#if you have slattached the line
ifconfig sl0 192.168.17.130 pointopoint 192.168.17.129
route add -host 192.168.17.129
route add -net default gw 192.168.17.129
        [ or route add -net 192.168.17.64 netmask 255.255.255.192 gw 192.168.17.129 ]
#else put into your dip script:
get $local 192.168.17.130
get $remote 192.168.17.129
default

Answers to your questions in this case:
(1) Yes.
(2) Yes.
(3) Different.
(3) Required, only on B.
(4) Gateway.

(B) Proxy ARP (or host route):

Advisable if you're lacking IP adresses (e.g. because you have several
SLIP connections of this kind) or if you have some machines in your net
that don't understand subnetting (or subnetting with odd masks).

Example configuration:

192.168.17.1    B
192.168.17.2    A
192.168.17.3    C

B must have IP forwarding enabled!
You don't need a second IP address for B (but if won't do damage
either).

-on A:
ifconfig eth0 192.168.17.2
route add -net 192.168.17.0

-on B:
ifconfig eth0 192.168.17.1
route add -net 192.168.17.0
arp -s 192.168.17.3 <B's Ethernet address> pub

#if you have slattached the line
ifconfig sl0 192.168.17.1 pointopoint 192.168.17.3
route add -host 192.168.17.3 dev sl0
#else
        just put C into your /etc/diphosts file

-on C:
#if you have slattached the line
ifconfig sl0 192.168.17.3 pointopoint 192.168.17.1
route add -net default gw 192.168.17.1
        [ or route add -net 192.168.17.0 gw 192.168.17.1 ]
#else put into your dip script:
get $local 192.168.17.3
get $remote 192.168.17.1
default

<B's Ethernet address> is the address in the form like 12:34:56:78:9a:bc
that is shown when the Ethernet card is detected at startup.

You could leave out the "arp -s ..." on B if you give a
route add -host 192.168.17.3 gw 192.168.17.1 on A (i.e. on every
machine on the Ethernet except B).

Answers to your questions in this case:
(1) Not wrong, but why?
(2) One network.
(3) Different.
(3) Required, only on B.
(4) Direct by A, gateway by B and C.

Hope this helps,
        Johannes

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

From: Clifford Story <[email-masked]>
Subject: Re: Install without repartitioning??
Date: Fri, 23 Sep 1994 21:33:09 GMT

In article <[email-masked]> Bjorn R L Elenfors,
[email-masked] writes:
>>Does anyone know if there is a way to install linux 
>>without repartitioning a DOS formatted drive?
>
>Try the UMSDOS filesystem, it should be availible from your normal 
>LInux supplier. (I've never got it to work, but I've only tried once)

I've installed it three times (Slakware 2.0) and it has worked flawlessly
each time.  Not that I'm a heavy user; I'm just learning UNIX.  Don't
notice any performance hit (not that I'd recognize one, not knowing how
fast Linux is supposed to be).

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

From: [email-masked] (Lussier Jean-Francois)
Subject: Accents and Daemon
Date: Tue, 20 Sep 1994 20:38:20 GMT

Hi there...

I have two small questions to ask:
        1... How do i type accents? I have to write in french you see,
        and it looks kinda crude without accents...

        2... I'm having printer daemon problems (ie, can't print with
        Ghostscript). I suspect it's my (non-existant) printcap file.
        My printer is an Epson LQ-1050. If someone could send me their
        printer definition(s), the few hairs i have left on my head
        would be much grateful :)

Please e-mail the answers!
-- 

                Jean-Francois Lussier

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

From: [email-masked] (Darin Johnson)
Subject: ext2 and fsck questions
Date: 23 Sep 1994 02:15:03 GMT

I want to get rid of the "mounting unchecked filesystems" error.
Running fsck by hand doesn't seem to clear this flag.  It seems
like it should be possible to run fsck and have do its stuff
only if the disk was unmounted cleanly or the max number of
mounts was passed, etc.

How do I set this up?  Where to I put fsck in my startup?
I thought I found docs for this once, but I can't locate them
anymore.

(part of the problem is that it's a pain to manually fsck the
root partition because it's always mounted).
--
Darin Johnson
[email-masked]
       Support your right to own gnus.

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

From: [email-masked] (David Alan Black)
Subject: Re: Compiling kernel 1.1.45
Date: 20 Sep 1994 21:08:07 -0400

[email-masked] (James Nykiel) writes:

>I recently downloaded the 1.1.45 kernel and un-tared it in my usr/src directory
>as the root user (tar -xvf filename) and then type make config which brought
>up the script for selecting the options, here are my questions...

Make sure that you update any symbolic links which affect compilation.
For instance, if /usr/include/linux points to /usr/src/linux/include/linux,
then /usr/src/linux had better point to the source tree you want the
include files to come from, etc.

>2.  After I typed make dep and then type make zImage I am left with a file
>    called zImage which I copied to a floppy.

>*   I rebooted and noticed that I still get a message that says Linux version
>    1.1.18 (root@fuzzy), etc.  I know that I can change the MOTD to read
>    Welcome to Linux 1.1.45 if I need to but should'nt I be seeing some-
>    thing like Linux version 1.1.45 (root@fuzzy), etc.

This probably sounds like an "Are you sure it's plugged in?" question
(i.e., insulting), but...  are you sure you were in the right source
tree and compiled the right kernel?  Remember that /usr/src/linux was
probably linked to either the 1.0.9 or 1.1.18 directories, which might
have brought about a problem.  I wince at my own lack of decorum in
even asking this.  (But SOMETHING happened!)

>*   If I have successfully compiled the new kernel do I still need the follow-
>    ing directories that are located in /usr/src, these are Linux-1.0.9 and
>    Linux-1.1.18+UMSDOS-0.3a+IFS-5.1.

Not if you have an entirely independent source-tree for 1.1.45 that works.
But, again, be careful about maintaining/updating the symbolic links.

David Black
[email-masked]

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

From: [email-masked] (Robert Ellsworth)
Subject: Anyone get quota-1.33 working with UMSDOS fs?
Date: 20 Sep 1994 21:25:30 GMT

I'm trying to install quota-1.33 (kdiff-1.1.50), on my Linux box that is
currently using the UMSDOS fs.  Has anyone had any success is getting it 
to work?  Whenever I run quotacheck or any of the utilities, I get no output
and it seems it doesn't do a thing.  Any help would be greatly appreciated.

Robert Ellsworth
[email-masked]
[email-masked]

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

From: [email-masked] (Michael Hung)
Subject: Re: Dosemu in X
Date: Fri, 23 Sep 1994 14:24:05 GMT

In article <[email-masked]> [email-masked] (Dan Wold) writes:

>CTLR-H works for backspace/delete. The arrow keys work normally. Now I can
>use QEDIT ( a popular ms-dos editor ). Thanks to Todd, the "Mad Viking"
>([email-masked]), for this hint. Todd says a patch for this has been
>submitted, hopefully to be included in pre53_21 or so..

Try put a line:

xmodmap -e "keycode 22 = 0x08"

in the X startup script such as xinit.  
This makes the backspace key '^h' instead of the Delete key.
(This makes the backspace key works only, didn't fix the delete key)

Michael
==============================================================================
Michael Hung

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

From: [email-masked] (Ian James Westcott)
Subject: Re: *** Why can't Linux access partitions with Linux FDISK? ***
Date: 20 Sep 1994 21:28:55 GMT

Anselm Lingnau ([email-masked]) wrote:

: > Unless I'm wrong you should be able to use DOS fdisk to make the next
: > partition but use Linux to format it.

: Depends. Using Linux fdisk should work as well.

If I remember correctly, the Install-Howto states you should use the 
Linux fdisk to create linux partitions, not the DOS fdisk.
--

Ian Westcott

��������������������������������������������������������������������Ŀ
� The Silverdragon's lair is at: � "Humans - go fig..." - Rita       �
� [email-masked]     � "You can't hide from it. Hug your �
� [email-masked]        � destiny, Arthur! Hug it. "        �
� [email-masked]         �             - The Tick            �
����������������������������������������������������������������������

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

From: [email-masked] (Kevin Cummings)
Subject: Re: Enhanced IDE
Date: Tue, 20 Sep 1994 20:52:41 GMT

In article <[email-masked]>, [email-masked] (Dan Halverson) writes:
> Roman Gollent ([email-masked]) wrote:
> 
> : I am thinking of purchasing an enhanced ide VL-B controller plus hard drive
> : (1 gig WD Caviar). I was just wondering if there were any compatibility
> : problems with Linux. BTW, the price for the bare drive is 519$ (Yes, 519$)
> 
> It seems to me that if one wants SCSI performance, one should buy a SCSI 
> drive.  From what I have seen on VL-B drives and controllers, I have not 
> been impressed.  Yes, it will cost you a little more to go SCSI, but you 
> gain a mature standard and the ability to expand without going through 
> the growing pains of "incompatible implementations" of the VL-B bus.

Who said anything about needing performance?  If you want that capacity these
days in an IDE drive, that's what you get.  I too am looking into buying
a similar drive (WD 730MB drive for ~$400).  I don't have a VLB, so I'm
looking for two things:  1) Drive capacity, and 2) compatibility with my
current 202MB IDE drive in an ISA setting.  SCSI is not an option for me
(too many $$$).  (By the way, opinions on what to buy and why are always welcome.)

If I ever get a sound card, I'll probably buy one with a SCSI-2 controller,
but good SCSI controller cards (by themselves) can cost as much as disk drives
or good sound sound cards (with SCSI controllers on them!) these days.

> My $.02 worth.

And mine.

-- 
Kevin J. Cummings                       Peritus Software Services, Inc.
[email-masked]        [email-masked]

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

From: [email-masked] (Kevin Cummings)
Subject: Re: Converting from DOS to linux...
Date: Tue, 20 Sep 1994 21:21:52 GMT

In article <[email-masked]>, [email-masked] (Matthew Dharm) writes:
> I am considering getting another HD and installing linux.
> 
> I allready know all of the benefits, so no one has to convince me that
> this is a good idea.
> 
> BUT, I'm not going to do this unless I can get a foolproof way of
> moving files back and forth from one machine to another.  What I
> envision is some DOS or linux command that will copy a file from my
> linux partition to my DOS partition.  I realize that I could use FTP,
> but I would need a third computer to use for temporary storage if I
> did this.  What I'm looking for is something completely and totally 
> self-contained.

You can mount DOS filesystems that aren't space compressed directly under
Linux.  And I just saw a release bulletin for an ALPHA release of
a DoubleSpace compatible file system.  If that is true, you can also
mount your double spaced DOS partitions as well.

These is also the MTools ported to Linux which were much more widely used
before the MSDOS file system was supported.

I don't know of any way to copy to you Linux file system while you are
running DOS, but since you can do it while running Linux, what's the
problem?

> I realize that this has, in all likelyhood, allready been done.  I
> just need to hear from someone who has done it in order to console my
> fears about totally changing OSes from something that I know, to
> something almost totally foreign.

You should have no problems.  I keep my DOS stuff around waiting for the
DOSEMU and WINE projects to finish, then in all likelihood, I'll nuke my
DOS stuff in favor of running my DOS and windows apps under Linux and XFree86.

-- 
Kevin J. Cummings                       Peritus Software Services, Inc.
[email-masked]        [email-masked]

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

From: [email-masked] (Jim Sun)
Crossposted-To: comp.os.linux.help
Subject: installing on P90 + 1G HD
Date: 24 Sep 1994 07:01:05 GMT

I'm trying to install another linux box on our subnet.  It's a Pentium 90
with 1G IDE harddrive.  I'm running into serious problems despite my
previous successful experiences with linux installations.

I'm installing slackware via NFS (maze.mit.edu) using the interactive setup
utility.  It should not be too different from installing from CD or disk(ette).
And because I'm installing linux in the first 300meg disk space, the 1024
cylinder problem should not bug me.
Here's my problem:
1) the setup utility claims that installation is complete after configuring
only modem and mouse.  In my past experience, there were netconfig, timeconfig,
and (most important) liloconfig; but not this time.
2) the floppy boot disk is not bootable; (nor the harddrive, see below)
3) because lilo is not configured, rebooting sent me right into dos; activating
linux partition as boot partition (from dos) resulted in a hang
4) manually creating lilo; when adding linux root partition in lilo, I got
"missing boot signature in first sector" warning
5) when boot after installing lilo to MBR, I got "partition table error" message.

Is it possible to copy an entire partition from one disk to another?  since
I already have a few functioning linux boxes.  particularly how to transfer
the kernel boot image, and adding "boot signature."

Thanks; and please cc:[email-masked] in your response

Jim

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

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

You can send mail to the entire list (and comp.os.linux.admin) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Admin Digest
******************************