From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Tue, 30 Aug 94 15:14:34 EDT Subject: Linux-Admin Digest #1 Linux-Admin Digest #1, Volume #2 Tue, 30 Aug 94 15:14:34 EDT Contents: Re: getting PLIP to work (NIIBE Yutaka) Re: CSlip; How can I set it up? (Terry Dawson) Re: [SLIP] Overruns? (Terry Dawson) Re: Need suggestions on Linux security (Martti Tikkanen) Re: MSDOS FS dates off by 5 days! (Slackware 2.0 bug?) (Leung Leung) Logging in over network from DOS? (Greg Philmon) Re: Erroneous results with ac (acct-1.1.18) (Juha Virtanen) Re: Need suggestions on Linux security (Thilo Wunderlich) Slip server problem FIX (Ped Xing) Re: Admin utils for linux ? (Harald Milz) Re: [Q] How to remote tape backup DOS -> Linux <- Sun (Dennis Director) Re: Logging in over network from DOS? (Sebastian W. Bunka) Adaptec 2742 bootdisk: kernel panic (Francis W. Starr) Term 1.19 Makeing it on SunOS 4.1.3 (Brian Curti Harvell) More about ftp... (Ian) Archive 2525 Tape drive? (Larry Pyeatt) Re: Backing up to QIC-80 (Thomas Vaughan) Re: Enabling A20 (Chuck Slivkoff) Re: Setting ftp server in Linux!!?? (michael butler) Re: SOLVED: How to FTP recursive directories? (Bob Willmot) ---------------------------------------------------------------------------- From: gniibe@mri.co.jp (NIIBE Yutaka) Subject: Re: getting PLIP to work Date: Tue, 30 Aug 1994 13:08:21 GMT In article <33op96$mjk@usenet.INS.CWRU.Edu> jet@b62528.student.cwru.edu (Jerod Tufte) writes: can someone give a little advice on how to get better ping times with the newer 1.1.4? kernels? I had 3-4ms with 1.0.9, and with the new PLIP it's 35-45ms. Yes, it's true that 1.1.x (x >= 20) has longer latency. Now I'm testing alternative implementation which uses task queue instead of timer. I had 6 ms with test code, and slightly good transfer late. In addition to the slower pings, i get a few dropped packets, this is with a 486/66 connected to a (much much slower) 386/33. I understand the I must make the timeouts on the faster machine longer, right? Yes. You can change timeout constant by `plipconfig' utility. It is in the net-tools by Alan Cox. If you want to test my alternative implementation, please mail me. Thanks, -- NIIBE Yutaka Mitsubishi Research Institute, Inc. ------------------------------ From: terry@field.medicine.adelaide.edu.au (Terry Dawson) Subject: Re: CSlip; How can I set it up? Date: 30 Aug 1994 06:35:35 GMT uri@watson.ibm.com (Uri Blumenthal) writes: >>Read about SLIP and CSLIP in the NET-2-HOWTO file at >> sunsite.unc.edu:/pub/Linux/docs/HOWTO >Well, in 1,000,001-st time: that HOWTO may or MAY NOT be up to date, >therefore you HAVE to read the README file in DIP source directory. Uri, for 1,000,002-nd time, if the HOWTO is not up-to-date then instead of publicly whinging about it, why don't you help me out and contribute? The NET-2-HOWTO on sunsite is the most up-to-date version. Why don't you check it out ? regards Terry ------------------------------ From: terry@field.medicine.adelaide.edu.au (Terry Dawson) Subject: Re: [SLIP] Overruns? Date: 30 Aug 1994 06:46:48 GMT brycer@crl.com (Bryce Ryan) writes: >I have been running DIP 3.3.7a-uri, and when checking the link stats via >the ifconfig sl0 command, have noticed a *huge* number of overruns--on >the order of 75% of the total packets transmitted or received. needless >to say, my response time is incredibly slow. I am using a 16550A UART, >so that's not the problem. Any hints? From the NET-2-HOWTO: I see a lot of overrun errors on my slip port, why ? The older network tools incorrectly report number of packets compressed as the number of packets overrun. This has been corrected, and shouldn't occur of you are running the new version kernel and tools. If it still is it probably indicates that your machine isn't keeping up with the rate of data incoming. If you are not using 16550AFN UARTs then you should upgrade to them. 16450, or 8250 generate an interrupt for every character they receive and are therefore very reliant on the processor to be able to find time to stop what it is doing an collect the character from them to ensure none get lost. The 16500AFN has a 16 character FIFO, and they only generate interrupts when the FIFO is nearly full, or when they have had character waiting, this means that less interrupts get generated for the same amount of data, and that less time is spent servicing your serial port. If you want to use multiple serial ports you should mandatorily upgrade to 16550AFN UARTs anyway. regards terry ------------------------------ From: jay@stekt13.oulu.fi (Martti Tikkanen) Subject: Re: Need suggestions on Linux security Date: 30 Aug 1994 13:03:54 GMT In article <33t077$5nl@lace.Colorado.EDU> smithgr@cs.colorado.edu (Gregory P. Smith) writes: In article <1994Aug15.200804.725@moka.demon.co.uk>, > >Talking about AMI BIOS, it's too easy to change boot password... >And to change boot sequence back to A, C. How can it be too easy to change the boot password? Is there a security hole in the system (if so, I'd like to know!). Taking the cover off and shorting the battery is the only method I know of. There are several msdos based cmos backup and manipulating utilities available. Backup your cmos. Thumber the backuped code. Restore it to cmos. And an error has occured in cmos, which allows to setup your cmos again. And you can set it up to boot from a as well as but your own passwd to it. ------------------------------ From: h9206508@hkuxa.hku.hk (Leung Leung) Subject: Re: MSDOS FS dates off by 5 days! (Slackware 2.0 bug?) Date: Tue, 30 Aug 1994 11:04:05 GMT Alberto Vignani (a.vignani@CRFV3.CRF.IT) wrote: : Hi all. : Yesterday I noticed a very strange fact. I created some directories : and files from Linux in a MSDOS filesystem; when I returned to DOS all : the dates were offset by 5 days(in the future). : Back to Linux and ls -l ... the dates were correct. But mdir behaves : exactly as DOS: these files had a wrong date. : I repeated the experiment the other way: i touched the files under DOS : and then Linux reported a date 5 days in the past. : After the usual administrative activity of such cases (changing libc : links; rebooting with older kernels; lots of printk in the kernel; : redoing calculations by hand....with no success) I rebooted with the : Slackware rescue disk and voila'-all the dates were correct. : : Then I went back, changed my timezone setting from EET (the right one : now in Italy) to GMT, and all was right. : : In fs/msdos/misc.c, line 232 (for 1.1.48): : : secs += sys_tz.tz_minuteswest*60; : : was the source of the trouble: minuteswest holded a larger value : (EET difference+5 days). : If I'm right, possible sources of this behaviour are a bug in the : clock program or a corrupted /usr/lib/zoneinfo/EET file under Slackware : 2.0. Slackware 1.2 has no such problems. : : Am I right? Anyone has noticed this bug(feature :-)? : Bye : Alberto Sometimes I got the date 1-1-1970 ... ------------------------------ From: philmon@netcom.com (Greg Philmon) Subject: Logging in over network from DOS? Date: Tue, 30 Aug 1994 13:08:55 GMT I'm considering placing Linux box on our Novell 3.11 network. I'd like to allow users to be able to login across the network from their DOS or Windows based PCs. Is this possible? -- Greg Philmon | philmon@netcom.com | CIS: 71161,3445 | MCI: 588-5358 ------------------------------ From: Juha.Virtanen@hut.fi (Juha Virtanen) Crossposted-To: comp.os.linux.help Subject: Re: Erroneous results with ac (acct-1.1.18) Date: 30 Aug 1994 13:24:43 GMT Reply-To: jiivee@hut.fi >>>>> On Mon, 29 Aug 94 06:25:13 GMT, vmittal@ecs.umass.edu said: :> I am running Linux 1.0 and 1.08 with the acct-1.1.18 Acct-1.1.18 is for Linux-1.1.18-> (1.1.36?) kernels (at least the patch is). :> However, I get erroneous results with :> ac -d -p :> Firstly, If I did not use the system for a day, root gets :> logged as 24 hour usage for that day. I even see that the :> usage for other users is not consistent and incorrect. Ac uses /var/adm/wtmp for getting usage info. It has nothing to do with per process logging done by kernel with accounting patches. Did you leave users logged in even your host were idle? Juha -- THE CHEMIST'S RULE: Never take more than three data points. There will always be some kind of graph paper on which they fall in a straight line. THE CHEMIST'S RULE, FIRST COROLLARY: If you have only one kind of graph paper, never take more than two data points. ------------------------------ From: c15o@zfn.uni-bremen.de (Thilo Wunderlich) Subject: Re: Need suggestions on Linux security Date: 30 Aug 1994 13:25:07 GMT smithgr@cs.colorado.edu (Gregory P. Smith) writes: [it's too easy to change boot password...] >How can it be too easy to change the boot password? Is there a security hole get amisetup and u can enter the setup ... Any Simtel archive: msdos/sysutil/amise260.zip Thilo -- Thilo Wunderlich c15o@zfn.uni-bremen.de tw@nice.delme.north.de GCS d--(---) p c+++ l++ u+++ e@ m- s/+ n--- h* f g+ w+ t r y++ ------------------------------ From: pplummer@sdcc8.ucsd.edu (Ped Xing) Subject: Slip server problem FIX Date: 30 Aug 94 14:17:01 GMT I posted a request for help recently and got several good replies. Here's a sumary so that all may share: Problem: Client to SLIP server interaction works fine but it does not work with any other host. Solution: IP packets are like not being routed to your client. So what you need to do is use Proxy ARP. You would do this by using the following command (as root) on the SLIP server: arp -s client_IP hw_addr pub where client_IP is the IP address of your slip client, hw_addr is the hardware ethernet address of your ethernet card and pub which is a flag to arp, meaning publish. The hw_addr is displayed by a recent version of ifconfig (type ifconfig with no parameters) but if you don't have a recent version (like me), it's usually written on your ethernet card. Also you can refer to a section in the NET-2 howto on Proxy ARP. Put the above command (when all is happy, joyful, and working) into some suitable file like rc.local. Perhaps this will help other SLIP(/networking) neophytes cope :-) Patrick --- Patrick Plummer email: pplummer@ucsd.edu "UNIX is the answer... but only if you phrase the question very carefully." I use Linux, a free UNIX clone for i386 and up machines. Get it from sunsite.unc.edu in the pub/Linux directory. ------------------------------ From: hm@ix.de (Harald Milz) Subject: Re: Admin utils for linux ? Reply-To: hm@ix.de Date: Tue, 30 Aug 1994 15:20:55 GMT In comp.os.linux.admin, William C. Strutton IV (strutton@crl.com) wrote: > I'm looking for a program (or shell script) to do admin tasks via a > menu. This could run from the prompt, or from X or whatever. It should > include options to add/remove users, set permissions on files and so on.. Three people/teams are currently working on such a tool, independently of each other: Pat Spinler (pats@einet.com) Riccardo Facchetti (riccardo@cdc8g5.cdc.polimi.it) Thomas Woerner (twoerner@gris.informatik.uni-tuebingen.de) according to the Projects Map. I wish those would join their efforts. -- You can make it illegal, but you can't make it unpopular. -- Harald Milz (hm@ix.de) WWW: http://www.ix.de/editors/hm.html iX Multiuser Multitasking Magazine phone +49 (511) 53 52-377 Helstorfer Str. 7, D-30625 Hannover fax +49 (511) 53 52-378 Opinions stated herein are my own, not necessarily my employer's. ------------------------------ From: dennis@cauchy.math.nwu.edu (Dennis Director) Subject: Re: [Q] How to remote tape backup DOS -> Linux <- Sun Date: 30 Aug 1994 14:49:04 GMT >Yet another possibility in the near future may be to run WFWG on the >PC sharing the drive with it's native networking and mounting >it on Linux with the smbfs filesystem that someone is working on. > >Les Mikesell > les@mcs.com > I would love to hear more about this. I also would like to backup up DOS machines on my Linux tape. Mounting a WFWG file system sounds like a good clean solutions. ------------------------------ From: seb@i102pc1.vu-wien.ac.at (Sebastian W. Bunka) Subject: Re: Logging in over network from DOS? Date: 30 Aug 1994 14:00:20 GMT Reply-To: Sebastian.Bunka@vu-wien.ac.at Greg Philmon (philmon@netcom.com) wrote: : I'm considering placing Linux box on our Novell 3.11 network. : I'd like to allow users to be able to login across the network from : their DOS or Windows based PCs. : Is this possible? Yes. At our University we're running a Novell Netware network over Ethernet. And we're connected to the internet. All PC's and Apples do have an internet number. If you're not connected to the internet you can choose the IP numbers yourself, otherwise you have to ask for a domain number at an international organization (don't ask me which). Either you then setup a nameserver for your net, or you use raw IP numbers. From every host you can connect to your linux box either by telnet or ftp. You can mount directories by using shareware nfs (look at simtel) printing on your box or on other boxes (lpr from ncsa; lp-demon for Apples - I'm using this for printing postscript files on our laserwriter IINT) and so on. Check NCSA Telnet for DOS and Apple; Gopher clients HTTPdemons and whatever you can imagine. Hope this helped, cheers, Sebastian -- email: [ Sebastian.Bunka@vu-wien.ac.at ] voice: FAX: +43-1-71155260 +43-1-7149110 Location: earth, europe, austria, vienna Inst. of Bacteriology Vet.Univ. ------------------------------ From: fstarr@buphy.bu.edu (Francis W. Starr) Crossposted-To: comp.os.linux.help Subject: Adaptec 2742 bootdisk: kernel panic Date: 30 Aug 1994 16:03:28 GMT I have been trying to install Linux on my system with an Adaptec 2742 SCSI controller. I have tried the bootdisks available from sunsite.unc.edu:/pub/linux/kernel/images/boot284x.tar.gz and one from ftp.pipex.net:/incoming/linux/aha2740.gz. I get the following error using either of these disks shortly after the boot prompt: Kernel panic=aha274x_isr: brkadrint, error=0xff, seqaddr=0x100 In swapper task - not syncing Following this, the floppy keep spinning and the machine does nothing. Can anyone provide a suggestion?? Thanks. -Francis ------------------------------ From: kiko@chopin.udel.edu (Brian Curti Harvell) Subject: Term 1.19 Makeing it on SunOS 4.1.3 Date: 30 Aug 1994 10:49:11 -0400 Hi has anyone made term 1.19 on SunOS 4.1.3 I am now and I am not getting it to work. It was a charm on the linux box. If so could you let me know what you did or uuencode it and send it to me. Thanks Brian - ------------------------------ From: shredder@dewars.ai.mit.edu (Ian) Subject: More about ftp... Date: 30 Aug 1994 16:55:18 GMT Ok, I've managed to get wu-ftpd 2.4 running on my Linux 1.0.9 system, thanks very much to John Boyd for his patch and installation notes. :) However, one thing is bothering me.. When I do ftp localhost, it prompts me for a username. I do 'anonymous' and it asks me for a password. It accepts whatever I type and THEN asks me to type my complete email address AFTER I have already entered one. Is there any way to get it to prompt for the email address BEFORE I enter it, as is the case on most other systems? Thanks very much, Ian =============================================================================== Ian - shredder@ai.mit.edu "Don't flee from yourself.. If you have Cheeken! a quality, be proud of it.. Let it define you, whatever it is... " ------------------------------ From: pyeatt@CS.ColoState.EDU (Larry Pyeatt) Subject: Archive 2525 Tape drive? Date: 30 Aug 1994 16:12:57 GMT Does anyone know if the Archive 2525 will work under Linux? Can anyone give me an opinion of whether or not I should buy one and how much I should pay? -- Larry D. Pyeatt All standard disclaimers apply. pyeatt@cs.colostate.edu Void where prohibited. ------------------------------ From: tvaughan@nyx.cs.du.edu (Thomas Vaughan) Subject: Re: Backing up to QIC-80 Date: 30 Aug 1994 08:24:13 -0600 williamj@cs.uni.edu ( Jonathan Williams ) writes: Yes you can use a dos formatted tape. As long as it is in QIC80 format. Tom >I've just recently installed Linux at home, and almost as recently installed a >tape drive. I want to back up my entire file system, as my hard drive isn't >interleaving properly, but I can't get tar to write to the QIC-80 tape. Every >time I try I get the message: >tar: Can't write to /dev/ftape: I/O/ Error >or something close to that. Its a new tape, and I haven't formatted it yet, >mostly because I can't (in linux). If I format it in dos, will I be able to >use it in Linux? If not, how do I go about setting it up so I can use it? >Jon Williams ------------------------------ From: s0087452@cc.ysu.edu (Chuck Slivkoff) Subject: Re: Enabling A20 Date: 30 Aug 1994 14:12:05 GMT On Tue, 30 Aug 1994 00:27:53 GMT, David Fraser (dfraser@wrs.com) wrote: ) Seems I have a weird PC, and the standard mechanism of using the keyboard ) controller to enable A20 doesn't work. Any clues on what I can do to get ) Linux up and running? From browsing MS-DOSes "himem.sys" there may well be a ) few ways to do this. Are they documented anywhere? You might want to check in your CMOS setup program. There may be an option there for enabling/disabling the A20 line. If not, there should be an option to 'Configure using factory defaults', which should enable the A20 line (you may have to re-configure your other CMOS options after this, though--floppies, hard disk, etc.). g'luck :) -- Chuck Slivkoff s0087452@cc.ysu.edu Computer Science Youngstown State University Youngstown, OH: All the drugs, crime & violence of New York at half the cost! ------------------------------ Crossposted-To: aus.computers.linux,comp.os.linux.help From: imb@asstdc.scgt.oz.au (michael butler) Subject: Re: Setting ftp server in Linux!!?? Date: Tue, 30 Aug 1994 17:12:04 GMT Reply-To: imb@scgt.oz.au Larry Doolittle (doolitt@recycle.cebaf.gov) writes: : Either that, or the path for ls is hard-coded in the ftp binary, : and that path is not where your ls is installed. It is in the "standard" distributions as well as wuarchive's flavour BUT this is not a problem. ftpd, after it obtains the caller's identity, does a chroot to its own ftp directory. All that needs to be done is to create a 'bin' subdirectory of that and COPY (not link) ls into it. Do similarly with any required shared libs. : A quick soft-link cured the problem. This is a potential security hole .. don't link anything, michael ------------------------------ From: willmod@remus.rutgers.edu (Bob Willmot) Subject: Re: SOLVED: How to FTP recursive directories? Date: 30 Aug 1994 13:15:47 -0400 rzm@dain.oso.chalmers.se (Rafal Maszkowski) writes: >Jeff Arnholt (arnholt@mayo.edu) wrote: >> Several people kindly pointed out that some FTP servers >> will automatically tar the contents of a directory >> if you add the extension .tar. Therefore, to get >> the Slackware directory and everything below it, >Another way is to create the remote directories and >mg */* */*/* */*/*/* or similar. It is practical for >one level, e.g. slakware directory in Slackware. The best way that I've found for a site that doesn't support automatic tar'ing of directories is through the use of a script rftp written for expect Expect is a program that performs programmed dialogue with other interactive programs. Expect can be FTP'd from: ftp.cme.nist.gov in the file /pub/expect/expect.tar.Z the rftp script (included in expect.tar) allows you to recursively get and put directory structures! Bob Willmot bwillmot@mhny.sbi.com ------------------------------ ** 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 ******************************