From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Mon, 10 Oct 94 20:13:53 EDT Subject: Linux-Admin Digest #172 Linux-Admin Digest #172, Volume #2 Mon, 10 Oct 94 20:13:53 EDT Contents: Re: dip-3.3.7h-uri & ZyXel U1496E (Gottfried Hamm) what's wrong with my agetty? (Kenneth H. Gantz) Re: Xterminals with Linux as X server (Mark A. Davis) Hardware Compatability Guide for linux? (Pete Stromberg) comp.os.linux.admin (Wilson Tam) Re: Mystery Chip...AMD (H. Peter Anvin) Problems with NCR 810 on MB SA486PAIO (Holger Schoener) [Q] RAM / Disk (K.B. van Benten) [Q] VLB video card (K.B. van Benten) New Adeptec SCSI not detected (The MadMan) Re: Telnetd doesn't notice you're gone. (Jon Leonard) getty_ps-2.0.7e outputs DEL (Benjamin Ryzman) Re: [Q] HP JetDirect Support on Linux??? (Tim Moloney) Re: Ftape works...Not yet (Peter Dalgaard SFE) ftp better, but still freezes with 1.1.52. Was: ftp freeze problems (Joe Marino) Smail: How to set sender name? (Andy Dickinson) Re: Please don't post security holess... (ddelsig@uoft02.utoledo.edu) Cron Problems - Script runs from shell but not cron (Brian Kramer) ---------------------------------------------------------------------------- From: ghamm@rebell.PFM-Mainz.DE (Gottfried Hamm) Subject: Re: dip-3.3.7h-uri & ZyXel U1496E Date: 4 Oct 1994 00:09:27 GMT In article <36mkho$393@newshost.fiu.edu>, jduers01@solix.fiu.edu (jason a duerstock) says: > >Dirk Hillbrecht (hillbrec@informatik.uni-hannover.de) wrote: >: I cannot make the two ones mentioned in the header work together. ZyXEL has >: ROM 6.12, kernel is 1.1.51, dip is dated 5.9.94. Script's start is as follows: > >: # Set the desired serial port and speed. >: port ttyS1 > >Shouldn't this read "port cua1"? I use the ttyS1 port, too and it works fine. I have a Zyxel U1496E + with ROM 6.11 and Linux V1.1.48 and there are no problems. Cheers, Gottfried ------------------------------ From: kgantz@iglou.iglou.com (Kenneth H. Gantz) Subject: what's wrong with my agetty? Date: Sat, 8 Oct 1994 04:45:05 GMT Hello, I'm trying to add a dumb terminal to my linux machine. Here's what I've done so far. I've connected an ADDS terminal to my comm 3 port via a null modem cable. I placed the following entry in my /etc/inittab file s3:45:respawn:/sbin/agetty 19200 ttyS2. I do get a login prompt but when I try to enter anything it takes about 15 seconds for anything to echo back to the dumb terminal. This makes it take an extremely long time to enter a user name and since passwords don't echo I can't tell when it's time to enter the next character. If I ignore the characters not echoing and type in a complete user name, most of the characters get dropped. I've tried baud rates of 19200, 9600 and 4800 all with identical results. Any suggestions? I appreciate any help I can get. -- Ken Gantz kgantz@iglou.com Work - 502.329.3724 IT IS NOT A PROBLEM OF WHETHER MACHINES THINK, FAX - 502.329.6199 BUT WHETHER MEN DO. - B.F. Skinner ------------------------------ From: mark@taylor.infi.net (Mark A. Davis) Subject: Re: Xterminals with Linux as X server Date: Sat, 08 Oct 1994 04:07:47 GMT srini@igt.com (Srini Seetharam) writes: >I need to setup some Xterminals using multiple Linux machines >as possible servers. Just as a note- you should not use the word "servers" there, but "hosts". Otherwise, the terminology gets confussing fast! >The Xterminals are capable of handling the windowing capability. Indeed- that's what Xterminals do. >The Xterminals broadcast an XDMCP when booted. >The Linux machine responds with a (willing to manage) message. Correct >Currently, the Linux machines respond to it >BUT the windows are managed by the >Linux machine. As one can guess, once many Xterminals are served >by a single Linux machine, it is soon overwhelmed. I am not sure what you are asking. The clients run on the Linux box. That is the way Xterminals work. Just think of them as very sophisticated character terminals.... the more you have, with the more users, the more the load on the host (the Linux machine). You will need to meet that load by adding additional resources on the host as necessary (more memory, faster processer, etc). Or, you can add more hosts to serve the increasing Xterminal pool (as many as you want). >How do I get the Linux machine to respond to the XDMCP, but let >the Xterminals manage their windows ? What do you mean by "manage their own windows"?? If you mean running the window manager client, then that is quite possible (through something called a local client). But it is usually unnecessary. The window manager actually puts very little load on the host compared to other clients. >I have tried changing the Xaccess and Xserver files in the >/usr/X11/lib/X11/xdm directory but cannot figure it out. You should *NOT* use the Xserver file (except for the local console) if you are using XDMCP. It is unnecessary, and will cause problems. >The man pages were a little help in initailly setting up >what I have running but I cannot figure out how to let the >Xterminals manage their own windows. ^^^^^^^^^^^^^^^^^^^^^^^ !!!!!!!! -- /--------------------------------------------------------------------------\ | Mark A. Davis | Lake Taylor Hospital | Norfolk,VA (804)-461-5001x431 | | Director/SysAdmin | Information Systems | mark@taylor.infi.net | \--------------------------------------------------------------------------/ ------------------------------ From: pez@eo.se (Pete Stromberg) Crossposted-To: comp.os.linux.misc Subject: Hardware Compatability Guide for linux? Date: Mon, 10 Oct 94 13:20:10 CET Reply-To: pez@eo.se (Pete Stromberg) Hi! I'm planning to by a PC to run linux on. 1. I understand that there exists a guide on which hardware I can use with linux. 2. I'd also like some options on where to buy a good linux-bundle. On CD prefferably. Opinions on shich one is the best are appreciated. 3. Also it would be nice to receive a FAQ for the linux groups. So that a posting such as this one shouldn't be sent by me again, wasting bandwidth. Many TIA! /Pete aka _/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/ _/ _/_/_/_/ _/_/_/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ ------------------------------ From: wilson@cab013.cs.ualberta.ca (Wilson Tam) Subject: comp.os.linux.admin Date: 5 Oct 1994 06:15:47 GMT I am currently running ghostscript 2.6.1 and am using lpr2. lpr2 allows me to print odd and even pages so that I can print on both sides of the page by feeding the paper through the printer twice. However, because of the way the paper is fed through the printer, I must reverse the order of the pages after the first printing of odd pages before printing even pages ( I got a Epson Stylus Color ). This can be a hassle if I am printing a 200 page manual. Can anyone tell me how to print in reverse ? many thanks in advance... ------------------------------ Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc From: hpa@ahab.eecs.nwu.edu (H. Peter Anvin) Subject: Re: Mystery Chip...AMD Reply-To: hpa@nwu.edu (H. Peter Anvin) Date: Mon, 10 Oct 1994 15:27:48 GMT Followup to: <37b9e9$6dv@fs7.ece.cmu.edu> By author: garcia@ece.cmu.edu (Brad Matthew Garcia) In newsgroup: comp.os.linux.misc > > In some cases, the old chip must be yanked and the new chip inserted in > its place. So it updates a 486-33 computer system to a 486-66, but the > chip itself is replaced. > > I know there are (for some systems) ways to upgrade w/o yanking the old > chip. Does anyone know more about these, or was I misinformed? > Yes, there is a chip with fit in a "487" socket (which is just a 486DX2/66 with a different pinout). It disables your old 486, so if you keep it in the system it is just a very expensive heating element. /hpa -- INTERNET: hpa@nwu.edu --- Allah'u'abha --- IBM MAIL: I0050052 at IBMMAIL HAM RADIO: N9ITP or SM4TKN FIDONET: 1:115/511 or 1:115/512 STORMNET: 181:294/1 or 181:294/101 Heja Sverige, friskt humör! EU väntar utanför! ------------------------------ From: hfsch@cs.tu-berlin.de (Holger Schoener) Subject: Problems with NCR 810 on MB SA486PAIO Date: 10 Oct 1994 14:59:47 GMT I have Problems with installing Linux on my Computer (Motherboard SA486PAIO, NCR810 onboard, 486DX2/66). I tried to install Linux using the NCR bootdisk version 3. The problem is that my NCR810 uses interrupt 9 and I'm not able to get Linux to notice that. When I'm booting it says that it detects the NCR810 on interrupt 11 and later a test times out due to lost interrupt, saying that I should check the BIOS setting. That appeares regardeless of the setting I use in BIOS. So my question is: Is there a way to get the release 3 of the NCR810 driver to use interrupt 9 ? Thanks in advance, hfsch@cs.tu-berlin.de -- Holger Schoener hfsch@cs.tu-berlin.de ------------------------------ From: kbbenten@cs.vu.nl (K.B. van Benten) Subject: [Q] RAM / Disk Date: Mon, 10 Oct 1994 14:49:12 GMT Hi there, I'm running Linux on a 486DX33 with 4Mb of RAM, and a 170Mb hard disk. As X runs very slow I decided to buy more RAM. I also need a bigger harddisk. What shall I do: buy 16Mb of RAM (is it MUCH better than 8Mb) or buy 4MB of RAM and, say 400Md harddisk? Thanx Kasper van Benten ------------------------------ From: kbbenten@cs.vu.nl (K.B. van Benten) Subject: [Q] VLB video card Date: Mon, 10 Oct 1994 14:53:12 GMT Hi there, How much faster is a VLB video card than my 8900C /1Mb ? If it's worth it I might buy a localbus card.... Thanx, Kasper van Benten ------------------------------ From: madman@aloha.com (The MadMan) Subject: New Adeptec SCSI not detected Date: 5 Oct 1994 06:15:25 GMT Hi. I'm trying to install Linux Slackware 2.0.0 on my machine, and am having a bit or a problem. Here's my stats: Zeos 486-66 16MB RAM Western Digital 220MB IDE Hard disk Adeptec AIC-6360 SCSI Host Adapter Quantum Empire 1GB SCSI HD Microcomm Desporte FAST ES 28.8 Modem I've installed the SCSI drivers, and everything works peachy thru DOS. I FDISked my 1GB and left about 200MB on it for the Linux Native partition. When I boot Linux, I use the SCSINET boot disk and the COLOR144 root/install disk. It goes thru all it's stuff, and when it gets to the SCSI Hosts part, it says "0 SCSI Hosts detected" and "out of that 0 are SCSI Hard Disk devices". My Question: Is there a new driver for Slackware that supports the AIC-6360 so that I can FDISK a Linux Native Partition and install the system? Any help would be GREATLY appreciated!!!! -- -=!=- MadMan E-Mail: madman@mango.flex.com ------------------------------ From: daddyo@pad.xs4all.nl (Jon Leonard) Crossposted-To: comp.os.linux.help Subject: Re: Telnetd doesn't notice you're gone. Date: Sat, 8 Oct 94 18:58:30 +0200 In <374p48$s0t@news.u.washington.edu> ade@cac.washington.edu (Adrian Miranda) writes: >Linux telnetd never seems to notice that I've gone away. On >most other systems it appears that telnetd periodically checks if it >can reach the remote system, and shuts down the connection if it >can't. >Does anyone have a solution to this? >Adrian Are you sure it's telnetd that is doing the checking? I don't know about the Linux implementation, but similar behavior on SunOS and HP-UX is because the TCP port never closes. There is a TCP keep alive timer, but it just doesn't seem to be in all implementations. -- ======================================================================== Jon Leonard | | Rock music doesn't have to be good to be good. daddyo@xs4all.nl | ======================================================================== ------------------------------ From: zarkdav@eddy.frmug.fr.net (Benjamin Ryzman) Subject: getty_ps-2.0.7e outputs DEL Date: 7 Oct 1994 08:46:23 +0100 I am using the 2.0.7e version of getty_ps (with the jpm diffs applied) and it seems too old for the new console driver (I'm using kernel v1.1 patchlevel 45). What's the patch to make it not output DEL? (The problem resides in (funcs.c)getlogname, but my C incompetence restricts me from patching the source myself ;-)) PS: login does NOT have this problem. -- Amicalement, "Benj" Email: zarkdav@eddy.frmug.fr.net + Cyber Tag + OS/2: half of an operating system. ------------------------------ From: moloney@lds.loral.com (Tim Moloney) Subject: Re: [Q] HP JetDirect Support on Linux??? Date: Mon, 10 Oct 1994 13:05:27 GMT In message <373q06$q22@taco.cc.ncsu.edu> - garvin@jupiter8.mae.ncsu.edu (Michael Garvin) writes: > I've just installed a 4M+ and here's what I learned. Bootp/tftp will >work, but I had problems getting bootp to work. My arp cache isn't working >properly, but manually dropping static entries in for the printer fixed that. >Tftp transfers enabled for one subdirectory to send the SNMP config files also >works. I'm just using lpr/lpd right now, which works fine. Following the >suggestions above I'm going to look into plp. > > If you look on 'ftp-boi.external.hp.com' (192.6.71.2) you'll find >copies of the JetAdmin software for the Sun and HP (see the license info, but >it's free). I used the example config files from there as templates for our >setup. I'm new to the concept of a printer without a printserver yet I want to try using TI's Pro Network Interface on my TI printer. Does the above apply to TI printers also or only HP printers? --/\/\/\/\/\--/\--/\------/\- Tim Moloney __ __ __ =====/\======/\==/\/\==/\/\== moloney@lds.loral.com | | | |__| |__| | ----/\------/\--/\--/\--/\--- |__ |__| | \ | | |__ ---/\------/\--/\------/\---- Loral Data Systems ---------------------- --/\------/\--/\------/\----- Sarasota, Florida Data Systems ------------------------------ From: pd@kubism.ku.dk (Peter Dalgaard SFE) Subject: Re: Ftape works...Not yet Date: 10 Oct 1994 15:16:32 GMT In <37bear$mj3@hamilton.maths.tcd.ie> tim@maths.tcd.ie (Timothy Murphy) writes: >pd@kubism.ku.dk (Peter Dalgaard SFE) writes: >>So the old bug seems to be gone. Backed up 129 Mb in 36 minutes. >>Just as well, because immediately thereafter I did the classical >>*U*X goof 'rm -rf ftape *' in my home directory!!! >Please tell us _exactly_ how you backed up. >What commands did you use? >(If possible, just give the actual commands.) Let's see, root login (XDM), /bin/bash, $TAPE == /dev/nftape 486DX2, slow IDE disk. GZIP=-1 time nice -n -18 tar cvzlb 58 / ('b 58' == 58 512b blocks == 29k == 1 tape sector, fastest gzip option, nice it to very high priority or X context switches get in the way, 'l' == don't cross filesystems (in particular not /proc !) Someone else said that just using the --block-compress option works well too. -- O_ ---- Peter Dalgaard c/ /' --- Dept. of Biostatistics ( ) \( ) -- University of Copenhagen ~~~~~~~~~~ - (pd@kubism.ku.dk) ------------------------------ From: joe@vicorp.com (Joe Marino) Subject: ftp better, but still freezes with 1.1.52. Was: ftp freeze problems Date: 10 Oct 1994 16:21:16 -0400 There has been a lot of talk about ftp freezing. Alan Cox (iialan@iifeak.swan.ac.uk) among others mentioned upgrading to 1.1.19 or higher. I did, to 1.1.52 (thanks Alan!) File transfers seem to progress farther now than they did before (1.1.18), but still, at some point, ftp freezes up. For those interested, I have a 486/DX-2 66, using a Cardinal internal modem (it has a 16550 UART on-board). The PPP connection is made at 19.2 (V.32terbo). I am connecting to a SunOS box. Once it freezes up, I can no longer 'ping' my PPP host and 'netstat' freezes up as well when trying to see what the state of the network is. Killing the PPP daemon doesn't help, as it looks like kernel's idea of the state of the network is pretty munged at this point, so I have no other recourse but reboot. Damn! I had the output from /usr/adm/syslog, but seem have to have misplaced it! Bummer. Anyway, I noticed that what was getting logged were the same kinds of errors as previously under 1.1.18 (and 1.09 BTW). From memory, these were a series of ioctl errors. I'll post'em if any- one is really interested. Curiously, I have a co-worker who is able to connect to the same (Sun) machine using 1.1.18 with no apparent problems. There are so many layers where there might be problems, from all the software layers down to possible physical connectivity problems, this seems like a nasty one to figure. My 'gut' feel is that this seems like some kind of cummulative error, buffers not being reset or counters not being reset between transfers or some such 'silly' bug; although I have done zip for testing to confirm this. Under 1.1.18 it would seem to choke on any files over 50K, or after transfering several smaller files, would eventually then choke on even a smallish file. Under 1.1.52, I have transfered 300+ Kb files no problem, but then, after enough transfers, it freezes up. Again, I haven't done any testing to see if 'binary' or 'ascii' modes have any effect. I also see what I assume to be the same behavior while using Mosaic: hangs in middle of display how many bytes of its http request it has recieved. Anyway, anyone have any other ideas/fixes and/or similar 'gut' feelings about this? Joe Marino ========================================================================== ______ ______ \_\_\_\ /#/#/#/ Joe Marino, Software Engineer ARPA: joe@vicorp.com \_\_\_\ ______ V. I. Corporation UUCP: uunet!vicorp!joe \_\_\_V#/#/#/ 47 Pleasant Street PHONE: (413) 586-4144 \_\_/#/#/#/ Northampton, MA 01060 FAX: (413) 586-3805 \_/#/#/#/ V#/#/#/ ========================================================================== ------------------------------ From: andrewd@leland.stanford.edu (Andy Dickinson) Crossposted-To: comp.os.linux.help Subject: Smail: How to set sender name? Date: 06 Oct 1994 07:20:08 GMT Hi - I am trying to configure smail to send out mail messages with a sender name which is different than my login name. I need to do this because I cannot receive mail on my local machine -- I use a SLIP connection. I need to make mail messages appear as though they were sent from the machine which actually receives my mail so that people will be able to reply to them. I've figured out part of this problem -- by setting the "visible_name" attribute in the config file I can make messages appear as though they were sent from my mail-receiving machine. The problem is, however, that the messages are still sent out with my local username. My username on my local machine is different from my username on the mail-receiving machine. From reading the smail(5) man page, it looks as though I may be able to do what I want by setting the sender_env_variable attribute in the config file. This attribute is supposed to let users change the sender name used in a mail message by setting an environment variable. Unfortunately, this doesn't seem to work -- smail doesn't seem to use this attribute. I've also tried setting the from_field and return_path_field attributes to produce the desired username, but messages still arrive with the local username instead of the one I specify. Can someone tell me how to set the sender name in smail? I'm using Smail3.1.28.1 #28.5. Thanks! -Andy -- Andy Dickinson andrewd@leland.stanford.edu ------------------------------ From: ddelsig@uoft02.utoledo.edu Subject: Re: Please don't post security holess... Date: Mon, 10 Oct 1994 05:41:18 GMT >Oh, criminals. Give me a break. The criminals are the ones that mess with >things. I consider myself a (wannabe, at least) hacker in the original >sense, and in HS was a "hacker" in the new sense. I never altered >ANYTHING. I got in, to get in, or to use a compiler. Nothing criminal about >that (except in the eyes of the law.) Penetrating the security of a >computer system is totally harmless in and of itself. It's the defacing >of what one finds, or the spreading of info that are the problems, and >have made folks so paranoid they 'throw the book' at anybody who pokes around >a little. [Chomp] Yeah, and I guess it's alright to break into somebody's house to watch TV, or use the phone (local calls only, of course), or take a nap on the couch. As long as you don't deface anything. But those darn eyes of the law... Look, people set up security on their systems because they don't want unauthorized users ("nice" or not) on their systems. And these people have a right to have their systems left alone. When you break into their systems, you are violating their rights, as well as breaking the law. In fact, that's why the laws exist, not to piss you off, but to protect people who want to be left alone. When you violate their rights, you deserve to have the book thrown at you, as much as a person breaking into a house does. This goes for any system, whether a one man operation, or a large corporation. People have a right to say who is allowed on their system, and who isn't. I don't see how you can claim to have a right to break into a system. Just 2 more cents, Dave ------------------------------ From: bjkramer@pluto.njcc.com (Brian Kramer) Subject: Cron Problems - Script runs from shell but not cron Date: 10 Oct 1994 11:05:57 -0400 I am having trouble with some scripts running fine from a prompt, but not from cron. Here's one of the scripts. Anyone else have problems like this? #!/bin/ksh backuplogdir=/var/adm thedate=`date '+%H%M%b%d%Y'` typeofbackup="" fullbackup() { cd / find $typeofbackup -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } rootbackup() { cd / find $typeofbackup -xdev -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } newsspoolbackup() { cd /usr/spool/news find $typeofbackup -xdev -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } userbackup() { cd /home/home1 find $typeofbackup -xdev -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } nnbackup() { cd /usr/spool/nndb find $typeofbackup -xdev -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } innbackup() { cd /usr/lib/news find $typeofbackup -xdev -print > $backuplogdir/backup.$thedate mv $backuplogdir/lastbackup.curr $backuplogdir/lastbackup } backupmenu() { echo "Usage backup \n" echo ": full (Full backup) "; echo " root (Root partition /) "; echo " news (News Spool partition /usr/spool/news) "; echo " user (User partition /home/home1) "; echo " nn (NN partition /usr/spool/nndb) "; echo " inn (Inn partiton /usr/lib/news)\n "; } if [ $# -ge 1 ]; then touch $backuplogdir/lastbackup.curr case $2 in incremental) typeofbackup=" -newer $backuplogdir/lastbackup "; echo "Incremental backup" \ >>$backuplogdir/backup.log.$thedate;; *) typeofbackup=""; echo "Full backup" \ >>$backuplogdir/backup.log.$thedate;; esac case $1 in full) echo "Backing up full filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; fullbackup;; root) echo "Backing up root filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; rootbackup;; news) echo "Backing up news filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; newsspoolbackup;; user) echo "Backing up user filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; userbackup;; nn) echo "Backing up nn filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; nnbackup;; inn) echo "Backing up inn filesystem begun `date`" \ >>$backuplogdir/backup.log.$thedate; innbackup;; *) backupmenu;exit;; esac else backupmenu; exit; fi cat $backuplogdir/backup.$thedate | cpio -ocavB >/dev/rmt0 2>>$backuplogdir/backup.log.$thedate echo "Backup completed `date`" >>/$backuplogdir/backup.log.$thedate rm -f $backuplogdir/backup.$thedate -- Brian Kramer - Owner/Systems Administrator - bjkramer@pluto.njcc.com New Jersey Computer Connection - Public Access Unix Site - pluto.njcc.com Voice: 609-896-2799 - Fax: 609-896-2994 - Dialups: 609-896-3191 Dialup or Telnet to pluto.njcc.com and log in as guest for more information. ------------------------------ ** 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: Linux-Admin-Request@NEWS-DIGESTS.MIT.EDU You can send mail to the entire list (and comp.os.linux.admin) via: Internet: Linux-Admin@NEWS-DIGESTS.MIT.EDU 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 ******************************