From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Thu, 29 Sep 94 13:14:17 EDT Subject: Linux-Admin Digest #119 Linux-Admin Digest #119, Volume #2 Thu, 29 Sep 94 13:14:17 EDT Contents: SLIP+DIP & SunOS (Matthias Wagner) Core dumps (Maureen Lecuona) Re: Linux won't keep correct time (Kevin Cummings) COLORS with the ECHO command -*- HOW TO DO ??? (NISCHELWITZER Alexander Kurt) Re: 80x50 screen (Erik Mouw) Re: Need DL/Time Limiting ideas - Linux BBS (Trevor Lampre) Re: Disk Mirroring? (Bill Davidsen) NFS Mount Shows Wrong Mount! (Ian V. Quickmire) Mathematica, GAUSS (Ted Harding) VT320 on COM2... (Jean Tourrilhes) avance Logic (alvga) video drivers (Serge Audenaert) Performance of gcc 2.5.8 against gcc 2.6.0 (X11 3d demo) (Michael Will) Re: Caching SCSI Controller rec. ? (Marten Liebster) Booting linux from network under DOS : A FAQ ? (Remi Bastide) Re: G3->something_nice NEEDED (Gert Doering) Re: Clean shutdown from X (Manoj V Kasichainula) serial console possible? (Terry J. Klarich) Re: LaserJet 4M setup (Frerk Meyer) ---------------------------------------------------------------------------- Crossposted-To: comp.sys.sun.admin From: wagner@ki.informatik.uni-ulm.de (Matthias Wagner) Subject: SLIP+DIP & SunOS Reply-To: wagner@ki.informatik.uni-ulm.de Date: Thu, 29 Sep 94 12:17:18 GMT I am going to set up a SLIP dial-in at my university account on a Sparc Station which is running SunOS 4.1. The PC-Client I will be using to dial in from home is my Linux box. Since I already tried out DIP on my Linux PC (and consider it a convenient tool to setup a SLIP-server via 'sliplogin') I would appreciate to use it on the Sun. Anyone made something similar before? Can I use DIP on SunOS? If so where can I obtain the source code? How are the Sun SLIP-drivers integrated within the SunOS environment? I am looking forward to reading from you, Matthias PS: Please reply in a short email to my account, my newreader does not work correct! ------------------------------ From: lecuona@paul.rutgers.edu (Maureen Lecuona) Subject: Core dumps Date: 27 Sep 1994 17:48:08 -0400 Hi All: I am relatively new to Linux, but I am using it as a platform for MOTIF development work. I have noticed that I don't get messages like "Segmentation Error" when my application dies, and that I don't seem to be able to find a core dump. Is there some magical incantation I must use in order to get one? Thanks in advance, Maureen Lecuona -- || maureen || For this world that men have made, none of us is bad enough. || || For the world that made us, none is good enough. -Edward Abbey || lecuona || Those who dream of the joys of living in a space colony should || || live in a space colony. -Edward Abbey ------------------------------ From: cummings@hammer.westboro-ma.peritus.com (Kevin Cummings) Subject: Re: Linux won't keep correct time Date: Tue, 27 Sep 1994 21:59:02 GMT In article <35tt12$hc0@news.acns.nwu.edu>, tkeidl@fwk103034.res-hall.nwu.edu (Tobias S. Keidl) writes: > It seems that every time I boot up my Linux box, the clock always is 1 > hour behind what it should be. Any time I reset the time, it changes > the next time I reboot. I presume there is some config file somewhere > telling it to do that but I have no idea where or what (and it was also > exhibiting the same behavior before I was networked). Anyone have any > solutions or suggestions? I'd appreciate them! Sounds to me like you didn't set up your timezone stuff correctly. I had the same problem, but I didn't like the suggested solutions of changing my CMOS clock twice a year or setting my CMOS clock to GMT, so instead I pointed my local timezone to Eastern-Ind (that part of Indiana which doesn't use DST), and made sure that each user uses EST5EDT. Now the only users who are off are certain root processes. But my users are right! And I can still go back and forth between DOS and Linux with the same CMOS clock and be consistent. -- Kevin J. Cummings Peritus Software Services, Inc. cummings@kjc386.framingham.ma.us cummings@peritus.com ------------------------------ From: nischi@icg.tu-graz.ac.at (NISCHELWITZER Alexander Kurt) Subject: COLORS with the ECHO command -*- HOW TO DO ??? Date: 29 Sep 1994 12:31:43 GMT Hi all, Does anyone know how to use the colors with the echo command, or how to use escape codes with term and echo ? I like the colors in my directory and want to use them also for shell scripts but how...? Thanks for your help, Nischi ------------------------------ From: jakmouw@et.tudelft.nl (Erik Mouw) Subject: Re: 80x50 screen Date: 29 Sep 94 13:26:13 +0100 In article , s010dls@alpha.wright.edu () writes: > Is there a way to use 80x50 text mode in Linux? I have a ATI mach32 > card, and I know it is capable of this. > > Thanks again. If you have LILO it's easy: Edit /etc/lilo.conf. You'll find something like: boot = /dev/hda1 compact image = /vmlinuz label = Linux ramdisk = 0 root = /dev/hda1 vga = normal ^^^^^^ |||||| If you change this in "vga = ask" LILO will ask which textmode you want. After you changed it run LILO (just type lilo) and the next time you boot LILO will ask about the VGA mode. It will display all the available VGA modes for your card. Just type a number to get it. Remeber the number and edit /etc/lilo.conf again. For the VGA setting use the number you used at boot time (if 80x50 is mode 1, then use vga = 1). Again run lilo to register the changes. Of course you have to be root to do all this stuff. If you don't have LILO it's a bit more difficult. Seems you have to use rdev... I don't have experience with it. Moral: man rdev :) Erik ================================================== Erik Mouw, Department of Electrical Engineering, Delft University of Technology, The Netherlands email : JAKMouw@ET.TUDelft.NL D O N ' T P A N I C ! ================================================== Bypasses are devices that allow some people to dash from point A to point B very fast while other people dash from point B to point A very fast. People living at point C, being a point directly in between, are often given to wonder what's so great about point A that so many people from point B are so keen to get there and what's so great about point B that so many people from point B are so keen to get THERE. They often wish that people would just once and for all work out where the hell they wanted to be. -- Douglas Adams ------------------------------ From: trevor@xanax.apana.org.au (Trevor Lampre) Crossposted-To: alt.bbs,alt.bbs.unixbbs Subject: Re: Need DL/Time Limiting ideas - Linux BBS Date: 28 Sep 1994 22:12:52 +0930 In article , Riccardo Pizzi wrote: >In article <35l52k$3ju@xanax.apana.org.au> trevor@xanax.apana.org.au (Trevor Lampre) writes: > >>A BBS needs to know what speed the user connects at to estimate >>if they have enough time to finish downloading a file. This requires >>knowing the connect string. A standard Unix getty doesn't see this or >>pass it onto the BBS. As a result Uniboard will let users download for >>hours beyond their time limit. > >This is only partially true. UniBoard _does_ check for time expiration >after each downloaded file (even during batch download) and will disconnect >the user if his time limit is overridden. Um, not on my Uniboard system it doesn't. I have users with a one hour limit do a batch download of files that has taken 4 hours to complete. They just tag as many files as they can and go for it. It doesn't log them off until they finish the whole lot. Trevor. ------------------------------ From: davidsen@usenety1.news.prodigy.com (Bill Davidsen) Subject: Re: Disk Mirroring? Date: 27 Sep 1994 18:38:32 -0400 In article <369lm5$mp0@crcnis1.unl.edu>, Bob Morrill wrote: : Does anyone know if there is code available to enable Linux :to do disk mirroring? We would like to configure our Linux boxes to :write to two drives simultaneously (two identical local drives per Linux box). :The idea is to have a ready warm spare harddrive with all the current :data present and ready to be made active if the primary should fail. I don't know of software for mirror or stripe. Fortunately there are some low cost SCIS adaptors which do caching and mirror (and use the backup when the primary fails). The one I use (from memory, I'm not near the box) is TechRAM. -- Speaking *from* but never *for* Prodigy "Pain builds moral fiber" -my dad "Pain hurts" -me ------------------------------ From: ianq@hookup.net (Ian V. Quickmire) Subject: NFS Mount Shows Wrong Mount! Date: Tue, 27 Sep 1994 10:35:10 Have a problem where my NFS client, upon mounting a drive from the NFS server, ends up seeing the wrong drive! NFS Server: running Linux 1.1.45, though same prob all the way back to Linux 1.0 ... exports file = # /mnt/cd amy(ro) qserver(ro) / amy(rw) qserver(ro) /mnt amy(rw) qserver(rw) /mnt/dosc amy(rw) qserver(rw) /mnt/dosd amy(rw) qserver(rw) /mnt/dose amy(rw) qserver(rw) /mnt/dosf amy(rw) qserver(rw) /mnt/dosg amy(rw) qserver(rw) /mnt/dosh amy(rw) qserver(rw) /mnt/dosi amy(rw) qserver(rw) /mnt/dosj amy(rw) qserver(rw) # End of exports. NFS Client running Linux 1.1.45. The client uses the following mount syntax: mount -a -t nfs ian:/mnt/dosd /mnt/iandosd -0 rsize=8192,wsize=8192 When I do an LS of /mnt/iandosd, I end up seeing files that actually come from ian:/mnt/dosc, not ian:/mnt/dosd ... ? Now, a few notes: The server himself has to mount all the DOS drives to see them, his fstab looks like: /dev/hdb6 / umsdos defaults /dev/hda1 /mnt/dosc msdos defaults /dev/hdb1 /mnt/dosd msdos defaults /dev/hda5 /mnt/dose msdos defaults /dev/hda6 /mnt/dosf msdos defaults /dev/hda7 /mnt/dosg msdos defaults /dev/hda8 /mnt/dosh msdos defaults /dev/hda9 /mnt/dosi msdos defaults /dev/hda10 /mnt/dosj msdos defaults /dev/sr0 /mnt/cd iso9660 ro none /proc proc defaults Could the problem be because the server mounts the drives? I also allow a mount of the server's /, which in turn includes the /mnt directory where the server mounts all the DOS drives. A possible problem? Any suggestions appreciated ... =================================== Home: ianq@hookup.net Work: izq00@amail.amdahl.com CI$: 74032,573 =================================== ------------------------------ From: Ted.Harding@nessie.mcc.ac.uk (Ted Harding) Subject: Mathematica, GAUSS Date: 29 Sep 1994 11:01:32 -0400 Reply-To: Ted.Harding@nessie.mcc.ac.uk (Ted Harding) In response to queries from colleagues, I am trying to find out if the mathematics packages MATHEMATICA and GAUSS are available for Linux, or in UNIX version which can be persuaded to work in Linux. (We're aware of MAPLE) Ted Harding (Ted.Harding@nessie.mcc.ac.uk) ------------------------------ From: tourrilh@enst.fr (Jean Tourrilhes) Subject: VT320 on COM2... Date: 29 Sep 1994 14:16:10 +0100 I just have plug a DEC VT320 terminal to the serial port of my PC (Linux 1.1.50). In /etc/inittab, I uncomment the line : s2:45:respawn:/sbin/agetty 19200 ttyS1 When I reboot my PC, the prompt appear well on the terminal. I enter the login name, and after the return, no answer (connection blocked...). If, instead of the previous line, I put in /etc/inittab the following line : s2:45:respawn:/sbin/agetty 19200 cua1 This time, all is correct and I am able to log in and so on. The problem is that I heard that /ddev/cua1 is less secure than /dev/ttyS1. Anyone has a hint to make /dev/ttyS1 working as /dev/cua1 does ? Jean ------------------------------ From: serge@elis.rug.ac.be (Serge Audenaert) Subject: avance Logic (alvga) video drivers Date: 29 Sep 1994 15:29:31 GMT Does anyone know about the existence of drivers for the AVANCE LOGIC ALVGA VESA Local Bus video card? It is impossible to determine the chipset of this card. Thank You. ------------------------------ From: zxmgv07@studserv.zdv.uni-tuebingen.de (Michael Will) Subject: Performance of gcc 2.5.8 against gcc 2.6.0 (X11 3d demo) Date: 29 Sep 94 15:20:23 GMT I have installed both versions of gcc and wanted to compare it's performance with a 3d-demo-program I just ported from turbo-pascal to c/C++. I compiled a version with each compiler and named the executables accordingly. [4:44pm] michaelw@desaster:~/Work/3d/Sebastian> ls -l MF_Plato.gcc.2.* -rwxr-xr-x 1 michaelw other 76157 Sep 29 16:33 MF_Plato.gcc.2.5.8* -rwxr-xr-x 1 michaelw other 84352 Sep 29 16:34 MF_Plato.gcc.2.6.0* I used "-O2 and -m486" for optimization I did this twice, once as: MF_Plato.gcc.2.6.0 & MF_Plato.gcc.2.5.8 & and another time as: MF_Plato.gcc.2.5.8 & MF_Plato.gcc.2.6.0 & The window manager (fvwm) did autoplace them, and for some reason always the 2.6.0 was the first one to be put on the screen - it must have been faster at initializing. After running these 4 copies of the same code for some time I noticed they got out of sync, in the long term the gcc 2.6.0 compiled version was somewhat slower. (it took some minutes until one could notice). The code is rotating and moving some mathematical objects (Tetraeder, Oktaeder, Ikosaeder, Dodekaeder) zooming to and fro, doing a simple hidden-line algorithm on it etc. It was originaly written by Sebastian Wedeniwski in Turbo-Pascal-for-DOS, I just ported it to C/C++ Unix/X-window. He agreed to put it under the GPL. It still has some typo in the Ikosaeder- and Dodekaeder-definitions, so it looks a bit ugly because of some lines going astray, but you can fix it (and send it back to me) if you like - the rest (Tetraeder and Oktaeder) are perfect. I have to pass my math-exams before putting any more work into it :) I will put the source on studserv.zdv.uni-tuebingen.de:/scratch/MF_Plato.tgz for some time (binaries included). Cheers, Michael Will PS: the binaries are compiled on an i486-PCI-machine running linux 1.1.51 X11R5 . . Michael Will . cs-student in Tuebingen, Germany, Europe, Earth, Solar-System, [...]
Click here ------------------------------ From: mmarten@panix.com (Marten Liebster) Subject: Re: Caching SCSI Controller rec. ? Date: 29 Sep 1994 10:51:33 -0400 JL Gomez (kitana!sysop@caprica.com) wrote: : Linux can make better use of the RAM on that caching controller : than the controller itself. : Invest in a quality bus-mastering SCSI card and a FAST SCSI-2 HD. : -- : sysop@kitana.org Such as .... -- ======================================== Marten M. Liebster Please no flames for spelling, mmarten@panix.com I already know I can't spell!! ------------------------------ From: bastide@cix.cict.fr (Remi Bastide) Subject: Booting linux from network under DOS : A FAQ ? Date: Thu, 29 Sep 1994 14:57:22 GMT Is there an easy way to boot Linux from a network while under DOS ? The thing I have in mind is something like bootlin, that would allow me to chose at boot time if I want to boot on DOS or on LINUX, from a boot server somewhere on the net. I am not that much familiar with bootp concepts, so I would be grateful any pointers to FAQ, step by step installation guides, etc.. ------------------------------ From: gert@greenie.muc.de (Gert Doering) Subject: Re: G3->something_nice NEEDED Date: Thu, 29 Sep 1994 12:09:04 GMT ps@kis.uni-freiburg.de (Peter Suetterlin) writes: >: >Does someone have g3topbm or g3->gif that works smoothly? [..] >As we are at that topic: >How to print out a fax? What I tried was raw fax --> g3topbm (from >mgetty+sendfax. really works nice) --> Postscript (via xv). Ummm, I'm afraid xv may do its own scaling. You may want to try "g3topbm | pnmtops" (pnmtops being from the pbmplus distribution, forget about netpbm, it's badly broken) - gives very good results here. >BTW: Dos someone know why xli can't read sendfax's g3-files correctly > allthough it has G3-support? sendfax's? does sendfax produce G3 files? That's a new one for me... Oh, you mean "input files for sendfax" -- depends, if you create them with Ghostscript's dfaxhigh driver, it will prepend a 64-byte header that xli doesn't understand. Strip it off ("tail +64c file1.g3 >file2.g3") and it should work. For received files, you may run into problems if you have transmission errors on the page and xli decides that it cannot properly decode the page -> it must be some non-g3 format... - use g3topbm ; xli in that case. gert -- Yield to temptation ... it may not pass your way again! -- Lazarus Long //www.muc.de/~gert Gert Doering - Munich, Germany gert@greenie.muc.de fax: +49-89-3243328 gert.doering@physik.tu-muenchen.de ------------------------------ From: mvkasich@eos.ncsu.edu (Manoj V Kasichainula) Subject: Re: Clean shutdown from X Date: 29 Sep 1994 13:37:35 GMT Nora E. Etukudo (nora@eeubln.IN-Berlin.DE) wrote: :> in article , :> from Mon, 19 Sep 1994 16:18:02 UNDEFINED, :> Tim_Brailsford@vme.nott.ac.uk also known as "Tim Brailsford", :> wrote [shortend]: :>[...] :>> I am having a problem shutting down a Linux system from X (Linux 1.0.9, :>> XFree86 2.1.1). :>I'm running xdm also (Slackware-2.0, Linux-1.1.50, XFree86-2.1.1) and I :>shut down with :> 1. switching to console (Ctrl-Alt-F1) :> 2. Pressing Ctrl-Alt-Del. :>The system goes correctly down, with no errors on next boot. :>But, I hope there is a better way, isn't it? Yup. In the Slackware 2.0 configuration, -R at the xdm login prompt will kill xdm and bring you back to tty mode. With some Xservers, though, you will not see the tty, but a white screen with uni-colored vertical broken stripes. This is a result of X eating display fonts or something like that. On my machine, the 8514 server did this, while the Mach 32 server didn't. Then, again a setup of Slackware, hit Ctrl-Alt-Del, or switch to a console with a tty and use the 'halt' or 'reboot' commands. If enough people not running Slackware 2 are interested in the config file Slackware uses to do this (something in /usr/lib/X11/xdm, I think it's Xresources) I'll post it. -- _______________________________________________ | | "Violence is the last refuge | Manoj Kasichainula - mvkasich@eos.ncsu.edu | of the incompetent." | Leader of the Jihad to Destroy Barney at NCSU | - Salvor Hardin |_______________________________________________| from _Foundation_ by Asimov ------------------------------ From: terry@ki5zw.ampr.org (Terry J. Klarich) Subject: serial console possible? Date: Thu, 29 Sep 1994 04:07:19 GMT Can linux be made to use a serial console? I would be interested in using com1 or com2 instead of the monitor for my console. -- Terry Klarich (KI5ZW) A man is not complete until he is married; then, he is finished. ------------------------------ From: frerk@educat.hu-berlin.de (Frerk Meyer) Subject: Re: LaserJet 4M setup Date: 29 Sep 1994 12:03:16 GMT Reply-To: frerk@educat.hu-berlin.de In , s010dls@alpha.wright.edu () writes: >I have a HP LaserJet 4M and I want to use it with Linux. How do I set >it up. It's a 600dpi printer with postcript. Give it some names in /etc/printcap like lp:lp1:laser:postscript....... Set the printer via menu to postscript instead of PCL or Autodetect. Tell dvips about the 600 dpi if you use it get and install iso2ps, a2ps -8 or enscript all three are for nice formating of ISO-Textfiles in Postscript --- Frerk Meyer Department for Computers in Education "http://www.educat.hu-berlin.de/~frerk/frerk.html" ------------------------------ ** 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 ******************************