From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Fri, 7 Oct 94 20:14:54 EDT Subject: Linux-Admin Digest #159 Linux-Admin Digest #159, Volume #2 Fri, 7 Oct 94 20:14:54 EDT Contents: gcc & g++ help Re: packet size w/ uucp? (Richard J Wyble) Re: Security hole in smail - be careful! (Olaf Kirch) Re: Dial-in and Dial-out on one modem? (Steven M. Doyle) Re: SLIP Configuration (Karl Keyte) double click speed Re: FTPs PCTCP and Linux lock. (Michael Faurot) Re: New Adeptec SCSI not detected (Zeos Technical Support account for Internet) Re: New Adeptec SCSI not detected (Zeos Technical Support account for Internet) Problems with udp port domain (Michael Zill) dip-3.3.7h-uri & Zyxel U1496E SOLVED!!! (Dirk Hillbrecht) Adaptc AHA2490 (Douglas Rankin) help me to set the printer Re: PPP vs SLIP? (Alan Cox) Re: Dial-in and Dial-out on one modem? (Gert Doering) Re: Xfree 3.1 and SPEA MirageP64 (Linux) (David Dawes) Re: Setting up INN on a Linux box! (Herbert Xu) Re: How to make Linux see my Dos partition (Herbert Xu) Re: XFree86-3.1 - Whoopee! (Jeff Smith) Re: [Q] Commercial Software on Linux (Alan Cox) ---------------------------------------------------------------------------- From: s010dls@alpha.wright.edu () Subject: gcc & g++ help Date: Tue, 4 Oct 1994 18:22:20 GMT I want add a path to the list of paths automatically searched for include files. I would also like to disable one of the warning messages. How do I do this? Thanks. ------------------------------ From: rwyble@iii1.iii.net (Richard J Wyble) Subject: Re: packet size w/ uucp? Date: 7 Oct 1994 12:58:59 -0400 In article <1994Oct4.113516@hammer.westboro-ma.peritus.com>, Kevin Cummings wrote: >In article <1994Sep28.095353.2313@ohbabe.stat.com>, jd@ohbabe.stat.com (John Dee) writes: >> Is there a way to increase packet size with UUCP to get a better transfer >> rate? > >Yes, change the protocol you are using. "G" protocol is limited to 64 byte >packets, but someone wrote up a "g" protocol which supports larger packet >sizes (or do I have them backwards?). BOTH ends of your UUCP connection must You have them inverted. The 'g' protocol is the original uucp protocol. 'G' is a slightly modified incarnation. The 'g' protocol specification is NOT limited to 64 byte packets. A modern implementation, e.g., Taylor, supports 512, 1024, etc. Some poorly written uucp packages may not support packets > 64. If one is running Taylor UUCP, the packet sizes and number of windows are both configurable. ------------------------------ From: ok@daveg.PFM-Mainz.de (Olaf Kirch) Subject: Re: Security hole in smail - be careful! Date: Fri, 7 Oct 1994 09:37:36 GMT Martin Bartosch (martin2@sueton.ida.ing.tu-bs.de) wrote: : Hi, : last night I discovered a potential danger to all sites that run smail. : A quick check on some other sites (thanks to the folks on #linux) : revealed that most systems are affected by this. While we're talking of security holes, here's another one that has been around for some time. The cause of the problem is the same as above, I suppose. In some smail binaries, you can create files in arbitrary directories by putting file names like /etc/foobar in your .forward file. This is because of the peculiar way in which smail does its permission checking. When compiled with the HAVE_SETREUID option, smail drops root privilege while delivering to a file. When compiled without this option, as a number of smail binaries have been, the approach is somewhat more crude. By default, smail checks only if the file exists and is writable by the user that requested delivery. If the file doesn't exist, it is created right away. This behavior can be `improved' by adding the `check_path' attribute to the file transport defintion in /usr/lib/smail/transports. Incidentally, this flag is turned off by default. Olaf ------------------------------ From: wcreator@kaiwan.com (Steven M. Doyle) Subject: Re: Dial-in and Dial-out on one modem? Date: 7 Oct 1994 00:32:52 -0700 In stevem@tyrell.net (Steve Miller) writes: >Can I dial in and out over the same modem? I do this on SCO Unix machines I do this all the time on my Linux box. The procedure that I use is as follows: 1. Write the settings that you wish to use for people logging in into the modem's NV-RAM (i.e. set up the modem and type AT&W) 2. Set up the init string in your communications package to set the correct values when you are dialing out. I know that minicom resets the modem from the NVRAM after you lexit it, and would assume that others do as well. If not, you can simply type ATZ before you exit. Hope this helps!!! -- | Steven Doyle, AKA World Creator | #include | | Sysop, NETDimension (818)592-6279 | For information on Artificial Worlds | | wcreator@kaiwan.com | send email to wcreator@kaiwan.com for | | wcreator@axposf.pa.dec.com | an information package. | ------------------------------ Date: Thu, 6 Oct 1994 12:37:02 +0100 From: kkeyte@esoc.bitnet (Karl Keyte) Reply-To: kkeyte@esoc.bitnet Subject: Re: SLIP Configuration In article G80@NEWS.ALCATEL.CH, kuemin@srapc101.alcatel.ch (Norbert Kuemin) writes: >Hi, i've installed a CSLIP connection between 2 hosts and it works fine. >I use dip-3.3.7uri and Linux 1.1.35 . Now i want to know if it's possinble >to hangup the phoneline after some minutes idletime and to redial if later >needed. Anyone experience ?? Grab 'sliphangup1.0.tar.gz' from sunsite.unc.edu:/pub/Linux/system/Network/serial Karl ========================================================================= Vitrociset S.p.A. Tel : +(49) 6151 902041 European Space Agency Fax : +(49) 6151 904041 64293 Darmstadt, Germany e-Mail: KKEYTE@ESOC.BITNET ------------------------------ From: s010dls@alpha.wright.edu () Subject: double click speed Date: Tue, 4 Oct 1994 18:27:42 GMT How can I adjust the mouse double click rate in X? It's way too fast now. Thanks. ------------------------------ From: mfaurot@phzzzt.atww.org (Michael Faurot) Subject: Re: FTPs PCTCP and Linux lock. Date: Wed, 5 Oct 1994 22:46:08 GMT Neil Charley (N.Charley-CSSE93@cs.bham.ac.uk) wrote: : In article , Matti Aarnio wrote: : >sheep@news.udel.edu (Brian C. Huffman) writes: : > Recompile the kernel with: "PC/TCP compability mode ON" : > : > Actual problem is closely related, but that (intermediate) : > kludge can help in the mean time. : Hmm, thanks for that. Just one thing we have another problem on a : machine I help to run. Telnet sessions from PC's don't freeze as far : as I know, but they do cause telnet OUT of the Linux box and things : like TUsh and TinyFugue to act weirdly, as in telnets out display 8 : bit chars and beep all over the place, and TUsh/TinyFugue SEGV on : startup, this doesn't happen when telnetting in from a unix box... : Anyone got any ideas? I've tried all combinations of PC/TCP : compatibility, IPX and dummy net driver in the kernel and it doesnn't : make a difference... There appears to be a bug in the latest v3.0 PC/TCP Telnet (Windows version) as well as the DOS telnet. I'm having a similar problem with the Windows telnet acting oddly with Informix 4GL screens and with the DOS telnet some of the line drawing stuff is not working right. I know the problem is not in the Unix side because use of other client telnets work/display correctly. I'm in the process of dealing with FTP support to resolve the problem, you should probably also contact FTP support. -- +--------------------+----------------------------+--------------------------+ | Michael Faurot | mfaurot@phzzzt.atww.org | I don't like | | ------- ------ | ...!netcomsv!phzzzt!mfaurot| lima beans!! | +--------------------+--------------------+-------+--------------------------+ ------------------------------ From: support@zeos.com (Zeos Technical Support account for Internet) Subject: Re: New Adeptec SCSI not detected Date: 7 Oct 1994 08:43:19 -0500 Mark Curtis (leadfoot@leftlane) wrote: : Zeos Technical Support account for Internet (support@zeos.com) wrote: : : You need to have a boot disk that gives you the LILO boot: prompt. At that : : prompt, type: : : ramdisk aha152x=0x340,11,7,1 : I'm using an aha1542CF at port 230, IRQ 11, and DMA 7. Would I use : ramdisk aha152x=0x230,11,7,1, or isn't this correct? What does the : 1 at the end of this option do? I'm trying to install the Slackware : 1.2 release off the CD included with the book "Internet CD". I just : haven't been able to get the kernel to see my AHA-1542CF SCSI : controller when it boots so I can't complete the installation. : : Then, when you get Linux installed, you will have to install LILO and : : add the following line to the /etc/lilo.conf file: : : APPEND='aha152x=0x340,11,7,1' : I take it this becomes: : APPEND='aha152x=0x230,11,7,1 <- whats this 1 for? You are correct in the values that you use. The 1 is to enable disconnects. Kevin -- Zeos Technical Support | | ZEOS International, Ltd. support@zeos.com INET | Support account for | Technical Support Dept. uunet!support!support UUCP | Zeos Technical Support | 1301 Industrial Blvd N.E. 612-362-1207 FAX | | Minneapolis, MN 55413 ------------------------------ From: support@zeos.com (Zeos Technical Support account for Internet) Subject: Re: New Adeptec SCSI not detected Date: 7 Oct 1994 08:47:38 -0500 Mark Curtis (leadfoot@leftlane) wrote: : Zeos Technical Support account for Internet (support@zeos.com) wrote: : : You need to have a boot disk that gives you the LILO boot: prompt. At that : : prompt, type: : : ramdisk aha152x=0x340,11,7,1 : I'm using an aha1542CF at port 230, IRQ 11, and DMA 7. Would I use : ramdisk aha152x=0x230,11,7,1, or isn't this correct? What does the : 1 at the end of this option do? I'm trying to install the Slackware : 1.2 release off the CD included with the book "Internet CD". I just : haven't been able to get the kernel to see my AHA-1542CF SCSI : controller when it boots so I can't complete the installation. : : Then, when you get Linux installed, you will have to install LILO and : : add the following line to the /etc/lilo.conf file: : : APPEND='aha152x=0x340,11,7,1' : I take it this becomes: : APPEND='aha152x=0x230,11,7,1 <- whats this 1 for? Boy, one thing I sure missed. The aha1542 driver is used for what you are trying to do. The driver only appeats to support port addresses 0x330 and 0x340. That is likely why it is not working. You will have to change your 1542's address. Kevin -- Zeos Technical Support | | ZEOS International, Ltd. support@zeos.com INET | Support account for | Technical Support Dept. uunet!support!support UUCP | Zeos Technical Support | 1301 Industrial Blvd N.E. 612-362-1207 FAX | | Minneapolis, MN 55413 ------------------------------ From: mzill@saturn.RoBIN.de (Michael Zill) Subject: Problems with udp port domain Reply-To: mzill@saturn.RoBIN.de (Michael Zill) Date: Sun, 2 Oct 1994 10:07:36 GMT Hello, I last night I tried out tcpdump, it's a nice thing ! I figured out that I have a problem with my udp port 53 (domain). If I ping a other box (mars) I get the following output from tcpdump: ip 73: saturn.RoBIN.de.1085 > saturn.RoBIN.de.domain: 1+ A? mars.RoBIN.de. (31) ip 70: saturn.RoBIN.de > saturn.RoBIN.de: icmp: saturn.RoBIN.de udp port domain unreachable ip 73: saturn.RoBIN.de.1085 > saturn.RoBIN.de.domain: 1+ A? mars.RoBIN.de. (31) ip 70: saturn.RoBIN.de > saturn.RoBIN.de: icmp: saturn.RoBIN.de udp port domain unreachable ip 73: saturn.RoBIN.de.1085 > saturn.RoBIN.de.domain: 1+ A? mars.RoBIN.de. (31) ip 70: saturn.RoBIN.de > saturn.RoBIN.de: icmp: saturn.RoBIN.de udp port domain unreachable ip 73: saturn.RoBIN.de.1085 > saturn.RoBIN.de.domain: 1+ A? mars.RoBIN.de. (31) ip 70: saturn.RoBIN.de > saturn.RoBIN.de: icmp: saturn.RoBIN.de udp port domain unreachable ip 98: mars.RoBIN.de > saturn.RoBIN.de: icmp: echo reply ip 98: mars.RoBIN.de > saturn.RoBIN.de: icmp: echo reply The same thing happened when I use telnet. I have no named running (I've only 3 boxes) Thanks for any help Michael -- ******************************************************************* * Michael Zill * Phone : +49 6171 72175 * * Steinbach/ Germany * Email : mzill@saturn.RoBIN.de * ******************************************************************* ------------------------------ From: hillbrec@informatik.uni-hannover.de (Dirk Hillbrecht) Subject: dip-3.3.7h-uri & Zyxel U1496E SOLVED!!! Reply-To: hillbrec@informatik.uni-hannover.de Date: Fri, 7 Oct 1994 08:51:48 GMT Hi everyone, many thanks for all of you who replied by eMail or in this group. Meanwhile, after some more excessive testing, I'm up and running with the two above!!! The clue was the "dial"-command. Richard J Wyble wrote to me, that > This version of dip (and several preceeding it) have Hayes command-strings > compiled in as default. Take a look at the source to see what it is actually > sending to the modem when issued this 'dial' command. > > An alternate is to issue the dial string yourself, e.g., 'atdt1613075' and > then 'wait CONNECT' . . . I did the last one changing the dial-command into send ATDT1613075\r and it connected! Another error was waiting for the wrong prompt afterwards. I recovered this one by using the "debug" mode. It can be involved through echo on in the script file. After this, all output from the modem is echoed. Once again, many thanks, Cheers, Dirk ------------------------------ From: hitman@dgs.dgsys.com (Douglas Rankin) Subject: Adaptc AHA2490 Date: 6 Oct 1994 14:50:09 -0400 I was trying to Install Linux Version 1.09 onto a friends pentium P90 and the boot disk did not reconige teh scsi card. She has an AHA2490 Adaptec PCI SCSI card. If there a distribution out there that supports this card so I can install linux on here machine. E-mail answers to hitman@dgs.dgsys.com . Thanks!!!! Doug "The Hitman" Rankin hitman@dgs.dgsys.com ------------------------------ From: mr834320@myhost.subdomain.domain () Subject: help me to set the printer Date: 7 Oct 1994 11:23:31 GMT please help to set the printer : HP LasterJet series II I don't know how to set it all I know is to set the printcap file but I don't know what to do in printcap file and if need any file please let me know thank u very much! ps : I need it to print my homework ........... ------------------------------ From: iialan@iifeak.swan.ac.uk (Alan Cox) Subject: Re: PPP vs SLIP? Date: Fri, 7 Oct 1994 19:10:35 GMT In article plm@atcmp.nl (Peter Mutsaers) writes: >Especially when ISDN is getting through with its very fast dialing and >one second resolution billing dial-on-demand becomes a must for PPP. You can do dial on demand now, with pty's and a bit of user mode code hacking. Just nobody has written it. Alan -- ..-----------,,----------------------------,,----------------------------,, // Alan Cox // iialan@www.linux.org.uk // GW4PTS@GB7SWN.#45.GBR.EU // ``----------'`----------------------------'`----------------------------'' ------------------------------ From: gert@greenie.muc.de (Gert Doering) Subject: Re: Dial-in and Dial-out on one modem? Date: Fri, 7 Oct 1994 11:25:06 GMT stevem@tyrell.net (Steve Miller) writes: >Can I dial in and out over the same modem? Yes! >I do this on SCO Unix machines >all the time with no problems. The dialer changes the modem settings >to turn echo on to dial out (to detect "CONNECT" messages) and turns >echo off when done. If I leave echo on, the port sees the login >message echoed back and thinks someone is trying to login. This >causes TD and RD lights to be on all the time. If I run ps it tells >me someone is logging in as "login: Welcome to ........." (whatever >displays from the /etc/issue file and the login prompt). If I turn >echo off (Q1E0) then cu never sees the "CONNECT" message. How can >Linux change these settings each time I dial out, and change them >back when I am done like SCO does? I consider the way SCO handles it to be totally broken - there are ways to handle modems without the need to change the modem settings every time (which will invariably lead to a modem with wrong settings one day...). Take a look at "mgetty+sendfax"; the getty in that package knows about modems and handles RING and CONNECT very well, so no need to change modem settings. When dialing out, mgetty sees the uucp Lock file, and gives away the modem line (so cu, uucico, ... can use it without any interference from the getty), exactly as SCO's uugetty does it. mgetty can be found on all sunsite.unc.edu mirrors in /pub/Linux/system/Serial/mgetty+sendfax-0.21.tar.gz 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 ------------------------------ Crossposted-To: comp.windows.x.i386unix,comp.os.linux.development From: dawes@physics.su.oz.au (David Dawes) Subject: Re: Xfree 3.1 and SPEA MirageP64 (Linux) Date: Fri, 7 Oct 1994 14:17:10 GMT In article , Christoph Martin wrote: > >README.S3 (in XF86-3.1-doc.tar.gz) says: > >>1 - Supported hardware >>---------------------- >> >> ... >> >>S3 864, 20C498 RAMDAC, ICS2595 Clockchip >> SPEA MirageP64 2MB DRAM >> >> 8 and 15/16 bpp >> >> ClockChip "ICS2595" > >I tried this in my XF86Config file. Die card ist probed correctly as >S3 864 with 20C486 RAMDAC. But the server can't set the clockchip. > >What is the problem? Is it the right ClockChip statement? Has anyone >this card running with XFree 3.1? The ICS2595 support has a few problems. The following is added to that entry in the current version of README.S3: Clockchip support is only preliminary and on some machines problems with the first mode after startup of XF86_S3 or after switching back from VT have been seen; switching to next mode with CTRL+ALT+'+' and back seems to solve this problem Note: the latest versions of README files can be found in the doc/ directory on most XFree86 3.1 ftp sites. David -- ============================================================================== David Dawes DoD#210 | Phone: +61 2 692 2639 School of Physics, University of Sydney, Australia | Fax: +61 2 660 2903 ============================================================================== You feel there's no tomorrow, as you look into the water below. It's only your reflection, and you still ain't got no place to go. -- Deep Purple "Sail Away" ------------------------------ From: herbert@greathan.apana.org.au (Herbert Xu) Subject: Re: Setting up INN on a Linux box! Date: 30 Sep 1994 19:42:09 +1000 Matthew S. Crocker (matthew@crocker.com) wrote: : : Sep 26 15:45:02 novanet innd: ME cant gethostbyname localhosts Unknown error : : Sep 26 15:45:03 novanet innd: ME bad_hosts 1 in /usr/lib/news/hosts.nntp : [ ...] : : Sep 26 15:48:56 novanet innd: ME cant gethostbyname localhosts Unknown error : : Sep 26 15:48:58 novanet innd: ME bad_hosts 1 in /usr/lib/news/hosts.nntp : I can tar the /usr/lib/news dir but it won't help.. the problem is : that inn gets an ip address when you connect and tries to resolv that : into a machine name. the syslog errors show that it can't resolv : localhost into 127.0.0.1 (which means it can't resolv 127.0.0.1 to : localhost). : try adding this to your /etc/hosts file : 127.0.0.1 localhost Close, but not quite. It is clear that innd is trying to resolv localhosts, not localhost. The original poster clearly made a typo somewhere in his configuration files. -- A. B <=> True B. A <=> False Email: Herbert Xu ~{PmV>HI~} PGP Key: pgp-public-keys@pgp.mit.edu or any other key sites ------------------------------ From: herbert@greathan.apana.org.au (Herbert Xu) Subject: Re: How to make Linux see my Dos partition Date: 3 Oct 1994 12:34:55 +1000 David Fox (fox@graphics.cs.nyu.edu) wrote: : In article <1994Sep28.211830.22456@dg-rtp.dg.com> scottk@glamslam.rtp.dg.com (Keith Scott) writes: : ] Awful thing happen to me the other day. I was trying to see something : ] from my dos partition (hda2) and I ended up destroying my file allocation : ] table on dos. Does anyone know how to safely retrieve files from a : ] dos partition? : # mount -t msdos /dev/hda2 /mnt : # cp /mnt/file ~ mount -rt msdos /dev/hda2 /mnt cp /mnt/file ~ -- A. B <=> True B. A <=> False Email: Herbert Xu ~{PmV>HI~} PGP Key: pgp-public-keys@pgp.mit.edu or any other key sites ------------------------------ From: ind00261@pegasus.cc.ucf.edu (Jeff Smith) Subject: Re: XFree86-3.1 - Whoopee! Date: 7 Oct 1994 08:28:47 -0400 Andrew Robert Ellsworth (are1@ritz.cec.wustl.edu) wrote: : Carlos Dominguez wrote: : >Now that it's been released.. Is there a compelling reason to upgrade? [bleah] : you just want to be able to say "I have the latest version of Xfree86"). :) Or if you have a card that is supported and you want >8bit color......That *might* be a reason you'd want to upgrade. Jeff ------------------------------ From: iialan@iifeak.swan.ac.uk (Alan Cox) Subject: Re: [Q] Commercial Software on Linux Date: Fri, 7 Oct 1994 20:12:14 GMT In article <36osjv$e90@infosrv.edvz.univie.ac.at> jan@ifs.univie.ac.at (Jan Mario Stankovsky) writes: >Is there a list of commercial software(i.e. FrameMaker, Smalltalk, a.s.o.) >available for Linux? Does anybody knows any details if commercial SW will be >available for Linux someday ? http://www.linux.org.uk/LxCommercial.html Also the iX Commercial-HOWTO file and under iBCS2 a lot of SCO/Unixware type stuff Alan -- ..-----------,,----------------------------,,----------------------------,, // Alan Cox // iialan@www.linux.org.uk // GW4PTS@GB7SWN.#45.GBR.EU // ``----------'`----------------------------'`----------------------------'' ------------------------------ ** 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 ******************************