Subject: Linux-Activists Digest #244
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Mon, 20 Sep 93 11:13:11 EDT

Linux-Activists Digest #244, Volume #6           Mon, 20 Sep 93 11:13:11 EDT

Contents:
  communication program (Peter P Chiu)
  Re: Auto-answer with uugetty or getty (Mark A. Horton)
  Re: Linux won't let me change password for new user (Mark A. Horton)
  Adaptec 1742C (Martin Rathmayer)
  Re: [Q] Problems setting up new accounts (Mark A. Horton)
  help: no boot after midi-card-installation (Klaus Birken)
  C, doubles (Paul Trouton)
  LPD and 1.03 (Bryan Zarnett - SPEC/F93)
  Re: need help with login (Mark A. Horton)
  QUESTION: XFREE86 & VESA Video???? ([Dennis H.])
  Re: Auto-answer with uugetty or getty (Jack Roberts)
  Re: Help: EXT2-fs (Piercarlo Antonio Grandi)
  PROBLEM: X386 freezing up station (RZ Diplomantenarbeitsplatz)
  Re: UUCP now works! (was: UUCP uid (was: UUCP on SLS 1.03)) (Mark A. Horton)

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

From: [email-masked] (Peter P Chiu)
Subject: communication program
Date: Mon, 20 Sep 1993 07:02:54 GMT

is there any communication program which supports Z modem transfer
available on X windows?

please send reply to [email-masked]

thanks

-- 
      .&______~*@*~______&.       m                    Peter Chiu
    "w/%%%%%%%%%%%%%%%%%%%\w"    mmm***      Washington University, St. Louis
      `Y""Y""Y"""""Y""Y""Y'      mm*****           [email-masked]
   p-p_|__|__|_____|__|__|_q-q   mm**Y**     275 Union Blvd, #711, St. Louis,
_-[EEEEM==M==MM===MM==M==MEEEE]-_.|..|.... Missouri 63108       (314) 367-3599

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

From: [email-masked] (Mark A. Horton)
Subject: Re: Auto-answer with uugetty or getty
Date: 20 Sep 1993 01:26:07 -0700

Gert Doering ([email-masked]) wrote:
: [email-masked] (Willie Lim) writes:

: >Any suggestion on what needs to be set to get dial in to work on my
: >SLS 1.03 machine?

: Use "mgetty" from the "mgetty+sendfax" package. It has been written
: especially for use with "smart" modems and offers extensive logging to
: nail down problems.

: Unfortunately, the configuration is not yet very sophisticated, you
: have to do most of it in the source...
                I have been very pleased with the getty_ps package in
                SLS-1.02.  If you take the time to configure it like
                it says, it works great right out of the box!  I use it
                for uucp and logins with no problems.  the debugger is
                VERY nice for tuning the modems -- I'm getting uucp
                xfers in excess of 1360 cps both inbound and outbound with
                an el-cheapo Infotel 14400 fax/data modem as well as with
                a slightly more sophisticated "turbo" modem plus (I think
                it's a practical peripherals in sheep's clothing :^)  )
                that's in about the same price range ( approx 180.00 us )
                -- Mark

: gert
: -- 
: ... ich kann diese signature nicht mehr sehen!

: Gert Doering - Munich, Germany                             [email-masked]
: fax: +49-89-3243328                         [email-masked]

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

From: [email-masked] (Mark A. Horton)
Subject: Re: Linux won't let me change password for new user
Date: 20 Sep 1993 01:48:02 -0700

Allen Mar ([email-masked]) wrote:
: [email-masked] (Teddy Winstead) writes:

: >I used the latest SLS distribution of Linux from sunsite.unc.edu, and
: >when I added a user with useradd, things went smoothly until I tried
: >to log in. The passwd field is totally blank in the passwd file, as is
: >the entry in the shadow file. When I log on, I type the user name,
: >and Linux informs me that my password has expires, and that I should
: >select a new one. It then promptly tells me (without letting me
: >type anything in) that the password cannot be changed. I have triple
: >checked my permissions on all pertinent files, and can't figure out what in
: >the hell is wrong. Anybody got any ideas?

: Try setting a password for the user (from root) 'passwd <userid> <password>'.
: The syntax may be not quite right, as I've not used my linux install for
: a coupla weeks, but I had to go thru similar "problems" with that.

: >ted

: Allen
: [email-masked]

        I had this problem too.. had to assign initial passwords using the
        passwd command as root.  then it still wouldn't let users change
        their own passwords!  Finally screwed around with permissions and
        ownerships until it works fine now.  Settings that worked :
                file            mode    owner   group
                /bin/passwd     4755    root    root
                /etc/passwd     664     root    shadow
                /etc/shadow     660     root    shadow
        this fixed everything (although I still assign the initial password
        via root login after running useradd!)
        -- Hope this helps,
        Mark Horton

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

From: [email-masked] (Martin Rathmayer)
Subject: Adaptec 1742C
Date: 20 Sep 1993 09:29:34 GMT

I want to buy an Adaptec 1742C SCSI-Controller with 512 KB Cache and want
to connect my SCSI-2 HD and my Floppy Disks to it. Are the known problems
with this controller under Linux (especially in the enhanced mode) ?

Martin

--
MARTIN G. RATHMAYER                       Email: [email-masked]
Member of Communications Group            Phone: (++43-1 58801-5834)
Computing Services                        FAX:   (++43-1 587 42 11)
Technical University of Vienna, Wiedner Hauptstr. 8-10, A-1040 Vienna / AUSTRIA

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

From: [email-masked] (Mark A. Horton)
Crossposted-To: comp.os.linux.help
Subject: Re: [Q] Problems setting up new accounts
Date: 20 Sep 1993 02:30:49 -0700

travis jensen ([email-masked]) wrote:
: I am having problems adding users to my system (SLS 1.03).
: I use 'useradd <name>' and then try to 'mkpasswd <name>'
: and get an error 'no SBM(?) database'.  I try to log into
: the newusers account (well, it is my account) and I can't
: I don't know if this is a linux question or unix question,
: but any help would be appreciated.  (BTW, I have checked
: the FAQ :)

: Travis

        Use "passwd <username>" from root to assign an initial password
        to the user just added with useradd - Works.
        --- Mark

: -- 
: Travis A. Jensen              
: [email-masked]  (preferred)
: [email-masked]  (next best)
: "My elelator! Not your elelator, my elelator!!"--Baby Plucky Duck

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

From: [email-masked] (Klaus Birken)
Subject: help: no boot after midi-card-installation
Date: 20 Sep 1993 09:43:33 GMT

hi!

i recently installed linux on my 486DX33. after this installation i added
a midi-card to this machine, and due to this it isn't possible to reboot
under linux. (stops at line 'detecting soundcard').

what can i do? reinstallation of linux? build new kernel? or a simple unix
command (i don't know which one..)?

please help!

thanx,
klaus

-- 
| Klaus Birken      | RUS, University of Stuttgart                  |
| Allmandring 3a    |      - Computer Center -                      |
| D-70550 Stuttgart | mail  :  [email-masked]          |
| Germany           | voice :  (0049)-(0)-711-685-5812              | 

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

From: [email-masked] (Paul Trouton)
Subject: C, doubles
Reply-To: [email-masked]
Date: Mon, 20 Sep 1993 09:53:57 GMT

I hope this is the right group....

I am writing a program which is basically a commandline interface, talking in commands and producing a result. All parts of the commands are read in as character. However
once in the computer, some may need to be converted to a double or integer.

e.g. (set vat = 17.5)

set, vat, =, and 17.5 are all read in as a character name. Then "17.5" is converted to a double by the command 'double = strtod(spelling)'

My problem is that I can compile the program, but once I try and run the program, it gives me a 'floating point exception error' after the command to change vat (or any other string to double conversion).

The program works fine on the Sun, but not on my 486 at home, under Linux. 

How using the gcc compiler can I enable my program to work.

Thanks in advance for any help.
Paul.

P.s. thanks to everyone who helped me earlier.

Paz....

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

From: [email-masked] (Bryan Zarnett - SPEC/F93)
Subject: LPD and 1.03
Date: 20 Sep 1993 13:37:19 GMT

LPD demon doesnt seem to run properly on version 1.03.  LPD doesnt appear
in the process list after its typed (over a dozen times) and when I use
LPR it gives a file not found.  Any ideas?
 
If I switched back to an old LPD would it run on 1.03, I have the one from
patch level 6 running around on disk still. 

- Bryan

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

From: [email-masked] (Mark A. Horton)
Subject: Re: need help with login
Date: 20 Sep 1993 07:47:51 -0700

Harley Privitera ([email-masked]) wrote:
: >>>>> On 14 Sep 1993 15:25:22 -0400, [email-masked] (Sang Kim) said:

: Sang> I installed Linux SLS 1.03 last night and logged in as "root"
: Sang> and decided to change the /etc/passwd file and change "root" to
: Sang> "kims" and change my home directory as well.  I also changed my
: Sang> shell to tcsh using chsh.  I tried to login with "kims" but
: Sang> there is a problem.  It can't find tcsh.  and it won't let me
: Sang> log in.  btw, I never set any password for "root" or "kims" and
: Sang> so when I tried to logon as kims it never asked me for a
: Sang> password.  Is that supposed to happen?  I have the disks so that
: Sang> I can reinstall Linux, but I thought I'd ask here first.

: Did you replace the root account with the kims account? I'd imagine
        This is a very bad idea.  A Unix system without a root id is
        like a life without even hope for sunshine!  :)  You can
        make this work, but you will have a hell of a time in the
        future maintaining it and adding new software to it!  Harley
        is definitely right about this... that's why everything stopped
        working; the question now remains as to what to do the next 
        time you install it!  I suggest leaving root alone and ADDING
        a user named "kims" for yourself.  You're gonna want more than
        a single user on the system anyway, right?
                -- Just a suggestion... - Mark
        
: away or have it's uid set <> 0, and this will cause problems (for
: example, login is setuid, and it doesn't work on your system anymore).

: /harley
: --
: Harley Privitera                      Internet: [email-masked]
: Digital Equipment Corp.                       UUCP:     ...!decwrl!shr.dec.com!harley
: 333 South St                          Voice:    (508) 841-2087
: Shrewsbury, MA 01545-4112             #include  std.disclaimer

: "Bureaucracy is the process of turning energy into solid waste" - Dave Cutler

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

From: [Dennis H.]
Subject: QUESTION: XFREE86 & VESA Video????
Date: Mon, 20 Sep 1993 14:46:09 GMT

Hello, I was wondering what the requirements were for XFREE86
with a VESA video card /w 2M RAM.  The docs talk about 8M RAM
to run X-windows.  Can I effectively run X-windows with 4M RAM
and 2M RAM on my video card????  Any suggestions or comments
are welcome.  Thanks in advance.
                        Dennis  (i.e. [email-masked])

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

From: [email-masked] (Jack Roberts)
Subject: Re: Auto-answer with uugetty or getty
Date: Mon, 20 Sep 1993 14:53:59 GMT

[email-masked] (Mark A. Horton) writes:

>Gert Doering ([email-masked]) wrote:
>: [email-masked] (Willie Lim) writes:

>: >Any suggestion on what needs to be set to get dial in to work on my
>: >SLS 1.03 machine?

>: Use "mgetty" from the "mgetty+sendfax" package. It has been written
>: especially for use with "smart" modems and offers extensive logging to
>: nail down problems.

>               I have been very pleased with the getty_ps package in
>               SLS-1.02.  If you take the time to configure it like

I only have one modem and would like to use it in a dialin and dialout
capacity.  Do either of these packages allow for this without having to
kill the getty manually in order to dialout?
-- 

============================================================================
|      Jack Roberts                                                        |
|      National Science Center Foundation      Usenet: [email-masked]    |

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Piercarlo Antonio Grandi)
Subject: Re: Help: EXT2-fs
Reply-To: [email-masked] (Piercarlo Grandi)
Date: Mon, 20 Sep 1993 14:50:52 GMT

On 16 Sep 1993 06:39:47 GMT, Heon J. Jo ([email-masked]) wrote:

  here goes another FAQ question(?)
  I couldn't find this in the FAQ.

It is probably the currently most frequently asked (and incompletely
answered) question...

  EXT2-fs warning: mounting unchecked file system, running e2fsck is recommended
  [EXT II FS 0.3c, 93/08/05, bs=1024, fs=1024, gc=17, bpg=8192, ipg=1592}

  I ran e2fsck several times but...  I am still getting this message...
  what's the problem?

The problem is that both the kernel filesystem code and fsck modify the
status of the fs superblock, and the kernel filesystem code wins out.

To prevent this the root filesystem must be mounted RO at boot, fsck'ed
and then remounted RW, and then it must be remounted RO just before shutdown,
which is achieved by unmounting it.

You need versions of fsck, mount and umount that support all this, and they
are part of the bootutils-0.1 package.

Once you have installed this, you must:

1) rename e2fsck to fsck.ext2, fsck to fsck.minix, and so on.

2) put 'read-only' in /etc/lilo/config, and rerun /etc/lilo/install.

3) put the following four lines in /etc/rc:

        fsck -A -a -av          # check filesystems while root is RW
        mount -n -o remount /   # remount the root so it goes from RO to RW
        rm -f /etc/mtab*        # remove stale mount table
        mount -A -a -av         # mount all, write new mount table

   [note: I am typing from memory; if I remember well the above sets of
   options *must* be typed exactly as shown, in exactly the order given.
   In particular the -A option *must* be the first, and either fsck or
   mount, I don't remember which, *must* have the 'a' option replicated
   because of a bug; you also *must* specify the 'n' option when remounting
   the root.]

4) make sure that your version of shutdown/halt/reboot does call
   'umount -a' before stopping the system and after having killed
   all processes.

5) make sure that your /etc/fstab lists *all* filesystems you want to mount,
   including the root; filesystems you don't want to mount at boot up time
   can be flagged as 'noauto', but then you must copy the 'noauto' patch
   from the 'bootsys' package.

The only thing I am a bit unsure about is whether one needs to reboot
in case fsck had to repair the root; IMNHO I think this is not
necessary, remounting *ought* to reload the updated filesystem
information.

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

From: [email-masked] (RZ Diplomantenarbeitsplatz)
Subject: PROBLEM: X386 freezing up station
Date: Mon, 20 Sep 1993 14:45:37 GMT

Hi,
I got a problem when running X386. Sometimes the X-Server freezes 
the complete station. All X-Clients seem to stop ( clock doesn't
update, xload doesn#t update ). I haven't tried to login into my
station from remote, but i'm quite sure that the machine is hanging.
The problem is that this doesn#t hppen all the time. Sometimes
I can open lots of shell-windows and anything will work fine, but
othertimes the statiob hangs after opening just two windows.
I think my configuratuion in Xconfig is ok. I can create lots
of processes if I don't use X386.
I'm running linux 0.99p12 and XFree 2.0. Window-Manager is olvwm.
Hardware:  Cyrix 486DLC, VGA 16 ET4000 SVGA card, 8 MBYte RAM,
           16 MByte Swap space
Question is:   Is the defect described above a known failure
               (I hanve't found anything about it in README files). 
               Can I do anything to avoid it?
I've got a second problem:
 The size of my swap partiotion is about 22 MByte (shown by fdisk).
 I did a mkswap with the given size. When I say swapon /dev/xxxx
 I get 16xxx KByte swap partition activated. Why is there some swap
 space left unused ?
 Thanks,

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

From: [email-masked] (Mark A. Horton)
Subject: Re: UUCP now works! (was: UUCP uid (was: UUCP on SLS 1.03))
Date: 20 Sep 1993 08:05:16 -0700

Willie Lim ([email-masked]) wrote:
: After tinkering around with some settings, I got UUCP to work
: properly!

: Previously I wrote...

:    ...It seems that ownership of the UUCP files (in /usr/lib/uucp,
:    especially) has to be set to uid 11, the default uid set by Linux
:    during installation.  (Uid 11 is not in the installed passwd or group
:    files.)  I was setting the ownership to "uucp" (uid = 5, I think)
:    which should work but I think that I may have to set (haven't tried
:    this yet!) the ownership of several of the UUCp executables, (e.g. cu,
:    uuname, etc. in /usr/bin), from uid 11 to "uucp" too.

: I set the ownership of several files in /usr/bin to uucp (they were
: originally set to uid 11).  These files are:

: -r-sr-xr-x   1 uucp     root       123908 Mar 24 08:01 cu
: -r-sr-xr-x   1 uucp     uucp        87044 Mar 24 08:01 uucp
: -r-sr-xr-x   1 uucp     uucp        37892 Mar 24 08:01 uuname
: -r-sr-xr-x   1 uucp     uucp        99332 Mar 24 08:01 uustat
: -r-sr-xr-x   1 uucp     uucp        87044 Mar 24 08:01 uux

: Then I set the ownership of all the files in /usr/lib/uucp to uucp
: (from uid 11).  Similarly in /usr/spool/uucp, I change the ownership
: of every file and directory with uid 11 to uucp.  Everything (except
: dialin; I'm still working on that :-) works like mint now.  Thanks to
: all for your comments, suggestions, and conjectures. :-)

:    However there are still some workarounds needed:
:    1) I have to use -x with a level of 2 and above to get uucico to
:       actually dial out.  If I don't use -x or use -x1, the modem will
:       not dial out even though two lights on Hayes Smartmodem (forgot the
:       names for the lights but it is the 3rd and 4th lights from the
:       right).  Interestingly they are the same set of lights that flicker
:       a lot when I don't use the -r flag for getty or uugetty for the 
:       modem line (cua1).

: This problem went away when I followed up on two person's suspicions
: (including Ian Taylor's; thanks guys) that there may be some delay
: problem.  The -x flag slows things down.  So I inserted a couple of
: delay in the right entry of the /usr/lib/uucp/Devices file.  To be
: safe I added an entry for wlimhayes in that file:

: hayes    =,-, "" \dAT\r\c OK\r \EATDT\T\r\c CONNECT             # (original)
: wlimhayes  =,-,       "" \dAT\r\c\d OK\r \EATDT\T\r\c\d CONNECT         # (mine)
:                             |                   |
:                            delay               delay

: I didn't play around to figure if I really need both delays or which
: is the critical one.  Anyway, after that "uucico -f" and "uucico -r1"
: work beautifully.

:    2) I have to occassionally delete the audit.local file otherwise
:       uucico will not dial out.  I don't know why.  Perhaps it has
:       something to do with the file size???

: This problem goes away once I avoided using the -x flag for uucico
: since the audit.local files doesn't get created then.  For those who
: asked, the last time I noticed the problem is when the file size for
: audit.local was about 24k-25k. It went away when I deleted or moved
: that file.

: I hope this will help others to get their Linux uucp connection working.

I found the suggested ownerships, groups and permissions in the O'Reilly
book "Managing uucp and Usenet" to be very helpful.  Set up things like
it said and everything works beautifully.
-- Mark

: Willie

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

** 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) 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
    tupac-amaru.informatik.rwth-aachen.de	pub/msdos/replace

The current version of Linux is 0.99pl9 released on April 23, 1993

End of Linux-Activists Digest
******************************