Subject: Linux-Activists Digest #238
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Fri, 17 Sep 93 10:13:09 EDT

Linux-Activists Digest #238, Volume #6           Fri, 17 Sep 93 10:13:09 EDT

Contents:
  gc31 (Defilippo Francesco)
  Got Future Domain SCSI working, now can't see device ! (Stephen R Davies)
  Compiling in Ansi C (Paul Trouton)
  Re: CC / GCC Problem (Colin Helliwell)
  Re: Help: EXT2-fs (Fritz Ganter)
  Linux & Future Domain SCSI Card (Richard Nicol)
  Re: DOSEMU - new-user-type questions (LONG) (Byron A Jeff)
  Re: SLS wont mount /proc (Derek Bischoff)
  Re: Support for arcnet cards under Linux? (Datasoft Communications Admin)
  TELNET AND ROOT (Derek Bischoff)
  Re: TELNET AND ROOT (Markus Storm)
  Re: Database for LINUX? (Torsten Grust)
  Re: TELNET AND ROOT (Byron A Jeff)
  lpr & ATI GRAPHICS ULTRA+ (Tony Cifelli)
  Fourport support for PL12 (Claude Ackad)
  ftpd-term - ftp daemon for term  (Simon J Ferrett)

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

From: [email-masked] (Defilippo Francesco)
Subject: gc31
Date: 17 Sep 1993 08:03:21 GMT

Hello , I've got the sources of gc31, alias pctools, once compiled
and run , the programs shows me a segmentation fault ( core dumped ) 
I've compiled it with gcc2.4.5 kernel99.12 libc4.4.1.
The program upon start draws the left winodows and then crashes.

-- 
With Best Regard:

                ==================================
                |       Francesco Defilippo      |
                |      [email-masked]    |
                ==================================

<<Se E e' una curva  ellittica semistabile definita su Q, allora E e' modulare>>
                        
                                                Congettura di Taniyama.

                -----BEGIN PGP PUBLIC KEY BLOCK-----

                finger [email-masked] > clint.pk

                -----END PGP PUBLIC KEY BLOCK-----

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

Crossposted-To: demon.ip.support.unix
From: [email-masked] (Stephen R Davies)
Subject: Got Future Domain SCSI working, now can't see device !
Reply-To: [email-masked]
Date: Fri, 17 Sep 1993 08:33:52 +0000

Hello again...

I posted a query a little while bach about my Future Domain card
not being seen by Linux, and I sorted this last night thanks to
the pointers from Martin (you know who you are ! :-)

This leaves me with two outstanding questions. Now I've added the
latest TMC-950 ROM configuration to the file, it ought to be added
to the kernel distribution (after testing of course) - How do I 
arrange this ?

Secondly - and more important to me, The Seagate SCSI disk I've attached
is not being detected at bootup. The screen reports 1 scsi hosts with 
0 disks 0 tapes and 0 cds. The drive is a VERY old 300Mb ish device 
which may be missing from a config. table somewhere. Clues please ?

Thanks,

Steve.
======================================================================
  _/_/_/ _/_/_/ _/_/_/  _/  _/  _/_/_/ Trebor Bassett Limited,
 _/       _/   _/      _/  _/  _/       Hertford Place, Denham Way,
   _/    _/   _/_/    _/  _/  _/_/       Maple Cross, Herts, WD3 2XB
     _/ _/   _/       _/ _/  _/           Tel.: +44 (0)923 896565
_/_/_/ _/   _/_/_/     _/   _/_/_/  [email-masked]
== PGP 2.x public key available === [email-masked] =======

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

From: [email-masked] (Paul Trouton)
Subject: Compiling in Ansi C
Reply-To: [email-masked]
Date: Fri, 17 Sep 1993 09:00:44 GMT

I have a problem (dont we all)

I am designing software on a Sun Sparc 2, in c and I am using cc to compile it.
It comilies fine in work, but when I take the source home and try to compile it
in Linux with gcc I get the following problems.

Im using gcc -ansi - traditional

In the following code, claimline is an array, s_time is type Double

            if (claimline[i].tra_det.s_time != NULL)

On the sun I can compile this code and the process of checking a double for NULL works
fine. But in Linux using gcc I get an incompatable data type error. 

I know that I could just write

            if (claimline[i].tra_det.s_time != 0.0)

and this would work, but if possible I just want to tell gcc to ignore and allow these such statements.

Please can someone tell me how to get around this problem with gcc.

========

Thanks for the help. Paz

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

From: Colin Helliwell <[email-masked]>
Subject: Re: CC / GCC Problem
Date: Fri, 17 Sep 1993 10:55:55 GMT

CC / GCC Problem

Many thanks to every body who replied to my article about GCC.

I now have a working C Compiler under Linux.

Cheers.

Dave Rollings

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

From: [email-masked] (Fritz Ganter)
Subject: Re: Help: EXT2-fs
Date: 17 Sep 1993 11:33:47 GMT

Heon J. Jo ([email-masked]) wrote:
: hi...
: first of all, thanks to everyone who helped me with the swap-disk prob.

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

: I keep getting this message during boot time.

: 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?
: is this normal? and do I have to run 'e2fsck' every time I boot Linux?
: any comments are welcomed.
: Thanks..

You have to use bootutils found in sunsite.unc.edu, read the README
carefully, don't forget to mount your filesystem read-only *AFTER* you
installed bootutils proberly (with rdev or, better, put 'read-only' in your
/etc/lilo/config and rerun lilo).
This problem dosn't apear in SLACKWARE, there are the bootutils properly
installed.

Fritz

--

Fritz Ganter                    Graz University of Technology, Austria
Email:  [email-masked], [email-masked]
HAM-Radio:                [email-masked], [email-masked] 
Phone:                +43 316 873-7222 (Office), +43 316 663243 (home)
   **********      Linux... try it, use it, love it.      ************

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

From: [email-masked] (Richard Nicol)
Subject: Linux & Future Domain SCSI Card
Reply-To: [email-masked]
Date: Fri, 10 Sep 1993 22:52:00 +0000

Hi, I hope somebody can help with a problem I have loading Linux.
I have been given a series of Linus disks but I can't even get the boot
disk to run. When I boot the computer from the disk, it checks for comms
and printer ports. It then checks the SCSI Bus and reports the
following:-

Future Domain: BIOS at ca0000; Port Base at 140 using IRQ 5
Future Domain: SCSI Bus Reset
Future Domain: IRQ 5 Requested from kernel
scsi0; Future Domain TMC-16x0
Future Domain TMC-16x0 scsi driver version 3.5
scsi: 1 hosts
scsi (Future Domain): Abort Phase=2; target = 0 comnd = 0x00 pieces = 0 size =
 256
IMR = 0xdfd9
IRR = 0x0000
ISR = 0x0000
scsi Status    =  1
TMC Status     = 43
Interrupt Mask = 29
scsi (Future Domain): Abort Phase=2; target = 0 comnd = 0x00 pieces = 0 size =
 256
IMR = 0xdfd9
IRR = 0x0000
ISR = 0x0000
scsi Status    =  1
TMC Status     = 43
Interrupt Mask = 29

At thios point the system hangs with the HD light permanently on but
there doesn't appear to be any disk or other activity.

On the SCSI bus I have 2 hard disks, a Toshiba CD-ROM drive and an
Archive Viper Taper Drive. Both access lights illuminate briefly when
the disk first runs but go out and don't come back on again.
The BIOS is by AMI and is dated 6/6/91.

I have been given two different boot disks (by the same person) and they
both stop at exactly the same place and the second disk was tested
before given to me to try.

Any clues or hints will be gratefully received.
Please reply direct as I don't receive this newsgroup regularly.

Richard
-- 

Internet:   [email-masked]
ampr.org:   g1nzz@gb7max.#28.gbr.eu
Compuserve: 100010,3046

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

From: [email-masked] (Byron A Jeff)
Subject: Re: DOSEMU - new-user-type questions (LONG)
Date: Fri, 17 Sep 1993 12:12:09 GMT

In article <[email-masked]>,
Mark Cosham <[email-masked]> wrote:
>[email-masked] (Chip Gregory) writes:
>>3.) DOS edit doesn't work.  It comes up.  I can type stuff
>>in the edit area, but when I pull down a menu, a get a DOSEMU
>>debug message "ERROR:  InsKeyboard could not put key in buffer". 
>
>It is well known that dos's EDIT doesn't work - use another editor.

Well not exactly. As Howlin' Bob explained it to me that while EDIT uses
the normal BIOS keyboard driver for regular operations, it switches to
the INT 16 KB driver when it pops up a menu. Why? Nobody knows. Two ways
to get it to work:

1) Do the multiple keystrokes very quickly. That way it never gets to
   the second driver.
2) Turn on the kbint option in the config file. However this is unstable
   at last report.

I personally use a version of vi for DOS.

Later,

BAJ
---
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel!
Georgia Tech, Atlanta GA 30332   Internet: [email-masked]

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

From: [email-masked] (Derek Bischoff)
Subject: Re: SLS wont mount /proc
Date: 15 Sep 93 19:21:00 GMT

 LR> my fstab :
 LR> /dev/sda1  ext2 defaults
 LR> /proc  /proc proc defaults

 LR> *** The sda1 entry  looks suspect but, I dont know enough about linux
 LR> to know what it should look like. Also after install the /proc
 LR> entry was not there...I had to enter it in.

May not be an issue, (since I don't quite understand /proc)
however my fstab is:

/dev/sda1  /   ext2  defaults
none       /proc  proc   defaults

maybe it is because you are looking for device /proc while
mine is stated that there is no device, and just use the directory.
oh, and I am glad to see someone else use the ext2 filesystem
(and not the Linux extfs)
I like the results, and it hasn't crashed yet!

... Sincerely, Derek

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

From: [email-masked] (Datasoft Communications Admin)
Subject: Re: Support for arcnet cards under Linux?
Date: Thu, 16 Sep 1993 11:11:30 GMT

john larson ([email-masked]) wrote:

: Does anybody know if there is support for Arcnet cards under Linux?
: If so, what Arcnet cards are supported and where can i get the drivers for
: Linux?

: A faculty member from our department has a 486/33 and would like to run Linux
: on her PC rather than MS-DOS.  We use an arcnet cabling setup and are looking
: for drivers and a supported arcnet card to hook her up with our Novell network.
: But whatever, please email any helpful information to any of the following
: e-mail addresses:

No. There is no support for Arcnet cards. Most likely never will be
considering the current price of Ethernet. Even if there were support,
you'd need t be on a TCP/IP network and not IPX.

Mark
--
==============================================================================
Mark Buckaway           | [email-masked]   |  DataSoft Communications
DataSoft Communications | uunorth!datasoft!root     |  62 Rock Fernway
System Administrator    | Voice: +1 416 756 4497    |  Willowdale, ON M2J 4N5
==============================================================================
    "UNIX and OS/2 are operating systems. Windows is a shell, and
                         DOS is a boot virus"
==============================================================================

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

From: [email-masked] (Derek Bischoff)
Subject: TELNET AND ROOT
Date: 15 Sep 93 19:42:01 GMT

This has got to be easy, but I can't seem to find it in the FAQ's
I telnet regularly to my LInux box from other places in the
building, however I noticed today, that I can telnet into
any login other than root.  when ever I use telnet to
log in as root I get:
Login incorrect

(oh, and I am using a simple 8 letter password)

all other logins are fine.
What is the story?
I can get around it bye telnetting in, and just su to root.... but..

... Sincerely, Derek

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

From: [email-masked] (Markus Storm)
Subject: Re: TELNET AND ROOT
Date: 17 Sep 1993 12:35:07 GMT
Reply-To: [email-masked]

In article <[email-masked]>, [email-masked] (Derek Bischoff) writes:

|> [...] however I noticed today, that I can telnet into
|> any login other than root.  when ever I use telnet to
|> log in as root I get:
|> Login incorrect
|> 
|> (oh, and I am using a simple 8 letter password)
|> 
|> all other logins are fine.
|> What is the story?
|> I can get around it bye telnetting in, and just su to root.... but..
|> 
Usually, /etc/securetty contains a list of all consoles that permit root login,
and by default it only contains the local console(s), I mean Alt-F1/.../F4, not
the virtual ones used when telnet-ing.
Insert ttyp0, ttyp1, ... an try again.

Cheers, Markus

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

From: [email-masked] (Torsten Grust)
Subject: Re: Database for LINUX?
Date: Fri, 17 Sep 1993 11:08:22 GMT

Hi, there

        only a few words on the diffs between SQL and QUEL (from a theoretical
point of view :-):

        -1-     SQL's query parT is mainly based on the so-called
                RELATIONAL ALGEBRA, a set
                of operators manipulating the relational tables, loosely
                speaking. This operator set is made up of the

                - Projection (SQL: SELECT) "get only specified columns out of
                        the target table"
                - Selection (SQL: WHERE) "select some lines (tuples) out of
                        the target table, matching a given predicate"
                - Join (SQL: FROM/WHERE) "append the columns of two tables,
                        connect those tuples matching a given join
                        predicate"      (called THETA-Join)
                - Union (SQL: UNION) "do a set union on the tuples of two
                        target tables of certain uniform layout"
                - Minus (SQL: ---) "do a set difference, like above"
                - Rename (SQL: SELECT renaming) "rename the column names
                        of the target tables" (useful for Joins)        

                :-( SQL does not implement the full relational algebra!!!

        -2-     QUEL is based on the RELATIONAL CALCULUS, theoretically as
                powerful as the ALGEBRA mentioned above. QUEL queries are made
                up of a Projection and Selection part, giving you all and
                m o r e  oppurtunities than SQL!!! Not as readable as SQL's

                        SELECT
                        FROM
                        WHERE
                        
                blocks but more powerful. QUEL is the choice of the early
                Ingres and Postgres implementors, overridden by SQL only for
                marketing purposes.

So get INGRES/POSTGRES and do QUEL-querying... It's the right thing :-)

        Torsten "Teg" Grust

        Technical University of Clausthal, Germany
        Dept. of CS, OO Database Development Group "OSCAR"

        email: [email-masked]

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

From: [email-masked] (Byron A Jeff)
Subject: Re: TELNET AND ROOT
Date: Fri, 17 Sep 1993 13:51:05 GMT

In article <[email-masked]>,
Derek Bischoff <[email-masked]> wrote:
>This has got to be easy, but I can't seem to find it in the FAQ's
>I telnet regularly to my LInux box from other places in the
>building, however I noticed today, that I can telnet into
>any login other than root.  when ever I use telnet to
>log in as root I get:
>Login incorrect
>
>(oh, and I am using a simple 8 letter password)
>
>all other logins are fine.
>What is the story?
>I can get around it bye telnetting in, and just su to root.... but..

This definitely qualifies as a FAQ. I've answered this question 4 times
this week and twice today. Is this question in a FAQ list somewhere?

As a security measure root logins are only allowed on secure TTYS. The
entry for these is found in the file /etc/login.defs. The entry can be
a colon separated list of ttys or a file containing the list of ttys.
In most default set of secure ttys are limited to the virtual consoles.
Therefore you can't log in as root either via telnet or via a serial port.

Please Note: This is a FEATURE! It's good security not to be able to log
in as root from anywhere. Any time you really need root acces you can log in
as a normal user and su to root. Oftentimes this prevents malicious access
from intruders and su forces the superuser to remember he/she is now root
and that you can now cause major damage to you system. I'd advise folks
unless there is a really good reason to have outside root logins, just
leave them alone.

BAJ

>
>
>
>... Sincerely, Derek

---
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel!
Georgia Tech, Atlanta GA 30332   Internet: [email-masked]

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

From: [email-masked] (Tony Cifelli)
Subject: lpr & ATI GRAPHICS ULTRA+
Reply-To: [email-masked] (Tony Cifelli)
Date: Fri, 17 Sep 1993 13:44:48 GMT

I have recently installed the latest SLS release of Linux on my PC.
I've hacked and hacked and can't get:

1. lpr to print anything. I can redirect files to /dev/lp1.
   They get printed.  I managed to change the ownerships and
   permissions of lpc, lpd, and lpr.  The daemon is around
   as ps -x shows.  But it doesn't seem to get files to
   my printer.  BTW lpq shows the jobs queued.

2. X Windows to do anything. I have the listed video card and
   the 17" NEC 5FGe.  Can someone running this configuration
   send me some help (i.e. what I have to do to get this stuff
   to work).  Can I use the drivers that come with the system.
   My understanding is that they don't take advantage of the
   accelerator hardware.  BTW when I do a startx, all I end
   up with vertical lines and the cursor at the bottom of the
   screen about 1/6th the way in.

Looking forward to any light which can be shed on this.

regards,
Tony.
-- 
[ Tony Cifelli, B.C.S., M.Math.       [email-masked] ]
[ President                                   Bus: 613-723-7218 ]
[ cifelli systems & software inc.             Fax: 613-723-7472 ] 
[ 6 Gurdwara Rd. Suite 200 - Nepean, Ontario - K2E 8A3 - CANADA ]

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

From: [email-masked] (Claude Ackad)
Subject: Fourport support for PL12
Date: Fri, 17 Sep 1993 13:28:22 GMT

Does the fourport support (AST fourport card) exist for the
kernel 099PL12? What are the right settings for the kernel?
Thanx for any hints.

Ciao, Claude.

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

From: [email-masked] (Simon J Ferrett)
Subject: ftpd-term - ftp daemon for term 
Date: Fri, 17 Sep 1993 13:22:21 GMT

hello - I've just finished modifying both the shadowed and non shadow
versions of ftpd-diku so that they use term calls to create data sockets.
Everything seems to work fine (except I havent implemented passive mode
connections yet - stnadby) so I thought I might send it out so I could
get some feedback.  ftpd-term will allow your term box to have incoming
ftp connections.
Currently its a sunsite.unc.edu /pub/Linux/Incoming

ftpd-term.lsm:

Title        =FTPD for term.
Version      =1.0
Desc1        =A modified ftpd that uses term for data connections
Desc2        =source for shadow and non shadow passwords
Desc3        =currently does not support PASSIVE mode transfers
Desc4        =but I'm working on it.
Author       =Simon Ferrett (mods to orig. ftpd-diku)
AuthorEmail  =[email-masked]
Site1        =sunsite.unc.edu
Path1        =/pub/Linux/Incoming/
File1        =ftpd-term.tar.gz
FileSize1    =103916
Required1    =requires term client.a and client.h
Required2    =shadow password requires shadow 3.2.2
Required3    =valid.o and header files pwauth.h
CopyPolicy1  =freely distributable
Keywords     =term ftpd
Comment1     =This code hasnt been well tested, but works for
Comment2     =me (and a few other people) so I thoguht I might
Comment3     =as well distribute it.
Comment4     =look out for a version that supports PASV
Entered      =17 Sep 1993
EnteredBy    =Simon Ferrett
CheckedEmail =[email-masked]

README.term:
This package is a conglomeraton of ftpd-diku sources with
and also without the patches for shadowed passwords.
Both sources have been modified to use term calls rather
than inet calls to create data sockets, and as such should
allow you to enable incoming ftp connections via a tredir'd
link.  The limitation being that ftpd-term cannot support
passive mode ftp connections, which basically means it wont
work for people using the termftp or ncftp-term clients wanting
to connect.  This is a bit of a bummer, but really cant be
helped.

how?

firstly, decide wether you use shadowed passwords and
cp the appropriate Makefile.xxxx to Makefile

Make sure you have term's client.a and client.h somewhere
and that the directory where they reside is correctly
stated in the Makefile.

If you are using shadowed passwords, you also need one of
the shadow 3.2.2 object files 'valid.o' so make sure the
path to where that is, is also correctly stated in the
Makefile.

ok apart from these things, the setup is pretty much
exactly the same as for normal ftpd, so I shall leave
you to your own devices as far as setting up the package
goes..

how to enable via tredir?

remote% tredir {some-local-port} localhost:21

will pretty much have you setup & ready to go, and
someone can then telnet to your term machine by:

ftp remote.machine.name some-local-port

*** ANONYMOUS FTP

Because anonymous ftp does a chroot to the ftp users home directory,
some problems arise when ftpd-term tries to open the term socket and
cant find it due to the root being changed.  To overcome this, do the
following..

work out where term puts its socket file ('socket' is the filename)
- usually in some users directory, possibly roots. eg:
/home/root/.term/socket

if the ftp account's home directory is /home/ftp
then we need to make a directory
/home/ftp/home/root/.term
where /home/ftp/home and /home/ftp/home/root are mode 710 (rwx--x---)
and whos ownership is root.{group of ftp user} (usually 'other')

then, *after* term is up and running, make a hardlink of the socket in the
new directory:
ln -f /home/root/.term/socket /home/ftp/home/root/.term/socket

and bob's yer uncle. (hopefully)

IF, however, bob isnt your uncle and things become hasslesome and you
cant work out what the hell Im blabbing on about, please feel free to
email me, or find me on irc (nick: Mcv) and have a yarn.

Comments/etc greatly appreciated.

-- 
[email-masked] - Simon Ferrett
Due to technical difficuties, we are unable to bring you your
regularly scheduled .signature - normal transmission will resume
as soon as possible...

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

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