Subject: Linux-Admin Digest #134
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 2 Oct 94 12:14:00 EDT

Linux-Admin Digest #134, Volume #2                Sun, 2 Oct 94 12:14:00 EDT

Contents:
  Re: Enabling Dial-In to my Linux system. (Gerry Snyder)
  Re: XView/Openwin rather old... (Greg Cisko)
  Re: gcc 2.6.0 and kernel 1.1.51 - no problems, should there be any? (NightHawk)
  <Q> Can Linux Mount a Mac Floppy (Tim Bass (Network Systems Engineer))
  /sbin/hostname on 1.1.45-50 (Ramon J. Hontanon)
  what is maximum disk or filesystem size? (Phil Howard)
  Re: rlogin problem (Eric E. Leonard)
  Re: AutoMount For Linux (Bill Braughton)
  NNTP QUESTION (Sergei Fishel)
  Is there a firewall for slackware? (The Weasel !!)
  Re: Need help to correct LILO (Brad Matthew Garcia)
  Re: help on patching kernel source (Austin Donnelly)
  HELP NEEDED - Converting SCO users biz.sco.general (Shahid Ikram Butt)
  Re: my printer does not wrap long line (joerg)
  Re: LINUX mouse problem (S. O'Connor)
  Trn and the remote NNTPserver (S. O'Connor)
  Re: Special Sale On QNX! (Axel Winter)
  Building a PPP-link with DIP (Peter Wassenaar)

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

From: [email-masked] (Gerry Snyder)
Subject: Re: Enabling Dial-In to my Linux system.
Date: 30 Sep 1994 13:35:24 GMT

In article <[email-masked]>, [email-masked] says:
>
>
>>
>>>Set the modem to Auto Answer using DIP switch 5.

[Attribution to Gert Doering deleted]
>>
>>Noooooooo. After all, Linux machines crash every now and then... wanna
>>have the modem pick up then? Yes? Ok, set it to autoanswer...
>>
>
>I don't understand. Why don't you want the modem to pick up the phone
>when Linux has crashed?

The call might be long-distance, in which case the caller does
not want to pay for a call which will not succeed.

>
>
>Bob.

Gerry

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

From: [email-masked] (Greg Cisko)
Subject: Re: XView/Openwin rather old...
Date: 30 Sep 1994 13:34:40 GMT
Reply-To: [email-masked]

In article [email-masked], [email-masked] (Christian Kuehnke) writes:
> Hi,
> I have to setup a linux machine here for one of the professors
> to work at home with - he would really like to have the open-
> windows/xview as user interface, just as he is so used to it.
> 
> I took my self-grown linux installation and wanted to add one of
> the openwin/xview packages from SLS or LST, but I found that all
> they had to offer was the old package dating from Oct. '93, with
> all the ugly sideeffects (need symlinks from /lib for the shared
> libs or LD_LIBRARY_PATH, spurious complains about "(tty) is not
> a typewriter", cmdtool not working well).
> 
> So I am wondering if there is any newer port of xview to linux?
> Are the patched sources available, even to generate new shared
> lib images?

I use slackware 2.0. This includes xfree86 V2.1.1. Which includes
xview 3.2. I too use openwindows. I have worked on a SUN for a
number you years & grew to like it. So, when I installed linux 
on my PC at home, I used openwin. IMHO, the problems you complain
about are non-problems. The typewriter complaints only show up on 
my login console (which I never see anyway) These complaints have
not caused any crashes or other negatives, in my use of openwin.
THe LD_LIBRARY_PATH thing? So what? Just set the variable & move on...
I have to do it on my SUN, it is the same for linux. I never saw this
as a problem. The cmdtool complaint is very valid. In fact I hate 
using xterms & always use cmdtool's on my SUN (unless I cannot :-)
I have switched to using an xterm on my linux machine. I feel it
is a small sacrafice for a GOOD xwindow system. Besides Xfree 3.+ 
may well fix the cmdtool problem...

> 
> Otherwise I will just fall back to plain X11 and trim fvwm and
> xterm/rxvt so that it will yield a xview-look-a-like... 

Yuck! :-) I hope you have been somewhat pursuaded to give openwin
another chance. It really is very good. I cannot think of a single
linux problem I've had that was openwin related...

> 
> Thanks for any pointers in advance,
> Christian
> -- 
> [email-masked] ** Phone: +49 (0)441 592 652
> Christian Kuehnke/Hartenscher Damm 65/26129 Oldenburg/Fed. Rep. of Germany
> "Wer auf dem Kopf geht, der hat den Himmel als Abgrund unter sich" (Celan)

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

From: [email-masked] (NightHawk)
Subject: Re: gcc 2.6.0 and kernel 1.1.51 - no problems, should there be any?
Date: 30 Sep 1994 07:45:32 -0400

Michael Will ([email-masked]) wrote:
: Yesterday I freed up a lot of diskspace and compiled gcc 2.6.0 - it
: works nice, and I compiled kernel 1.1.51 without a hitch.

: In fact - there had be one warning in the msdos-filesystem-section:
: namei.c: In function `msdos_format_name':
: namei.c:43: warning: overflow in implicit constant conversion

: but I have not had any malfunction yet. 

: My c++ project worked after correcting some mistakes the old g++ missed...

: Am I to expect problems? If not, why is gcc 2.6 not the official version yet? 

Yes, quite a few. The latest snapshot is gcc-940927 in both a.out amd ELF
formats.

NH

: Cheers, Michael Will

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

From: [email-masked] (Tim Bass (Network Systems Engineer))
Subject: <Q> Can Linux Mount a Mac Floppy
Date: 2 Oct 1994 14:18:28 GMT

Got some ASCII text files on my Powerbook... Would like to write them
to the PB floppy and then mount the floppy on my linux box and
read the ascii text (and do some other stuff).  I haven't seen this
in any FAQ or the The Linux Bible.   Any clues for the clueless ;-)

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

From: [email-masked] (Ramon J. Hontanon)
Crossposted-To: comp.os.linux.help
Subject: /sbin/hostname on 1.1.45-50
Date: 30 Sep 1994 08:44:09 -0500

Hi folks,

I've had a problem with setting the hostname on my system since
I upgraded to 1.1.45. I went to 1.1.50 yesterday, hoping for a
fix, to no avail.

I've followed the advice from a couple of postings on c.o.l.help 
over the last month, but it hasn't worked so far.

The problem:

Whenever I set my /etc/rc.d/rc.inet1 to:

     /sbin/hostname        reston
     /sbin/domainname      cber.nih.gov

My system greets logins as:

   cber.nih.gov (none)

and a plain:

    /sbin/hostname

actually shows:

    cber.nih.gov

This has me puzzled. Reading the FAQ's, HOW-TO-net and NET-3 docs
hasn't helped me at all.

Thanks a lot!

-- ramon
______________________________________________________________________
                         Ramon J. Hontanon                   
         CBER FDA (NIH), 8800 Rockville Pk. Bethesda, MD 20892           
Internet:  [email-masked]     packet TCP/IP: [email-masked]
                          (301) 496 0718

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

From: [email-masked] (Phil Howard)
Subject: what is maximum disk or filesystem size?
Date: 2 Oct 1994 02:49:29 -0500

I know the maximum filesystem size for minix is roughly 64meg due to its
use of 16 bit fragment pointers and 1k fragments.

What limitations exist for the other hard drive filesystems, particularly
extended-2 and xia?
-- 
/***** Phil Howard KA9WGN *********** How about universal JOBS? **************\
*      Unix/Internet/Sys Admin        Let's de-Foley-ate congress in 94       *
*      CLR/Fast-Tax                   Don't let Annie get your gun!           *
\***** [email-masked] ************* Just say NO to CIX extortion ***********/

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

From: [email-masked] (Eric E. Leonard)
Subject: Re: rlogin problem
Date: Fri, 30 Sep 1994 23:45:27 GMT

[email-masked] (Lance Holmes) writes:

>I've installed the Yggdrasil Linux Fall 94 software.  And I think either
>this was working and I screwed up something or it never did work.
>I can rlogin to my Sun workstation if I am logged in as root on my PC
>but if I log in as any other user I get the following message.

>rcmd: socket: Permission denied    

>I have a .rhost file in both my root home dir and my user dir but in the
>root dir I didn't modify it in any way and so my sun workstation is not
>mentioned in it which leads me to beleive that its not being used.  In
>the user dir I tried adding the names of other sites that I wanted to 
>log into but it still didn't change any thing.  It seems like my root
>has permission to some file some where and the world or groups don't and
>need to.

>Thanks 

The rlogin program needs to be setuid root:

-r-sr-xr-x   1 root     bin        13060 Sep 18 1993  rlogin

As root, issue the following command:  chmod 4555 rlogin

Make sure the rlogin command is owned by root: chown root login
That should fix your problem.

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

From: [email-masked] (Bill Braughton)
Subject: Re: AutoMount For Linux
Date: 28 Sep 1994 00:31:17 GMT
Reply-To: [email-masked]

Jocke Berglund ([email-masked]) wrote:

>I'm also looking for a automounter for linux and yes i've lokked at AMD,
>but that isn't compatible with automiuntd for SUN's and other machines. So
>that isn't a solution that I can use.. (it has to use auto.home/auto.master)
>So if any one know about a automounter that does YP, plese tell me.

This is true, but you could look into running AMD on your Sun stations as
well. We are running AMD on Sun stations running everything from SunOS 4.1.1
to SunOS 5.2 and some HP-UX 8.0, and HP-UX 9.0 too. I think it's even 
running over on some AIX 3.1.2 machines too. And of course, it's running
on my Linux box as well with no trouble what so ever. And, AMD does do YP
easily.

                                                               Bill

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

From: [email-masked] (Sergei Fishel)
Subject: NNTP QUESTION
Date: 28 Sep 1994 11:39:23 GMT

Hi, there!

I have a problem installing news. Everytime, when I am trying to connect 
to my host through nntp port, Host is kicking me out:

      telnet atsbbs 119
      ...
      502 atsbbs NNTP server can't talk to you.  Goodbye.

Could anybody advise on this problem, pls?

Thanks in advance

Sergei Fishel, [email-masked]

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

From: [email-masked] (The Weasel !!)
Subject: Is there a firewall for slackware?
Date: 2 Oct 1994 06:20:41 GMT

We are tring to setup a firewall to help protect data on our system.
Is there a firewall out there for slackware? I need to install it
on our gateway linux box.

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

From: [email-masked] (Brad Matthew Garcia)
Subject: Re: Need help to correct LILO
Date: 30 Sep 1994 13:41:10 GMT

In article <[email-masked]>, [email-masked] (Jason Hong) writes:
|> I just got a slackware Linux 2.0 and installed on my machine.
|> Somehow, I messed up and Bootdisk does not start Linux.
|> 
You didn't ask a question, but I assume you want to figure out
how to boot Linux again?  ftp to sunsite (or one of the mirrors -
my favorite is mrcnext.cso.uiuc.edu), go to /pub/linux/distributions/
slackware/bootdsks.144 and get one of the files in the directory
(bare.gz will get you going).  Get a copy of gzip.exe for DOS
(one directory back, cd ..) and a copy of rawrite.exe (same).

Now in DOS, do gzip -d bare.gz.  Then do rawrite (I forget if it
needs any command line options, maybe rawrite a: bare?) to place
the file 'bare' onto a floppy (floppy may need to be formatted first -
can't remember).  Ta-da, you now have a boot disk!

|> In my lilo.conf, I only have DOS section because I want to start
|> Linux only from Boot-Floppy.
|> 
Maybe you should add a linux partition to lilo.conf, in case you
trash bootdisk again.

Also, there's no point in even installing LILO if you only ever 
boot DOS anyhow.  Set it up to boot DOS by default, and Linux
by selection.  To do this, make sure the DOS partition is listed
before the linux partition in lilo.conf.  You need to run /sbin/lilo
after editing lilo.conf to make the changes take effect.

|> Also, how can I make changes for my Mitsumi CD-ROM working?
|> My base address for Mitusumi is 0x340 and irq 11, but Linux setup is
|> base address 0x300 and irq 11.
|> 
You probably need to recompile your kernel to include this CD support.
Read the Linux Installation HOWTO for the procedure.  It's not that
hard.  I did it for the first time last weekend.  In case I am wrong,
read the CDROM-HOWTO.  Should be in YOUR /usr/docs/faq, or whatever.
If you can't find it, get it via ftp.

|> Can anybody give me good example of 'lilo.conf' file?
|> 
|> I installed only Toolkit for Linux part 1 which is one of two CDs.
|> Do I have to install the second CD-ROM in order to use X-Windows?
|> 
|> Thank you for your helps,
|> Jason
|> 
|> 
|> 
|> --
|> +-------------------------------+-------------------------------+
|> | Documentary Photographer,  | [email-masked]                |
|> | Auto-Mechanics,            | Academic Computing Services   |
|> | BS in Civil Eng. &         | Cal. State Univ.@Long Beach   |
|> | Software Engineer          | 310)985-7577                  |               
|> +-------------------------------+-------------------------------+
-- 
Brad M. Garcia                   Carnegie Mellon University 
   ____/  ____/  ____/ Department of Electrical and Computer Engineering
  __/    /      __/   "The only Engineering department in the world where
_____/ _____/ _____/   the secretaries have the most powerful computers."

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

From: [email-masked] (Austin Donnelly)
Subject: Re: help on patching kernel source
Date: 2 Oct 1994 10:30:14 GMT

In article <[email-masked]>,
Matthew S. Crocker <[email-masked]> wrote:
[...]
>its patch -p0 < patch46
>    patch -p0 < patch47 
>
>if you want to get fancy you can `patch -p0 < patch46 > patch46.out
>
> then you can look at the output at your own pace...

Not quite.  patch produces its output on stderr, so you need something
like:

    patch -p0 <patch47 >patch47.logfile 2>&1

...in order to catch both stdout and stderr to the logfile.

In practice, I do:

    zcat patch47.gz | patch -p0 >patch47.logfile 2>&1

...since the patches are distributed as .gz files, and I can't be
bothered decompressing them all beforehand.

Austin

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

From: [email-masked] (Shahid Ikram Butt)
Crossposted-To: comp.os.linux.misc
Subject: HELP NEEDED - Converting SCO users biz.sco.general
Date: 2 Oct 1994 05:37:16 -0500

Okay, Okay I should have crossposted it in the first place.
I posted an article under the subject : "Does nobody here know about
Linux ? " in biz.sco.general few hours ago and already have a good
response. This is an honest attempt to convert SCO users to Linux.
Hopefully we'll get attention of some developers and they might think
about porting their popular application to Linux.

If you have been enjoying Linux without paying for it then now is a
good time to pay back to Linux community. Your job is to get more
and more people to start using Linux instead of any other OS. The
more people use Linux, more applications, faster development etc.
etc. Its a good thing you see. Jump to biz.sco.general now and 
participate in that discussion. 

Shahid
   [email-masked]
                  Cruising Information Super Highway

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

From: [email-masked] (joerg)
Subject: Re: my printer does not wrap long line
Date: 27 Sep 94 20:20:41 GMT

XiaoFei Wang ([email-masked]) wrote:
>I do not know if it is a linux question or not, the problem is
>my printer -- HP laserjet III -- does not wrap long lines when
>printer ascii files. What to do? 
[erased]
>Where the filter is 

>#!/bin/sh
># Filter for HP printers to treat LF as CRLF
># the ``echo -ne'' assumes that /bin/sh is really bash
>echo -ne \\033\&k2G
>cat
>echo -ne \\f

It seems that you have to insert the line 
        "echo -ne \\033\&s0C" 
just before "cat". I read it in the
manual for my deskjet but it should work for the laserjet
too, as ist is HP PCL. 

===============================================================================
Joerg Ahrens                                              _/           
Koenigsberger Strasse 32                                _/_/
31226 Peine                                           _/  _/
Tel.: 05171/57308                             _/    _/_/_/_/
e-mail: [email-masked]                _/_/_/_/      _/
===============================================================================

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

From: [email-masked] (S. O'Connor)
Subject: Re: LINUX mouse problem
Date: Sun, 2 Oct 1994 09:46:44 GMT

[email-masked] (Ruz) writes:

>Howdy, I am setting up a Linux network for a system administration class
>and have run into a problem.  The mouse gives me an error saying device or
>resource busy!!!!  This means I cannot run X and finish the system.

>Any ideas?  

        Do you get this message when you try to start X? You will if 
Selection is running. Selection makes the mouse work in Linux, but you 
have to kill it to run X. 
        If you get this error while trying to get the mouse to work in 
*Linux*, check to see if /dev/mouse is pointing at /dev/cuaN, N being the 
port number that your mouse is connected to. (rem: cua0=ser.port1, 
cua1=ser.port2, etc.) Also make sure that you are specifying the correct 
mouse protocol with Selection (try 'em all 'till it works). Still doesn't 
work? Make sure the port's not sharing an interupt with something else. 
Is it something other than an MS serial mouse? If so, did you compile 
support for it in the kernel? That's about all I can think of at this 
moment, anyone else?  
-- 

                        Irish

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

From: [email-masked] (S. O'Connor)
Subject: Trn and the remote NNTPserver
Date: Sun, 2 Oct 1994 10:04:32 GMT

        Trn can apparently use a remote site as the nntpserver. The file 
I read said to set it in /etc/profile. OK, what exactly is the 
format/syntax for this entry? I tried "NNTPSERVER=<full.site.name>", and 
<full.site.name> is in my /etc/hosts file (with, of course,its IP 
address). With no luck =( 
        What I'm trying to do is use trn on my box to read the news on my 
Net provider. If there is a way to make NN do this as well, I would like to 
hear about it too. 
        The config: Linux 1.0.9 running Slip via TIA. 

        Next week; Mail the same way
                Thank in advance, 
-- 

                        Irish

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

From: [email-masked] (Axel Winter)
Subject: Re: Special Sale On QNX!
Date: 2 Oct 1994 14:57:34 GMT

Matthew Donadio ([email-masked]) wrote:

: I you have only heard second hand info then how can you make a fair
: assessment of an operating system?  Plain and simple, there is no best
: operating system.  There are, however, best operations systems for a
: specific task.  If you want to read news, do "standard" unix stuff
: then linux or one of the free BSD's is fine.  If you want to do
: real-time operations (according to the true definition of real time,
: not what most people think real-time is) then these don't even come
: close.  Something like Lynx or QNX is best suited for this task.
: These tasks will almost always require a lot of custom code, so
: portability isn't (in most cases) a big issue.  There are times,
: though, when QNX or Lynx don't cut it either, like with multiprocessor
: DSP systems.  For these SPOX or Virtuoso is best.

For normal users I guess QNX isn't a good choice at all! If there
is a intention for real time operations than QNX is a fine UNIX
choice, but for the rest of us ... 

To be honest, I guess there aren't a lot of real time stuff the most of 
us will work with, so Linux is a really a good choice. Next to that some 
of their dealers aren't that nice to customers and developers.

Axel

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

From: [email-masked] (Peter Wassenaar)
Subject: Building a PPP-link with DIP
Date: 2 Oct 1994 14:46:47 GMT

I tried to build a PPP-link with DIP 3.3.7b-uri. It didnot work
(the man page suggests it will work)

I hate to use different interfaces (kermit, cu, chat etc) to fire up 
a SLIP/CSLIP/PPP-link.

It took me a little while to hack the source-code of DIP 337b-uri and
it works fine now. It interfaces now with the `pppd'.

I use   Linux 1.1.8 with ppp-kernel-drivers (ppp2.1.2a)
        pppd 2.1.2,
        dip 337b-uri

What I want to know: Is there a `legitimate' version of DIP/PPP? I
cannot believe I am the first one who wants a working DIP/PPP combo.

        Peter Wassenaar

====================================================================
e-mail: [email-masked]   |  "Only Word is Perfect"
                                        |

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

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