From: Digestifier To: Linux-Admin@senator-bedfellow.mit.edu Reply-To: Linux-Admin@senator-bedfellow.mit.edu Date: Wed, 14 Sep 94 13:13:42 EDT Subject: Linux-Admin Digest #63 Linux-Admin Digest #63, Volume #2 Wed, 14 Sep 94 13:13:42 EDT Contents: Re: CU sudo version 1.3.1 released (Mitchum DSouza) Screen locks on X shutdown! (Marden H Seavey) Re: Remote Shell from linux to Solaris? (Winfried Truemper) User nobody? (Danek Duvall) Re: *** Why can't Linux access partitions with Linux FDISK? *** (Jeff Kesselman) Re: SLIP w/Dynamic IP Addresses (Lamar Folsom) HYDRA - serial bidirectional transfer for Linux? (Holger Muenx) Re: ext2fs dump/restore (Remy CARD) Re: Slow curses - is there a better/faster curses? (Jay Ashworth) talk problem (Dennis Duffner) Re: fvwm startup problems (Jay Schlieske) Re: DOMM 4 Linux /X is OUT !!! (Paul Smith) [Q] How maintain "console" entry in utmp file?? (Alexander Kourakos) Re: DOMM 4 Linux /X is OUT !!! Re: *** Why can't Linux access partitions with Linux FDISK? *** (Anselm Lingnau) ---------------------------------------------------------------------------- From: Mitchum.DSouza@mrc-apu.cam.ac.uk (Mitchum DSouza) Crossposted-To: comp.unix.admin,comp.unix.aix,comp.sys.convex,comp.sys.hp.hpux,comp.sgi.admin,comp.sys.next.sysadmin,comp.unix.osf.osf1,comp.sys.sun.admin,comp.unix.ultrix Subject: Re: CU sudo version 1.3.1 released Date: 14 Sep 1994 09:03:54 GMT In article <354082$88p@news.rhrz.uni-bonn.de>, volker@sfb256.iam.uni-bonn.de ( Volker A. Brandt ) writes: |> In article <34l5io$6s8@airgun.wg.waii.com> denham@wg.waii.com (Scott Denham) |> writes: |> >I've been trying to install sudo.v1.3 under AIX 3.2.5, and come up with the |> >externals: |> > |> >__crypt |> >__encrypt |> >__setkey |> |> |> Get the GNU replacement for the crypt library. It's called UFC, which |> stands for "ultra-fast crypt". Build it, install it -- not too |> difficult. |> |> Then add -lufc to the loader options in the makefile, and you're set. I dont think you need to do that as linux's libc already has UFC as its encrypter/decrypter. Without actually ever seeing the package concerned I suggest you can add to the CFLAGS line in your Makefile CFLAGS=-D_crypt=crypt -D_encrypt=encrypt -D_setkey=setkey and then recompile. Mitch ------------------------------ From: mard@max.tiac.net (Marden H Seavey) Subject: Screen locks on X shutdown! Date: 14 Sep 1994 12:17:25 GMT Hi Everybody! Please help. I entered this plea in mid August but had no responses from anyone. Getting desparate! On exit from our logout X window the screen locks up: we get 2 horizontal black lines and a lot of vertical blue ones plus much flickering on the screen. We can't get to any of the other VCs, and must re-boot. Prior to exit, everything looks and runs normally in X. We're using an AST SVGA-NI monitor and AST Bravo MT 4/66d with Linux 1.09 and the XFree86 ver 2.1 The Xconfig file we're using is very close to the Xconfig.23 from the sample directory. SuperProbe says the chipset is ATI 68800-6 with attached coprocessor ATI Mach-32 and 1Kb video memory. We have captured the error message which is as follows: ======================================================================== Waiting for X server to shut down XIO: fatal IO error 2 (broken pipe) on X server ":0.0" after 471 requests (471 known processed) with 0 events remaining ......... xinit: X server slow to shut down, sending KILL signal. waiting for server to die xinit: Unknown error (errno 0): Client error. ======================================================================== Does anyone have an inkling of what the problem might be? Some jumpers not set properly somewhere? The AST Bravo has the video stuff integrated into the motherboard. Has anyone successfully used X under Linux with an AST Bravo pc? Thanks very very much for your help. Marden Seavey mard@max.tiac.net ------------------------------ From: truemper@Calvados.MI.Uni-Koeln.DE (Winfried Truemper) Subject: Re: Remote Shell from linux to Solaris? Date: 14 Sep 1994 09:32:39 GMT David Sears (dns@essnj3.essnjay.com) wrote: : The solution is a workaround. In your xterm window, you can type : `stty' and you will note that the speed of your pty is set to : zero. This seems to be because the pty state is copied from the : `controlling tty'. I think you are running xdm in daemon mode where : there is no controlling terminal, thus the speed is zero. Start xdm in : nodaemon mode, You should add that "speed 0" means "hangup the line" and is interpreted that way by some systems. I think it's not related to the original question ("rlogin" with "speed 0" gives me "Password: rlogin: connection closed." without any additional error-messages (as in the original post). Don't get me wrong ... but did you tried that ? It makes no difference for me if I start xdm via "xdm -nodaemon 2> /tmp/xdm-errors &" or "xdm"; although I stated that a few weeks ago. : or start X with xinit, or type `stty 9600' in your : xterm window. Add the following line to your "/etc/profile" (if you are using bash): 8<-----8<-----8<----- [ -n "$DISPLAY" -a "$TERM" = xterm ] && { stty 38400 } 8<-----8<-----8<----- Regards Winfried ------------------------------ From: duvall@sage.wlu.edu (Danek Duvall) Subject: User nobody? Date: Tue, 13 Sep 1994 04:27:01 GMT I've just installed all my network stuff, and some of the config files expected for the user nobody to exist. So I tried adding a user nobody with uid equal to -2. But it got put into /etc/passwd as uid 65534. I can see where that came from. I changed it manually to -2, and it worked ok. However, when I then added another (real) user, his uid got set to 65535 (i.e., -1). Is this the expected behavior, and if so, what uid should I set nobody to if I don't want this to happen? Thanks, Danek ------------------------------ From: jeffpk@netcom.com (Jeff Kesselman) Subject: Re: *** Why can't Linux access partitions with Linux FDISK? *** Date: Tue, 13 Sep 1994 04:37:44 GMT In article <35272s$57m@nntp.ucs.ubc.ca> so@markov.commerce.ubc.ca (Albert So) writes: > >Hello one and all... > >In setting up the partitions of my 540 MB hard disk, >I have created only one partition on this disk - a 380 MB >MS-DOS partition. > > Question: am I correct in assuming that one (and only one) > MS-DOS (primary) partition is required on the entire hard disk? > >Correct me if I'm wrong... you don't create a Linux partition using >MS-DOS' FDISK utility. The Install Documentation is a little vague >to me on this. > >After creating the boot and root disks with bare.gz and >color144.gz, and after having booted my PCI Pentium PC into >Linux, I run into the following problems... > >I run SETUP, and it tells me that I do not have Linux >partitions set up. Next I enter > > fdisk /dev/hda2 > >and then I get the message > > Cannot read /dev/hda2 > /dev/hda2 is a partition, not a drive. Type fdisk /dev/hda and you will be able to partition your first IDE drive. If you want to partitiona second IDe drive type fdisk /dev/hdb ------------------------------ From: fols9488@cs.uidaho.edu (Lamar Folsom) Subject: Re: SLIP w/Dynamic IP Addresses Date: 13 Sep 1994 05:46:46 GMT On Sat, 10 Sep 1994 01:12:49, Tony Schwartz at tony@teleport.com wrote: : If anyone has a DIP script that would assist in establishing a SLIP connection : with a provider that allocated dynamic IP addresses, please send a copy over. : Thanks in advance. : Tony Schwartz : Portland UofIdaho does this also. Please post a pointer or information on this. -- Lamar Folsom lamar@uidaho.edu fols9488@cs.uidaho.edu http://www.uidaho.edu/~lamar ------------------------------ From: muenx@speedy.informatik.uni-dortmund.de (Holger Muenx) Crossposted-To: comp.os.linux.misc Subject: HYDRA - serial bidirectional transfer for Linux? Date: 14 Sep 1994 13:11:58 GMT Guten Tag! Did anybody consider porting HYDRA, a serial bidirectional file transfer program to Linux? HYDRA is a file transfer protocol available for MS-DOS and Amiga machines which allows sending and receiving files from/to serial connections at the same time. On a 19200 connection it is said to manage >2200cps for sending or receiving - resulting in >4400cps considering the bidirectional transfer. The good thing is that the source code of this program is available. At least the documentation says so. Unfortunately, I did not find the source code on the net. So: Is any port for Linux available? If not where can I get the source code so that I can have a try on it myself? Any information will be appreciated. Thank you in advance! Holger Muenx (muenx@heike.informatik.uni-dortmund.de) ------------------------------ From: card@masi.ibp.fr (Remy CARD) Crossposted-To: comp.os.linux.help,comp.os.linux.development Subject: Re: ext2fs dump/restore Date: 14 Sep 1994 11:31:50 GMT In article <354b12$3au@raffles.technet.sg>, Mathias Koerber wrote: ] s there a dump/restore for ext2fs or xiafs or any other good/fast ] Linux fs? I'd like to be able to use Amanda to back up my Linux ] box, but that requires dump to work. ] ] Any hints appreciated I have ported the 4.4BSD dump and restore programs to Linux. My port understands the ext2fs structure. It is currently in alpha test. When a beta version is available, it will be announced in c.o.l.a. ] mathias ] ] -- ] Mathias Koerber Tel: +65 / 778 00 66 x 29 ] SW International Systems Pte Ltd Fax: +65 / 777 94 01 ] 14 Science Park Drive #04-01 The Maxwell e-mail: Mathias.Koerber@swi.com.sg ] S'pore 0511 MK ] The Vatican has the highest population of popes: 5.2 / m^2 Remy ------------------------------ From: jra@zeus.IntNet.net (Jay Ashworth) Crossposted-To: comp.os.linux.development,comp.os.linux.help,comp.os.linux.misc Subject: Re: Slow curses - is there a better/faster curses? Date: 14 Sep 1994 09:04:44 -0400 jamesd@teleport.com (James Deibele) writes: >Console output under Linux was very quick and I'm sure X performance is >pretty good. But curses performance is a little sluggish and adding >lines near the bottom of the screen is a real killer - curses seems to >clear the screen with blank lines adds the new text. That sounds like a termcap entry problem... I don't have it, and I'm using a different distribution. The console vt100 emulation -- an attribute of the _kernel_ -- supports IL and DL directly, even correctly interacting with the scrolling region. Check other termcaps, and if you're equipped, take a look at the console.c in your kernel source tree to see what it expects. This is an area that deserves better documentation. The authoritative source for the emulation ought not to be the termcap file. Cheers, -- jra -- Jay R. Ashworth Ashworth Designer & Associates ka1fjx/4 High Technology Systems Consulting jra@baylink.com +1 813 790 7592 ------------------------------ From: duffy@dduff@dduff.ppci.com (Dennis Duffner) Subject: talk problem Date: 13 Sep 1994 06:21:33 GMT I have a problem with talk. I cannot talk to a user I know on another system, even though they have been able to talk me, I can't reply. I get this: Connection Refused. (111) What's this all about anyhow? I can't find anything on this anywhere. -- /-------------------------------------------------\ | Dennis Duffner "No matter where | | duffy@dduff.pr.mcs.net you go, there | | dduff@golden.ripco.com you are." | | #include disclaimer.h Buckaroo Bonzai | \-------------------------------------------------/ ------------------------------ From: Jay Schlieske Subject: Re: fvwm startup problems Date: Wed, 14 Sep 1994 07:33:06 -0400 (EDT) Reply-To: Jay Schlieske On 12 Sep 1994, Bill McCarthy wrote: > In article <3508rc$p9d@news1.digex.net> srini@igt.com (Srini Seetharam) writes: > >I am trying to setup fvwm on my linux machine. > >I have looked through the man pages and tried modifying > >the xinitrc and the fvwmrc files. > > > >What I want it to do is start some programs such as an > >xterm and xbiff and a clock after I log into the > >X console. > > > >Is this possible with fvwm ? > >I know twm can do this but I have had other problems trying > >to set it up. fvwm is great but I need to figure out > >how to autostart some programs. > > > > Here's an example of my .xinitrc - that's the file I use to start X and > load xprogs auto: > > fvwm & > xearth & > xld & - a bin file that loads xload and sets fn/bg colors and geometry > xclk & - ditto for xclock > exec xterm -C name console -fn 9x15bold -fg blue > > > This is from memory, but pretty much does it. For an xterm you can create > a bin file that calls the xterm, sets the colors and geometry and then call > the file in the .xinitrc. Hope this helps. > > > > > Bill McCarthy > bmccarth@gulfaero.com > > "Isn't it pretty to think so." > TTTTTTTTTTTTTTTTTTTTTTTTTTTT\__Jake Barnes___________________________ > LinuX + i486dx2/66 > usual disclaimer > > > > > > > Hi all! FYI, the newer fvwms have init & restart functions in the system.fvwmrc file that can do this also, the latest one just came out last week and has a lot more modules. I use GREAT w/fvwm and the possibilities are endless . . . . - Jay o Jay Schlieske <#< " Above all.... have fun. " +*+ Credits: smartmail __>^>__ by * Linux-Pine3.90-Smail-Term201-PoP +*+ ------------------------------ From: psmith@lemming.wellfleet.com (Paul Smith) Subject: Re: DOMM 4 Linux /X is OUT !!! Date: 14 Sep 1994 14:51:44 GMT Reply-To: psmith@wellfleet.com %% Regarding Re: DOMM 4 Linux /X is OUT !!!; %% kmzoerho@mtu.edu (Forkboy) writes: f> In article <355omg$pmp@geraldo.cc.utexas.edu>, f> Joseph W. DeVincentis wrote: >> On a 486-DX2/66 with 8MB of RAM, cirrus logic 5426 local bus >> video, without sound enabled, I got only 4.7 FPS. I didn't >> notice any swapping at any time during the game, however. f> On my 486DX/33MHz, 8MB RAM, Genoa 8500VLbus 1Mb card, no sound, I f> got 10.4 fps. Anyone else get this high an fps reading? I did a complete analysis of DOOM last night; below are my results. Note I have a Gateway 2000 486/66 16M ram, with ATI Ultra Pro & 2MB VRAM, 17" CrystalScan 1776 monitor, and PAS-16 sound card. For Linux I'm running kernel 1.0.9 (Slackware 2.0), XFree86 2.1.1 in 1150x910, with voxware 2.90.2 installed, with both PAS and SB drivers. For DOS I had both effects and music on; probably I should have turned off the music to get a fairer reading, since Linux doesn't support music, but that's how I play it so... Note that you should probably specify which demo you ran the FPS test against; as you can see below it makes a big difference in the frame rate: FPS --------------------- Linux DOS DOS vs. Linux ----- ----- ------------- Demo1 Sound 13.93 24.08 +10.15 No Sound 16.94 26.68 +9.74 ----- ----- Snd vs. NoSnd 3.01 2.60 Demo2 Sound 15.25 26.10 +10.85 No Sound 18.24 28.97 +10.73 ----- ----- Snd vs. NoSnd 2.99 2.87 Demo3 Sound 16.10 28.26 +12.16 No Sound 19.07 31.18 +12.11 ----- ----- Snd vs. NoSnd 2.97 2.92 Hopefully that was interesting :) (BTW, I used the standard -timedemo, divide gameticks by realticks and multiply by 35 to get these numbers). -- =============================================================================== Paul D. Smith | That's the thing about being a boxer: | even when you're at the top of your field, Wellfleet Communications, Inc. | people still hit you in the head. Network Management Development | -- Paula Poundstone =============================================================================== ------------------------------ From: awk@char.vnet.net (Alexander Kourakos) Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.windows.x.i386unix Subject: [Q] How maintain "console" entry in utmp file?? Date: 12 Sep 1994 23:58:29 -0400 I don't know if this question has been brought up before or not...I would think it has... I wrote a small program to place "console" logins (from XDM) into the utmp, wtmp, and lastlog files. However, at random times, some program eats the utmp entry. I think it's getty, but I'm not sure. (I run getty so my roomate can log in on ttyS1). This is on Linux 1.1.x, with XFree86. Right now, "w" says this: 11:55pm up 5:48, 4 users, load average: 0.47, 0.13, 0.18 User tty from login@ idle JCPU PCPU what awk ttyp0 :0.0 11:55pm 1 w awk ttyp1 :0.0 11:16pm 4 telnet vnet.net sbolish ttyS1 8:19pm 1 pine awk console 9:33pm 2:22 - After my roommate logs out, the "console" line disappears. Can anybody give some pointers? I can most likely fix the problem if I knew what program is doing this. Somebody must have this functionality working on there Linux X box... Thanks.... awk -- Alexander Kourakos awk@vt.edu ------------------------------ From: swampler@noao.edu () Subject: Re: DOMM 4 Linux /X is OUT !!! Date: Wed, 14 Sep 1994 14:32:19 GMT In article <355rm3$o92@maxwell11.ee>, kmzoerho@mtu.edu (Forkboy) writes: |> |> On my 486DX/33MHz, 8MB RAM, Genoa 8500VLbus 1Mb card, no sound, I got 10.4 |> fps. Anyone else get this high an fps reading? |> 486DX2/66MHz, 16MB, ATI VLB GUP w 2MB, no sound, 16.2 fps, with pixel doubling, this dropped to 9.9 fps. Screen resolution had insignificant impact. (Linux 1.1.44, XFree 2.1) -- Steve Wampler swampler@gemini.edu Gemini Project (under AURA) -- The Gods that were smiling when you were born are laughing now. -- found in a fortune cookie ------------------------------ From: lingnau@informatik.uni-frankfurt.de (Anselm Lingnau) Subject: Re: *** Why can't Linux access partitions with Linux FDISK? *** Date: 14 Sep 1994 15:02:20 GMT In article <35712n$25mu@yuma.acns.colostate.edu>, William Ferrell wrote: > MY GOD you're coming close to screwing something up... be careful here. > Whatever you do, if you have DOS data on the first partition NEVER run > MKSWAP on /dev/hda1!!! I did this last Saturday and Linux promptly > over-wrote the first eight megs of my DOS drive, including the FAT and > directory structures...! *sniff* 240 megs and 8 months worth of tweeking > and collecting DOWN THE TUBES! *sniff* Just for the record, *never* run mkswap on *any* partition containing data that you want to keep. This should be emphasized in the documentation that came with your Linux distribution. I'm using the MCC distribution, and running fdisk and mkswap was explained there in a most adequate manner. > Unless I'm wrong you should be able to use DOS fdisk to make the next > partition but use Linux to format it. Depends. Using Linux fdisk should work as well. > For future reference: anyone know if DOS "fdisk /mbr" will recover from > what I did to my hard drive with Linux? No, it'll just overwrite the master boot record (the very first block of your hard disk). This will remove LILO if it's been installed there. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de That man tae man the world o'er/Shall brothers be an' a' that! --- Robert Burns ------------------------------ ** 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 ******************************